diff --git a/assets/js/binary.js b/assets/js/binary.js index f2afcb9..20216da 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"/simulator.html","cdnUrl":"/","version":"0.0.3","target":"arcade","targetVersion":"1.13.53","repo":"tomhausen/menu-extension"} -// total=1307057 new=5.65% cached=88.81% other=5.53% +// meta={"simUrl":"/simulator.html","cdnUrl":"/","version":"0.0.4","target":"arcade","targetVersion":"2.0.3","repo":"tomhausen/menu-extension"} +// total=1249654 new=5.86% cached=88.45% other=5.69% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -256,7 +256,6 @@ pxtrt.mapKeyNames = [ "offsetX", "offsetY", "onEvent", - "onPlayFinished", "onUpdate", "once", "options", @@ -274,8 +273,6 @@ pxtrt.mapKeyNames = [ "period", "physicsEngine", "pickRandom", - "play", - "playCore", "playerIndex", "position", "preferredDelay", @@ -283,7 +280,6 @@ pxtrt.mapKeyNames = [ "prevTimeMillis", "previousScene", "priority", - "queuePlayInstructions", "raiseButtonDown", "raiseButtonRepeat", "raiseButtonUp", @@ -293,7 +289,6 @@ pxtrt.mapKeyNames = [ "registerFrameCallbacks", "registerFrameHandler", "registerHandler", - "registerMelody", "registerObstacle", "remove", "removeSprite", @@ -361,7 +356,6 @@ pxtrt.mapKeyNames = [ "src", "start", "state", - "stop", "stopped", "sx", "sy", @@ -382,7 +376,6 @@ pxtrt.mapKeyNames = [ "toString", "top", "unregister", - "unregisterMelody", "up", "update", "updateCard", @@ -436,7 +429,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P27387(s) { +function _main___P46069(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -446,299 +439,289 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___4565 = (undefined); - globals._pollEventQueue___4574 = (undefined); - globals.minPriority___375 = (1); + globals._intervals___27638 = (undefined); + globals._pollEventQueue___27647 = (undefined); + globals.minPriority___23442 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P4577); - globals.listeners___4578 = (s.tmp_0); - globals.freqs___4627 = (_hex4626); - globals.globalVolume___4631 = (null); - globals.playToneID___4638 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1626_VT); + r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P27650); + globals.listeners___27651 = (s.tmp_0); + globals.globalVolume___27704 = (null); + globals.playToneID___27711 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C24694_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P1629_mk(s); + s.tmp_1 = music_Melody_constructor__P24697_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = "b5:1 e6:3"; + 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.baDing___1646 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1626_VT); + globals.wawawawaa___24715 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C24694_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P1629_mk(s); + s.tmp_1 = music_Melody_constructor__P24697_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.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.wawawawaa___1647 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1626_VT); - s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P1629_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 = 2; s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - globals.powerUp___1650 = (s.tmp_0); - globals.brightness___1951 = (100); + globals.powerUp___24718 = (s.tmp_0); + globals.brightness___25019 = (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", _hex11933); - globals.font8___1975 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex34233); + globals.font8___25043 = (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", _hex11935); - globals.font12___1976 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex34235); + globals.font12___25044 = (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", _hex13357); - globals.font5___1980 = (s.tmp_0); - globals.__updated___4745 = (false); - r0 = pxsim.control.runInParallel(control___screen_inline__P4748); - r0 = pxsim_pxtcore.setPalette(_hex4759); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex35669); + globals.font5___25048 = (s.tmp_0); + globals.__updated___27818 = (false); + r0 = pxsim.control.runInParallel(control___screen_inline__P27821); + r0 = pxsim_pxtcore.setPalette(_hex27832); 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___2032 = (r0); - s.tmp_0 = control___screen_setupUpdate__P1994_mk(s); - s.tmp_0.arg0 = _screen_internal_inline__P4768; + globals.screen___25100 = (r0); + s.tmp_0 = control___screen_setupUpdate__P25062_mk(s); + s.tmp_0.arg0 = _screen_internal_inline__P27841; + s.callLocIdx = 6; s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; + globals.control_EventContext_onStats___23465 = (_screen_internal_inline__P27846); + globals.RUN_KEY___27851 = ("#run"); + globals.SCOPE_KEY___27852 = ("#scope"); + s.tmp_0 = settings_initScopes__P27863_mk(s); s.callLocIdx = 7; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.control_EventContext_onStats___398 = (_screen_internal_inline__P4773); - globals.RUN_KEY___4778 = ("#run"); - globals.SCOPE_KEY___4779 = ("#scope"); - s.tmp_0 = settings_initScopes__P4790_mk(s); - s.callLocIdx = 8; s.pc = 5; return s.tmp_0; - case 5: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2189_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25257_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2195_mk(s); + s.tmp_1 = controller_Button_constructor__P25263_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 5; s.tmp_1.arg2 = 4; - s.callLocIdx = 9; s.pc = 6; return s.tmp_1; - case 6: + s.callLocIdx = 8; s.pc = 5; return s.tmp_1; + case 5: r0 = s.retval; - globals.A___2113 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2189_VT); + globals.A___25181 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25257_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2195_mk(s); + s.tmp_1 = controller_Button_constructor__P25263_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 6; s.tmp_1.arg2 = 5; - s.callLocIdx = 10; s.pc = 7; return s.tmp_1; - case 7: + s.callLocIdx = 9; s.pc = 6; return s.tmp_1; + case 6: r0 = s.retval; - globals.B___2114 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2189_VT); + globals.B___25182 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25257_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2195_mk(s); + s.tmp_1 = controller_Button_constructor__P25263_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.tmp_1.arg2 = 47; - s.callLocIdx = 11; s.pc = 8; return s.tmp_1; - case 8: + s.callLocIdx = 10; s.pc = 7; return s.tmp_1; + case 7: r0 = s.retval; - globals.left___2115 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2189_VT); + globals.left___25183 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25257_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2195_mk(s); + s.tmp_1 = controller_Button_constructor__P25263_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = 49; - s.callLocIdx = 12; s.pc = 9; return s.tmp_1; - case 9: + s.callLocIdx = 11; s.pc = 8; return s.tmp_1; + case 8: r0 = s.retval; - globals.up___2116 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2189_VT); + globals.up___25184 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25257_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2195_mk(s); + s.tmp_1 = controller_Button_constructor__P25263_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = 48; - s.callLocIdx = 13; s.pc = 10; return s.tmp_1; - case 10: + s.callLocIdx = 12; s.pc = 9; return s.tmp_1; + case 9: r0 = s.retval; - globals.right___2117 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2189_VT); + globals.right___25185 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25257_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2195_mk(s); + s.tmp_1 = controller_Button_constructor__P25263_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = 50; - s.callLocIdx = 14; s.pc = 11; return s.tmp_1; - case 11: + s.callLocIdx = 13; s.pc = 10; return s.tmp_1; + case 10: r0 = s.retval; - globals.down___2118 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2189_VT); + globals.down___25186 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25257_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2195_mk(s); + s.tmp_1 = controller_Button_constructor__P25263_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 7; s.tmp_1.arg2 = 51; - s.callLocIdx = 15; s.pc = 12; return s.tmp_1; - case 12: + s.callLocIdx = 14; s.pc = 11; return s.tmp_1; + case 11: r0 = s.retval; - globals.menu___2119 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C2134_VT); + globals.menu___25187 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C25202_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P2138_mk(s); + s.tmp_1 = controller_Controller_constructor__P25206_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = undefined; - s.callLocIdx = 16; s.pc = 13; return s.tmp_1; - case 13: + s.callLocIdx = 15; s.pc = 12; return s.tmp_1; + case 12: r0 = s.retval; - globals.player2___2120 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C2134_VT); + globals.player2___25188 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C25202_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P2138_mk(s); + s.tmp_1 = controller_Controller_constructor__P25206_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; - s.callLocIdx = 17; s.pc = 14; return s.tmp_1; - case 14: + s.callLocIdx = 16; s.pc = 13; return s.tmp_1; + case 13: r0 = s.retval; - globals.player3___2121 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C2134_VT); + globals.player3___25189 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C25202_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P2138_mk(s); + s.tmp_1 = controller_Controller_constructor__P25206_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = undefined; - s.callLocIdx = 18; s.pc = 15; return s.tmp_1; + s.callLocIdx = 17; s.pc = 14; return s.tmp_1; + case 14: + r0 = s.retval; + globals.player4___25190 = (s.tmp_0); + s.tmp_0 = controller__player1__P25196_mk(s); + s.callLocIdx = 18; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.player4___2122 = (s.tmp_0); - s.tmp_0 = controller__player1__P2128_mk(s); - s.callLocIdx = 19; s.pc = 16; return s.tmp_0; + globals.player1___25191 = (r0); + s.tmp_0 = game_addScenePopHandler__P26105_mk(s); + s.tmp_0.arg0 = controller_inline__P27891; + s.callLocIdx = 23; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - globals.player1___2123 = (r0); - s.tmp_0 = game_addScenePopHandler__P3037_mk(s); - s.tmp_0.arg0 = controller_inline__P4818; - s.callLocIdx = 24; s.pc = 17; return s.tmp_0; + s.tmp_0 = game_addScenePushHandler__P26103_mk(s); + s.tmp_0.arg0 = controller_inline__P27931; + s.callLocIdx = 25; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = game_addScenePushHandler__P3035_mk(s); - s.tmp_0.arg0 = controller_inline__P4858; - s.callLocIdx = 26; s.pc = 18; return s.tmp_0; - case 18: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C4882_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C27955_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2195_mk(s); + s.tmp_1 = controller_Button_constructor__P25263_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = -1; - s.callLocIdx = 27; s.pc = 19; return s.tmp_1; + s.callLocIdx = 26; s.pc = 18; return s.tmp_1; + case 18: + r0 = s.retval; + globals.anyButton___25238 = (s.tmp_0); + globals._userEventsEnabled___27969 = (true); + globals.defaultRepeatDelay___27971 = (500); + globals.defaultRepeatInterval___27973 = (30); + s.tmp_0 = SpriteKind_create__P25547_mk(s); + s.callLocIdx = 27; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - globals.anyButton___2170 = (s.tmp_0); - globals._userEventsEnabled___4896 = (true); - globals.defaultRepeatDelay___4898 = (500); - globals.defaultRepeatInterval___4900 = (30); - s.tmp_0 = SpriteKind_create__P2479_mk(s); + globals.Player___25548 = (r0); + s.tmp_0 = SpriteKind_create__P25547_mk(s); s.callLocIdx = 28; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - globals.Player___2480 = (r0); - s.tmp_0 = SpriteKind_create__P2479_mk(s); + globals.Food___25550 = (r0); + s.tmp_0 = SpriteKind_create__P25547_mk(s); s.callLocIdx = 29; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - globals.Food___2482 = (r0); - s.tmp_0 = SpriteKind_create__P2479_mk(s); - s.callLocIdx = 30; s.pc = 22; return s.tmp_0; - case 22: - r0 = s.retval; - globals.Enemy___2483 = (r0); + globals.Enemy___25551 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___2521 = (r0); - globals.infoState___4965 = (undefined); - s.tmp_0 = game_addScenePushHandler__P3035_mk(s); - s.tmp_0.arg0 = info_inline__P4969; - s.callLocIdx = 32; s.pc = 23; return s.tmp_0; + globals.MIN_MOVE_GAP___25589 = (r0); + globals.infoState___28038 = (undefined); + s.tmp_0 = game_addScenePushHandler__P26103_mk(s); + s.tmp_0.arg0 = info_inline__P28042; + s.callLocIdx = 31; s.pc = 22; return s.tmp_0; + case 22: + r0 = s.retval; + s.tmp_0 = game_addScenePopHandler__P26105_mk(s); + s.tmp_0.arg0 = info_inline__P28057; + s.callLocIdx = 35; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P3037_mk(s); - s.tmp_0.arg0 = info_inline__P4984; - s.callLocIdx = 36; s.pc = 24; return s.tmp_0; + r0 = pxsim_Array__mk(); + globals.scene_Scene_initializers___25933 = (r0); + r0 = pxsim.image.ofBuffer(_hex28147); + globals.img_trophy_sm___28148 = (r0); + r0 = pxsim.image.ofBuffer(_hex28150); + globals.img_trophy_lg___28151 = (r0); + r0 = pxsim.image.ofBuffer(_hex28153); + globals.img_sleepy_sim___28154 = (r0); + globals.debug___26035 = (false); + globals.stats___26036 = (false); + globals.gameOverConfig___26083 = (gameOverConfig_inline__P28166); + s.tmp_0 = scene_systemMenu_initVolume__P28440_mk(s); + s.callLocIdx = 37; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___2865 = (r0); - r0 = pxsim.image.ofBuffer(_hex5074); - globals.img_trophy_sm___5075 = (r0); - r0 = pxsim.image.ofBuffer(_hex5077); - globals.img_trophy_lg___5078 = (r0); - r0 = pxsim.image.ofBuffer(_hex5080); - globals.img_sleepy_sim___5081 = (r0); - globals.debug___2967 = (false); - globals.stats___2968 = (false); - globals.gameOverConfig___3015 = (gameOverConfig_inline__P5093); - s.tmp_0 = scene_systemMenu_initVolume__P5367_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P28441_mk(s); s.callLocIdx = 38; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P5368_mk(s); - s.callLocIdx = 39; s.pc = 26; return s.tmp_0; - case 26: - r0 = s.retval; - r0 = pxsim_Array__push(globals.scene_Scene_initializers___2865, scene_systemMenu_register__P3123); - r0 = pxsim.image.ofBuffer(_hex5375); - globals.CARD_NORMAL___3128 = (r0); - r0 = pxsim.image.ofBuffer(_hex5377); - globals.CARD_SELECTED___3129 = (r0); - r0 = pxsim.image.ofBuffer(_hex5379); - globals.CARD_ACTIVE___3130 = (r0); - r0 = pxsim.image.ofBuffer(_hex5381); - globals.VOLUME_UP_ICON___3131 = (r0); - r0 = pxsim.image.ofBuffer(_hex5383); - globals.BRIGHTNESS_DOWN_ICON___3132 = (r0); - r0 = pxsim.image.ofBuffer(_hex5385); - globals.CLOSE_MENU_ICON___3133 = (r0); - r0 = pxsim.image.ofBuffer(_hex5387); - globals.VOLUME_DOWN_ICON___3134 = (r0); - r0 = pxsim.image.ofBuffer(_hex5389); - globals.SLEEP_ICON___3135 = (r0); - r0 = pxsim.image.ofBuffer(_hex5391); - globals.CONSOLE_ICON___3136 = (r0); - r0 = pxsim.image.ofBuffer(_hex5393); - globals.BRIGHTNESS_UP_ICON___3137 = (r0); - r0 = pxsim.image.ofBuffer(_hex5395); - globals.STATS_ICON___3138 = (r0); - globals.consoleColor___5398 = (1); - globals.tabSize___5401 = (8); - globals.consoleFont___5407 = (globals.font5___1980); - r0 = pxsim_ImageMethods.height(globals.screen___2032); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___25933, scene_systemMenu_register__P26191); + r0 = pxsim.image.ofBuffer(_hex28448); + globals.CARD_NORMAL___26196 = (r0); + r0 = pxsim.image.ofBuffer(_hex28450); + globals.CARD_SELECTED___26197 = (r0); + r0 = pxsim.image.ofBuffer(_hex28452); + globals.CARD_ACTIVE___26198 = (r0); + r0 = pxsim.image.ofBuffer(_hex28454); + globals.VOLUME_UP_ICON___26199 = (r0); + r0 = pxsim.image.ofBuffer(_hex28456); + globals.BRIGHTNESS_DOWN_ICON___26200 = (r0); + r0 = pxsim.image.ofBuffer(_hex28458); + globals.CLOSE_MENU_ICON___26201 = (r0); + r0 = pxsim.image.ofBuffer(_hex28460); + globals.VOLUME_DOWN_ICON___26202 = (r0); + r0 = pxsim.image.ofBuffer(_hex28462); + globals.SLEEP_ICON___26203 = (r0); + r0 = pxsim.image.ofBuffer(_hex28464); + globals.CONSOLE_ICON___26204 = (r0); + r0 = pxsim.image.ofBuffer(_hex28466); + globals.BRIGHTNESS_UP_ICON___26205 = (r0); + r0 = pxsim.image.ofBuffer(_hex28468); + globals.STATS_ICON___26206 = (r0); + globals.consoleColor___28471 = (1); + globals.tabSize___28474 = (8); + globals.consoleFont___28480 = (globals.font5___25048); + r0 = pxsim_ImageMethods.height(globals.screen___25100); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___5407; + s.tmp_5.arg0 = globals.consoleFont___28480; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["charHeight"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["charHeight"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 40; s.pc = 27; return s.tmp_5; } + else { s.callLocIdx = 39; s.pc = 26; return s.tmp_5; } } - case 27: + case 26: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_4 + 2); @@ -748,124 +731,118 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___5412 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___2032); + globals.consoleLines___28485 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___25100); 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___5407; + s.tmp_4.arg0 = globals.consoleFont___28480; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charWidth"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charWidth"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 41; s.pc = 28; return s.tmp_4; } + else { s.callLocIdx = 40; s.pc = 27; return s.tmp_4; } } - case 28: + case 27: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___5422 = (r0); - s.tmp_0 = console_addListener__P383_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P5434; - s.callLocIdx = 42; s.pc = 29; return s.tmp_0; - case 29: + globals.consoleColumns___28495 = (r0); + s.tmp_0 = console_addListener__P23450_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P28507; + 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__P15618; + s.tmp_0.argL = MAX_SOURCES_inline__P38036; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 44; s.pc = 30; return s.tmp_0; - case 30: + s.callLocIdx = 43; s.pc = 29; return s.tmp_0; + case 29: r0 = s.retval; - globals.MAX_SOURCES___5436 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C3208_VT); + globals.MAX_SOURCES___28509 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C26276_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P3209_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P26277_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; s.tmp_1.arg3 = 60; - s.callLocIdx = 45; s.pc = 31; return s.tmp_1; - case 31: + s.callLocIdx = 44; s.pc = 30; return s.tmp_1; + case 30: r0 = s.retval; - globals.defaultFactory___3188 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C3076_VT); + globals.defaultFactory___26256 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C26144_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P3078_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P26146_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 46; s.pc = 32; return s.tmp_1; - case 32: + s.callLocIdx = 45; s.pc = 31; return s.tmp_1; + case 31: r0 = s.retval; - globals.galois___5456 = (s.tmp_0); - globals.angleSlice___5464 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C3283_VT); + globals.galois___28529 = (s.tmp_0); + globals.angleSlice___28537 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C26351_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P3284_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P26352_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__P15372; - s.callLocIdx = 52; s.pc = 33; return s.tmp_1; - case 33: + s.tmp_1.arg4 = confetti_inline__P37790; + s.callLocIdx = 51; s.pc = 32; return s.tmp_1; + case 32: r0 = s.retval; - globals.confetti___3291 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C3307_VT); + globals.confetti___26359 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C26375_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P3308_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P26376_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = dissolve_inline__P14005; - s.callLocIdx = 58; s.pc = 34; return s.tmp_1; - case 34: + s.tmp_1.arg2 = dissolve_inline__P36317; + s.callLocIdx = 57; s.pc = 33; return s.tmp_1; + case 33: r0 = s.retval; - globals.dissolve___3312 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C3307_VT); + globals.dissolve___26380 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C26375_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P3308_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P26376_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = melt_inline__P15318; - s.callLocIdx = 61; s.pc = 35; return s.tmp_1; + s.tmp_1.arg2 = melt_inline__P37736; + s.callLocIdx = 60; s.pc = 34; return s.tmp_1; + case 34: + r0 = s.retval; + globals.melt___26381 = (s.tmp_0); + s.tmp_0 = game_setWaitAnyButton__P26085_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P25273; + s.callLocIdx = 61; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - globals.melt___3313 = (s.tmp_0); - s.tmp_0 = game_setWaitAnyButton__P3017_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P2205; + s.tmp_0 = game_eventContext__P26087_mk(s); s.callLocIdx = 62; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = game_eventContext__P3019_mk(s); + s.tmp_0 = SpriteKind_create__P25547_mk(s); s.callLocIdx = 63; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = SpriteKind_create__P2479_mk(s); - s.callLocIdx = 64; s.pc = 38; return s.tmp_0; - case 38: - r0 = s.retval; - globals.MiniMenu___4349 = (r0); - s.tmp_0 = music_Melody_play__P1633_mk(s); - s.tmp_0.arg0 = globals.baDing___1646; - s.tmp_0.arg1 = 255; - s.callLocIdx = 65; s.pc = 39; return s.tmp_0; - case 39: - r0 = s.retval; + globals.MiniMenu___27417 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -_main___P27387.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/arcade-mini-menu/main.ts","functionName":"
","argumentNames":[]} -_main___P27387.continuations = [ ] +_main___P46069.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/arcade-mini-menu/main.ts","functionName":"
","argumentNames":[]} +_main___P46069.continuations = [ ] -function _main___P27387_mk(s) { +function _main___P46069_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P27387, depth: s.depth + 1, + parent: s, fn: _main___P46069, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -875,30 +852,29 @@ function _main___P27387_mk(s) { tmp_5: undefined, } } -const _hex4626 = pxsim.BufferMethods.createBufferFromHex("1f00210023002500270029002c002e003100340037003a003e004100450049004e00520057005c00620068006e0075007b0083008b0093009c00a500af00b900c400d000dc00e900f70006011501260137014a015d01720188019f01b801d201ee010b022a024b026e029302ba02e40210033f037003a403dc03170455049704dd0427057505c80520067d06e0064907b8072d08a9082d09b9094d0aea0a900b400cfa0cc00d910e6f0f5a1053115b1272139a14d41520178018f519801b231dde1e") -const _hex11933 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex11935 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex13357 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex4759 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex5074 = pxsim.BufferMethods.createBufferFromHex("870407000800000000000000404400005055040450555505505501011011000000000000") -const _hex5077 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000050050000000000000550000000005045444404000000455544444400040045555555550404004555555555450500455555555511050045555555150101004555111111000100501511110100000000000550000000000000500500000000000000000000000000000000000000") -const _hex5080 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000006666666666060060ffffff666f660060fffffff6ff660060fff1ff666f660060fff1ff6666660060fffff16666660060fffff16666660060fff1ff6666660060fff1ff66f6660060ffffff6666660060fffffff6666600006666666666060000000000000000000000000000000000") -const _hex5375 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex5377 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex5379 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex5381 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5383 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5385 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5387 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5389 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5391 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5393 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5395 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex34233 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex34235 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex35669 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex27832 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex28147 = pxsim.BufferMethods.createBufferFromHex("870407000800000000000000404400005055040450555505505501011011000000000000") +const _hex28150 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000050050000000000000550000000005045444404000000455544444400040045555555550404004555555555450500455555555511050045555555150101004555111111000100501511110100000000000550000000000000500500000000000000000000000000000000000000") +const _hex28153 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000006666666666060060ffffff666f660060fffffff6ff660060fff1ff666f660060fff1ff6666660060fffff16666660060fffff16666660060fff1ff6666660060fff1ff66f6660060ffffff6666660060fffffff6666600006666666666060000000000000000000000000000000000") +const _hex28448 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex28450 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex28452 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex28454 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex28456 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex28458 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex28460 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex28462 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex28464 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex28466 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex28468 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function control___screen_inline__P4748(s) { +function control___screen_inline__P27821(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -911,23 +887,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___4745 = (false); - s.tmp_0 = pause__P413_mk(s); + globals.__updated___27818 = (false); + s.tmp_0 = pause__P23480_mk(s); s.tmp_0.arg0 = 200; - s.callLocIdx = 3; s.pc = 5; return s.tmp_0; + s.callLocIdx = 2; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.__updated___4745); + r0 = pxsim_numops_toBoolDecr(globals.__updated___27818); 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__P1993_mk(s); - s.callLocIdx = 4; s.pc = 6; return s.tmp_2; + s.tmp_2 = control___screen_update__P25061_mk(s); + s.callLocIdx = 3; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___4745 = (true); + globals.__updated___27818 = (true); case 2: case 3: { step = 1; continue; } @@ -936,12 +912,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_inline__P4748.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__P27821.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__P4748_mk(s) { +function control___screen_inline__P27821_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_inline__P4748, depth: s.depth + 1, + parent: s, fn: control___screen_inline__P27821, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -952,7 +928,7 @@ function control___screen_inline__P4748_mk(s) { -function _screen_internal_inline__P4768(s) { +function _screen_internal_inline__P27841(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -962,17 +938,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___2032); + r0 = pxsim_pxtcore.updateScreen(globals.screen___25100); r0 = undefined; return leave(s, r0) default: oops() } } } -_screen_internal_inline__P4768.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__P27841.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__P4768_mk(s) { +function _screen_internal_inline__P27841_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P4768, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P27841, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -980,7 +956,7 @@ function _screen_internal_inline__P4768_mk(s) { -function _screen_internal_inline__P4773(s) { +function _screen_internal_inline__P27846(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -999,12 +975,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_inline__P4773.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__P27846.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__P4773_mk(s) { +function _screen_internal_inline__P27846_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P4773, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P27846, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -1013,7 +989,7 @@ function _screen_internal_inline__P4773_mk(s) { -function controller_inline__P4818(s) { +function controller_inline__P27891(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1023,16 +999,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.stateWhenPushed___4819 = undefined; - s.i___4825 = undefined; - s.p___4831 = undefined; - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 20; s.pc = 12; return s.tmp_0; + s.stateWhenPushed___27892 = undefined; + s.i___27898 = undefined; + s.p___27904 = undefined; + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 19; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = r0.fields["controllerConnectionState"]; - s.stateWhenPushed___4819 = (r0); - r0 = pxsim_numops_toBoolDecr(s.stateWhenPushed___4819); + s.stateWhenPushed___27892 = (r0); + r0 = pxsim_numops_toBoolDecr(s.stateWhenPushed___27892); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -1041,24 +1017,24 @@ switch (step) { { step = 11; continue; } case 1: case 2: - s.i___4825 = (0); + s.i___27898 = (0); case 3: - s.tmp_1 = r0 = s.i___4825; - r0 = pxsim_Array__length(s.stateWhenPushed___4819); + s.tmp_1 = r0 = s.i___27898; + r0 = pxsim_Array__length(s.stateWhenPushed___27892); 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___4816, s.i___4825); - s.p___4831 = (r0); - s.tmp_0 = r0 = s.p___4831; + r0 = pxsim_Array__getAt(globals._players___27889, s.i___27898); + s.p___27904 = (r0); + s.tmp_0 = r0 = s.p___27904; 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___4819, s.i___4825); + r0 = pxsim_Array__getAt(s.stateWhenPushed___27892, s.i___27898); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); s.tmp_4 = r0; @@ -1068,7 +1044,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; - r0 = s.p___4831.fields["_connected"]; + r0 = s.p___27904.fields["_connected"]; s.tmp_10 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_10); s.tmp_9 = r0; @@ -1084,7 +1060,7 @@ switch (step) { s.tmp_11 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_11); if (!r0) { step = 8; continue; } - r0 = s.p___4831.fields["_connected"]; + r0 = s.p___27904.fields["_connected"]; s.tmp_12 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_12); if (!r0) { step = 6; continue; } @@ -1095,13 +1071,13 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_13 = r0; - r0 = s.p___4831.fields["_id"]; + r0 = s.p___27904.fields["_id"]; s.tmp_14 = r0; r0 = pxsim.control.raiseEvent(s.tmp_14, s.tmp_13); case 8: case 9: - r0 = (s.i___4825 + 1); - s.i___4825 = (r0); + r0 = (s.i___27898 + 1); + s.i___27898 = (r0); { step = 3; continue; } case 10: case 11: @@ -1109,12 +1085,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_inline__P4818.info = {"start":344,"length":582,"line":15,"column":28,"endLine":30,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +controller_inline__P27891.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__P4818_mk(s) { +function controller_inline__P27891_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_inline__P4818, depth: s.depth + 1, + parent: s, fn: controller_inline__P27891, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1131,16 +1107,16 @@ function controller_inline__P4818_mk(s) { tmp_12: undefined, tmp_13: undefined, tmp_14: undefined, - stateWhenPushed___4819: undefined, - i___4825: undefined, - p___4831: undefined, + stateWhenPushed___27892: undefined, + i___27898: undefined, + p___27904: undefined, } } -function controller_inline__P4858(s) { +function controller_inline__P27931(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1150,7 +1126,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___4863 = undefined; + s.i___27936 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -1159,43 +1135,43 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["controllerConnectionState"] = (s.tmp_1); - s.i___4863 = (0); + s.i___27936 = (0); case 1: - s.tmp_1 = r0 = s.i___4863; - r0 = pxsim_Array__length(globals._players___4816); + s.tmp_1 = r0 = s.i___27936; + r0 = pxsim_Array__length(globals._players___27889); 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___4816, s.i___4863); + r0 = pxsim_Array__getAt(globals._players___27889, s.i___27936); 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___4863; - r0 = pxsim_Array__getAt(globals._players___4816, s.i___4863); + s.tmp_5 = r0 = s.i___27936; + r0 = pxsim_Array__getAt(globals._players___27889, s.i___27936); 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___4863 + 1); - s.i___4863 = (r0); + r0 = (s.i___27936 + 1); + s.i___27936 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -controller_inline__P4858.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__P27931.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__P4858_mk(s) { +function controller_inline__P27931_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_inline__P4858, depth: s.depth + 1, + parent: s, fn: controller_inline__P27931, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1205,7 +1181,7 @@ function controller_inline__P4858_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___4863: undefined, + i___27936: undefined, arg0: undefined, } } @@ -1213,7 +1189,7 @@ function controller_inline__P4858_mk(s) { -function info_inline__P4969(s) { +function info_inline__P28042(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1227,36 +1203,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___4965); + r0 = pxsim_numops_toBoolDecr(globals.infoState___28038); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___4967); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___28040); 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___4967 = (r0); + globals.infoStateStack___28040 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___4965); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___28038); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___4967, s.tmp_0); - globals.infoState___4965 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___28040, s.tmp_0); + globals.infoState___28038 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -info_inline__P4969.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__P28042.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__P4969_mk(s) { +function info_inline__P28042_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P4969, depth: s.depth + 1, + parent: s, fn: info_inline__P28042, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1267,7 +1243,7 @@ function info_inline__P4969_mk(s) { -function info_inline__P4984(s) { +function info_inline__P28057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1277,61 +1253,61 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___4985 = undefined; - s.nextState___4994 = undefined; - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 33; s.pc = 7; return s.tmp_0; + s.scene___28058 = undefined; + s.nextState___28067 = undefined; + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 32; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___4985 = (r0); - globals.infoState___4965 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___4967; + s.scene___28058 = (r0); + globals.infoState___28038 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___28040; 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___4967); + r0 = pxsim_Array__length(globals.infoStateStack___28040); 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___4967); - s.nextState___4994 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___28040); + s.nextState___28067 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___4994; + s.tmp_2.arg0 = s.nextState___28067; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["scene"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["scene"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 34; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 33; s.pc = 8; return s.tmp_2; } } case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___4985); + r0 = (s.tmp_1 == s.scene___28058); 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___4994; + s.tmp_3.arg0 = s.nextState___28067; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["state"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["state"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 35; s.pc = 9; return s.tmp_3; } + else { s.callLocIdx = 34; s.pc = 9; return s.tmp_3; } } case 9: r0 = s.retval; - globals.infoState___4965 = (r0); + globals.infoState___28038 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___4967, s.nextState___4994); + r0 = pxsim_Array__push(globals.infoStateStack___28040, s.nextState___28067); case 4: case 5: case 6: @@ -1339,26 +1315,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_inline__P4984.info = {"start":2910,"length":376,"line":105,"column":28,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +info_inline__P28057.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__P4984_mk(s) { +function info_inline__P28057_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P4984, depth: s.depth + 1, + parent: s, fn: info_inline__P28057, 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___4985: undefined, - nextState___4994: undefined, + scene___28058: undefined, + nextState___28067: undefined, } } -function gameOverConfig_inline__P5093(s) { +function gameOverConfig_inline__P28166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1368,32 +1344,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._gameOverConfig___5092); + r0 = pxsim_numops_toBoolDecr(globals._gameOverConfig___28165); 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__C2990_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_GameOverConfig__C26058_VT); s.tmp_2 = r0; - s.tmp_3 = game_GameOverConfig_constructor__P3005_mk(s); + s.tmp_3 = game_GameOverConfig_constructor__P26073_mk(s); s.tmp_3.arg0 = s.tmp_2; - s.callLocIdx = 37; s.pc = 3; return s.tmp_3; + s.callLocIdx = 36; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - globals._gameOverConfig___5092 = (s.tmp_2); + globals._gameOverConfig___28165 = (s.tmp_2); case 1: case 2: - r0 = globals._gameOverConfig___5092; + r0 = globals._gameOverConfig___28165; return leave(s, r0) default: oops() } } } -gameOverConfig_inline__P5093.info = {"start":4359,"length":115,"line":131,"column":34,"endLine":134,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +gameOverConfig_inline__P28166.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__P5093_mk(s) { +function gameOverConfig_inline__P28166_mk(s) { checkStack(s.depth); return { - parent: s, fn: gameOverConfig_inline__P5093, depth: s.depth + 1, + parent: s, fn: gameOverConfig_inline__P28166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1405,44 +1381,7 @@ function gameOverConfig_inline__P5093_mk(s) { -function music_Melody_constructor__P1629(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1626_VT)) failedCast(r0); - r0 = (s.arg0).fields["_text"] = (s.arg1); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -music_Melody_constructor__P1629.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__P1629_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_Melody_constructor__P1629, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, - arg1: undefined, -} } - - - - - -function music_Melody_play__P1633(s) { +function game_eventContext__P26087(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1452,41 +1391,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1626_VT)) failedCast(r0); - s.tmp_0 = music_Melody_playCore__P4641_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = false; - s.callLocIdx = 79; s.pc = 1; return s.tmp_0; + s.tmp_0 = game_init__P28181_mk(s); + s.tmp_0.arg0 = undefined; + s.callLocIdx = 963; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = undefined; + r0 = globals._scene___28173.fields["eventContext"]; return leave(s, r0) default: oops() } } } -music_Melody_play__P1633.info = {"start":9416,"length":71,"line":292,"column":8,"endLine":294,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} +game_eventContext__P26087.info = {"start":5087,"length":112,"line":160,"column":4,"endLine":163,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} -function music_Melody_play__P1633_mk(s) { +function game_eventContext__P26087_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_play__P1633, depth: s.depth + 1, + parent: s, fn: game_eventContext__P26087, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - arg0: undefined, - arg1: undefined, } } -function music_Melody_playCore__P4641(s) { +function game_init__P28181(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1496,230 +1424,56 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___7207 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1626_VT)) failedCast(r0); - s.tmp_0 = music_Melody_stop__P1631_mk(s); - s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 74; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C1637_VT); - s.tmp_0 = r0; - s.tmp_1 = music_MelodyPlayer_constructor__P1640_mk(s); - s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.arg0; - s.callLocIdx = 75; s.pc = 2; return s.tmp_1; - case 2: - r0 = s.retval; - r0 = (s.arg0).fields["_player"] = (s.tmp_0); - s.p___7207 = (s.tmp_0); - s.tmp_0 = music_Melody_registerMelody__P4639_mk(s); - s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 76; s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(4, music_Melody_playCore_inline__P7217); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.p___7207); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.arg2); - r0 = pxsim.control.runInParallel(s.tmp_0); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -music_Melody_playCore__P4641.info = {"start":7809,"length":815,"line":247,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playCore","argumentNames":["this","volume","loop"]} - -function music_Melody_playCore__P4641_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_Melody_playCore__P4641, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - p___7207: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, -} } - - - - - -function music_Melody_playCore_inline__P7217(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - case 1: - r0 = s.caps[0].fields["_player"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 == s.caps[1]); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 6; continue; } - s.tmp_2 = music_MelodyPlayer_play__P1642_mk(s); - s.tmp_2.arg0 = s.caps[1]; - s.tmp_2.arg1 = s.caps[2]; - s.callLocIdx = 77; s.pc = 7; return s.tmp_2; - case 7: - r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.caps[3]); + r0 = pxsim_numops_toBoolDecr(globals._scene___28173); 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 = 4; continue; } - r0 = s.caps[0].fields["_player"]; - s.tmp_3 = r0; - r0 = (s.tmp_3 == s.caps[1]); - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 2; continue; } - s.tmp_4 = music_Melody_unregisterMelody__P4640_mk(s); - s.tmp_4.arg0 = s.caps[0]; - s.callLocIdx = 78; s.pc = 8; return s.tmp_4; - case 8: - r0 = s.retval; - case 2: - case 3: - { step = 6; continue; } - case 4: - case 5: - { step = 1; continue; } - case 6: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -music_Melody_playCore_inline__P7217.info = {"start":8012,"length":601,"line":251,"column":34,"endLine":265,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} - -function music_Melody_playCore_inline__P7217_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_Melody_playCore_inline__P7217, 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, -} } - - - - - -function music_Melody_unregisterMelody__P4640(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1626_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___4642); + r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___4642, s.arg0); + r0 = s.tmp_0; + { step = 2; continue; } case 1: - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -music_Melody_unregisterMelody__P4640.info = {"start":7598,"length":201,"line":240,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"unregisterMelody","argumentNames":["this"]} - -function music_Melody_unregisterMelody__P4640_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_Melody_unregisterMelody__P4640, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function music_Melody_registerMelody__P4639(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1626_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___4642); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = pxsim_Array__mk(); - globals.music_Melody_playingMelodies___4642 = (r0); - case 1: case 2: - r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___4642); - s.tmp_1 = r0; - r0 = (s.tmp_1 > 4); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); + // jmp value (already in r0) + s.tmp_2 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_2 = music_Melody_stop__P1631_mk(s); - s.tmp_3 = r0 = globals.music_Melody_playingMelodies___4642; - r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___4642); - s.tmp_5 = r0; - r0 = (s.tmp_5 - 1); - s.tmp_4 = r0; - r0 = pxsim_Array__getAt(s.tmp_3, s.tmp_4); - s.tmp_2.arg0 = r0; - s.callLocIdx = 73; s.pc = 5; return s.tmp_2; + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C25911_VT); + s.tmp_3 = r0; + s.tmp_4 = scene_Scene_constructor__P25934_mk(s); + s.tmp_4.arg0 = s.tmp_3; + s.tmp_5 = control_pushEventContext__P23476_mk(s); + s.callLocIdx = 964; s.pc = 6; return s.tmp_5; + case 6: + r0 = s.retval; + s.tmp_4.arg1 = r0; + s.tmp_4.arg2 = globals._scene___28173; + s.callLocIdx = 965; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; + globals._scene___28173 = (s.tmp_3); case 3: case 4: - r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___4642, s.arg0); - r0 = pxsim_Array__push(globals.music_Melody_playingMelodies___4642, s.arg0); + s.tmp_0 = scene_Scene_init__P25935_mk(s); + s.tmp_0.arg0 = globals._scene___28173; + s.callLocIdx = 966; s.pc = 7; return s.tmp_0; + case 7: + r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_registerMelody__P4639.info = {"start":7016,"length":573,"line":228,"column":8,"endLine":239,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"registerMelody","argumentNames":["this"]} +game_init__P28181.info = {"start":5205,"length":194,"line":165,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} -function music_Melody_registerMelody__P4639_mk(s) { +function game_init__P28181_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_registerMelody__P4639, depth: s.depth + 1, + parent: s, fn: game_init__P28181, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1734,2261 +1488,7 @@ function music_Melody_registerMelody__P4639_mk(s) { -function music_MelodyPlayer_play__P1642(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.notes___7250 = undefined; - s.pos___7254 = undefined; - s.duration___7255 = undefined; - s.octave___7256 = undefined; - s.tempo___7257 = undefined; - s.hz___7258 = undefined; - s.endHz___7259 = undefined; - s.ms___7262 = undefined; - s.timePos___7263 = undefined; - s.startTime___7264 = undefined; - s.now___7267 = undefined; - s.envA___7268 = undefined; - s.envD___7269 = undefined; - s.envS___7270 = undefined; - s.envR___7271 = undefined; - s.soundWave___7272 = undefined; - s.sndInstr___7273 = undefined; - s.sndInstrPtr___7279 = undefined; - s.addForm___7280 = undefined; - s.scanNextWord___7340 = undefined; - s.token___7397 = undefined; - s.tokenKind___7398 = undefined; - s.consumeToken___7401 = undefined; - s.currNote___7477 = undefined; - s.prevNote___7479 = undefined; - s.timeLeft___7482 = undefined; - s.note___7496 = undefined; - s.i___7500 = undefined; - s.noteChar___7506 = undefined; - s.keyNumber___7580 = undefined; - s.currMs___7597 = undefined; - s.beat___7601 = undefined; - s.timeLeft___7658 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C1637_VT)) failedCast(r0); - r0 = pxsim_pxtrt.mklocRef(); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); - s.arg1 = (s.tmp_0); - r0 = s.arg0.fields["melody"]; - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - s.tmp_2 = r0; - r0 = pxsim_Boolean__bang(s.tmp_2); - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 1; continue; } - { step = 59; continue; } - case 1: - case 2: - s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_clamp__P127_mk(s); - s.tmp_6.arg0 = 0; - s.tmp_6.arg1 = 255; - r0 = pxsim_pxtrt_ldlocRef(s.arg1); - s.tmp_8 = r0; - s.tmp_10 = music_volume__P1621_mk(s); - s.callLocIdx = 80; s.pc = 61; return s.tmp_10; - case 61: - r0 = s.retval; - s.tmp_9 = r0; - r0 = (s.tmp_8 * s.tmp_9); - s.tmp_7 = r0; - r0 = (s.tmp_7 >> 8); - s.tmp_6.arg2 = r0; - s.callLocIdx = 81; s.pc = 60; return s.tmp_6; - case 60: - r0 = s.retval; - s.tmp_5 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_4, s.tmp_5); - r0 = s.arg0.fields["melody"]; - r0 = r0.fields["_text"]; - s.notes___7250 = (r0); - r0 = pxsim_pxtrt.mklocRef(); - s.pos___7254 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pos___7254, 0); - r0 = pxsim_pxtrt.mklocRef(); - s.duration___7255 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.duration___7255, 4); - r0 = pxsim_pxtrt.mklocRef(); - s.octave___7256 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.octave___7256, 4); - r0 = pxsim_pxtrt.mklocRef(); - s.tempo___7257 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.tempo___7257, 120); - r0 = pxsim_pxtrt.mklocRef(); - s.hz___7258 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.hz___7258, 0); - r0 = pxsim_pxtrt.mklocRef(); - s.endHz___7259 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.endHz___7259, -1); - r0 = pxsim_pxtrt.mklocRef(); - s.ms___7262 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.ms___7262, 0); - s.timePos___7263 = (0); - r0 = pxsim.control.millis(); - s.startTime___7264 = (r0); - s.now___7267 = (0); - r0 = pxsim_pxtrt.mklocRef(); - s.envA___7268 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envA___7268, 0); - r0 = pxsim_pxtrt.mklocRef(); - s.envD___7269 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envD___7269, 0); - r0 = pxsim_pxtrt.mklocRef(); - s.envS___7270 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envS___7270, 255); - r0 = pxsim_pxtrt.mklocRef(); - s.envR___7271 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envR___7271, 0); - r0 = pxsim_pxtrt.mklocRef(); - s.soundWave___7272 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.soundWave___7272, 1); - r0 = pxsim.control.createBuffer(60); - s.sndInstr___7273 = (r0); - r0 = pxsim_pxtrt.mklocRef(); - s.sndInstrPtr___7279 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___7279, 0); - r0 = pxsim_pxtcore_mkAction(10, addForm_inline__P7281); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hz___7258); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.endHz___7259); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.ms___7262); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___7255); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.tempo___7257); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.envR___7271); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.sndInstrPtr___7279); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.sndInstr___7273); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.soundWave___7272); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.arg1); - s.addForm___7280 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, scanNextWord_inline__P7341); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pos___7254); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.notes___7250); - s.scanNextWord___7340 = (s.tmp_0); - r0 = pxsim_pxtrt.mklocRef(); - s.token___7397 = (r0); - s.tmp_0 = r0 = s.token___7397; - r0 = pxsim_String_.mkEmpty(); - s.tmp_1 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt.mklocRef(); - s.tokenKind___7398 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___7398, 0); - r0 = pxsim_pxtcore_mkAction(13, consumeToken_inline__P7402); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.token___7397); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tokenKind___7398); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.octave___7256); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___7255); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.ms___7262); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.tempo___7257); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.hz___7258); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.soundWave___7272); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.envA___7268); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.envD___7269); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.envS___7270); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.envR___7271); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.endHz___7259); - s.consumeToken___7401 = (s.tmp_0); - case 3: - r0 = pxsim_numops_toBoolDecr(true); - if (!r0) { step = 58; continue; } - s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.scanNextWord___7340; - setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 89; s.pc = 62; return s.tmp_0; - case 62: - r0 = s.retval; - s.currNote___7477 = (r0); - s.prevNote___7479 = (false); - r0 = pxsim_numops_toBoolDecr(s.currNote___7477); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 8; continue; } - r0 = (s.timePos___7263 - s.now___7267); - s.timeLeft___7482 = (r0); - r0 = (s.timeLeft___7482 > 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 4; continue; } - s.tmp_1 = pause__P413_mk(s); - s.tmp_1.arg0 = s.timeLeft___7482; - s.callLocIdx = 90; s.pc = 63; return s.tmp_1; - case 63: - r0 = s.retval; - case 4: - case 5: - r0 = s.arg0.fields["onPlayFinished"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 6; continue; } - s.tmp_1 = if_onPlayFinished_1_mk(s); - s.tmp_1.arg0 = s.arg0; - if (!s.tmp_1.arg0.vtable.iface) { - setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "onPlayFinished"), 1); - s.callLocIdx = 91; s.pc = 64; return s.tmp_1; - } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["onPlayFinished"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["onPlayFinished"], 1); s.callLocIdx = 91; s.pc = 64; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 91; s.pc = 64; return s.tmp_1;; } - else { s.callLocIdx = 91; s.pc = 64; return s.tmp_1; } - } - case 64: - r0 = s.retval; - case 6: - case 7: - { step = 59; continue; } - case 8: - case 9: - r0 = pxsim_pxtrt_stlocRef(s.hz___7258, -1); - s.note___7496 = (0); - s.tmp_0 = r0 = s.token___7397; - r0 = pxsim_String_.mkEmpty(); - s.tmp_1 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___7398, 0); - s.i___7500 = (0); - case 10: - s.tmp_1 = r0 = s.i___7500; - r0 = pxsim_String_.length(s.currNote___7477); - s.tmp_2 = r0; - r0 = (s.tmp_1 < s.tmp_2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 41; continue; } - r0 = pxsim_String_.charAt(s.currNote___7477, s.i___7500); - s.noteChar___7506 = (r0); - s.tmp_0 = r0 = s.noteChar___7506; - r0 = pxsim_pxtcore.switch_eq("c", s.tmp_0); - if (r0) { step = 11; continue; } - r0 = pxsim_pxtcore.switch_eq("C", s.tmp_0); - if (r0) { step = 12; continue; } - r0 = pxsim_pxtcore.switch_eq("d", s.tmp_0); - if (r0) { step = 13; continue; } - r0 = pxsim_pxtcore.switch_eq("D", s.tmp_0); - if (r0) { step = 14; continue; } - r0 = pxsim_pxtcore.switch_eq("e", s.tmp_0); - if (r0) { step = 15; continue; } - r0 = pxsim_pxtcore.switch_eq("E", s.tmp_0); - if (r0) { step = 16; continue; } - r0 = pxsim_pxtcore.switch_eq("f", s.tmp_0); - if (r0) { step = 17; continue; } - r0 = pxsim_pxtcore.switch_eq("F", s.tmp_0); - if (r0) { step = 18; continue; } - r0 = pxsim_pxtcore.switch_eq("g", s.tmp_0); - if (r0) { step = 19; continue; } - r0 = pxsim_pxtcore.switch_eq("G", s.tmp_0); - if (r0) { step = 20; continue; } - r0 = pxsim_pxtcore.switch_eq("a", s.tmp_0); - if (r0) { step = 21; continue; } - r0 = pxsim_pxtcore.switch_eq("A", s.tmp_0); - if (r0) { step = 22; continue; } - r0 = pxsim_pxtcore.switch_eq("B", s.tmp_0); - if (r0) { step = 23; continue; } - r0 = pxsim_pxtcore.switch_eq("r", s.tmp_0); - if (r0) { step = 24; continue; } - r0 = pxsim_pxtcore.switch_eq("R", s.tmp_0); - if (r0) { step = 25; continue; } - r0 = pxsim_pxtcore.switch_eq("#", s.tmp_0); - if (r0) { step = 26; continue; } - r0 = pxsim_pxtcore.switch_eq("b", s.tmp_0); - if (r0) { step = 27; continue; } - r0 = pxsim_pxtcore.switch_eq(",", s.tmp_0); - if (r0) { step = 30; continue; } - r0 = pxsim_pxtcore.switch_eq("!", s.tmp_0); - if (r0) { step = 31; continue; } - r0 = pxsim_pxtcore.switch_eq("@", s.tmp_0); - if (r0) { step = 32; continue; } - r0 = pxsim_pxtcore.switch_eq("~", s.tmp_0); - if (r0) { step = 33; continue; } - r0 = pxsim_pxtcore.switch_eq(":", s.tmp_0); - if (r0) { step = 34; continue; } - r0 = pxsim_pxtcore.switch_eq("-", s.tmp_0); - if (r0) { step = 35; continue; } - r0 = pxsim_pxtcore.switch_eq("^", s.tmp_0); - if (r0) { step = 36; continue; } - r0 = s.tmp_0; - { step = 37; continue; } - case 11: - case 12: - s.note___7496 = (1); - s.prevNote___7479 = (true); - { step = 40; continue; } - case 13: - case 14: - s.note___7496 = (3); - s.prevNote___7479 = (true); - { step = 40; continue; } - case 15: - case 16: - s.note___7496 = (5); - s.prevNote___7479 = (true); - { step = 40; continue; } - case 17: - case 18: - s.note___7496 = (6); - s.prevNote___7479 = (true); - { step = 40; continue; } - case 19: - case 20: - s.note___7496 = (8); - s.prevNote___7479 = (true); - { step = 40; continue; } - case 21: - case 22: - s.note___7496 = (10); - s.prevNote___7479 = (true); - { step = 40; continue; } - case 23: - s.note___7496 = (12); - s.prevNote___7479 = (true); - { step = 40; continue; } - case 24: - case 25: - r0 = pxsim_pxtrt_stlocRef(s.hz___7258, 0); - s.prevNote___7479 = (false); - { step = 40; continue; } - case 26: - r0 = (s.note___7496 + 1); - s.note___7496 = (r0); - s.prevNote___7479 = (false); - { step = 40; continue; } - case 27: - r0 = pxsim_numops_toBoolDecr(s.prevNote___7479); - if (!r0) { step = 28; continue; } - r0 = (s.note___7496 - 1); - s.note___7496 = (r0); - { step = 29; continue; } - case 28: - s.note___7496 = (12); - s.prevNote___7479 = (true); - case 29: - { step = 40; continue; } - case 30: - s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___7401; - setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 92; s.pc = 65; return s.tmp_0; - case 65: - r0 = s.retval; - s.prevNote___7479 = (false); - { step = 40; continue; } - case 31: - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___7398, 4); - s.prevNote___7479 = (false); - { step = 40; continue; } - case 32: - s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___7401; - setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 93; s.pc = 66; return s.tmp_0; - case 66: - r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___7398, 8); - s.prevNote___7479 = (false); - { step = 40; continue; } - case 33: - s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___7401; - setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 94; s.pc = 67; return s.tmp_0; - case 67: - r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___7398, 7); - s.prevNote___7479 = (false); - { step = 40; continue; } - case 34: - s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___7401; - setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 95; s.pc = 68; return s.tmp_0; - case 68: - r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___7398, 2); - s.prevNote___7479 = (false); - { step = 40; continue; } - case 35: - s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___7401; - setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 96; s.pc = 69; return s.tmp_0; - case 69: - r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___7398, 3); - s.prevNote___7479 = (false); - { step = 40; continue; } - case 36: - s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___7401; - setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 97; s.pc = 70; return s.tmp_0; - case 70: - r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___7398, 5); - { step = 40; continue; } - case 37: - r0 = pxsim_pxtrt_ldlocRef(s.tokenKind___7398); - s.tmp_1 = r0; - r0 = (s.tmp_1 == 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 38; continue; } - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___7398, 1); - case 38: - case 39: - s.tmp_0 = r0 = s.token___7397; - r0 = pxsim_pxtrt_ldlocRef(s.token___7397); - s.tmp_3 = r0; - if ((s.tmp_3) && (s.tmp_3).vtable) { - setupResume(s, 71); - pxsim_String__stringConv(s.tmp_3); - checkResumeConsumed(); - return; - } else { s.retval = (s.tmp_3) + ""; } - case 71: - r0 = s.retval; - s.tmp_2 = r0; - if ((s.noteChar___7506) && (s.noteChar___7506).vtable) { - setupResume(s, 72); - pxsim_String__stringConv(s.noteChar___7506); - checkResumeConsumed(); - return; - } else { s.retval = (s.noteChar___7506) + ""; } - case 72: - r0 = s.retval; - s.tmp_4 = r0; - r0 = pxsim_String__concat(s.tmp_2, s.tmp_4); - s.tmp_1 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - s.prevNote___7479 = (false); - case 40: - r0 = (s.i___7500 + 1); - s.i___7500 = (r0); - { step = 10; continue; } - case 41: - s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___7401; - setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 98; s.pc = 73; return s.tmp_0; - case 73: - r0 = s.retval; - s.tmp_0 = r0 = s.note___7496; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 42; continue; } - r0 = s.tmp_0; - { step = 43; continue; } - case 42: - r0 = pxsim_pxtrt_ldlocRef(s.hz___7258); - s.tmp_1 = r0; - r0 = (s.tmp_1 < 0); - case 43: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 46; continue; } - s.tmp_3 = r0 = s.note___7496; - r0 = pxsim_pxtrt_ldlocRef(s.octave___7256); - s.tmp_6 = r0; - r0 = (s.tmp_6 - 1); - s.tmp_5 = r0; - r0 = (12 * s.tmp_5); - s.tmp_4 = r0; - r0 = (s.tmp_3 + s.tmp_4); - s.keyNumber___7580 = (r0); - s.tmp_1 = r0 = globals.freqs___4627; - r0 = (s.keyNumber___7580 * 2); - s.tmp_2 = r0; - r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 4, s.tmp_2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 44; continue; } - r0 = s.tmp_0; - { step = 45; continue; } - case 44: - r0 = 0; - case 45: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_pxtrt_stlocRef(s.hz___7258, s.tmp_3); - case 46: - case 47: - r0 = pxsim_pxtrt_ldlocRef(s.ms___7262); - s.currMs___7597 = (r0); - r0 = (s.currMs___7597 <= 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 48; continue; } - r0 = pxsim_pxtrt_ldlocRef(s.tempo___7257); - s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(15000, s.tmp_1); - s.beat___7601 = (r0); - r0 = pxsim_pxtrt_ldlocRef(s.duration___7255); - s.tmp_0 = r0; - r0 = (s.tmp_0 * s.beat___7601); - s.currMs___7597 = (r0); - case 48: - case 49: - r0 = pxsim_pxtrt_ldlocRef(s.hz___7258); - s.tmp_1 = r0; - r0 = (s.tmp_1 < 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 50; continue; } - { step = 55; continue; } - case 50: - r0 = pxsim_pxtrt_ldlocRef(s.hz___7258); - s.tmp_3 = r0; - r0 = (s.tmp_3 == 0); - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 51; continue; } - r0 = (s.timePos___7263 + s.currMs___7597); - s.timePos___7263 = (r0); - { step = 54; continue; } - case 51: - r0 = pxsim_pxtrt_ldlocRef(s.endHz___7259); - s.tmp_1 = r0; - r0 = (s.tmp_1 < 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 52; continue; } - s.tmp_2 = r0 = s.endHz___7259; - r0 = pxsim_pxtrt_ldlocRef(s.hz___7258); - s.tmp_3 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); - case 52: - case 53: - r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___7279, 0); - s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___7280; - r0 = pxsim_pxtrt_ldlocRef(s.envA___7268); - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = 0; - s.tmp_0.arg2 = 255; - s.tmp_0.arg3 = 0; - setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 99; s.pc = 74; return s.tmp_0; - case 74: - r0 = s.retval; - s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___7280; - r0 = pxsim_pxtrt_ldlocRef(s.envD___7269); - s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = 255; - r0 = pxsim_pxtrt_ldlocRef(s.envS___7270); - s.tmp_0.arg2 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envA___7268); - s.tmp_0.arg3 = r0; - setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 100; s.pc = 75; return s.tmp_0; - case 75: - r0 = s.retval; - s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___7280; - s.tmp_1 = r0 = s.currMs___7597; - r0 = pxsim_pxtrt_ldlocRef(s.envA___7268); - s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envD___7269); - s.tmp_4 = r0; - r0 = (s.tmp_3 + s.tmp_4); - s.tmp_2 = r0; - r0 = (s.tmp_1 - s.tmp_2); - s.tmp_0.arg0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___7270); - s.tmp_0.arg1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___7270); - s.tmp_0.arg2 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envD___7269); - s.tmp_5 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envA___7268); - s.tmp_6 = r0; - r0 = (s.tmp_5 + s.tmp_6); - s.tmp_0.arg3 = r0; - setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 101; s.pc = 76; return s.tmp_0; - case 76: - r0 = s.retval; - s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___7280; - r0 = pxsim_pxtrt_ldlocRef(s.envR___7271); - s.tmp_0.arg0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___7270); - s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = s.currMs___7597; - setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 102; s.pc = 77; return s.tmp_0; - case 77: - r0 = s.retval; - s.tmp_0 = music_MelodyPlayer_queuePlayInstructions__P4643_mk(s); - s.tmp_0.arg0 = s.arg0; - r0 = (s.timePos___7263 - s.now___7267); - s.tmp_0.arg1 = r0; - s.tmp_1 = r0 = s.sndInstr___7273; - r0 = pxsim_pxtrt_ldlocRef(s.sndInstrPtr___7279); - s.tmp_2 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_1, 0, s.tmp_2); - s.tmp_0.arg2 = r0; - s.callLocIdx = 103; s.pc = 78; return s.tmp_0; - case 78: - r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.endHz___7259, -1); - r0 = (s.timePos___7263 + s.currMs___7597); - s.timePos___7263 = (r0); - case 54: - case 55: - r0 = (s.timePos___7263 - s.now___7267); - s.timeLeft___7658 = (r0); - r0 = (s.timeLeft___7658 > 200); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 56; continue; } - s.tmp_1 = pause__P413_mk(s); - r0 = (s.timeLeft___7658 - 100); - s.tmp_1.arg0 = r0; - s.callLocIdx = 104; s.pc = 79; return s.tmp_1; - case 79: - r0 = s.retval; - r0 = pxsim.control.millis(); - s.tmp_0 = r0; - r0 = (s.tmp_0 - s.startTime___7264); - s.now___7267 = (r0); - case 56: - case 57: - { step = 3; continue; } - case 58: - case 59: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -music_MelodyPlayer_play__P1642.info = {"start":11570,"length":9259,"line":356,"column":8,"endLine":590,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} - -function music_MelodyPlayer_play__P1642_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_MelodyPlayer_play__P1642, 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, - tmp_5: undefined, - tmp_6: undefined, - tmp_7: undefined, - tmp_8: undefined, - tmp_9: undefined, - tmp_10: undefined, - notes___7250: undefined, - pos___7254: undefined, - duration___7255: undefined, - octave___7256: undefined, - tempo___7257: undefined, - hz___7258: undefined, - endHz___7259: undefined, - ms___7262: undefined, - timePos___7263: undefined, - startTime___7264: undefined, - now___7267: undefined, - envA___7268: undefined, - envD___7269: undefined, - envS___7270: undefined, - envR___7271: undefined, - soundWave___7272: undefined, - sndInstr___7273: undefined, - sndInstrPtr___7279: undefined, - addForm___7280: undefined, - scanNextWord___7340: undefined, - token___7397: undefined, - tokenKind___7398: undefined, - consumeToken___7401: undefined, - currNote___7477: undefined, - prevNote___7479: undefined, - timeLeft___7482: undefined, - note___7496: undefined, - i___7500: undefined, - noteChar___7506: undefined, - keyNumber___7580: undefined, - currMs___7597: undefined, - beat___7601: undefined, - timeLeft___7658: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function addForm_inline__P7281(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.freqStart___7286 = undefined; - s.freqEnd___7288 = undefined; - s.envelopeWidth___7290 = undefined; - s.slope___7308 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.arg3 = (s.lambdaArgs[3]); - s.lambdaArgs = null; - } - r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); - s.freqStart___7286 = (r0); - r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.freqEnd___7288 = (r0); - r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); - s.tmp_1 = r0; - r0 = (s.tmp_1 > 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); - { step = 2; continue; } - case 1: - r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); - s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); - s.tmp_5 = r0; - r0 = pxsim.Math_.idiv(15000, s.tmp_5); - s.tmp_4 = r0; - r0 = (s.tmp_3 * s.tmp_4); - s.tmp_2 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.caps[5]); - s.tmp_6 = r0; - r0 = (s.tmp_2 + s.tmp_6); - case 2: - // jmp value (already in r0) - s.tmp_7 = r0; - s.envelopeWidth___7290 = (s.tmp_7); - r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); - s.tmp_2 = r0; - r0 = (s.tmp_1 != s.tmp_2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 3; continue; } - r0 = s.tmp_0; - { step = 4; continue; } - case 3: - r0 = (s.envelopeWidth___7290 != 0); - case 4: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 5; continue; } - r0 = (s.freqEnd___7288 - s.freqStart___7286); - s.tmp_4 = r0; - r0 = (s.tmp_4 / s.envelopeWidth___7290); - s.slope___7308 = (r0); - r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); - s.tmp_0 = r0; - r0 = (s.slope___7308 * s.arg3); - s.tmp_1 = r0; - r0 = (s.tmp_0 + s.tmp_1); - s.freqStart___7286 = (r0); - r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); - s.tmp_0 = r0; - s.tmp_2 = r0 = s.slope___7308; - r0 = (s.arg3 + s.arg0); - s.tmp_3 = r0; - r0 = (s.tmp_2 * s.tmp_3); - s.tmp_1 = r0; - r0 = (s.tmp_0 + s.tmp_1); - s.freqEnd___7288 = (r0); - case 5: - case 6: - s.tmp_0 = r0 = s.caps[6]; - s.tmp_2 = music_addNote__P1636_mk(s); - s.tmp_2.arg0 = s.caps[7]; - r0 = pxsim_pxtrt_ldlocRef(s.caps[6]); - s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.arg0; - s.tmp_2.arg3 = s.arg1; - s.tmp_2.arg4 = s.arg2; - r0 = pxsim_pxtrt_ldlocRef(s.caps[8]); - s.tmp_2.arg5 = r0; - s.tmp_2.arg6 = s.freqStart___7286; - r0 = pxsim_pxtrt_ldlocRef(s.caps[9]); - s.tmp_2.arg7 = r0; - s.tmp_2.arg8 = s.freqEnd___7288; - s.callLocIdx = 82; s.pc = 7; return s.tmp_2; - case 7: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -addForm_inline__P7281.info = {"start":12378,"length":643,"line":382,"column":28,"endLine":393,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["formDuration","beg","end","msOff"]} - -function addForm_inline__P7281_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: addForm_inline__P7281, 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, - tmp_5: undefined, - tmp_6: undefined, - tmp_7: undefined, - freqStart___7286: undefined, - freqEnd___7288: undefined, - envelopeWidth___7290: undefined, - slope___7308: undefined, - arg0: undefined, - arg1: undefined, - arg2: undefined, - arg3: undefined, -} } - - - - - -function scanNextWord_inline__P7341(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.c___7350 = undefined; - s.note___7367 = undefined; - s.c___7373 = undefined; - r0 = s.caps[0].fields["melody"]; - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - 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(); - { step = 23; continue; } - case 1: - case 2: - case 3: - r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.tmp_4 = r0; - r0 = pxsim_String_.length(s.caps[2]); - 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 = 12; continue; } - s.tmp_6 = r0 = s.caps[2]; - r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.tmp_7 = r0; - r0 = pxsim_String_.charAt(s.tmp_6, s.tmp_7); - s.c___7350 = (r0); - r0 = (s.c___7350 != " "); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 4; continue; } - r0 = s.tmp_0; - { step = 5; continue; } - case 4: - r0 = (s.c___7350 != "\r"); - case 5: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = pxsim_numops_toBool(s.tmp_1); - if (r0) { step = 6; continue; } - r0 = s.tmp_1; - { step = 7; continue; } - case 6: - r0 = (s.c___7350 != "\n"); - case 7: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = pxsim_numops_toBool(s.tmp_2); - if (r0) { step = 8; continue; } - r0 = s.tmp_2; - { step = 9; continue; } - case 8: - r0 = (s.c___7350 != "\t"); - case 9: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 10; continue; } - { step = 12; continue; } - case 10: - case 11: - s.tmp_4 = r0 = s.caps[1]; - r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.tmp_6 = r0; - r0 = (s.tmp_6 + 1); - s.tmp_5 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_4, s.tmp_5); - { step = 3; continue; } - case 12: - r0 = pxsim_String_.mkEmpty(); - s.note___7367 = (r0); - case 13: - r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.tmp_1 = r0; - r0 = pxsim_String_.length(s.caps[2]); - 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 = 22; continue; } - s.tmp_3 = r0 = s.caps[2]; - r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.tmp_4 = r0; - r0 = pxsim_String_.charAt(s.tmp_3, s.tmp_4); - s.c___7373 = (r0); - r0 = (s.c___7373 == " "); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 14; continue; } - r0 = s.tmp_0; - { step = 15; continue; } - case 14: - r0 = (s.c___7373 == "\r"); - case 15: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = pxsim_numops_toBool(s.tmp_1); - if (!r0) { step = 16; continue; } - r0 = s.tmp_1; - { step = 17; continue; } - case 16: - r0 = (s.c___7373 == "\n"); - case 17: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = pxsim_numops_toBool(s.tmp_2); - if (!r0) { step = 18; continue; } - r0 = s.tmp_2; - { step = 19; continue; } - case 18: - r0 = (s.c___7373 == "\t"); - case 19: - // jmp value (already in r0) - s.tmp_3 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_3); - if (!r0) { step = 20; continue; } - { step = 22; continue; } - case 20: - case 21: - if ((s.note___7367) && (s.note___7367).vtable) { - setupResume(s, 24); - pxsim_String__stringConv(s.note___7367); - checkResumeConsumed(); - return; - } else { s.retval = (s.note___7367) + ""; } - case 24: - r0 = s.retval; - s.tmp_4 = r0; - if ((s.c___7373) && (s.c___7373).vtable) { - setupResume(s, 25); - pxsim_String__stringConv(s.c___7373); - checkResumeConsumed(); - return; - } else { s.retval = (s.c___7373) + ""; } - case 25: - r0 = s.retval; - s.tmp_5 = r0; - r0 = pxsim_String__concat(s.tmp_4, s.tmp_5); - s.note___7367 = (r0); - s.tmp_0 = r0 = s.caps[1]; - r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.tmp_2 = r0; - r0 = (s.tmp_2 + 1); - s.tmp_1 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - { step = 13; continue; } - case 22: - r0 = s.note___7367; - case 23: - return leave(s, r0) - default: oops() -} } } -scanNextWord_inline__P7341.info = {"start":13056,"length":708,"line":395,"column":33,"endLine":417,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} - -function scanNextWord_inline__P7341_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scanNextWord_inline__P7341, 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, - tmp_5: undefined, - tmp_6: undefined, - tmp_7: undefined, - c___7350: undefined, - note___7367: undefined, - c___7373: undefined, -} } - - - - - -function consumeToken_inline__P7402(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.d___7408 = undefined; - r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 2; continue; } - case 1: - r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.tmp_1 = r0; - r0 = (s.tmp_1 != 0); - case 2: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 15; continue; } - s.tmp_3 = parseInt__P97_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); - s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = undefined; - s.callLocIdx = 83; s.pc = 17; return s.tmp_3; - case 17: - r0 = s.retval; - s.d___7408 = (r0); - r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.tmp_0 = r0; - r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); - if (r0) { step = 3; continue; } - r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); - if (r0) { step = 4; continue; } - r0 = pxsim_pxtcore.switch_eq(3, s.tmp_0); - if (r0) { step = 5; continue; } - r0 = pxsim_pxtcore.switch_eq(4, s.tmp_0); - if (r0) { step = 6; continue; } - r0 = pxsim_pxtcore.switch_eq(6, s.tmp_0); - if (r0) { step = 7; continue; } - r0 = pxsim_pxtcore.switch_eq(7, s.tmp_0); - if (r0) { step = 8; continue; } - r0 = pxsim_pxtcore.switch_eq(8, s.tmp_0); - if (r0) { step = 9; continue; } - r0 = pxsim_pxtcore.switch_eq(9, s.tmp_0); - if (r0) { step = 10; continue; } - r0 = pxsim_pxtcore.switch_eq(10, s.tmp_0); - if (r0) { step = 11; continue; } - r0 = pxsim_pxtcore.switch_eq(11, s.tmp_0); - if (r0) { step = 12; continue; } - r0 = pxsim_pxtcore.switch_eq(5, s.tmp_0); - if (r0) { step = 13; continue; } - r0 = s.tmp_0; - { step = 14; continue; } - case 3: - r0 = pxsim_pxtrt_stlocRef(s.caps[2], s.d___7408); - { step = 14; continue; } - case 4: - s.tmp_0 = r0 = s.caps[3]; - s.tmp_2 = Math_max__P130_mk(s); - s.tmp_2.arg0 = 1; - s.tmp_3 = Math_min__P131_mk(s); - s.tmp_3.arg0 = 16; - s.tmp_3.arg1 = s.d___7408; - s.callLocIdx = 84; s.pc = 19; return s.tmp_3; - case 19: - r0 = s.retval; - s.tmp_2.arg1 = r0; - s.callLocIdx = 85; s.pc = 18; return s.tmp_2; - case 18: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_stlocRef(s.caps[4], -1); - { step = 14; continue; } - case 5: - s.tmp_0 = r0 = s.caps[5]; - s.tmp_2 = Math_max__P130_mk(s); - s.tmp_2.arg0 = 1; - s.tmp_2.arg1 = s.d___7408; - s.callLocIdx = 86; s.pc = 20; return s.tmp_2; - case 20: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - { step = 14; continue; } - case 6: - r0 = pxsim_pxtrt_stlocRef(s.caps[6], s.d___7408); - r0 = pxsim_pxtrt_stlocRef(s.caps[1], 6); - { step = 14; continue; } - case 7: - r0 = pxsim_pxtrt_stlocRef(s.caps[4], s.d___7408); - { step = 14; continue; } - case 8: - s.tmp_0 = r0 = s.caps[7]; - s.tmp_2 = Math_clamp__P127_mk(s); - s.tmp_2.arg0 = 1; - s.tmp_2.arg1 = 18; - s.tmp_2.arg2 = s.d___7408; - s.callLocIdx = 87; s.pc = 21; return s.tmp_2; - case 21: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - { step = 14; continue; } - case 9: - r0 = pxsim_pxtrt_stlocRef(s.caps[8], s.d___7408); - r0 = pxsim_pxtrt_stlocRef(s.caps[1], 9); - { step = 14; continue; } - case 10: - r0 = pxsim_pxtrt_stlocRef(s.caps[9], s.d___7408); - r0 = pxsim_pxtrt_stlocRef(s.caps[1], 10); - { step = 14; continue; } - case 11: - s.tmp_0 = r0 = s.caps[10]; - s.tmp_2 = Math_clamp__P127_mk(s); - s.tmp_2.arg0 = 0; - s.tmp_2.arg1 = 255; - s.tmp_2.arg2 = s.d___7408; - s.callLocIdx = 88; s.pc = 22; return s.tmp_2; - case 22: - r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_stlocRef(s.caps[1], 11); - { step = 14; continue; } - case 12: - r0 = pxsim_pxtrt_stlocRef(s.caps[11], s.d___7408); - { step = 14; continue; } - case 13: - r0 = pxsim_pxtrt_stlocRef(s.caps[12], s.d___7408); - case 14: - s.tmp_0 = r0 = s.caps[0]; - r0 = pxsim_String_.mkEmpty(); - s.tmp_1 = r0; - r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - case 15: - case 16: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -consumeToken_inline__P7402.info = {"start":15050,"length":1189,"line":456,"column":33,"endLine":477,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} - -function consumeToken_inline__P7402_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: consumeToken_inline__P7402, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - tmp_2: undefined, - tmp_3: undefined, - d___7408: undefined, -} } - - - - - -function music_MelodyPlayer_queuePlayInstructions__P4643(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C1637_VT)) failedCast(r0); - r0 = pxsim.music.queuePlayInstructions(s.arg1, s.arg2); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -music_MelodyPlayer_queuePlayInstructions__P4643.info = {"start":11435,"length":125,"line":352,"column":8,"endLine":354,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"queuePlayInstructions","argumentNames":["this","timeDelta","buf"]} - -function music_MelodyPlayer_queuePlayInstructions__P4643_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_MelodyPlayer_queuePlayInstructions__P4643, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, - arg1: undefined, - arg2: undefined, -} } - - - - - -function music_addNote__P1636(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.arg3 = (s.lambdaArgs[3]); - s.arg4 = (s.lambdaArgs[4]); - s.arg5 = (s.lambdaArgs[5]); - s.arg6 = (s.lambdaArgs[6]); - s.arg7 = (s.lambdaArgs[7]); - s.arg8 = (s.lambdaArgs[8]); - s.lambdaArgs = null; - } - r0 = (s.arg2 > 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = pxsim.BufferMethods.setNumber(s.arg0, 2, s.arg1, s.arg5); - s.tmp_0 = r0 = s.arg0; - r0 = (s.arg1 + 1); - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 2, s.tmp_1, 0); - s.tmp_0 = r0 = s.arg0; - r0 = (s.arg1 + 2); - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.arg6); - s.tmp_0 = r0 = s.arg0; - r0 = (s.arg1 + 4); - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.arg2); - s.tmp_0 = r0 = s.arg0; - r0 = (s.arg1 + 6); - s.tmp_1 = r0; - r0 = (s.arg3 * s.arg7); - s.tmp_3 = r0; - r0 = (s.tmp_3 >> 6); - s.tmp_2 = r0; - r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.tmp_2); - s.tmp_0 = r0 = s.arg0; - r0 = (s.arg1 + 8); - s.tmp_1 = r0; - r0 = (s.arg4 * s.arg7); - s.tmp_3 = r0; - r0 = (s.tmp_3 >> 6); - s.tmp_2 = r0; - r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.tmp_2); - s.tmp_0 = r0 = s.arg0; - r0 = (s.arg1 + 10); - s.tmp_1 = r0; - r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.arg8); - r0 = (s.arg1 + 12); - s.arg1 = (r0); - case 1: - case 2: - r0 = pxsim.BufferMethods.setNumber(s.arg0, 2, s.arg1, 0); - r0 = s.arg1; - return leave(s, r0) - default: oops() -} } } -music_addNote__P1636.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__P1636_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_addNote__P1636, 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, - arg0: undefined, - arg1: undefined, - arg2: undefined, - arg3: undefined, - arg4: undefined, - arg5: undefined, - arg6: undefined, - arg7: undefined, - arg8: undefined, -} } - - - - - -function music_volume__P1621(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.tmp_0 = music_initVolume__P4635_mk(s); - s.callLocIdx = 62; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = globals.globalVolume___4631; - return leave(s, r0) - default: oops() -} } } -music_volume__P1621.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__P1621_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_volume__P1621, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function music_initVolume__P4635(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - r0 = (globals.globalVolume___4631 === null); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - globals.globalVolume___4631 = (0); - s.tmp_0 = music_setVolume__P1620_mk(s); - r0 = pxsim_pxtcore.getConfig(59, 128); - s.tmp_0.arg0 = r0; - s.callLocIdx = 59; s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - case 1: - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -music_initVolume__P4635.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__P4635_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_initVolume__P4635, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function music_setVolume__P1620(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - s.tmp_0 = Math_clamp__P127_mk(s); - s.tmp_0.arg0 = 0; - s.tmp_0.arg1 = 255; - r0 = (s.arg0 | 0); - s.tmp_0.arg2 = r0; - s.callLocIdx = 60; s.pc = 3; return s.tmp_0; - case 3: - r0 = s.retval; - globals.globalVolume___4631 = (r0); - r0 = (globals.globalVolume___4631 > 0); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = 1; - { step = 2; continue; } - case 1: - r0 = 0; - case 2: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = undefined; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -music_setVolume__P1620.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__P1620_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_setVolume__P1620, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, -} } - - - - - -function music_enableAmp__P4634(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -music_enableAmp__P4634.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__P4634_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_enableAmp__P4634, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function Math_min__P131(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = (s.arg0 <= s.arg1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = s.arg0; - { step = 3; continue; } - case 1: - case 2: - r0 = s.arg1; - case 3: - return leave(s, r0) - default: oops() -} } } -Math_min__P131.info = {"start":16854,"length":105,"line":568,"column":4,"endLine":571,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} - -function Math_min__P131_mk(s) { - checkStack(s.depth); - return { - 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, - arg1: undefined, -} } - - - - - -function Math_max__P130(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = (s.arg0 >= s.arg1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = s.arg0; - { step = 3; continue; } - case 1: - case 2: - r0 = s.arg1; - case 3: - return leave(s, r0) - default: oops() -} } } -Math_max__P130.info = {"start":16614,"length":105,"line":558,"column":4,"endLine":561,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} - -function Math_max__P130_mk(s) { - checkStack(s.depth); - return { - 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, - arg1: undefined, -} } - - - - - -function Math_clamp__P127(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.arg2 = (s.lambdaArgs[2]); - s.lambdaArgs = null; - } - s.tmp_0 = Math_min__P131_mk(s); - s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P130_mk(s); - s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.arg2; - s.callLocIdx = 15; s.pc = 2; return s.tmp_1; - case 2: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.callLocIdx = 16; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - return leave(s, r0) - default: oops() -} } } -Math_clamp__P127.info = {"start":15643,"length":130,"line":528,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} - -function Math_clamp__P127_mk(s) { - checkStack(s.depth); - return { - 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, - arg0: undefined, - arg1: undefined, - arg2: undefined, -} } - - - - - -function parseInt__P97(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.start___7709 = undefined; - s.sign___7739 = undefined; - s.output___7784 = undefined; - s.hasDigit___7785 = undefined; - s.i___7786 = undefined; - s.code___7793 = undefined; - s.val___7800 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = pxsim_numops_toBoolDecr(s.arg0); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = s.tmp_0; - { step = 6; continue; } - case 1: - r0 = (s.arg1 != null); - s.tmp_2 = r0; - r0 = pxsim_numops_toBool(s.tmp_2); - if (r0) { step = 2; continue; } - r0 = s.tmp_2; - { step = 5; continue; } - case 2: - r0 = (s.arg1 < 2); - s.tmp_3 = r0; - r0 = pxsim_numops_toBool(s.tmp_3); - if (!r0) { step = 3; continue; } - r0 = s.tmp_3; - { step = 4; continue; } - case 3: - r0 = (s.arg1 > 36); - case 4: - // jmp value (already in r0) - s.tmp_4 = r0; - r0 = s.tmp_4; - case 5: - // jmp value (already in r0) - s.tmp_5 = r0; - r0 = s.tmp_5; - case 6: - // jmp value (already in r0) - s.tmp_6 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_6); - if (!r0) { step = 7; continue; } - r0 = NaN; - { step = 46; continue; } - case 7: - case 8: - s.start___7709 = (0); - case 9: - s.tmp_1 = r0 = s.start___7709; - r0 = pxsim_String_.length(s.arg0); - s.tmp_2 = r0; - r0 = (s.tmp_1 < s.tmp_2); - 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_3 = helpers_isWhitespace__P124_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.start___7709); - s.tmp_3.arg0 = r0; - s.callLocIdx = 0; s.pc = 47; return s.tmp_3; - case 47: - r0 = s.retval; - case 11: - // jmp value (already in r0) - s.tmp_4 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_4); - if (!r0) { step = 12; continue; } - r0 = (s.start___7709 + 1); - s.start___7709 = (r0); - { step = 9; continue; } - case 12: - s.tmp_1 = r0 = s.start___7709; - 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 = 13; continue; } - r0 = NaN; - { step = 46; continue; } - case 13: - case 14: - s.sign___7739 = (1); - r0 = pxsim_String_.charAt(s.arg0, s.start___7709); - s.tmp_0 = r0; - r0 = pxsim_pxtcore.switch_eq("-", s.tmp_0); - if (r0) { step = 15; continue; } - r0 = pxsim_pxtcore.switch_eq("+", s.tmp_0); - if (r0) { step = 16; continue; } - r0 = s.tmp_0; - { step = 17; continue; } - case 15: - s.sign___7739 = (-1); - case 16: - r0 = (s.start___7709 + 1); - s.start___7709 = (r0); - case 17: - r0 = pxsim_numops_toBoolDecr(s.arg1); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(s.tmp_1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 18; continue; } - r0 = s.tmp_0; - { step = 19; continue; } - case 18: - r0 = (s.arg1 == 16); - case 19: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = pxsim_numops_toBool(s.tmp_2); - if (r0) { step = 20; continue; } - r0 = s.tmp_2; - { step = 21; continue; } - case 20: - r0 = pxsim_String_.charAt(s.arg0, s.start___7709); - s.tmp_3 = r0; - r0 = ("0" === s.tmp_3); - case 21: - // jmp value (already in r0) - s.tmp_4 = r0; - r0 = pxsim_numops_toBool(s.tmp_4); - if (r0) { step = 22; continue; } - r0 = s.tmp_4; - { step = 25; continue; } - case 22: - s.tmp_7 = r0 = s.arg0; - r0 = (s.start___7709 + 1); - s.tmp_8 = r0; - r0 = pxsim_String_.charAt(s.tmp_7, s.tmp_8); - s.tmp_6 = r0; - r0 = ("x" === s.tmp_6); - s.tmp_5 = r0; - r0 = pxsim_numops_toBool(s.tmp_5); - if (!r0) { step = 23; continue; } - r0 = s.tmp_5; - { step = 24; continue; } - case 23: - s.tmp_10 = r0 = s.arg0; - r0 = (s.start___7709 + 1); - s.tmp_11 = r0; - r0 = pxsim_String_.charAt(s.tmp_10, s.tmp_11); - s.tmp_9 = r0; - r0 = ("X" === s.tmp_9); - case 24: - // jmp value (already in r0) - s.tmp_12 = r0; - r0 = s.tmp_12; - case 25: - // jmp value (already in r0) - s.tmp_13 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_13); - if (!r0) { step = 26; continue; } - s.arg1 = (16); - r0 = (s.start___7709 + 2); - s.start___7709 = (r0); - { step = 29; continue; } - case 26: - r0 = pxsim_numops_toBoolDecr(s.arg1); - 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 = 27; continue; } - s.arg1 = (10); - case 27: - case 28: - case 29: - s.output___7784 = (0); - s.hasDigit___7785 = (false); - s.i___7786 = (s.start___7709); - case 30: - s.tmp_1 = r0 = s.i___7786; - r0 = pxsim_String_.length(s.arg0); - s.tmp_2 = r0; - r0 = (s.tmp_1 < s.tmp_2); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 45; continue; } - r0 = pxsim_String_.charCodeAt(s.arg0, s.i___7786); - s.tmp_3 = r0; - r0 = (s.tmp_3 | 32); - s.code___7793 = (r0); - s.val___7800 = (undefined); - r0 = (s.code___7793 >= 48); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 31; continue; } - r0 = s.tmp_0; - { step = 32; continue; } - case 31: - r0 = (s.code___7793 < 58); - case 32: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 33; continue; } - r0 = (s.code___7793 - 48); - s.val___7800 = (r0); - { step = 38; continue; } - case 33: - r0 = (s.code___7793 >= 97); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (r0) { step = 34; continue; } - r0 = s.tmp_0; - { step = 35; continue; } - case 34: - r0 = (s.code___7793 < 123); - case 35: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 36; continue; } - r0 = (10 + s.code___7793); - s.tmp_2 = r0; - r0 = (s.tmp_2 - 97); - s.val___7800 = (r0); - case 36: - case 37: - case 38: - r0 = (s.val___7800 == undefined); - s.tmp_0 = r0; - r0 = pxsim_numops_toBool(s.tmp_0); - if (!r0) { step = 39; continue; } - r0 = s.tmp_0; - { step = 40; continue; } - case 39: - r0 = (s.val___7800 >= s.arg1); - case 40: - // jmp value (already in r0) - s.tmp_1 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_1); - if (!r0) { step = 43; continue; } - r0 = pxsim_numops_toBoolDecr(s.hasDigit___7785); - s.tmp_3 = r0; - r0 = pxsim_Boolean__bang(s.tmp_3); - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 41; continue; } - r0 = NaN; - { step = 46; continue; } - case 41: - case 42: - { step = 45; continue; } - case 43: - case 44: - s.hasDigit___7785 = (true); - r0 = (s.output___7784 * s.arg1); - s.tmp_0 = r0; - r0 = (s.tmp_0 + s.val___7800); - s.output___7784 = (r0); - r0 = (s.i___7786 + 1); - s.i___7786 = (r0); - { step = 30; continue; } - case 45: - r0 = (s.sign___7739 * s.output___7784); - case 46: - return leave(s, r0) - default: oops() -} } } -parseInt__P97.info = {"start":1064,"length":1690,"line":44,"column":0,"endLine":103,"endColumn":1,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"parseInt","argumentNames":["text","radix"]} - -function parseInt__P97_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: parseInt__P97, 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, - tmp_5: undefined, - tmp_6: undefined, - tmp_7: undefined, - tmp_8: undefined, - tmp_9: undefined, - tmp_10: undefined, - tmp_11: undefined, - tmp_12: undefined, - tmp_13: undefined, - start___7709: undefined, - sign___7739: undefined, - output___7784: undefined, - hasDigit___7785: undefined, - i___7786: undefined, - code___7793: undefined, - val___7800: undefined, - arg0: undefined, - arg1: undefined, -} } - - - - - -function helpers_isWhitespace__P124(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtcore.switch_eq(9, s.tmp_0); - if (r0) { step = 1; continue; } - r0 = pxsim_pxtcore.switch_eq(11, s.tmp_0); - if (r0) { step = 2; continue; } - r0 = pxsim_pxtcore.switch_eq(12, s.tmp_0); - if (r0) { step = 3; continue; } - r0 = pxsim_pxtcore.switch_eq(32, s.tmp_0); - if (r0) { step = 4; continue; } - r0 = pxsim_pxtcore.switch_eq(160, s.tmp_0); - if (r0) { step = 5; continue; } - r0 = pxsim_pxtcore.switch_eq(65279, s.tmp_0); - if (r0) { step = 6; continue; } - r0 = pxsim_pxtcore.switch_eq(10, s.tmp_0); - if (r0) { step = 7; continue; } - r0 = pxsim_pxtcore.switch_eq(13, s.tmp_0); - if (r0) { step = 8; continue; } - r0 = pxsim_pxtcore.switch_eq(8232, s.tmp_0); - if (r0) { step = 9; continue; } - r0 = pxsim_pxtcore.switch_eq(8233, s.tmp_0); - if (r0) { step = 10; continue; } - r0 = s.tmp_0; - { step = 11; continue; } - case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - r0 = true; - { step = 12; continue; } - case 11: - r0 = false; - { step = 12; continue; } - r0 = undefined; - case 12: - return leave(s, r0) - default: oops() -} } } -helpers_isWhitespace__P124.info = {"start":14864,"length":674,"line":503,"column":4,"endLine":520,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isWhitespace","argumentNames":["c"]} - -function helpers_isWhitespace__P124_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: helpers_isWhitespace__P124, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function music_MelodyPlayer_constructor__P1640(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C1637_VT)) failedCast(r0); - r0 = (s.arg0).fields["melody"] = (s.arg1); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -music_MelodyPlayer_constructor__P1640.info = {"start":11304,"length":62,"line":344,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["this","m"]} - -function music_MelodyPlayer_constructor__P1640_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_MelodyPlayer_constructor__P1640, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, - arg1: undefined, -} } - - - - - -function music_Melody_stop__P1631(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1626_VT)) failedCast(r0); - r0 = s.arg0.fields["_player"]; - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - s.tmp_1 = music_MelodyPlayer_stop__P1641_mk(s); - r0 = s.arg0.fields["_player"]; - s.tmp_1.arg0 = r0; - s.callLocIdx = 71; s.pc = 3; return s.tmp_1; - case 3: - r0 = s.retval; - r0 = (s.arg0).fields["_player"] = (null); - case 1: - case 2: - s.tmp_0 = music_Melody_unregisterMelody__P4640_mk(s); - s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 72; s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -music_Melody_stop__P1631.info = {"start":6833,"length":173,"line":220,"column":8,"endLine":226,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} - -function music_Melody_stop__P1631_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_Melody_stop__P1631, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, - arg0: undefined, -} } - - - - - -function music_MelodyPlayer_stop__P1641(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C1637_VT)) failedCast(r0); - r0 = (s.arg0).fields["melody"] = (null); - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -music_MelodyPlayer_stop__P1641.info = {"start":11376,"length":49,"line":348,"column":8,"endLine":350,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stop","argumentNames":["this"]} - -function music_MelodyPlayer_stop__P1641_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_MelodyPlayer_stop__P1641, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function game_eventContext__P3019(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.tmp_0 = game_init__P5108_mk(s); - s.tmp_0.arg0 = undefined; - s.callLocIdx = 997; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = globals._scene___5100.fields["eventContext"]; - return leave(s, r0) - default: oops() -} } } -game_eventContext__P3019.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__P3019_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: game_eventContext__P3019, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, -} } - - - - - -function game_init__P5108(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = pxsim_numops_toBoolDecr(globals._scene___5100); - s.tmp_1 = r0; - r0 = pxsim_Boolean__bang(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.arg0; - case 2: - // jmp value (already in r0) - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C2843_VT); - s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P2866_mk(s); - s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P409_mk(s); - s.callLocIdx = 998; s.pc = 6; return s.tmp_5; - case 6: - r0 = s.retval; - s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___5100; - s.callLocIdx = 999; s.pc = 5; return s.tmp_4; - case 5: - r0 = s.retval; - globals._scene___5100 = (s.tmp_3); - case 3: - case 4: - s.tmp_0 = scene_Scene_init__P2867_mk(s); - s.tmp_0.arg0 = globals._scene___5100; - s.callLocIdx = 1000; s.pc = 7; return s.tmp_0; - case 7: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -game_init__P5108.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__P5108_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: game_init__P5108, 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, - tmp_5: undefined, - arg0: undefined, -} } - - - - - -function scene_Scene_init__P2867(s) { +function scene_Scene_init__P25935(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4003,7 +1503,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2843_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C25911_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -4011,8 +1511,8 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P1929_mk(s); - s.callLocIdx = 959; s.pc = 4; return s.tmp_1; + s.tmp_1 = power_poke__P24997_mk(s); + s.callLocIdx = 925; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -4020,92 +1520,92 @@ 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__P11186); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P33471); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P23470_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 962; s.pc = 5; return s.tmp_1; + s.callLocIdx = 928; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P23470_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P2133; - s.callLocIdx = 963; s.pc = 6; return s.tmp_0; + s.tmp_0.arg2 = controller__moveSprites__P25201; + s.callLocIdx = 929; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11210); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P33495); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P23470_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 965; s.pc = 7; return s.tmp_1; + s.callLocIdx = 931; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11223); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P33508); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P23470_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 55; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 969; s.pc = 8; return s.tmp_1; + s.callLocIdx = 935; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11244); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P33529); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P23470_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 971; s.pc = 9; return s.tmp_1; + s.callLocIdx = 937; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11252); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P33537); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P23470_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 975; s.pc = 10; return s.tmp_1; + s.callLocIdx = 941; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P403_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P23470_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P1993; - s.callLocIdx = 976; s.pc = 11; return s.tmp_0; + s.tmp_0.arg2 = control___screen_update__P25061; + s.callLocIdx = 942; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = multiplayer_initServer__P3405_mk(s); - s.callLocIdx = 977; s.pc = 12; return s.tmp_0; + s.tmp_0 = multiplayer_initServer__P26473_mk(s); + s.callLocIdx = 943; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = multiplayer_initPlayerConnectionListeners__P3406_mk(s); - s.callLocIdx = 978; s.pc = 13; return s.tmp_0; + s.tmp_0 = multiplayer_initPlayerConnectionListeners__P26474_mk(s); + s.callLocIdx = 944; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11283); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P33568); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___2865; + s.tmp_1 = helpers_arrayForEach__P23176_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___25933; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 980; s.pc = 14; return s.tmp_1; + s.callLocIdx = 946; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; case 3: @@ -4113,12 +1613,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P2867.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__P25935.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__P2867_mk(s) { +function scene_Scene_init__P25935_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P2867, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P25935, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4129,7 +1629,7 @@ function scene_Scene_init__P2867_mk(s) { -function scene_Scene_init_inline__P11186(s) { +function scene_Scene_init_inline__P33471(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4148,26 +1648,26 @@ switch (step) { r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_millis"] = (s.tmp_1); - s.tmp_0 = controller___update__P2165_mk(s); + s.tmp_0 = controller___update__P25233_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg0 = r0; - s.callLocIdx = 961; s.pc = 1; return s.tmp_0; + s.callLocIdx = 927; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11186.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__P33471.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__P11186_mk(s) { +function scene_Scene_init_inline__P33471_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11186, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P33471, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4179,7 +1679,7 @@ function scene_Scene_init_inline__P11186_mk(s) { -function scene_Scene_init_inline__P11210(s) { +function scene_Scene_init_inline__P33495(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4189,7 +1689,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = PhysicsEngine__C2511_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C25579_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["eventContext"]; @@ -4198,7 +1698,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2511_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C25579_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: @@ -4207,12 +1707,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11210.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__P33495.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__P11210_mk(s) { +function scene_Scene_init_inline__P33495_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11210, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P33495, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4223,7 +1723,7 @@ function scene_Scene_init_inline__P11210_mk(s) { -function scene_Scene_init_inline__P11223(s) { +function scene_Scene_init_inline__P33508(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4233,80 +1733,80 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___11224 = undefined; - s.s___11232 = undefined; - s.unnamed96___U2 = undefined; - s.unnamed97___U3 = undefined; + s.dt___33509 = undefined; + s.s___33517 = undefined; + s.unnamed204___U2 = undefined; + s.unnamed205___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___11224 = (r0); - s.tmp_0 = scene_Camera_update__P2798_mk(s); + s.dt___33509 = (r0); + s.tmp_0 = scene_Camera_update__P25866_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 967; s.pc = 3; return s.tmp_0; + s.callLocIdx = 933; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___11232 = (undefined); + s.s___33517 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed96___U2 = (r0); - s.unnamed97___U3 = (0); + s.unnamed204___U2 = (r0); + s.unnamed205___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed97___U3; - r0 = pxsim_Array__length(s.unnamed96___U2); + s.tmp_0 = r0 = s.unnamed205___U3; + r0 = pxsim_Array__length(s.unnamed204___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed96___U2, s.unnamed97___U3); - s.s___11232 = (r0); + r0 = pxsim_Array__getAt(s.unnamed204___U2, s.unnamed205___U3); + s.s___33517 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___11232; + s.tmp_2.arg0 = s.s___33517; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___11224; + s.tmp_2.arg2 = s.dt___33509; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); - s.callLocIdx = 968; s.pc = 4; return s.tmp_2; + s.callLocIdx = 934; s.pc = 4; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["__update"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__update"], 3); s.callLocIdx = 968; s.pc = 4; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 968; s.pc = 4; return s.tmp_2;; } - else { s.callLocIdx = 968; s.pc = 4; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__update"], 3); s.callLocIdx = 934; s.pc = 4; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 934; s.pc = 4; return s.tmp_2;; } + else { s.callLocIdx = 934; s.pc = 4; return s.tmp_2; } } case 4: r0 = s.retval; - r0 = (s.unnamed97___U3 + 1); - s.unnamed97___U3 = (r0); + r0 = (s.unnamed205___U3 + 1); + s.unnamed205___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed96___U2 = (undefined); + s.unnamed204___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11223.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__P33508.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__P11223_mk(s) { +function scene_Scene_init_inline__P33508_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11223, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P33508, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___11224: undefined, - s___11232: undefined, - unnamed96___U2: undefined, - unnamed97___U3: undefined, + dt___33509: undefined, + s___33517: undefined, + unnamed204___U2: undefined, + unnamed205___U3: undefined, } } -function scene_Scene_init_inline__P11244(s) { +function scene_Scene_init_inline__P33529(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4316,21 +1816,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P2872_mk(s); + s.tmp_0 = scene_Scene_render__P25940_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 970; s.pc = 1; return s.tmp_0; + s.callLocIdx = 936; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11244.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__P33529.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__P11244_mk(s) { +function scene_Scene_init_inline__P33529_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11244, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P33529, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -4339,7 +1839,7 @@ function scene_Scene_init_inline__P11244_mk(s) { -function scene_Scene_init_inline__P11252(s) { +function scene_Scene_init_inline__P33537(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4349,26 +1849,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___2968; + s.tmp_0 = r0 = globals.stats___26036; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___398; + r0 = globals.control_EventContext_onStats___23465; case 2: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 3; continue; } s.tmp_2 = lambda_2_mk(s); - s.tmp_2.argL = globals.control_EventContext_onStats___398; - if ((globals.control_EventContext_lastStats___397) && (globals.control_EventContext_lastStats___397).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___23465; + if ((globals.control_EventContext_lastStats___23464) && (globals.control_EventContext_lastStats___23464).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___397); + pxsim_String__stringConv(globals.control_EventContext_lastStats___23464); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___397) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___23464) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -4399,41 +1899,41 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); s.tmp_2.arg0 = r0; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 972; s.pc = 7; return s.tmp_2; + s.callLocIdx = 938; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___2967); + r0 = pxsim_numops_toBoolDecr(globals.debug___26035); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C2511_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C25579_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2511_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C25579_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__P3144_mk(s); - s.callLocIdx = 973; s.pc = 12; return s.tmp_0; + s.tmp_0 = game_consoleOverlay_draw__P26212_mk(s); + s.callLocIdx = 939; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P1930_mk(s); - s.callLocIdx = 974; s.pc = 13; return s.tmp_0; + s.tmp_0 = power_checkDeepSleep__P24998_mk(s); + s.callLocIdx = 940; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11252.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__P33537.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__P11252_mk(s) { +function scene_Scene_init_inline__P33537_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11252, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P33537, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4450,7 +1950,7 @@ function scene_Scene_init_inline__P11252_mk(s) { -function scene_Scene_init_inline__P11283(s) { +function scene_Scene_init_inline__P33568(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4468,19 +1968,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 979; s.pc = 1; return s.tmp_0; + s.callLocIdx = 945; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11283.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__P33568.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__P11283_mk(s) { +function scene_Scene_init_inline__P33568_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11283, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P33568, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4490,7 +1990,7 @@ function scene_Scene_init_inline__P11283_mk(s) { -function multiplayer_initPlayerConnectionListeners__P3406(s) { +function multiplayer_initPlayerConnectionListeners__P26474(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4500,43 +2000,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___11286 = undefined; - s.p___11286 = (1); + s.p___33571 = undefined; + s.p___33571 = (1); case 1: - r0 = (s.p___11286 <= 4); + r0 = (s.p___33571 <= 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = multiplayer_registerPlayerConnectionListeners__P5556_mk(s); - s.tmp_1.arg0 = s.p___11286; - s.callLocIdx = 1334; s.pc = 3; return s.tmp_1; + s.tmp_1 = multiplayer_registerPlayerConnectionListeners__P28629_mk(s); + s.tmp_1.arg0 = s.p___33571; + s.callLocIdx = 1300; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.p___11286 + 1); - s.p___11286 = (r0); + r0 = (s.p___33571 + 1); + s.p___33571 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_initPlayerConnectionListeners__P3406.info = {"start":1324,"length":154,"line":39,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initPlayerConnectionListeners","argumentNames":[]} +multiplayer_initPlayerConnectionListeners__P26474.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__P3406_mk(s) { +function multiplayer_initPlayerConnectionListeners__P26474_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initPlayerConnectionListeners__P3406, depth: s.depth + 1, + parent: s, fn: multiplayer_initPlayerConnectionListeners__P26474, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___11286: undefined, + p___33571: undefined, } } -function multiplayer_registerPlayerConnectionListeners__P5556(s) { +function multiplayer_registerPlayerConnectionListeners__P28629(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4550,38 +2050,38 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P11298); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P33583); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_onEvent__P391_mk(s); + s.tmp_1 = control_onEvent__P23458_mk(s); s.tmp_1.arg0 = 3241; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.tmp_0; s.tmp_1.arg3 = 16; - s.callLocIdx = 1336; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1302; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P11304); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P33589); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_onEvent__P391_mk(s); + s.tmp_1 = control_onEvent__P23458_mk(s); s.tmp_1.arg0 = 3242; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.tmp_0; s.tmp_1.arg3 = 16; - s.callLocIdx = 1338; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1304; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners__P5556.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__P28629.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__P5556_mk(s) { +function multiplayer_registerPlayerConnectionListeners__P28629_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners__P5556, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners__P28629, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4592,7 +2092,7 @@ function multiplayer_registerPlayerConnectionListeners__P5556_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P11298(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P33583(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4602,22 +2102,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P5557_mk(s); + s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P28630_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; - s.callLocIdx = 1335; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1301; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners_inline__P11298.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__P33583.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__P11298_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P33583_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P11298, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P33583, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -4626,7 +2126,7 @@ function multiplayer_registerPlayerConnectionListeners_inline__P11298_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P11304(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P33589(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4636,22 +2136,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P5557_mk(s); + s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P28630_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; - s.callLocIdx = 1337; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1303; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners_inline__P11304.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__P33589.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__P11304_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P33589_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P11304, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P33589, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -4660,7 +2160,7 @@ function multiplayer_registerPlayerConnectionListeners_inline__P11304_mk(s) { -function multiplayer_receiveConnectionChangedEvent__P5557(s) { +function multiplayer_receiveConnectionChangedEvent__P28630(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4670,7 +2170,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.c___11309 = undefined; + s.c___33594 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4688,23 +2188,23 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 1: - s.c___11309 = (globals.player1___2123); + s.c___33594 = (globals.player1___25191); { step = 5; continue; } case 2: - s.c___11309 = (globals.player2___2120); + s.c___33594 = (globals.player2___25188); { step = 5; continue; } case 3: - s.c___11309 = (globals.player3___2121); + s.c___33594 = (globals.player3___25189); { step = 5; continue; } case 4: - s.c___11309 = (globals.player4___2122); + s.c___33594 = (globals.player4___25190); case 5: - r0 = pxsim_numops_toBoolDecr(s.c___11309); + r0 = pxsim_numops_toBoolDecr(s.c___33594); if (!r0) { step = 6; continue; } - s.tmp_0 = controller_Controller_connected__P2156_mk(s); - s.tmp_0.arg0 = s.c___11309; + s.tmp_0 = controller_Controller_connected__P25224_mk(s); + s.tmp_0.arg0 = s.c___33594; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1339; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1305; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 6: @@ -4713,15 +2213,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_receiveConnectionChangedEvent__P5557.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__P28630.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__P5557_mk(s) { +function multiplayer_receiveConnectionChangedEvent__P28630_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_receiveConnectionChangedEvent__P5557, depth: s.depth + 1, + parent: s, fn: multiplayer_receiveConnectionChangedEvent__P28630, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - c___11309: undefined, + c___33594: undefined, arg0: undefined, arg1: undefined, } } @@ -4730,7 +2230,7 @@ function multiplayer_receiveConnectionChangedEvent__P5557_mk(s) { -function controller_Controller_connected__P2156(s) { +function controller_Controller_connected__P25224(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4746,7 +2246,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2134_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C25202_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -4774,12 +2274,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P2156.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__P25224.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__P2156_mk(s) { +function controller_Controller_connected__P25224_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P2156, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P25224, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4792,7 +2292,7 @@ function controller_Controller_connected__P2156_mk(s) { -function controller__player1__P2128(s) { +function controller__player1__P25196(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4802,7 +2302,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___4816); + r0 = pxsim_numops_toBoolDecr(globals._players___27889); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -4811,7 +2311,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___4816, 0); + r0 = pxsim_Array__getAt(globals._players___27889, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -4821,36 +2321,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C2134_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C25202_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___2115); - r0 = pxsim_Array__push(s.tmp_6, globals.up___2116); - r0 = pxsim_Array__push(s.tmp_6, globals.right___2117); - r0 = pxsim_Array__push(s.tmp_6, globals.down___2118); - r0 = pxsim_Array__push(s.tmp_6, globals.A___2113); - r0 = pxsim_Array__push(s.tmp_6, globals.B___2114); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___2119); - s.tmp_7 = controller_Controller_constructor__P2138_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___25183); + r0 = pxsim_Array__push(s.tmp_6, globals.up___25184); + r0 = pxsim_Array__push(s.tmp_6, globals.right___25185); + r0 = pxsim_Array__push(s.tmp_6, globals.down___25186); + r0 = pxsim_Array__push(s.tmp_6, globals.A___25181); + r0 = pxsim_Array__push(s.tmp_6, globals.B___25182); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___25187); + s.tmp_7 = controller_Controller_constructor__P25206_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; - s.callLocIdx = 187; s.pc = 5; return s.tmp_7; + s.callLocIdx = 151; s.pc = 5; return s.tmp_7; case 5: r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___4816, 0); + r0 = pxsim_Array__getAt(globals._players___27889, 0); return leave(s, r0) default: oops() } } } -controller__player1__P2128.info = {"start":1381,"length":258,"line":47,"column":4,"endLine":51,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P25196.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__P2128_mk(s) { +function controller__player1__P25196_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P2128, depth: s.depth + 1, + parent: s, fn: controller__player1__P25196, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4866,7 +2366,7 @@ function controller__player1__P2128_mk(s) { -function controller_Controller_constructor__P2138(s) { +function controller_Controller_constructor__P25206(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4876,9 +2376,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___11365 = undefined; - s.i___11373 = undefined; - s.i___11391 = undefined; + s.leftId___33650 = undefined; + s.i___33658 = undefined; + s.i___33676 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4886,7 +2386,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2134_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C25202_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -4910,34 +2410,34 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___11365 = (r0); - s.i___11373 = (0); + s.leftId___33650 = (r0); + s.i___33658 = (0); case 2: - r0 = (s.i___11373 < 7); + r0 = (s.i___33658 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2189_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C25257_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P2195_mk(s); + s.tmp_2 = controller_Button_constructor__P25263_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___11365 + s.i___11373); + r0 = (s.leftId___33650 + s.i___33658); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; - s.callLocIdx = 193; s.pc = 7; return s.tmp_2; + s.callLocIdx = 157; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_3, s.tmp_1); - r0 = (s.i___11373 + 1); - s.i___11373 = (r0); + r0 = (s.i___33658 + 1); + s.i___33658 = (r0); { step = 2; continue; } case 3: case 4: - s.i___11391 = (0); + s.i___33676 = (0); case 5: - s.tmp_1 = r0 = s.i___11391; + s.tmp_1 = r0 = s.i___33676; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -4948,28 +2448,28 @@ switch (step) { if (!r0) { step = 6; continue; } r0 = s.arg0.fields["buttons"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___11391); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___33676); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___11391 + 1); - s.i___11391 = (r0); + r0 = (s.i___33676 + 1); + s.i___33676 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P4880_mk(s); + s.tmp_0 = controller_addController__P27953_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 194; s.pc = 8; return s.tmp_0; + s.callLocIdx = 158; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P2138.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__P25206.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__P2138_mk(s) { +function controller_Controller_constructor__P25206_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P2138, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P25206, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4977,9 +2477,9 @@ function controller_Controller_constructor__P2138_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___11365: undefined, - i___11373: undefined, - i___11391: undefined, + leftId___33650: undefined, + i___33658: undefined, + i___33676: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4989,7 +2489,7 @@ function controller_Controller_constructor__P2138_mk(s) { -function controller_addController__P4880(s) { +function controller_addController__P27953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5003,17 +2503,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___4816); + r0 = pxsim_numops_toBoolDecr(globals._players___27889); 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___4816 = (r0); + globals._players___27889 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___4816; + s.tmp_0 = r0 = globals._players___27889; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -5023,12 +2523,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P4880.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__P27953.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__P4880_mk(s) { +function controller_addController__P27953_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P4880, depth: s.depth + 1, + parent: s, fn: controller_addController__P27953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5040,7 +2540,7 @@ function controller_addController__P4880_mk(s) { -function control_onEvent__P391(s) { +function control_onEvent__P23458(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5050,7 +2550,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___8487 = undefined; + s.ctx___30774 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5058,12 +2558,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P408_mk(s); - s.callLocIdx = 40; s.pc = 3; return s.tmp_0; + s.tmp_0 = control_eventContext__P23475_mk(s); + s.callLocIdx = 39; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___8487 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___8487); + s.ctx___30774 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___30774); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -5072,13 +2572,13 @@ switch (step) { r0 = pxsim.control.internalOnEvent(s.arg0, s.arg1, s.arg2, s.arg3); { step = 2; continue; } case 1: - s.tmp_0 = control_EventContext_registerHandler__P405_mk(s); - s.tmp_0.arg0 = s.ctx___8487; + s.tmp_0 = control_EventContext_registerHandler__P23472_mk(s); + s.tmp_0.arg0 = s.ctx___30774; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; - s.callLocIdx = 41; s.pc = 4; return s.tmp_0; + s.callLocIdx = 40; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 2: @@ -5086,16 +2586,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_onEvent__P391.info = {"start":336,"length":325,"line":9,"column":4,"endLine":15,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"onEvent","argumentNames":["src","value","handler","flags"]} +control_onEvent__P23458.info = {"start":336,"length":325,"line":9,"column":4,"endLine":15,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"onEvent","argumentNames":["src","value","handler","flags"]} -function control_onEvent__P391_mk(s) { +function control_onEvent__P23458_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P391, depth: s.depth + 1, + parent: s, fn: control_onEvent__P23458, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___8487: undefined, + ctx___30774: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5106,7 +2606,7 @@ function control_onEvent__P391_mk(s) { -function control_eventContext__P408(s) { +function control_eventContext__P23475(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5116,10 +2616,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4600); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___27673); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___4600; - r0 = pxsim_Array__length(globals.eventContexts___4600); + s.tmp_0 = r0 = globals.eventContexts___27673; + r0 = pxsim_Array__length(globals.eventContexts___27673); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -5134,12 +2634,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_eventContext__P408.info = {"start":7094,"length":136,"line":213,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P23475.info = {"start":7094,"length":136,"line":213,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} -function control_eventContext__P408_mk(s) { +function control_eventContext__P23475_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P408, depth: s.depth + 1, + parent: s, fn: control_eventContext__P23475, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5151,7 +2651,7 @@ function control_eventContext__P408_mk(s) { -function control_EventContext_registerHandler__P405(s) { +function control_EventContext_registerHandler__P23472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5161,10 +2661,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___8510 = undefined; - s.unnamed68___U1 = undefined; - s.unnamed69___U2 = undefined; - s.hn___8532 = undefined; + s.h___30797 = undefined; + s.unnamed176___U1 = undefined; + s.unnamed177___U2 = undefined; + s.hn___30819 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5174,20 +2674,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); - s.h___8510 = (undefined); + if (!checkSubtype(r0, control_EventContext__C23462_VT)) failedCast(r0); + s.h___30797 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed68___U1 = (r0); - s.unnamed69___U2 = (0); + s.unnamed176___U1 = (r0); + s.unnamed177___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed69___U2; - r0 = pxsim_Array__length(s.unnamed68___U1); + s.tmp_0 = r0 = s.unnamed177___U2; + r0 = pxsim_Array__length(s.unnamed176___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed68___U1, s.unnamed69___U2); - s.h___8510 = (r0); - r0 = s.h___8510.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed176___U1, s.unnamed177___U2); + s.h___30797 = (r0); + r0 = s.h___30797.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -5196,7 +2696,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___8510.fields["value"]; + r0 = s.h___30797.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -5204,34 +2704,34 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___8510).fields["flags"] = (s.arg4); - r0 = (s.h___8510).fields["handler"] = (s.arg3); + r0 = (s.h___30797).fields["flags"] = (s.arg4); + r0 = (s.h___30797).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed69___U2 + 1); - s.unnamed69___U2 = (r0); + r0 = (s.unnamed177___U2 + 1); + s.unnamed177___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed68___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C4592_VT); + s.unnamed176___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C27665_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P4595_mk(s); + s.tmp_1 = control_EventHandler_constructor__P27668_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg3; s.tmp_1.arg4 = s.arg4; - s.callLocIdx = 52; s.pc = 8; return s.tmp_1; + s.callLocIdx = 51; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___8532 = (s.tmp_0); + s.hn___30819 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___8532); - s.tmp_0 = control_EventHandler_register__P4593_mk(s); - s.tmp_0.arg0 = s.hn___8532; - s.callLocIdx = 53; s.pc = 9; return s.tmp_0; + r0 = pxsim_Array__push(s.tmp_0, s.hn___30819); + s.tmp_0 = control_EventHandler_register__P27666_mk(s); + s.tmp_0.arg0 = s.hn___30819; + s.callLocIdx = 52; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; case 7: @@ -5239,12 +2739,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerHandler__P405.info = {"start":5760,"length":525,"line":173,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} +control_EventContext_registerHandler__P23472.info = {"start":5760,"length":525,"line":173,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerHandler","argumentNames":["this","src","value","handler","flags"]} -function control_EventContext_registerHandler__P405_mk(s) { +function control_EventContext_registerHandler__P23472_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P405, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P23472, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5252,10 +2752,10 @@ function control_EventContext_registerHandler__P405_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___8510: undefined, - unnamed68___U1: undefined, - unnamed69___U2: undefined, - hn___8532: undefined, + h___30797: undefined, + unnamed176___U1: undefined, + unnamed177___U2: undefined, + hn___30819: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5267,7 +2767,7 @@ function control_EventContext_registerHandler__P405_mk(s) { -function control_EventHandler_constructor__P4595(s) { +function control_EventHandler_constructor__P27668(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5286,7 +2786,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C4592_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C27665_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -5295,12 +2795,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P4595.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__P27668.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__P4595_mk(s) { +function control_EventHandler_constructor__P27668_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P4595, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P27668, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5313,7 +2813,7 @@ function control_EventHandler_constructor__P4595_mk(s) { -function control_EventHandler_register__P4593(s) { +function control_EventHandler_register__P27666(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5328,8 +2828,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C4592_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P8658); + if (!checkSubtype(r0, control_EventHandler__C27665_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P30945); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -5343,12 +2843,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P4593.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__P27666.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__P4593_mk(s) { +function control_EventHandler_register__P27666_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P4593, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P27666, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5361,7 +2861,7 @@ function control_EventHandler_register__P4593_mk(s) { -function control_EventHandler_register_inline__P8658(s) { +function control_EventHandler_register_inline__P30945(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5379,12 +2879,12 @@ switch (step) { s.tmp_1.arg0 = s.caps[0]; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "handler"), 1); - s.callLocIdx = 42; s.pc = 3; return s.tmp_1; + s.callLocIdx = 41; s.pc = 3; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["handler"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["handler"], 1); s.callLocIdx = 42; s.pc = 3; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 42; s.pc = 3; return s.tmp_1;; } - else { s.callLocIdx = 42; s.pc = 3; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["handler"], 1); s.callLocIdx = 41; s.pc = 3; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 41; s.pc = 3; return s.tmp_1;; } + else { s.callLocIdx = 41; s.pc = 3; return s.tmp_1; } } case 3: r0 = s.retval; @@ -5394,12 +2894,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register_inline__P8658.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__P30945.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__P8658_mk(s) { +function control_EventHandler_register_inline__P30945_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register_inline__P8658, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register_inline__P30945, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5409,7 +2909,7 @@ function control_EventHandler_register_inline__P8658_mk(s) { -function multiplayer_initServer__P3405(s) { +function multiplayer_initServer__P26473(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5425,15 +2925,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = control_EventContext_registerFrameHandler__P403_mk(s); - s.tmp_3 = game_eventContext__P3019_mk(s); - s.callLocIdx = 1332; s.pc = 4; return s.tmp_3; + s.tmp_2 = control_EventContext_registerFrameHandler__P23470_mk(s); + s.tmp_3 = game_eventContext__P26087_mk(s); + s.callLocIdx = 1298; 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__P11446; - s.callLocIdx = 1333; s.pc = 3; return s.tmp_2; + s.tmp_2.arg2 = multiplayer_initServer_inline__P33731; + s.callLocIdx = 1299; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; case 1: @@ -5442,12 +2942,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_initServer__P3405.info = {"start":1011,"length":307,"line":29,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initServer","argumentNames":[]} +multiplayer_initServer__P26473.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__P3405_mk(s) { +function multiplayer_initServer__P26473_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initServer__P3405, depth: s.depth + 1, + parent: s, fn: multiplayer_initServer__P26473, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5459,7 +2959,7 @@ function multiplayer_initServer__P3405_mk(s) { -function multiplayer_initServer_inline__P11446(s) { +function multiplayer_initServer_inline__P33731(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5475,19 +2975,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___2032); + r0 = pxsim.multiplayer.postImage(globals.screen___25100); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_initServer_inline__P11446.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__P33731.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__P11446_mk(s) { +function multiplayer_initServer_inline__P33731_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initServer_inline__P11446, depth: s.depth + 1, + parent: s, fn: multiplayer_initServer_inline__P33731, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5497,7 +2997,7 @@ function multiplayer_initServer_inline__P11446_mk(s) { -function game_consoleOverlay_draw__P3144(s) { +function game_consoleOverlay_draw__P26212(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5507,16 +3007,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___11499 = undefined; - s.top___11504 = undefined; - s.i___11510 = undefined; - s.t___11523 = undefined; - s.tOff___11530 = undefined; - s.tab___11532 = undefined; - s.unnamed100___U6 = undefined; - s.unnamed101___U7 = undefined; - s.padding___11534 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5399); + s.height___33784 = undefined; + s.top___33789 = undefined; + s.i___33795 = undefined; + s.t___33808 = undefined; + s.tOff___33815 = undefined; + s.tab___33817 = undefined; + s.unnamed208___U6 = undefined; + s.unnamed209___U7 = undefined; + s.padding___33819 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___28472); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -5525,7 +3025,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___5353); + r0 = pxsim_numops_toBoolDecr(globals.instance___28426); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -5541,23 +3041,23 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___5407; + s.tmp_7.arg0 = globals.consoleFont___28480; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charHeight"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charHeight"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 1186; s.pc = 14; return s.tmp_7; } + else { s.callLocIdx = 1152; s.pc = 14; return s.tmp_7; } } case 14: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___11499 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___2968); + s.height___33784 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___26036); if (!r0) { step = 5; continue; } - r0 = s.height___11499; + r0 = s.height___33784; { step = 6; continue; } case 5: r0 = 0; @@ -5565,17 +3065,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___11504 = (r0); - s.i___11510 = (0); + s.top___33789 = (r0); + s.i___33795 = (0); case 7: - s.tmp_1 = r0 = s.i___11510; - r0 = pxsim_Array__length(globals.consoleStrings___5399); + s.tmp_1 = r0 = s.i___33795; + r0 = pxsim_Array__length(globals.consoleStrings___28472); 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___5399, s.i___11510); + r0 = pxsim_Array__getAt(globals.consoleStrings___28472, s.i___33795); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -5583,50 +3083,50 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P122_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___5399, s.i___11510); + s.tmp_6 = helpers_stringSplit__P23189_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___28472, s.i___33795); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1187; s.pc = 15; return s.tmp_6; + s.callLocIdx = 1153; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___11523 = (r0); - s.tOff___11530 = (0); - s.tab___11532 = (undefined); - s.unnamed100___U6 = (s.t___11523); - s.unnamed101___U7 = (0); + s.t___33808 = (r0); + s.tOff___33815 = (0); + s.tab___33817 = (undefined); + s.unnamed208___U6 = (s.t___33808); + s.unnamed209___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed101___U7; - r0 = pxsim_Array__length(s.unnamed100___U6); + s.tmp_0 = r0 = s.unnamed209___U7; + r0 = pxsim_Array__length(s.unnamed208___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed100___U6, s.unnamed101___U7); - s.tab___11532 = (r0); - s.tmp_2 = r0 = globals.tabSize___5401; - s.tmp_5 = r0 = s.tOff___11530; - r0 = pxsim_String_.length(s.tab___11532); + r0 = pxsim_Array__getAt(s.unnamed208___U6, s.unnamed209___U7); + s.tab___33817 = (r0); + s.tmp_2 = r0 = globals.tabSize___28474; + s.tmp_5 = r0 = s.tOff___33815; + r0 = pxsim_String_.length(s.tab___33817); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___5401); + r0 = (s.tmp_4 % globals.tabSize___28474); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___11534 = (r0); - s.tmp_0 = helpers_imagePrint__P1990_mk(s); - s.tmp_0.arg0 = globals.screen___2032; - s.tmp_0.arg1 = s.tab___11532; - s.tmp_2 = r0 = s.tOff___11530; + s.padding___33819 = (r0); + s.tmp_0 = helpers_imagePrint__P25058_mk(s); + s.tmp_0.arg0 = globals.screen___25100; + s.tmp_0.arg1 = s.tab___33817; + s.tmp_2 = r0 = s.tOff___33815; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___5407; + s.tmp_4.arg0 = globals.consoleFont___28480; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charWidth"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charWidth"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 1188; s.pc = 17; return s.tmp_4; } + else { s.callLocIdx = 1154; s.pc = 17; return s.tmp_4; } } case 17: r0 = s.retval; @@ -5635,50 +3135,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___11504; - r0 = (s.i___11510 * s.height___11499); + s.tmp_5 = r0 = s.top___33789; + r0 = (s.i___33795 * s.height___33784); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___5398; - s.tmp_0.arg5 = globals.consoleFont___5407; + s.tmp_0.arg4 = globals.consoleColor___28471; + s.tmp_0.arg5 = globals.consoleFont___28480; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1189; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1155; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___11530; - r0 = pxsim_String_.length(s.tab___11532); + s.tmp_0 = r0 = s.tOff___33815; + r0 = pxsim_String_.length(s.tab___33817); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___11534); + r0 = (s.tmp_2 + s.padding___33819); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___11530 = (r0); - r0 = (s.unnamed101___U7 + 1); - s.unnamed101___U7 = (r0); + s.tOff___33815 = (r0); + r0 = (s.unnamed209___U7 + 1); + s.unnamed209___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed100___U6 = (undefined); + s.unnamed208___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P1990_mk(s); - s.tmp_0.arg0 = globals.screen___2032; - r0 = pxsim_Array__getAt(globals.consoleStrings___5399, s.i___11510); + s.tmp_0 = helpers_imagePrint__P25058_mk(s); + s.tmp_0.arg0 = globals.screen___25100; + r0 = pxsim_Array__getAt(globals.consoleStrings___28472, s.i___33795); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___11504; - r0 = (s.i___11510 * s.height___11499); + s.tmp_1 = r0 = s.top___33789; + r0 = (s.i___33795 * s.height___33784); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___5398; - s.tmp_0.arg5 = globals.consoleFont___5407; + s.tmp_0.arg4 = globals.consoleColor___28471; + s.tmp_0.arg5 = globals.consoleFont___28480; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1190; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1156; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___11510 + 1); - s.i___11510 = (r0); + r0 = (s.i___33795 + 1); + s.i___33795 = (r0); { step = 7; continue; } case 12: case 13: @@ -5686,12 +3186,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P3144.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__P26212.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__P3144_mk(s) { +function game_consoleOverlay_draw__P26212_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P3144, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P26212, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5701,22 +3201,22 @@ function game_consoleOverlay_draw__P3144_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___11499: undefined, - top___11504: undefined, - i___11510: undefined, - t___11523: undefined, - tOff___11530: undefined, - tab___11532: undefined, - unnamed100___U6: undefined, - unnamed101___U7: undefined, - padding___11534: undefined, + height___33784: undefined, + top___33789: undefined, + i___33795: undefined, + t___33808: undefined, + tOff___33815: undefined, + tab___33817: undefined, + unnamed208___U6: undefined, + unnamed209___U7: undefined, + padding___33819: undefined, } } -function scene_systemMenu_isVisible__P3125(s) { +function scene_systemMenu_isVisible__P26193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5726,7 +3226,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___5353); + r0 = pxsim_numops_toBoolDecr(globals.instance___28426); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -5736,12 +3236,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P3125.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__P26193.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__P3125_mk(s) { +function scene_systemMenu_isVisible__P26193_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P3125, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P26193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5752,7 +3252,7 @@ function scene_systemMenu_isVisible__P3125_mk(s) { -function helpers_imagePrint__P1990(s) { +function helpers_imagePrint__P25058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5762,31 +3262,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___11606 = undefined; - s.cp___11608 = undefined; - s.mult___11609 = undefined; - s.dataW___11614 = undefined; - s.dataH___11620 = undefined; - s.byteHeight___11626 = undefined; - s.charSize___11632 = undefined; - s.dataSize___11636 = undefined; - s.fontdata___11640 = undefined; - s.lastchar___11643 = undefined; - s.imgBuf___11650 = undefined; - s.xOffset___11674 = undefined; - s.yOffset___11675 = undefined; - s.ch___11690 = undefined; - s.l___11709 = undefined; - s.r___11710 = undefined; - s.off___11712 = undefined; - s.guess___11713 = undefined; - s.m___11732 = undefined; - s.v___11741 = undefined; - s.i___11797 = undefined; - s.j___11802 = undefined; - s.mask___11803 = undefined; - s.c___11804 = undefined; - s.n___11821 = undefined; + s.x0___33891 = undefined; + s.cp___33893 = undefined; + s.mult___33894 = undefined; + s.dataW___33899 = undefined; + s.dataH___33905 = undefined; + s.byteHeight___33911 = undefined; + s.charSize___33917 = undefined; + s.dataSize___33921 = undefined; + s.fontdata___33925 = undefined; + s.lastchar___33928 = undefined; + s.imgBuf___33935 = undefined; + s.xOffset___33959 = undefined; + s.yOffset___33960 = undefined; + s.ch___33975 = undefined; + s.l___33994 = undefined; + s.r___33995 = undefined; + s.off___33997 = undefined; + s.guess___33998 = undefined; + s.m___34017 = undefined; + s.v___34026 = undefined; + s.i___34082 = undefined; + s.j___34087 = undefined; + s.mask___34088 = undefined; + s.c___34089 = undefined; + s.n___34106 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5807,9 +3307,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P1977_mk(s); + s.tmp_2 = image_getFontForText__P25045_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 133; s.pc = 39; return s.tmp_2; + s.callLocIdx = 97; s.pc = 39; return s.tmp_2; case 39: r0 = s.retval; s.arg5 = (r0); @@ -5824,8 +3324,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___11606 = (s.arg2); - s.cp___11608 = (0); + s.x0___33891 = (s.arg2); + s.cp___33893 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -5834,7 +3334,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["multiplier"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["multiplier"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 134; s.pc = 40; return s.tmp_1; } + else { s.callLocIdx = 98; s.pc = 40; return s.tmp_1; } } case 40: r0 = s.retval; @@ -5849,7 +3349,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["multiplier"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["multiplier"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 135; s.pc = 41; return s.tmp_2; } + else { s.callLocIdx = 99; s.pc = 41; return s.tmp_2; } } case 41: r0 = s.retval; @@ -5859,7 +3359,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___11609 = (s.tmp_3); + s.mult___33894 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -5868,13 +3368,13 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["charWidth"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["charWidth"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 136; s.pc = 42; return s.tmp_1; } + else { s.callLocIdx = 100; s.pc = 42; return s.tmp_1; } } case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___11609); - s.dataW___11614 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___33894); + s.dataW___33899 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -5883,21 +3383,21 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["charHeight"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["charHeight"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 137; s.pc = 43; return s.tmp_1; } + else { s.callLocIdx = 101; s.pc = 43; return s.tmp_1; } } case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___11609); - s.dataH___11620 = (r0); - r0 = (s.dataH___11620 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___33894); + s.dataH___33905 = (r0); + r0 = (s.dataH___33905 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___11626 = (r0); - r0 = (s.byteHeight___11626 * s.dataW___11614); - s.charSize___11632 = (r0); - r0 = (2 + s.charSize___11632); - s.dataSize___11636 = (r0); + s.byteHeight___33911 = (r0); + r0 = (s.byteHeight___33911 * s.dataW___33899); + s.charSize___33917 = (r0); + r0 = (2 + s.charSize___33917); + s.dataSize___33921 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -5906,48 +3406,48 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["data"]; if (s.tmp_0.fn == null) { s.retval = s.tmp_0.arg0.fields["data"]; } else if (!s.tmp_0.fn.isGetter) { s.retval = bind(s.tmp_0); } - else { s.callLocIdx = 138; s.pc = 44; return s.tmp_0; } + else { s.callLocIdx = 102; s.pc = 44; return s.tmp_0; } } case 44: r0 = s.retval; - s.fontdata___11640 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___11640); + s.fontdata___33925 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___33925); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___11636); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___33921); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___11643 = (r0); - r0 = (s.mult___11609 == 1); + s.lastchar___33928 = (r0); + r0 = (s.mult___33894 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___11632); + r0 = (8 + s.charSize___33917); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___11650 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___11650, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___11650, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___11650, 2, s.dataW___11614); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___11650, 4, s.dataH___11620); + s.imgBuf___33935 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___33935, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___33935, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___33935, 2, s.dataW___33899); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___33935, 4, s.dataH___33905); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___11608; + s.tmp_1 = r0 = s.cp___33893; 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___11674 = (0); - s.yOffset___11675 = (0); + s.xOffset___33959 = (0); + s.yOffset___33960 = (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___11608; + s.tmp_1 = r0 = s.cp___33893; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -5957,7 +3457,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___11608); + r0 = pxsim_Array__getAt(s.arg6, s.cp___33893); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -5965,13 +3465,13 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["xOffset"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["xOffset"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 139; s.pc = 45; return s.tmp_4; } + else { s.callLocIdx = 103; s.pc = 45; return s.tmp_4; } } case 45: r0 = s.retval; - s.xOffset___11674 = (r0); + s.xOffset___33959 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___11608); + r0 = pxsim_Array__getAt(s.arg6, s.cp___33893); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -5979,19 +3479,19 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["yOffset"]; if (s.tmp_0.fn == null) { s.retval = s.tmp_0.arg0.fields["yOffset"]; } else if (!s.tmp_0.fn.isGetter) { s.retval = bind(s.tmp_0); } - else { s.callLocIdx = 140; s.pc = 46; return s.tmp_0; } + else { s.callLocIdx = 104; s.pc = 46; return s.tmp_0; } } case 46: r0 = s.retval; - s.yOffset___11675 = (r0); + s.yOffset___33960 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___11608; + s.tmp_0 = r0 = s.cp___33893; r0 = (s.tmp_0 + 1); - s.cp___11608 = (r0); + s.cp___33893 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___11690 = (r0); - r0 = (s.ch___11690 == 10); + s.ch___33975 = (r0); + r0 = (s.ch___33975 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -6004,7 +3504,7 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charHeight"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charHeight"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 141; s.pc = 47; return s.tmp_4; } + else { s.callLocIdx = 105; s.pc = 47; return s.tmp_4; } } case 47: r0 = s.retval; @@ -6013,92 +3513,92 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___11606); + s.arg2 = (s.x0___33891); case 14: case 15: - r0 = (s.ch___11690 < 32); + r0 = (s.ch___33975 < 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___11709 = (0); - s.r___11710 = (s.lastchar___11643); - s.off___11712 = (0); - r0 = (s.ch___11690 - 32); + s.l___33994 = (0); + s.r___33995 = (s.lastchar___33928); + s.off___33997 = (0); + r0 = (s.ch___33975 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___11636); - s.guess___11713 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___11640, 4, s.guess___11713); + r0 = (s.tmp_0 * s.dataSize___33921); + s.guess___33998 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___33925, 4, s.guess___33998); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___11690); + r0 = (s.tmp_1 == s.ch___33975); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___11712 = (s.guess___11713); + s.off___33997 = (s.guess___33998); { step = 25; continue; } case 18: case 19: - r0 = (s.l___11709 <= s.r___11710); + r0 = (s.l___33994 <= s.r___33995); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___11709; - r0 = (s.r___11710 - s.l___11709); + s.tmp_1 = r0 = s.l___33994; + r0 = (s.r___33995 - s.l___33994); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___11732 = (r0); - s.tmp_0 = r0 = s.fontdata___11640; - r0 = (s.m___11732 * s.dataSize___11636); + s.m___34017 = (r0); + s.tmp_0 = r0 = s.fontdata___33925; + r0 = (s.m___34017 * s.dataSize___33921); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___11741 = (r0); - r0 = (s.v___11741 == s.ch___11690); + s.v___34026 = (r0); + r0 = (s.v___34026 == s.ch___33975); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___11732 * s.dataSize___11636); - s.off___11712 = (r0); + r0 = (s.m___34017 * s.dataSize___33921); + s.off___33997 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___11741 < s.ch___11690); + r0 = (s.v___34026 < s.ch___33975); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___11732 + 1); - s.l___11709 = (r0); + r0 = (s.m___34017 + 1); + s.l___33994 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___11732 - 1); - s.r___11710 = (r0); + r0 = (s.m___34017 - 1); + s.r___33995 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___11609 == 1); + r0 = (s.mult___33894 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___11650; - s.tmp_3 = r0 = s.fontdata___11640; - r0 = (s.off___11712 + 2); + s.tmp_1 = r0 = s.imgBuf___33935; + s.tmp_3 = r0 = s.fontdata___33925; + r0 = (s.off___33997 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___11632); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___33917); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P1955_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P25023_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___11650; - r0 = (s.arg2 + s.xOffset___11674); + s.tmp_0.arg1 = s.imgBuf___33935; + r0 = (s.arg2 + s.xOffset___33959); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___11675); + r0 = (s.arg3 + s.yOffset___33960); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; - s.callLocIdx = 142; s.pc = 48; return s.tmp_0; + s.callLocIdx = 106; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; s.tmp_0 = r0 = s.arg2; @@ -6110,7 +3610,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charWidth"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charWidth"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 143; s.pc = 49; return s.tmp_2; } + else { s.callLocIdx = 107; s.pc = 49; return s.tmp_2; } } case 49: r0 = s.retval; @@ -6119,88 +3619,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___11712 + 2); - s.off___11712 = (r0); - s.i___11797 = (0); + r0 = (s.off___33997 + 2); + s.off___33997 = (r0); + s.i___34082 = (0); case 27: - r0 = (s.i___11797 < s.dataW___11614); + r0 = (s.i___34082 < s.dataW___33899); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___11802 = (0); - s.mask___11803 = (1); - s.tmp_0 = r0 = s.off___11712; + s.j___34087 = (0); + s.mask___34088 = (1); + s.tmp_0 = r0 = s.off___33997; r0 = (s.tmp_0 + 1); - s.off___11712 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___11640, s.tmp_0); - s.c___11804 = (r0); + s.off___33997 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___33925, s.tmp_0); + s.c___34089 = (r0); case 28: - r0 = (s.j___11802 < s.dataH___11620); + r0 = (s.j___34087 < s.dataH___33905); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___11803 == 256); + r0 = (s.mask___34088 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___11712; + s.tmp_2 = r0 = s.off___33997; r0 = (s.tmp_2 + 1); - s.off___11712 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___11640, s.tmp_2); - s.c___11804 = (r0); - s.mask___11803 = (1); + s.off___33997 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___33925, s.tmp_2); + s.c___34089 = (r0); + s.mask___34088 = (1); case 29: case 30: - s.n___11821 = (0); + s.n___34106 = (0); case 31: - r0 = (s.c___11804 & s.mask___11803); + r0 = (s.c___34089 & s.mask___34088); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___11821 + 1); - s.n___11821 = (r0); - r0 = (s.mask___11803 << 1); - s.mask___11803 = (r0); + r0 = (s.n___34106 + 1); + s.n___34106 = (r0); + r0 = (s.mask___34088 << 1); + s.mask___34088 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___11821); + r0 = pxsim_numops_toBoolDecr(s.n___34106); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P1956_mk(s); + s.tmp_0 = helpers_imageFillRect__P25024_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___11674 * s.mult___11609); + r0 = (s.xOffset___33959 * s.mult___33894); 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___11802 + s.yOffset___11675); + r0 = (s.j___34087 + s.yOffset___33960); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___11609); + r0 = (s.tmp_5 * s.mult___33894); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___11609; - r0 = (s.mult___11609 * s.n___11821); + s.tmp_0.arg3 = s.mult___33894; + r0 = (s.mult___33894 * s.n___34106); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; - s.callLocIdx = 144; s.pc = 50; return s.tmp_0; + s.callLocIdx = 108; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___11802 + s.n___11821); - s.j___11802 = (r0); + r0 = (s.j___34087 + s.n___34106); + s.j___34087 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___11803 << 1); - s.mask___11803 = (r0); - r0 = (s.j___11802 + 1); - s.j___11802 = (r0); + r0 = (s.mask___34088 << 1); + s.mask___34088 = (r0); + r0 = (s.j___34087 + 1); + s.j___34087 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___11609); + r0 = (s.arg2 + s.mult___33894); s.arg2 = (r0); - r0 = (s.i___11797 + 1); - s.i___11797 = (r0); + r0 = (s.i___34082 + 1); + s.i___34082 = (r0); { step = 27; continue; } case 36: case 37: @@ -6210,12 +3710,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P1990.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__P25058.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__P1990_mk(s) { +function helpers_imagePrint__P25058_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P1990, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P25058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6223,31 +3723,31 @@ function helpers_imagePrint__P1990_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___11606: undefined, - cp___11608: undefined, - mult___11609: undefined, - dataW___11614: undefined, - dataH___11620: undefined, - byteHeight___11626: undefined, - charSize___11632: undefined, - dataSize___11636: undefined, - fontdata___11640: undefined, - lastchar___11643: undefined, - imgBuf___11650: undefined, - xOffset___11674: undefined, - yOffset___11675: undefined, - ch___11690: undefined, - l___11709: undefined, - r___11710: undefined, - off___11712: undefined, - guess___11713: undefined, - m___11732: undefined, - v___11741: undefined, - i___11797: undefined, - j___11802: undefined, - mask___11803: undefined, - c___11804: undefined, - n___11821: undefined, + x0___33891: undefined, + cp___33893: undefined, + mult___33894: undefined, + dataW___33899: undefined, + dataH___33905: undefined, + byteHeight___33911: undefined, + charSize___33917: undefined, + dataSize___33921: undefined, + fontdata___33925: undefined, + lastchar___33928: undefined, + imgBuf___33935: undefined, + xOffset___33959: undefined, + yOffset___33960: undefined, + ch___33975: undefined, + l___33994: undefined, + r___33995: undefined, + off___33997: undefined, + guess___33998: undefined, + m___34017: undefined, + v___34026: undefined, + i___34082: undefined, + j___34087: undefined, + mask___34088: undefined, + c___34089: undefined, + n___34106: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6261,7 +3761,7 @@ function helpers_imagePrint__P1990_mk(s) { -function image_getFontForText__P1977(s) { +function image_getFontForText__P25045(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6271,52 +3771,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___11916 = undefined; + s.i___34216 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___11916 = (0); + s.i___34216 = (0); case 1: - s.tmp_1 = r0 = s.i___11916; + s.tmp_1 = r0 = s.i___34216; 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___11916); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___34216); 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___1976; + r0 = globals.font12___25044; { step = 5; continue; } case 2: case 3: - r0 = (s.i___11916 + 1); - s.i___11916 = (r0); + r0 = (s.i___34216 + 1); + s.i___34216 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___1975; + r0 = globals.font8___25043; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P1977.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__P25045.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__P1977_mk(s) { +function image_getFontForText__P25045_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P1977, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P25045, 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___11916: undefined, + i___34216: undefined, arg0: undefined, } } @@ -6324,7 +3824,7 @@ function image_getFontForText__P1977_mk(s) { -function helpers_imageFillRect__P1956(s) { +function helpers_imageFillRect__P25024(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6344,17 +3844,17 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P4737_mk(s); + s.tmp_2 = helpers_pack__P27810_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; - s.callLocIdx = 115; s.pc = 1; return s.tmp_2; + s.callLocIdx = 79; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P4737_mk(s); + s.tmp_4 = helpers_pack__P27810_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; - s.callLocIdx = 116; s.pc = 2; return s.tmp_4; + s.callLocIdx = 80; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -6363,12 +3863,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P1956.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__P25024.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__P1956_mk(s) { +function helpers_imageFillRect__P25024_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P1956, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P25024, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6387,7 +3887,7 @@ function helpers_imageFillRect__P1956_mk(s) { -function helpers_pack__P4737(s) { +function helpers_pack__P27810(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6402,23 +3902,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P23194_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); s.tmp_2.arg2 = r0; - s.callLocIdx = 112; s.pc = 1; return s.tmp_2; + s.callLocIdx = 76; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P127_mk(s); + s.tmp_5 = Math_clamp__P23194_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); s.tmp_5.arg2 = r0; - s.callLocIdx = 113; s.pc = 2; return s.tmp_5; + s.callLocIdx = 77; s.pc = 2; return s.tmp_5; case 2: r0 = s.retval; s.tmp_4 = r0; @@ -6428,12 +3928,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P4737.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__P27810.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__P4737_mk(s) { +function helpers_pack__P27810_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P4737, depth: s.depth + 1, + parent: s, fn: helpers_pack__P27810, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6449,7 +3949,144 @@ function helpers_pack__P4737_mk(s) { -function helpers_imageDrawIcon__P1955(s) { +function Math_clamp__P23194(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.lambdaArgs = null; + } + s.tmp_0 = Math_min__P23198_mk(s); + s.tmp_0.arg0 = s.arg1; + s.tmp_1 = Math_max__P23197_mk(s); + s.tmp_1.arg0 = s.arg0; + s.tmp_1.arg1 = s.arg2; + s.callLocIdx = 14; s.pc = 2; return s.tmp_1; + case 2: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.callLocIdx = 15; s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + return leave(s, r0) + default: oops() +} } } +Math_clamp__P23194.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__P23194_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: Math_clamp__P23194, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + arg0: undefined, + arg1: undefined, + arg2: undefined, +} } + + + + + +function Math_min__P23198(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = (s.arg0 <= s.arg1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = s.arg0; + { step = 3; continue; } + case 1: + case 2: + r0 = s.arg1; + case 3: + return leave(s, r0) + default: oops() +} } } +Math_min__P23198.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__P23198_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: Math_min__P23198, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function Math_max__P23197(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.lambdaArgs = null; + } + r0 = (s.arg0 >= s.arg1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = s.arg0; + { step = 3; continue; } + case 1: + case 2: + r0 = s.arg1; + case 3: + return leave(s, r0) + default: oops() +} } } +Math_max__P23197.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__P23197_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: Math_max__P23197, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function helpers_imageDrawIcon__P25023(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6469,10 +4106,10 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P4737_mk(s); + s.tmp_3 = helpers_pack__P27810_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; - s.callLocIdx = 114; s.pc = 1; return s.tmp_3; + s.callLocIdx = 78; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -6481,12 +4118,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P1955.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__P25023.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__P1955_mk(s) { +function helpers_imageDrawIcon__P25023_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P1955, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P25023, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6503,7 +4140,7 @@ function helpers_imageDrawIcon__P1955_mk(s) { -function helpers_stringSplit__P122(s) { +function helpers_stringSplit__P23189(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6513,15 +4150,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___11939 = undefined; - s.lim___11941 = undefined; - s.s___11957 = undefined; - s.p___11960 = undefined; - s.R___11961 = undefined; - s.z___11975 = undefined; - s.T___11988 = undefined; - s.q___11989 = undefined; - s.e___11995 = undefined; + s.A___34239 = undefined; + s.lim___34241 = undefined; + s.s___34257 = undefined; + s.p___34260 = undefined; + s.R___34261 = undefined; + s.z___34275 = undefined; + s.T___34288 = undefined; + s.q___34289 = undefined; + s.e___34295 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6529,36 +4166,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___11939 = (r0); - s.lim___11941 = (0); + s.A___34239 = (r0); + s.lim___34241 = (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___11941 = (r0); + s.lim___34241 = (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___11941 = (0); + s.lim___34241 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___11941 = (r0); + s.lim___34241 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___11957 = (r0); - s.p___11960 = (0); - s.R___11961 = (s.arg1); - r0 = (s.lim___11941 == 0); + s.s___34257 = (r0); + s.p___34260 = (0); + s.R___34261 = (s.arg1); + r0 = (s.lim___34241 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___11939; + r0 = s.A___34239; { step = 21; continue; } case 5: case 6: @@ -6566,123 +4203,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___11939, 0, s.arg0); - r0 = s.A___11939; + r0 = pxsim_Array_.setAt(s.A___34239, 0, s.arg0); + r0 = s.A___34239; { step = 21; continue; } case 7: case 8: - r0 = (s.s___11957 == 0); + r0 = (s.s___34257 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P4523_mk(s); + s.tmp_1 = helpers_splitMatch__P27596_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___11961; - s.callLocIdx = 11; s.pc = 22; return s.tmp_1; + s.tmp_1.arg2 = s.R___34261; + s.callLocIdx = 10; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___11975 = (r0); - r0 = (s.z___11975 > -1); + s.z___34275 = (r0); + r0 = (s.z___34275 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___11939; + r0 = s.A___34239; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___11939, 0, s.arg0); - r0 = s.A___11939; + r0 = pxsim_Array_.setAt(s.A___34239, 0, s.arg0); + r0 = s.A___34239; { step = 21; continue; } case 11: case 12: - s.q___11989 = (s.p___11960); + s.q___34289 = (s.p___34260); case 13: - r0 = (s.q___11989 != s.s___11957); + r0 = (s.q___34289 != s.s___34257); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P4523_mk(s); + s.tmp_1 = helpers_splitMatch__P27596_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___11989; - s.tmp_1.arg2 = s.R___11961; - s.callLocIdx = 12; s.pc = 23; return s.tmp_1; + s.tmp_1.arg1 = s.q___34289; + s.tmp_1.arg2 = s.R___34261; + s.callLocIdx = 11; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___11995 = (r0); - r0 = (s.e___11995 < 0); + s.e___34295 = (r0); + r0 = (s.e___34295 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___11989 + 1); - s.q___11989 = (r0); + r0 = (s.q___34289 + 1); + s.q___34289 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___11995 == s.p___11960); + r0 = (s.e___34295 == s.p___34260); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___11989 + 1); - s.q___11989 = (r0); + r0 = (s.q___34289 + 1); + s.q___34289 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P119_mk(s); + s.tmp_0 = helpers_stringSlice__P23186_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___11960; - s.tmp_0.arg2 = s.q___11989; - s.callLocIdx = 13; s.pc = 24; return s.tmp_0; + s.tmp_0.arg1 = s.p___34260; + s.tmp_0.arg2 = s.q___34289; + s.callLocIdx = 12; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___11988 = (r0); - r0 = pxsim_Array__push(s.A___11939, s.T___11988); - r0 = pxsim_Array__length(s.A___11939); + s.T___34288 = (r0); + r0 = pxsim_Array__push(s.A___34239, s.T___34288); + r0 = pxsim_Array__length(s.A___34239); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___11941); + r0 = (s.tmp_1 == s.lim___34241); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___11939; + r0 = s.A___34239; { step = 21; continue; } case 16: case 17: - s.p___11960 = (s.e___11995); - s.q___11989 = (s.p___11960); + s.p___34260 = (s.e___34295); + s.q___34289 = (s.p___34260); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P119_mk(s); + s.tmp_0 = helpers_stringSlice__P23186_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___11960; - s.tmp_0.arg2 = s.q___11989; - s.callLocIdx = 14; s.pc = 25; return s.tmp_0; + s.tmp_0.arg1 = s.p___34260; + s.tmp_0.arg2 = s.q___34289; + s.callLocIdx = 13; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___11988 = (r0); - r0 = pxsim_Array__push(s.A___11939, s.T___11988); - r0 = s.A___11939; + s.T___34288 = (r0); + r0 = pxsim_Array__push(s.A___34239, s.T___34288); + r0 = s.A___34239; case 21: return leave(s, r0) default: oops() } } } -helpers_stringSplit__P122.info = {"start":12919,"length":1319,"line":434,"column":4,"endLine":478,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} +helpers_stringSplit__P23189.info = {"start":12919,"length":1319,"line":434,"column":4,"endLine":478,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSplit","argumentNames":["S","separator","limit"]} -function helpers_stringSplit__P122_mk(s) { +function helpers_stringSplit__P23189_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P122, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P23189, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___11939: undefined, - lim___11941: undefined, - s___11957: undefined, - p___11960: undefined, - R___11961: undefined, - z___11975: undefined, - T___11988: undefined, - q___11989: undefined, - e___11995: undefined, + A___34239: undefined, + lim___34241: undefined, + s___34257: undefined, + p___34260: undefined, + R___34261: undefined, + z___34275: undefined, + T___34288: undefined, + q___34289: undefined, + e___34295: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6692,7 +4329,7 @@ function helpers_stringSplit__P122_mk(s) { -function helpers_splitMatch__P4523(s) { +function helpers_splitMatch__P27596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6702,9 +4339,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___12075 = undefined; - s.s___12078 = undefined; - s.i___12088 = undefined; + s.r___34375 = undefined; + s.s___34378 = undefined; + s.i___34388 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6712,12 +4349,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___12075 = (r0); + s.r___34375 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___12078 = (r0); - r0 = (s.arg1 + s.r___12075); + s.s___34378 = (r0); + r0 = (s.arg1 + s.r___34375); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___12078); + r0 = (s.tmp_1 > s.s___34378); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -6725,18 +4362,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___12088 = (0); + s.i___34388 = (0); case 3: - r0 = (s.i___12088 < s.r___12075); + r0 = (s.i___34388 < s.r___34375); 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___12088); + r0 = (s.arg1 + s.i___34388); 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___12088); + r0 = pxsim_String_.charAt(s.arg2, s.i___34388); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -6746,21 +4383,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___12088 + 1); - s.i___12088 = (r0); + r0 = (s.i___34388 + 1); + s.i___34388 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___12075); + r0 = (s.arg1 + s.r___34375); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P4523.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__P27596.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__P4523_mk(s) { +function helpers_splitMatch__P27596_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P4523, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P27596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6768,9 +4405,9 @@ function helpers_splitMatch__P4523_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___12075: undefined, - s___12078: undefined, - i___12088: undefined, + r___34375: undefined, + s___34378: undefined, + i___34388: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6780,7 +4417,7 @@ function helpers_splitMatch__P4523_mk(s) { -function helpers_stringSlice__P119(s) { +function helpers_stringSlice__P23186(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6790,7 +4427,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___12040 = undefined; + s.len___34340 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6798,16 +4435,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___12040 = (r0); + s.len___34340 = (r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = Math_max__P130_mk(s); - r0 = (s.len___12040 + s.arg1); + s.tmp_1 = Math_max__P23197_mk(s); + r0 = (s.len___34340 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 10; s.pc = 9; return s.tmp_1; + s.callLocIdx = 9; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.arg1 = (r0); @@ -6817,7 +4454,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___12040); + s.arg2 = (s.len___34340); { step = 6; continue; } case 3: r0 = (s.arg2 === null); @@ -6832,7 +4469,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (s.len___12040 + s.arg2); + r0 = (s.len___34340 + s.arg2); s.arg2 = (r0); case 7: case 8: @@ -6844,17 +4481,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSlice__P119.info = {"start":11496,"length":440,"line":384,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} +helpers_stringSlice__P23186.info = {"start":11496,"length":440,"line":384,"column":4,"endLine":402,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSlice","argumentNames":["s","start","end"]} -function helpers_stringSlice__P119_mk(s) { +function helpers_stringSlice__P23186_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P119, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P23186, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___12040: undefined, + len___34340: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6864,7 +4501,7 @@ function helpers_stringSlice__P119_mk(s) { -function scene_Scene_render__P2872(s) { +function scene_Scene_render__P25940(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6874,15 +4511,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___12172 = undefined; - s.unnamed98___U1 = undefined; - s.unnamed99___U2 = undefined; + s.s___34472 = undefined; + s.unnamed206___U1 = undefined; + s.unnamed207___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2843_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C25911_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -6913,18 +4550,18 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 5; continue; } - s.tmp_3 = scene_Scene_render__P2872_mk(s); + s.tmp_3 = scene_Scene_render__P25940_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 982; s.pc = 12; return s.tmp_3; + s.callLocIdx = 948; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P2678_mk(s); + s.tmp_0 = scene_Background_draw__P25746_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 983; s.pc = 13; return s.tmp_0; + s.callLocIdx = 949; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 6: @@ -6934,11 +4571,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P105_mk(s); + s.tmp_2 = helpers_arraySort__P23172_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = scene_Scene_render_inline__P12149; - s.callLocIdx = 988; s.pc = 14; return s.tmp_2; + s.tmp_2.arg1 = scene_Scene_render_inline__P34449; + s.callLocIdx = 954; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -6949,38 +4586,38 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___12172 = (undefined); + s.s___34472 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed98___U1 = (r0); - s.unnamed99___U2 = (0); + s.unnamed206___U1 = (r0); + s.unnamed207___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed99___U2; - r0 = pxsim_Array__length(s.unnamed98___U1); + s.tmp_0 = r0 = s.unnamed207___U2; + r0 = pxsim_Array__length(s.unnamed206___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed98___U1, s.unnamed99___U2); - s.s___12172 = (r0); + r0 = pxsim_Array__getAt(s.unnamed206___U1, s.unnamed207___U2); + s.s___34472 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___12172; + s.tmp_2.arg0 = s.s___34472; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__draw"), 2); - s.callLocIdx = 989; s.pc = 15; return s.tmp_2; + s.callLocIdx = 955; s.pc = 15; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["__draw"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__draw"], 2); s.callLocIdx = 989; s.pc = 15; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 989; s.pc = 15; return s.tmp_2;; } - else { s.callLocIdx = 989; s.pc = 15; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["__draw"], 2); s.callLocIdx = 955; s.pc = 15; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 955; s.pc = 15; return s.tmp_2;; } + else { s.callLocIdx = 955; s.pc = 15; return s.tmp_2; } } case 15: r0 = s.retval; - r0 = (s.unnamed99___U2 + 1); - s.unnamed99___U2 = (r0); + r0 = (s.unnamed207___U2 + 1); + s.unnamed207___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed98___U1 = (undefined); + s.unnamed206___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -6992,21 +4629,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P2872.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__P25940.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__P2872_mk(s) { +function scene_Scene_render__P25940_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P2872, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P25940, 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___12172: undefined, - unnamed98___U1: undefined, - unnamed99___U2: undefined, + s___34472: undefined, + unnamed206___U1: undefined, + unnamed207___U2: undefined, arg0: undefined, } } @@ -7014,7 +4651,7 @@ function scene_Scene_render__P2872_mk(s) { -function scene_Scene_render_inline__P12149(s) { +function scene_Scene_render_inline__P34449(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7037,7 +4674,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["z"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["z"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 984; s.pc = 3; return s.tmp_2; } + else { s.callLocIdx = 950; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; @@ -7050,7 +4687,7 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["z"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["z"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 985; s.pc = 4; return s.tmp_4; } + else { s.callLocIdx = 951; s.pc = 4; return s.tmp_4; } } case 4: r0 = s.retval; @@ -7070,7 +4707,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["id"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["id"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 986; s.pc = 5; return s.tmp_6; } + else { s.callLocIdx = 952; s.pc = 5; return s.tmp_6; } } case 5: r0 = s.retval; @@ -7083,7 +4720,7 @@ switch (step) { s.tmp_8.fn = s.tmp_8.arg0.vtable.iface["id"]; if (s.tmp_8.fn == null) { s.retval = s.tmp_8.arg0.fields["id"]; } else if (!s.tmp_8.fn.isGetter) { s.retval = bind(s.tmp_8); } - else { s.callLocIdx = 987; s.pc = 6; return s.tmp_8; } + else { s.callLocIdx = 953; s.pc = 6; return s.tmp_8; } } case 6: r0 = s.retval; @@ -7096,12 +4733,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render_inline__P12149.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__P34449.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__P12149_mk(s) { +function scene_Scene_render_inline__P34449_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render_inline__P12149, depth: s.depth + 1, + parent: s, fn: scene_Scene_render_inline__P34449, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7121,7 +4758,7 @@ function scene_Scene_render_inline__P12149_mk(s) { -function scene_Background_draw__P2678(s) { +function scene_Background_draw__P25746(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7136,31 +4773,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2669_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C25737_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___2032, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___25100, 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___2032, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___25100, 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__P12320); + r0 = pxsim_pxtcore_mkAction(1, scene_Background_draw_inline__P34620); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); + s.tmp_2 = helpers_arrayForEach__P23176_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 845; s.pc = 5; return s.tmp_2; + s.callLocIdx = 809; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -7169,12 +4806,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P2678.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__P25746.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__P2678_mk(s) { +function scene_Background_draw__P25746_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P2678, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P25746, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7186,7 +4823,7 @@ function scene_Background_draw__P2678_mk(s) { -function scene_Background_draw_inline__P12320(s) { +function scene_Background_draw_inline__P34620(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7196,8 +4833,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___12322 = undefined; - s.oy___12333 = undefined; + s.ox___34622 = undefined; + s.oy___34633 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -7212,7 +4849,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___12322 = (r0); + s.ox___34622 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -7223,31 +4860,31 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___12333 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P2687_mk(s); + s.oy___34633 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P25755_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___12322; - s.tmp_0.arg2 = s.oy___12333; - s.callLocIdx = 844; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = s.ox___34622; + s.tmp_0.arg2 = s.oy___34633; + s.callLocIdx = 808; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Background_draw_inline__P12320.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__P34620.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__P12320_mk(s) { +function scene_Background_draw_inline__P34620_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw_inline__P12320, depth: s.depth + 1, + parent: s, fn: scene_Background_draw_inline__P34620, 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___12322: undefined, - oy___12333: undefined, + ox___34622: undefined, + oy___34633: undefined, arg0: undefined, } } @@ -7255,7 +4892,7 @@ function scene_Background_draw_inline__P12320_mk(s) { -function scene_BackgroundLayer_draw__P2687(s) { +function scene_BackgroundLayer_draw__P25755(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7265,19 +4902,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___12351 = undefined; - s.h___12354 = undefined; - s.pw___12357 = undefined; - s.ph___12361 = undefined; - s.rx___12370 = undefined; - s.ry___12373 = undefined; - s.y___12442 = undefined; - s.py___12443 = undefined; - s.dh___12452 = undefined; - s.x___12460 = undefined; - s.rxl___12461 = undefined; - s.px___12467 = undefined; - s.dw___12471 = undefined; + s.w___34651 = undefined; + s.h___34654 = undefined; + s.pw___34657 = undefined; + s.ph___34661 = undefined; + s.rx___34670 = undefined; + s.ry___34673 = undefined; + s.y___34742 = undefined; + s.py___34743 = undefined; + s.dh___34752 = undefined; + s.x___34760 = undefined; + s.rxl___34761 = undefined; + s.px___34767 = undefined; + s.dw___34771 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7285,20 +4922,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C2679_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___2032); - s.w___12351 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___2032); - s.h___12354 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C25747_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___25100); + s.w___34651 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___25100); + s.h___34654 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___12357 = (r0); + s.pw___34657 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___12361 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___12357); + s.ph___34661 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___34657); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -7307,7 +4944,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___12361); + r0 = pxsim_numops_toBoolDecr(s.ph___34661); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -7319,9 +4956,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___12370 = (r0); + s.rx___34670 = (r0); r0 = (0 - s.arg2); - s.ry___12373 = (r0); + s.ry___34673 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -7331,20 +4968,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___12370; - r0 = (s.w___12351 + s.pw___12357); + s.tmp_1 = r0 = s.rx___34670; + r0 = (s.w___34651 + s.pw___34657); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___12370 = (r0); + s.rx___34670 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___12370; - r0 = (s.w___12351 + s.pw___12357); + s.tmp_0 = r0 = s.rx___34670; + r0 = (s.w___34651 + s.pw___34657); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___12370 = (r0); + s.rx___34670 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -7355,120 +4992,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___12373; - r0 = (s.h___12354 + s.ph___12361); + s.tmp_1 = r0 = s.ry___34673; + r0 = (s.h___34654 + s.ph___34661); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___12373 = (r0); + s.ry___34673 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___12373; - r0 = (s.h___12354 + s.ph___12361); + s.tmp_0 = r0 = s.ry___34673; + r0 = (s.h___34654 + s.ph___34661); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___12373 = (r0); + s.ry___34673 = (r0); case 10: - r0 = (s.rx___12370 % s.w___12351); - s.rx___12370 = (r0); - r0 = (s.rx___12370 < 0); + r0 = (s.rx___34670 % s.w___34651); + s.rx___34670 = (r0); + r0 = (s.rx___34670 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___12370 + s.w___12351); - s.rx___12370 = (r0); + r0 = (s.rx___34670 + s.w___34651); + s.rx___34670 = (r0); case 11: case 12: - r0 = (s.ry___12373 % s.h___12354); - s.ry___12373 = (r0); - r0 = (s.ry___12373 < 0); + r0 = (s.ry___34673 % s.h___34654); + s.ry___34673 = (r0); + r0 = (s.ry___34673 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___12373 + s.h___12354); - s.ry___12373 = (r0); + r0 = (s.ry___34673 + s.h___34654); + s.ry___34673 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___12370); - s.rx___12370 = (r0); - r0 = pxsim.Math_.floor(s.ry___12373); - s.ry___12373 = (r0); - s.y___12442 = (0); - s.py___12443 = (0); + r0 = pxsim.Math_.floor(s.rx___34670); + s.rx___34670 = (r0); + r0 = pxsim.Math_.floor(s.ry___34673); + s.ry___34673 = (r0); + s.y___34742 = (0); + s.py___34743 = (0); case 15: - r0 = (s.y___12442 < s.h___12354); + r0 = (s.y___34742 < s.h___34654); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___12442 % s.ph___12361); - s.py___12443 = (r0); - s.tmp_0 = Math_min__P131_mk(s); - r0 = (s.ph___12361 - s.py___12443); + r0 = (s.y___34742 % s.ph___34661); + s.py___34743 = (r0); + s.tmp_0 = Math_min__P23198_mk(s); + r0 = (s.ph___34661 - s.py___34743); s.tmp_0.arg0 = r0; - r0 = (s.h___12354 - s.ry___12373); + r0 = (s.h___34654 - s.ry___34673); s.tmp_0.arg1 = r0; - s.callLocIdx = 847; s.pc = 24; return s.tmp_0; + s.callLocIdx = 811; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___12452 = (r0); - s.x___12460 = (0); - s.rxl___12461 = (s.rx___12370); + s.dh___34752 = (r0); + s.x___34760 = (0); + s.rxl___34761 = (s.rx___34670); case 16: - r0 = (s.x___12460 < s.w___12351); + r0 = (s.x___34760 < s.w___34651); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___12460 % s.pw___12357); - s.px___12467 = (r0); - s.tmp_0 = Math_min__P131_mk(s); - r0 = (s.pw___12357 - s.px___12467); + r0 = (s.x___34760 % s.pw___34657); + s.px___34767 = (r0); + s.tmp_0 = Math_min__P23198_mk(s); + r0 = (s.pw___34657 - s.px___34767); s.tmp_0.arg0 = r0; - r0 = (s.w___12351 - s.rxl___12461); + r0 = (s.w___34651 - s.rxl___34761); s.tmp_0.arg1 = r0; - s.callLocIdx = 848; s.pc = 25; return s.tmp_0; + s.callLocIdx = 812; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___12471 = (r0); + s.dw___34771 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___2032, s.tmp_0, s.rxl___12461, s.ry___12373); - r0 = (s.rxl___12461 + s.dw___12471); + r0 = pxsim_ImageMethods.drawImage(globals.screen___25100, s.tmp_0, s.rxl___34761, s.ry___34673); + r0 = (s.rxl___34761 + s.dw___34771); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___12351); - s.rxl___12461 = (r0); + r0 = (s.tmp_0 % s.w___34651); + s.rxl___34761 = (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___12471; + r0 = s.dw___34771; { step = 18; continue; } case 17: - r0 = s.w___12351; + r0 = s.w___34651; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___12460 + s.tmp_1); - s.x___12460 = (r0); + r0 = (s.x___34760 + s.tmp_1); + s.x___34760 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___12373 + s.dh___12452); + r0 = (s.ry___34673 + s.dh___34752); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___12354); - s.ry___12373 = (r0); + r0 = (s.tmp_0 % s.h___34654); + s.ry___34673 = (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___12452; + r0 = s.dh___34752; { step = 21; continue; } case 20: - r0 = s.h___12354; + r0 = s.h___34654; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___12442 + s.tmp_1); - s.y___12442 = (r0); + r0 = (s.y___34742 + s.tmp_1); + s.y___34742 = (r0); { step = 15; continue; } case 22: case 23: @@ -7476,30 +5113,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P2687.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__P25755.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__P2687_mk(s) { +function scene_BackgroundLayer_draw__P25755_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P2687, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P25755, 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___12351: undefined, - h___12354: undefined, - pw___12357: undefined, - ph___12361: undefined, - rx___12370: undefined, - ry___12373: undefined, - y___12442: undefined, - py___12443: undefined, - dh___12452: undefined, - x___12460: undefined, - rxl___12461: undefined, - px___12467: undefined, - dw___12471: undefined, + w___34651: undefined, + h___34654: undefined, + pw___34657: undefined, + ph___34661: undefined, + rx___34670: undefined, + ry___34673: undefined, + y___34742: undefined, + py___34743: undefined, + dh___34752: undefined, + x___34760: undefined, + rxl___34761: undefined, + px___34767: undefined, + dw___34771: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7509,7 +5146,7 @@ function scene_BackgroundLayer_draw__P2687_mk(s) { -function helpers_arraySort__P105(s) { +function helpers_arraySort__P23172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7541,24 +5178,24 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (helpers_arraySort_inline__P12194); + s.arg1 = (helpers_arraySort_inline__P34494); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P4521_mk(s); + s.tmp_0 = helpers_sortHelper__P27594_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 3; s.pc = 5; return s.tmp_0; + s.callLocIdx = 2; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; return leave(s, r0) default: oops() } } } -helpers_arraySort__P105.info = {"start":5663,"length":859,"line":207,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySort","argumentNames":["arr","callbackfn"]} +helpers_arraySort__P23172.info = {"start":5663,"length":859,"line":207,"column":4,"endLine":227,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySort","argumentNames":["arr","callbackfn"]} -function helpers_arraySort__P105_mk(s) { +function helpers_arraySort__P23172_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P105, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P23172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7572,7 +5209,7 @@ function helpers_arraySort__P105_mk(s) { -function helpers_arraySort_inline__P12194(s) { +function helpers_arraySort_inline__P34494(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7582,26 +5219,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___12197 = undefined; - s.bIsUndef___12201 = undefined; - s.aIsNull___12212 = undefined; - s.bIsNull___12216 = undefined; + s.aIsUndef___34497 = undefined; + s.bIsUndef___34501 = undefined; + s.aIsNull___34512 = undefined; + s.bIsNull___34516 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___12197 = (r0); + s.aIsUndef___34497 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___12201 = (r0); - s.tmp_0 = r0 = s.aIsUndef___12197; + s.bIsUndef___34501 = (r0); + s.tmp_0 = r0 = s.aIsUndef___34497; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___12201; + r0 = s.bIsUndef___34501; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -7611,13 +5248,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___12197); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___34497); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___12201); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___34501); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -7626,16 +5263,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___12212 = (r0); + s.aIsNull___34512 = (r0); r0 = (s.arg1 === null); - s.bIsNull___12216 = (r0); - s.tmp_0 = r0 = s.aIsNull___12212; + s.bIsNull___34516 = (r0); + s.tmp_0 = r0 = s.aIsNull___34512; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___12216; + r0 = s.bIsNull___34516; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -7645,13 +5282,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___12212); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___34512); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___12216); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___34516); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -7690,12 +5327,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort_inline__P12194.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__P34494.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__P12194_mk(s) { +function helpers_arraySort_inline__P34494_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort_inline__P12194, depth: s.depth + 1, + parent: s, fn: helpers_arraySort_inline__P34494, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7705,10 +5342,10 @@ function helpers_arraySort_inline__P12194_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___12197: undefined, - bIsUndef___12201: undefined, - aIsNull___12212: undefined, - bIsNull___12216: undefined, + aIsUndef___34497: undefined, + bIsUndef___34501: undefined, + aIsNull___34512: undefined, + bIsNull___34516: undefined, arg0: undefined, arg1: undefined, } } @@ -7717,7 +5354,7 @@ function helpers_arraySort_inline__P12194_mk(s) { -function helpers_sortHelper__P4521(s) { +function helpers_sortHelper__P27594(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7727,9 +5364,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___12251 = undefined; - s.i___12254 = undefined; - s.j___12260 = undefined; + s.len___34551 = undefined; + s.i___34554 = undefined; + s.j___34560 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7757,31 +5394,31 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___12251 = (r0); - s.i___12254 = (0); + s.len___34551 = (r0); + s.i___34554 = (0); case 5: - s.tmp_1 = r0 = s.i___12254; - r0 = (s.len___12251 - 1); + s.tmp_1 = r0 = s.i___34554; + r0 = (s.len___34551 - 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___12254 + 1); - s.j___12260 = (r0); + r0 = (s.i___34554 + 1); + s.j___34560 = (r0); case 6: - r0 = (s.j___12260 < s.len___12251); + r0 = (s.j___34560 < s.len___34551); 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___12254); + r0 = pxsim_Array__getAt(s.arg0, s.i___34554); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___12260); + r0 = pxsim_Array__getAt(s.arg0, s.j___34560); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 1; s.pc = 12; return s.tmp_3; + s.callLocIdx = 0; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2 = r0; @@ -7789,21 +5426,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P4520_mk(s); + s.tmp_4 = helpers_swap__P27593_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___12254; - s.tmp_4.arg2 = s.j___12260; - s.callLocIdx = 2; s.pc = 13; return s.tmp_4; + s.tmp_4.arg1 = s.i___34554; + s.tmp_4.arg2 = s.j___34560; + s.callLocIdx = 1; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___12260 + 1); - s.j___12260 = (r0); + r0 = (s.j___34560 + 1); + s.j___34560 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___12254 + 1); - s.i___12254 = (r0); + r0 = (s.i___34554 + 1); + s.i___34554 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -7811,21 +5448,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P4521.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__P27594.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__P4521_mk(s) { +function helpers_sortHelper__P27594_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P4521, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P27594, 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___12251: undefined, - i___12254: undefined, - j___12260: undefined, + len___34551: undefined, + i___34554: undefined, + j___34560: undefined, arg0: undefined, arg1: undefined, } } @@ -7834,7 +5471,7 @@ function helpers_sortHelper__P4521_mk(s) { -function helpers_swap__P4520(s) { +function helpers_swap__P27593(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7844,7 +5481,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___12289 = undefined; + s.temp___34589 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7852,28 +5489,28 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___12289 = (r0); + s.temp___34589 = (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___12289); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___34589); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P4520.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__P27593.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__P4520_mk(s) { +function helpers_swap__P27593_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P4520, depth: s.depth + 1, + parent: s, fn: helpers_swap__P27593, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___12289: undefined, + temp___34589: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7883,7 +5520,7 @@ function helpers_swap__P4520_mk(s) { -function scene_Camera_update__P2798(s) { +function scene_Camera_update__P25866(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7893,75 +5530,97 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___12558 = undefined; - s.percentComplete___12572 = undefined; - s.damp___12579 = undefined; - s.f___12588 = undefined; - s.x___12594 = undefined; - s.y___12601 = undefined; + s.elapsed___34870 = undefined; + s.percentComplete___34884 = undefined; + s.damp___34891 = undefined; + s.f___34900 = undefined; + s.x___34906 = undefined; + s.y___34913 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2781_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C25849_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__P2354_mk(s); + s.tmp_3 = Sprite_x__P25422_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 943; s.pc = 9; return s.tmp_3; + s.callLocIdx = 907; s.pc = 9; return s.tmp_3; case 9: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1).fields["_lastUpdatedSpriteX"] = (s.tmp_2); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_y__P2356_mk(s); + s.tmp_2 = Sprite_y__P25424_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 944; s.pc = 10; return s.tmp_2; + s.callLocIdx = 908; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["_lastUpdatedSpriteY"] = (s.tmp_1); - s.tmp_0 = scene_Camera_offsetX__P2787_mk(s); + s.tmp_0 = scene_Camera_offsetX__P25855_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_x__P2354_mk(s); + s.tmp_3 = Sprite_left__P25467_mk(s); r0 = s.arg0.fields["sprite"]; - s.tmp_2.arg0 = r0; - s.callLocIdx = 945; s.pc = 12; return s.tmp_2; + s.tmp_3.arg0 = r0; + s.callLocIdx = 909; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2032); + s.tmp_2 = r0; + s.tmp_6 = Sprite_width__P25465_mk(s); + r0 = s.arg0.fields["sprite"]; + s.tmp_6.arg0 = r0; + s.callLocIdx = 910; s.pc = 13; return s.tmp_6; + case 13: + r0 = s.retval; + s.tmp_5 = r0; + r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; - r0 = (s.tmp_4 >> 1); - s.tmp_3 = r0; - r0 = (s.tmp_1 - s.tmp_3); + r0 = (s.tmp_2 + s.tmp_4); + s.tmp_1 = r0; + r0 = pxsim_ImageMethods.width(globals.screen___25100); + s.tmp_8 = r0; + r0 = (s.tmp_8 >> 1); + s.tmp_7 = r0; + r0 = (s.tmp_1 - s.tmp_7); s.tmp_0.arg1 = r0; - s.callLocIdx = 946; s.pc = 11; return s.tmp_0; + s.callLocIdx = 911; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P2789_mk(s); + s.tmp_0 = scene_Camera_offsetY__P25857_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P2356_mk(s); + s.tmp_3 = Sprite_top__P25471_mk(s); r0 = s.arg0.fields["sprite"]; - s.tmp_2.arg0 = r0; - s.callLocIdx = 947; s.pc = 14; return s.tmp_2; - case 14: + s.tmp_3.arg0 = r0; + s.callLocIdx = 912; s.pc = 15; return s.tmp_3; + case 15: r0 = s.retval; - s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___2032); + s.tmp_2 = r0; + s.tmp_6 = Sprite_width__P25465_mk(s); + r0 = s.arg0.fields["sprite"]; + s.tmp_6.arg0 = r0; + s.callLocIdx = 913; s.pc = 16; return s.tmp_6; + case 16: + r0 = s.retval; + s.tmp_5 = r0; + r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; - r0 = (s.tmp_4 >> 1); - s.tmp_3 = r0; - r0 = (s.tmp_1 - s.tmp_3); + r0 = (s.tmp_2 + s.tmp_4); + s.tmp_1 = r0; + r0 = pxsim_ImageMethods.height(globals.screen___25100); + s.tmp_8 = r0; + r0 = (s.tmp_8 >> 1); + s.tmp_7 = r0; + r0 = (s.tmp_1 - s.tmp_7); s.tmp_0.arg1 = r0; - s.callLocIdx = 948; s.pc = 13; return s.tmp_0; - case 13: + s.callLocIdx = 914; s.pc = 14; return s.tmp_0; + case 14: r0 = s.retval; case 1: case 2: @@ -7984,10 +5643,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___12558 = (r0); + s.elapsed___34870 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___12558 >= s.tmp_1); + r0 = (s.elapsed___34870 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -7996,49 +5655,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___12558 / s.tmp_0); - s.percentComplete___12572 = (r0); - s.damp___12579 = (1); - r0 = (s.percentComplete___12572 >= 0.75); + r0 = (s.elapsed___34870 / s.tmp_0); + s.percentComplete___34884 = (r0); + s.damp___34891 = (1); + r0 = (s.percentComplete___34884 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P130_mk(s); + s.tmp_1 = Math_max__P23197_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___12572); + r0 = (1 - s.percentComplete___34884); s.tmp_1.arg1 = r0; - s.callLocIdx = 951; s.pc = 15; return s.tmp_1; - case 15: + s.callLocIdx = 917; s.pc = 17; return s.tmp_1; + case 17: r0 = s.retval; - s.damp___12579 = (r0); + s.damp___34891 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___12579); - s.f___12588 = (r0); + r0 = (s.tmp_0 * s.damp___34891); + s.f___34900 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___12588); + r0 = (s.tmp_1 * s.f___34900); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___12594 = (r0); + s.x___34906 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___12588); + r0 = (s.tmp_1 * s.f___34900); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___12601 = (r0); + s.y___34913 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___12594); + r0 = (s.tmp_2 + s.x___34906); 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___12601); + r0 = (s.tmp_2 + s.y___34913); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -8048,24 +5707,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P2798.info = {"start":2563,"length":1418,"line":83,"column":8,"endLine":116,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} +scene_Camera_update__P25866.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__P2798_mk(s) { +function scene_Camera_update__P25866_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P2798, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P25866, 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, - elapsed___12558: undefined, - percentComplete___12572: undefined, - damp___12579: undefined, - f___12588: undefined, - x___12594: undefined, - y___12601: undefined, + tmp_5: undefined, + tmp_6: undefined, + tmp_7: undefined, + tmp_8: undefined, + elapsed___34870: undefined, + percentComplete___34884: undefined, + damp___34891: undefined, + f___34900: undefined, + x___34906: undefined, + y___34913: undefined, arg0: undefined, } } @@ -8073,7 +5736,7 @@ function scene_Camera_update__P2798_mk(s) { -function scene_Camera_offsetY__P2789(s) { +function scene_Camera_offsetY__P25857(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8083,27 +5746,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___12620 = undefined; + s.scene___34932 = 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__C2781_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 934; s.pc = 5; return s.tmp_0; + if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 898; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___12620 = (r0); - r0 = s.scene___12620.fields["tileMap"]; + s.scene___34932 = (r0); + r0 = s.scene___34932.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___12620.fields["tileMap"]; + r0 = s.scene___34932.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -8120,11 +5783,11 @@ 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__P2742_mk(s); - r0 = s.scene___12620.fields["tileMap"]; + s.tmp_10 = tiles_TileMap_offsetY__P25810_mk(s); + r0 = s.scene___34932.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; - s.callLocIdx = 936; s.pc = 6; return s.tmp_10; + s.callLocIdx = 900; s.pc = 6; return s.tmp_10; case 6: r0 = s.retval; s.tmp_9 = r0; @@ -8142,12 +5805,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P2789.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__P25857.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__P2789_mk(s) { +function scene_Camera_offsetY__P25857_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P2789, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P25857, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8160,7 +5823,7 @@ function scene_Camera_offsetY__P2789_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___12620: undefined, + scene___34932: undefined, arg0: undefined, arg1: undefined, } } @@ -8169,7 +5832,7 @@ function scene_Camera_offsetY__P2789_mk(s) { -function tiles_TileMap_enabled__P2747(s) { +function tiles_TileMap_enabled__P25815(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8184,7 +5847,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -8197,13 +5860,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P2747.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__P2747.isGetter = true; +tiles_TileMap_enabled__P25815.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__P25815.isGetter = true; -function tiles_TileMap_enabled__P2747_mk(s) { +function tiles_TileMap_enabled__P25815_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P2747, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P25815, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8216,7 +5879,7 @@ function tiles_TileMap_enabled__P2747_mk(s) { -function tiles_TileMap_offsetY__P2742(s) { +function tiles_TileMap_offsetY__P25810(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8232,38 +5895,38 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P127_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P23194_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P130_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P2744_mk(s); + s.tmp_1 = Math_max__P23197_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P25812_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 873; s.pc = 3; return s.tmp_3; + s.callLocIdx = 837; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___2032); + r0 = pxsim_ImageMethods.height(globals.screen___25100); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 874; s.pc = 2; return s.tmp_1; + s.callLocIdx = 838; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 875; s.pc = 1; return s.tmp_0; + s.callLocIdx = 839; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P2742.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__P25810.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__P2742_mk(s) { +function tiles_TileMap_offsetY__P25810_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P2742, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P25810, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8278,7 +5941,7 @@ function tiles_TileMap_offsetY__P2742_mk(s) { -function tiles_TileMap_areaHeight__P2744(s) { +function tiles_TileMap_areaHeight__P25812(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8293,7 +5956,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -8315,12 +5978,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P2744.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__P25812.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__P2744_mk(s) { +function tiles_TileMap_areaHeight__P25812_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P2744, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P25812, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8334,7 +5997,7 @@ function tiles_TileMap_areaHeight__P2744_mk(s) { -function tiles_TileMap_scale__P2738(s) { +function tiles_TileMap_scale__P25806(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8349,18 +6012,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P2738.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__P2738.isGetter = true; +tiles_TileMap_scale__P25806.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__P25806.isGetter = true; -function tiles_TileMap_scale__P2738_mk(s) { +function tiles_TileMap_scale__P25806_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P2738, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P25806, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8369,7 +6032,7 @@ function tiles_TileMap_scale__P2738_mk(s) { -function tiles_TileMapData_height__P2720(s) { +function tiles_TileMapData_height__P25788(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8384,18 +6047,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2717_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C25785_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P2720.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__P2720.isGetter = true; +tiles_TileMapData_height__P25788.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__P25788.isGetter = true; -function tiles_TileMapData_height__P2720_mk(s) { +function tiles_TileMapData_height__P25788_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P2720, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P25788, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8404,7 +6067,7 @@ function tiles_TileMapData_height__P2720_mk(s) { -function scene_Camera_offsetY__P2788(s) { +function scene_Camera_offsetY__P25856(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8419,18 +6082,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2781_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P2788.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__P2788.isGetter = true; +scene_Camera_offsetY__P25856.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__P25856.isGetter = true; -function scene_Camera_offsetY__P2788_mk(s) { +function scene_Camera_offsetY__P25856_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P2788, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P25856, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8439,7 +6102,7 @@ function scene_Camera_offsetY__P2788_mk(s) { -function scene_Camera_offsetX__P2787(s) { +function scene_Camera_offsetX__P25855(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8449,27 +6112,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___12680 = undefined; + s.scene___34992 = 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__C2781_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 931; s.pc = 5; return s.tmp_0; + if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 895; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___12680 = (r0); - r0 = s.scene___12680.fields["tileMap"]; + s.scene___34992 = (r0); + r0 = s.scene___34992.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___12680.fields["tileMap"]; + r0 = s.scene___34992.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -8486,11 +6149,11 @@ 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__P2741_mk(s); - r0 = s.scene___12680.fields["tileMap"]; + s.tmp_10 = tiles_TileMap_offsetX__P25809_mk(s); + r0 = s.scene___34992.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; - s.callLocIdx = 933; s.pc = 6; return s.tmp_10; + s.callLocIdx = 897; s.pc = 6; return s.tmp_10; case 6: r0 = s.retval; s.tmp_9 = r0; @@ -8508,12 +6171,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P2787.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__P25855.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__P2787_mk(s) { +function scene_Camera_offsetX__P25855_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P2787, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P25855, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8526,7 +6189,7 @@ function scene_Camera_offsetX__P2787_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___12680: undefined, + scene___34992: undefined, arg0: undefined, arg1: undefined, } } @@ -8535,7 +6198,7 @@ function scene_Camera_offsetX__P2787_mk(s) { -function tiles_TileMap_offsetX__P2741(s) { +function tiles_TileMap_offsetX__P25809(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8551,38 +6214,38 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P127_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P23194_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P130_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P2743_mk(s); + s.tmp_1 = Math_max__P23197_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P25811_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 870; s.pc = 3; return s.tmp_3; + s.callLocIdx = 834; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2032); + r0 = pxsim_ImageMethods.width(globals.screen___25100); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 871; s.pc = 2; return s.tmp_1; + s.callLocIdx = 835; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 872; s.pc = 1; return s.tmp_0; + s.callLocIdx = 836; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P2741.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__P25809.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__P2741_mk(s) { +function tiles_TileMap_offsetX__P25809_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P2741, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P25809, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8597,7 +6260,7 @@ function tiles_TileMap_offsetX__P2741_mk(s) { -function tiles_TileMap_areaWidth__P2743(s) { +function tiles_TileMap_areaWidth__P25811(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8612,7 +6275,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -8634,12 +6297,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P2743.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__P25811.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__P2743_mk(s) { +function tiles_TileMap_areaWidth__P25811_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P2743, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P25811, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8653,7 +6316,7 @@ function tiles_TileMap_areaWidth__P2743_mk(s) { -function tiles_TileMapData_width__P2719(s) { +function tiles_TileMapData_width__P25787(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8668,18 +6331,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2717_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C25785_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P2719.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__P2719.isGetter = true; +tiles_TileMapData_width__P25787.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__P25787.isGetter = true; -function tiles_TileMapData_width__P2719_mk(s) { +function tiles_TileMapData_width__P25787_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P2719, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P25787, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8688,7 +6351,7 @@ function tiles_TileMapData_width__P2719_mk(s) { -function scene_Camera_offsetX__P2786(s) { +function scene_Camera_offsetX__P25854(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8703,19 +6366,165 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2781_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P2786.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__P2786.isGetter = true; +scene_Camera_offsetX__P25854.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__P25854.isGetter = true; + +function scene_Camera_offsetX__P25854_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: scene_Camera_offsetX__P25854, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, +} } + + + + + +function Sprite_top__P25471(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, Sprite__C25409_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__P25471.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__P25471.isGetter = true; + +function Sprite_top__P25471_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: Sprite_top__P25471, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, +} } + + + + + +function Fx_toFloat__P23240(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = (s.arg0 / 256); + return leave(s, r0) + default: oops() +} } } +Fx_toFloat__P23240.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__P23240_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: Fx_toFloat__P23240, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, +} } + + + + + +function Sprite_left__P25467(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, Sprite__C25409_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__P25467.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__P25467.isGetter = true; -function scene_Camera_offsetX__P2786_mk(s) { +function Sprite_left__P25467_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P2786, depth: s.depth + 1, + parent: s, fn: Sprite_left__P25467, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + arg0: undefined, +} } + + + + + +function Sprite_width__P25465(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, Sprite__C25409_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__P25465.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__P25465.isGetter = true; + +function Sprite_width__P25465_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: Sprite_width__P25465, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, arg0: undefined, } } @@ -8723,7 +6532,7 @@ function scene_Camera_offsetX__P2786_mk(s) { -function Sprite_y__P2356(s) { +function Sprite_y__P25424(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8738,7 +6547,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = s.arg0.fields["_height"]; @@ -8753,13 +6562,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P2356.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__P2356.isGetter = true; +Sprite_y__P25424.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__P25424.isGetter = true; -function Sprite_y__P2356_mk(s) { +function Sprite_y__P25424_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P2356, depth: s.depth + 1, + parent: s, fn: Sprite_y__P25424, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8773,39 +6582,7 @@ function Sprite_y__P2356_mk(s) { -function Fx_toFloat__P173(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = (s.arg0 / 256); - return leave(s, r0) - default: oops() -} } } -Fx_toFloat__P173.info = {"start":2470,"length":81,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} - -function Fx_toFloat__P173_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Fx_toFloat__P173, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function Fx_div__P162(s) { +function Fx_div__P23229(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8826,12 +6603,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_div__P162.info = {"start":1145,"length":129,"line":35,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"div","argumentNames":["a","b"]} +Fx_div__P23229.info = {"start":1145,"length":129,"line":35,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"div","argumentNames":["a","b"]} -function Fx_div__P162_mk(s) { +function Fx_div__P23229_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P162, depth: s.depth + 1, + parent: s, fn: Fx_div__P23229, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8842,7 +6619,7 @@ function Fx_div__P162_mk(s) { -function Fx_add__P157(s) { +function Fx_add__P23224(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8861,12 +6638,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_add__P157.info = {"start":511,"length":118,"line":20,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"add","argumentNames":["a","b"]} +Fx_add__P23224.info = {"start":511,"length":118,"line":20,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"add","argumentNames":["a","b"]} -function Fx_add__P157_mk(s) { +function Fx_add__P23224_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P157, depth: s.depth + 1, + parent: s, fn: Fx_add__P23224, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -8876,7 +6653,7 @@ function Fx_add__P157_mk(s) { -function Sprite_x__P2354(s) { +function Sprite_x__P25422(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8891,7 +6668,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = s.arg0.fields["_width"]; @@ -8906,13 +6683,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P2354.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__P2354.isGetter = true; +Sprite_x__P25422.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__P25422.isGetter = true; -function Sprite_x__P2354_mk(s) { +function Sprite_x__P25422_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P2354, depth: s.depth + 1, + parent: s, fn: Sprite_x__P25422, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8926,7 +6703,7 @@ function Sprite_x__P2354_mk(s) { -function PhysicsEngine_move__P2517(s) { +function PhysicsEngine_move__P25585(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8942,17 +6719,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2511_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C25579_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P2517.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__P25585.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__P2517_mk(s) { +function PhysicsEngine_move__P25585_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P2517, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P25585, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -8962,7 +6739,7 @@ function PhysicsEngine_move__P2517_mk(s) { -function PhysicsEngine_draw__P2516(s) { +function PhysicsEngine_draw__P25584(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8977,17 +6754,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2511_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C25579_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P2516.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__P25584.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__P2516_mk(s) { +function PhysicsEngine_draw__P25584_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P2516, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P25584, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8996,7 +6773,7 @@ function PhysicsEngine_draw__P2516_mk(s) { -function controller___update__P2165(s) { +function controller___update__P25233(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9006,7 +6783,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___12949 = undefined; + s.dtms___35261 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -9014,35 +6791,35 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___12949 = (r0); - r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P12956); + s.dtms___35261 = (r0); + r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P35268); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___12949); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_2 = controller_players__P2129_mk(s); - s.callLocIdx = 229; s.pc = 2; return s.tmp_2; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___35261); + s.tmp_1 = helpers_arrayForEach__P23176_mk(s); + s.tmp_2 = controller_players__P25197_mk(s); + s.callLocIdx = 193; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 231; s.pc = 1; return s.tmp_1; + s.callLocIdx = 195; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller___update__P2165.info = {"start":13733,"length":137,"line":414,"column":4,"endLine":417,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} +controller___update__P25233.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__P2165_mk(s) { +function controller___update__P25233_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P2165, depth: s.depth + 1, + parent: s, fn: controller___update__P25233, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___12949: undefined, + dtms___35261: undefined, arg0: undefined, } } @@ -9050,7 +6827,7 @@ function controller___update__P2165_mk(s) { -function controller___update_inline__P12956(s) { +function controller___update_inline__P35268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9064,22 +6841,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P2163_mk(s); + s.tmp_0 = controller_Controller___update__P25231_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; - s.callLocIdx = 230; s.pc = 1; return s.tmp_0; + s.callLocIdx = 194; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller___update_inline__P12956.info = {"start":13835,"length":27,"line":416,"column":26,"endLine":416,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} +controller___update_inline__P35268.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__P12956_mk(s) { +function controller___update_inline__P35268_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update_inline__P12956, depth: s.depth + 1, + parent: s, fn: controller___update_inline__P35268, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9089,7 +6866,7 @@ function controller___update_inline__P12956_mk(s) { -function controller_Controller___update__P2163(s) { +function controller_Controller___update__P25231(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9105,7 +6882,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2134_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C25202_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -9116,26 +6893,26 @@ switch (step) { r0 = (s.tmp_3 | 0); s.tmp_2 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_1, s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, controller_Controller___update_inline__P12969); + r0 = pxsim_pxtcore_mkAction(1, controller_Controller___update_inline__P35281); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_1 = helpers_arrayForEach__P23176_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 228; s.pc = 1; return s.tmp_1; + s.callLocIdx = 192; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Controller___update__P2163.info = {"start":13211,"length":124,"line":396,"column":8,"endLine":399,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["this","dtms"]} +controller_Controller___update__P25231.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__P2163_mk(s) { +function controller_Controller___update__P25231_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P2163, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P25231, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9149,7 +6926,7 @@ function controller_Controller___update__P2163_mk(s) { -function controller_Controller___update_inline__P12969(s) { +function controller_Controller___update_inline__P35281(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9163,23 +6940,23 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P2203_mk(s); + s.tmp_0 = controller_Button___update__P25271_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; - s.callLocIdx = 227; s.pc = 1; return s.tmp_0; + s.callLocIdx = 191; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Controller___update_inline__P12969.info = {"start":13298,"length":25,"line":398,"column":33,"endLine":398,"endColumn":58,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["btn"]} +controller_Controller___update_inline__P35281.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__P12969_mk(s) { +function controller_Controller___update_inline__P35281_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update_inline__P12969, depth: s.depth + 1, + parent: s, fn: controller_Controller___update_inline__P35281, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9189,7 +6966,7 @@ function controller_Controller___update_inline__P12969_mk(s) { -function controller_Button___update__P2203(s) { +function controller_Button___update__P25271(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9199,16 +6976,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___12985 = undefined; - s.interval___12994 = undefined; - s.count___13007 = undefined; + s.delay___35297 = undefined; + s.interval___35306 = undefined; + s.count___35319 = 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__C2189_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C25257_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -9232,31 +7009,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___4898; + r0 = globals.defaultRepeatDelay___27971; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___12985 = (s.tmp_2); + s.delay___35297 = (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___4900; + r0 = globals.defaultRepeatInterval___27973; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___12994 = (s.tmp_2); + s.interval___35306 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___12985); + r0 = (s.tmp_1 < s.delay___35297); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -9265,26 +7042,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___12985); + r0 = (s.tmp_5 - s.delay___35297); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___12994); + r0 = (s.tmp_4 - s.interval___35306); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___12994); + r0 = (s.tmp_3 / s.interval___35306); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___13007 = (r0); + s.count___35319 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___13007 != s.tmp_1); + r0 = (s.count___35319 != 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__P4887_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P27960_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 246; s.pc = 12; return s.tmp_2; + s.callLocIdx = 210; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___13007); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___35319); case 9: case 10: case 11: @@ -9292,12 +7069,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P2203.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__P25271.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__P2203_mk(s) { +function controller_Button___update__P25271_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P2203, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P25271, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9305,9 +7082,9 @@ function controller_Button___update__P2203_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___12985: undefined, - interval___12994: undefined, - count___13007: undefined, + delay___35297: undefined, + interval___35306: undefined, + count___35319: undefined, arg0: undefined, arg1: undefined, } } @@ -9316,7 +7093,7 @@ function controller_Button___update__P2203_mk(s) { -function controller_Button_raiseButtonRepeat__P4887(s) { +function controller_Button_raiseButtonRepeat__P27960(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9331,8 +7108,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2189_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4896); + if (!checkSubtype(r0, controller_Button__C25257_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___27969); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -9347,12 +7124,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P4887.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__P27960.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__P4887_mk(s) { +function controller_Button_raiseButtonRepeat__P27960_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P4887, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P27960, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9362,7 +7139,7 @@ function controller_Button_raiseButtonRepeat__P4887_mk(s) { -function controller_players__P2129(s) { +function controller_players__P25197(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9372,25 +7149,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller__player1__P2128_mk(s); - s.callLocIdx = 188; s.pc = 1; return s.tmp_0; + s.tmp_0 = controller__player1__P25196_mk(s); + s.callLocIdx = 152; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P110_mk(s); - s.tmp_0.arg0 = globals._players___4816; - s.tmp_0.arg1 = controller_players_inline__P12939; - s.callLocIdx = 189; s.pc = 2; return s.tmp_0; + s.tmp_0 = helpers_arrayFilter__P23177_mk(s); + s.tmp_0.arg0 = globals._players___27889; + s.tmp_0.arg1 = controller_players_inline__P35251; + s.callLocIdx = 153; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P2129.info = {"start":1645,"length":144,"line":53,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P25197.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__P2129_mk(s) { +function controller_players__P25197_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P2129, depth: s.depth + 1, + parent: s, fn: controller_players__P25197, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -9399,7 +7176,7 @@ function controller_players__P2129_mk(s) { -function controller_players_inline__P12939(s) { +function controller_players_inline__P35251(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9423,12 +7200,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_players_inline__P12939.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__P35251.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__P12939_mk(s) { +function controller_players_inline__P35251_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players_inline__P12939, depth: s.depth + 1, + parent: s, fn: controller_players_inline__P35251, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9440,7 +7217,7 @@ function controller_players_inline__P12939_mk(s) { -function helpers_arrayFilter__P110(s) { +function helpers_arrayFilter__P23177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9450,62 +7227,62 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___10322 = undefined; - s.len___10324 = undefined; - s.i___10327 = undefined; - s.v___10332 = undefined; + s.res___32607 = undefined; + s.len___32609 = undefined; + s.i___32612 = undefined; + s.v___32617 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___10322 = (r0); + s.res___32607 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___10324 = (r0); - s.i___10327 = (0); + s.len___32609 = (r0); + s.i___32612 = (0); case 1: - r0 = (s.i___10327 < s.len___10324); + r0 = (s.i___32612 < s.len___32609); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___10327); - s.v___10332 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___32612); + s.v___32617 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___10332; - s.tmp_1.arg1 = s.i___10327; + s.tmp_1.arg0 = s.v___32617; + s.tmp_1.arg1 = s.i___32612; setupLambda(s.tmp_1, s.tmp_1.argL); - s.callLocIdx = 7; s.pc = 5; return s.tmp_1; + s.callLocIdx = 6; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__push(s.res___10322, s.v___10332); + r0 = pxsim_Array__push(s.res___32607, s.v___32617); case 2: case 3: - r0 = (s.i___10327 + 1); - s.i___10327 = (r0); + r0 = (s.i___32612 + 1); + s.i___32612 = (r0); { step = 1; continue; } case 4: - r0 = s.res___10322; + r0 = s.res___32607; return leave(s, r0) default: oops() } } } -helpers_arrayFilter__P110.info = {"start":7695,"length":317,"line":261,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFilter","argumentNames":["arr","callbackfn"]} +helpers_arrayFilter__P23177.info = {"start":7695,"length":317,"line":261,"column":4,"endLine":269,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFilter","argumentNames":["arr","callbackfn"]} -function helpers_arrayFilter__P110_mk(s) { +function helpers_arrayFilter__P23177_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P110, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P23177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___10322: undefined, - len___10324: undefined, - i___10327: undefined, - v___10332: undefined, + res___32607: undefined, + len___32609: undefined, + i___32612: undefined, + v___32617: undefined, arg0: undefined, arg1: undefined, } } @@ -9514,7 +7291,7 @@ function helpers_arrayFilter__P110_mk(s) { -function controller__moveSprites__P2133(s) { +function controller__moveSprites__P25201(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9524,26 +7301,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_1 = controller_players__P2129_mk(s); - s.callLocIdx = 190; s.pc = 2; return s.tmp_1; + s.tmp_0 = helpers_arrayForEach__P23176_mk(s); + s.tmp_1 = controller_players__P25197_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__P12734; - s.callLocIdx = 192; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = controller__moveSprites_inline__P35046; + s.callLocIdx = 156; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller__moveSprites__P2133.info = {"start":2005,"length":180,"line":67,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P25201.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__P2133_mk(s) { +function controller__moveSprites__P25201_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P2133, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P25201, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9553,7 +7330,7 @@ function controller__moveSprites__P2133_mk(s) { -function controller__moveSprites_inline__P12734(s) { +function controller__moveSprites_inline__P35046(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9567,21 +7344,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P2162_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P25230_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 191; s.pc = 1; return s.tmp_0; + s.callLocIdx = 155; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller__moveSprites_inline__P12734.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__P35046.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__P12734_mk(s) { +function controller__moveSprites_inline__P35046_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites_inline__P12734, depth: s.depth + 1, + parent: s, fn: controller__moveSprites_inline__P35046, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9591,7 +7368,7 @@ function controller__moveSprites_inline__P12734_mk(s) { -function controller_Controller___preUpdate__P2162(s) { +function controller_Controller___preUpdate__P25230(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9601,22 +7378,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___12741 = undefined; - s.svx___12742 = undefined; - s.svy___12743 = undefined; - s.svxInCricle___12778 = undefined; - s.svyInCircle___12780 = undefined; - s.sq___12782 = undefined; - s.scale___12797 = undefined; + s.deadSprites___35053 = undefined; + s.svx___35054 = undefined; + s.svy___35055 = undefined; + s.svxInCricle___35090 = undefined; + s.svyInCircle___35092 = undefined; + s.sq___35094 = undefined; + s.scale___35109 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2134_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P2139_mk(s); + if (!checkSubtype(r0, controller_Controller__C25202_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P25207_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 202; s.pc = 18; return s.tmp_3; + s.callLocIdx = 166; s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; s.tmp_2 = r0; @@ -9630,38 +7407,38 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___12741 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___12741, false); + s.deadSprites___35053 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___35053, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___12742 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___12742, 0); + s.svx___35054 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___35054, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___12743 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___12743, 0); + s.svy___35055 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___35055, 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___12742; - s.tmp_5 = controller_Button_pressureLevel__P2201_mk(s); - s.tmp_6 = controller_Controller_right__P2144_mk(s); + s.tmp_1 = r0 = s.svx___35054; + s.tmp_5 = controller_Button_pressureLevel__P25269_mk(s); + s.tmp_6 = controller_Controller_right__P25212_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 203; s.pc = 20; return s.tmp_6; + s.callLocIdx = 167; s.pc = 20; return s.tmp_6; case 20: r0 = s.retval; s.tmp_5.arg0 = r0; - s.callLocIdx = 204; s.pc = 19; return s.tmp_5; + s.callLocIdx = 168; s.pc = 19; return s.tmp_5; case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P2201_mk(s); - s.tmp_9 = controller_Controller_left__P2143_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P25269_mk(s); + s.tmp_9 = controller_Controller_left__P25211_mk(s); s.tmp_9.arg0 = s.arg0; - s.callLocIdx = 205; s.pc = 22; return s.tmp_9; + s.callLocIdx = 169; s.pc = 22; return s.tmp_9; case 22: r0 = s.retval; s.tmp_8.arg0 = r0; - s.callLocIdx = 206; s.pc = 21; return s.tmp_8; + s.callLocIdx = 170; s.pc = 21; return s.tmp_8; case 21: r0 = s.retval; s.tmp_7 = r0; @@ -9670,26 +7447,26 @@ switch (step) { r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_1, s.tmp_2); - s.tmp_0 = r0 = s.svy___12743; - s.tmp_4 = controller_Button_pressureLevel__P2201_mk(s); - s.tmp_5 = controller_Controller_down__P2146_mk(s); + s.tmp_0 = r0 = s.svy___35055; + s.tmp_4 = controller_Button_pressureLevel__P25269_mk(s); + s.tmp_5 = controller_Controller_down__P25214_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 207; s.pc = 24; return s.tmp_5; + s.callLocIdx = 171; s.pc = 24; return s.tmp_5; case 24: r0 = s.retval; s.tmp_4.arg0 = r0; - s.callLocIdx = 208; s.pc = 23; return s.tmp_4; + s.callLocIdx = 172; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P2201_mk(s); - s.tmp_8 = controller_Controller_up__P2145_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P25269_mk(s); + s.tmp_8 = controller_Controller_up__P25213_mk(s); s.tmp_8.arg0 = s.arg0; - s.callLocIdx = 209; s.pc = 26; return s.tmp_8; + s.callLocIdx = 173; s.pc = 26; return s.tmp_8; case 26: r0 = s.retval; s.tmp_7.arg0 = r0; - s.callLocIdx = 210; s.pc = 25; return s.tmp_7; + s.callLocIdx = 174; s.pc = 25; return s.tmp_7; case 25: r0 = s.retval; s.tmp_6 = r0; @@ -9700,14 +7477,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C2189_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P2144_mk(s); + s.tmp_1 = controller_Button__C25257_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P25212_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 211; s.pc = 28; return s.tmp_2; + 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__C2189_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C25257_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: @@ -9722,14 +7499,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C2189_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P2143_mk(s); + s.tmp_5 = controller_Button__C25257_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P25211_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 212; s.pc = 30; return s.tmp_6; + 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__C2189_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C25257_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: @@ -9744,18 +7521,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___12742; + s.tmp_8 = r0 = s.svx___35054; 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__C2189_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P2146_mk(s); + s.tmp_1 = controller_Button__C25257_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P25214_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 213; s.pc = 32; return s.tmp_2; + 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__C2189_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C25257_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: @@ -9770,14 +7547,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C2189_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P2145_mk(s); + s.tmp_5 = controller_Button__C25257_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P25213_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 214; s.pc = 34; return s.tmp_6; + 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__C2189_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C25257_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: @@ -9792,57 +7569,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___12743; + s.tmp_8 = r0 = s.svy___35055; 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___12778 = (r0); - s.tmp_0 = r0 = s.svxInCricle___12778; - r0 = pxsim_pxtrt_ldlocRef(s.svx___12742); + s.svxInCricle___35090 = (r0); + s.tmp_0 = r0 = s.svxInCricle___35090; + r0 = pxsim_pxtrt_ldlocRef(s.svx___35054); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___12780 = (r0); - s.tmp_0 = r0 = s.svyInCircle___12780; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12743); + s.svyInCircle___35092 = (r0); + s.tmp_0 = r0 = s.svyInCircle___35092; + r0 = pxsim_pxtrt_ldlocRef(s.svy___35055); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___12742); + r0 = pxsim_pxtrt_ldlocRef(s.svx___35054); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___12742); + r0 = pxsim_pxtrt_ldlocRef(s.svx___35054); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12743); + r0 = pxsim_pxtrt_ldlocRef(s.svy___35055); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12743); + r0 = pxsim_pxtrt_ldlocRef(s.svy___35055); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___12782 = (r0); - r0 = (s.sq___12782 > 65536); + s.sq___35094 = (r0); + r0 = (s.sq___35094 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___12782); + r0 = (65536 / s.sq___35094); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___12797 = (r0); - s.tmp_0 = r0 = s.svxInCricle___12778; - s.tmp_3 = r0 = s.scale___12797; - r0 = pxsim_pxtrt_ldlocRef(s.svx___12742); + s.scale___35109 = (r0); + s.tmp_0 = r0 = s.svxInCricle___35090; + s.tmp_3 = r0 = s.scale___35109; + r0 = pxsim_pxtrt_ldlocRef(s.svx___35054); 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___12780; - s.tmp_3 = r0 = s.scale___12797; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12743); + s.tmp_0 = r0 = s.svyInCircle___35092; + s.tmp_3 = r0 = s.scale___35109; + r0 = pxsim_pxtrt_ldlocRef(s.svy___35055); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -9851,43 +7628,43 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 13: case 14: - r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P12815); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___12741); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___12742); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___12743); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___12778); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___12780); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P2139_mk(s); + r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P35127); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___35053); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___35054); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___35055); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___35090); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___35092); + s.tmp_1 = helpers_arrayForEach__P23176_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P25207_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 215; s.pc = 36; return s.tmp_2; + s.callLocIdx = 179; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 223; s.pc = 35; return s.tmp_1; + s.callLocIdx = 187; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___12741); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___35053); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P2140_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P25208_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P110_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P2139_mk(s); + s.tmp_2 = helpers_arrayFilter__P23177_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P25207_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 224; s.pc = 39; return s.tmp_3; + 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__P12872; - s.callLocIdx = 225; s.pc = 38; return s.tmp_2; + s.tmp_2.arg1 = controller_Controller___preUpdate_inline__P35184; + s.callLocIdx = 189; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; s.tmp_1.arg1 = r0; - s.callLocIdx = 226; s.pc = 37; return s.tmp_1; + s.callLocIdx = 190; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; case 15: @@ -9897,12 +7674,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P2162.info = {"start":10666,"length":2535,"line":330,"column":8,"endLine":394,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} +controller_Controller___preUpdate__P25230.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__P2162_mk(s) { +function controller_Controller___preUpdate__P25230_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P2162, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P25230, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9914,13 +7691,13 @@ function controller_Controller___preUpdate__P2162_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___12741: undefined, - svx___12742: undefined, - svy___12743: undefined, - svxInCricle___12778: undefined, - svyInCircle___12780: undefined, - sq___12782: undefined, - scale___12797: undefined, + deadSprites___35053: undefined, + svx___35054: undefined, + svy___35055: undefined, + svxInCricle___35090: undefined, + svyInCircle___35092: undefined, + sq___35094: undefined, + scale___35109: undefined, arg0: undefined, } } @@ -9928,7 +7705,7 @@ function controller_Controller___preUpdate__P2162_mk(s) { -function controller_Controller___preUpdate_inline__P12815(s) { +function controller_Controller___preUpdate_inline__P35127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9938,9 +7715,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___12818 = undefined; - s.vx___12819 = undefined; - s.vy___12820 = undefined; + s.s___35130 = undefined; + s.vx___35131 = undefined; + s.vy___35132 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -9954,11 +7731,11 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["s"]; if (s.tmp_0.fn == null) { s.retval = s.tmp_0.arg0.fields["s"]; } else if (!s.tmp_0.fn.isGetter) { s.retval = bind(s.tmp_0); } - else { s.callLocIdx = 216; s.pc = 22; return s.tmp_0; } + else { s.callLocIdx = 180; s.pc = 22; return s.tmp_0; } } case 22: r0 = s.retval; - s.s___12818 = (r0); + s.s___35130 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -9967,11 +7744,11 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["vx"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["vx"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 217; s.pc = 23; return s.tmp_2; } + else { s.callLocIdx = 181; s.pc = 23; return s.tmp_2; } } case 23: r0 = s.retval; - s.vx___12819 = (r0); + s.vx___35131 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -9980,12 +7757,12 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["vy"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["vy"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 218; s.pc = 24; return s.tmp_3; } + else { s.callLocIdx = 182; s.pc = 24; return s.tmp_3; } } case 24: r0 = s.retval; - s.vy___12820 = (r0); - r0 = s.s___12818.fields["flags"]; + s.vy___35132 = (r0); + r0 = s.s___35130.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -9999,14 +7776,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___12819); + r0 = pxsim_numops_toBoolDecr(s.vx___35131); if (!r0) { step = 3; continue; } - r0 = (s.s___12818).fields["_vx"] = (0); + r0 = (s.s___35130).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___12820); + r0 = pxsim_numops_toBoolDecr(s.vy___35132); if (!r0) { step = 5; continue; } - r0 = (s.s___12818).fields["_vy"] = (0); + r0 = (s.s___35130).fields["_vy"] = (0); case 5: case 6: case 7: @@ -10024,48 +7801,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___12819; + s.tmp_2 = r0 = s.vx___35131; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___12820; + r0 = s.vy___35132; 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___12818; + s.tmp_4 = r0 = s.s___35130; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___12819); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___35131); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___12818; + s.tmp_0 = r0 = s.s___35130; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___12820); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___35132); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___12819); + r0 = pxsim_numops_toBoolDecr(s.vx___35131); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___12818; + s.tmp_0 = r0 = s.s___35130; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___12819); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___35131); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___12820); + r0 = pxsim_numops_toBoolDecr(s.vy___35132); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___12818; + s.tmp_0 = r0 = s.s___35130; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___12820); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___35132); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -10082,12 +7859,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P12815.info = {"start":11849,"length":1171,"line":361,"column":44,"endLine":389,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["controlledSprite"]} +controller_Controller___preUpdate_inline__P35127.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__P12815_mk(s) { +function controller_Controller___preUpdate_inline__P35127_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P12815, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P35127, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10096,9 +7873,9 @@ function controller_Controller___preUpdate_inline__P12815_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___12818: undefined, - vx___12819: undefined, - vy___12820: undefined, + s___35130: undefined, + vx___35131: undefined, + vy___35132: undefined, arg0: undefined, } } @@ -10106,7 +7883,7 @@ function controller_Controller___preUpdate_inline__P12815_mk(s) { -function controller_Controller___preUpdate_inline__P12872(s) { +function controller_Controller___preUpdate_inline__P35184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10131,12 +7908,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P12872.info = {"start":13147,"length":42,"line":393,"column":28,"endLine":393,"endColumn":70,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["s"]} +controller_Controller___preUpdate_inline__P35184.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__P12872_mk(s) { +function controller_Controller___preUpdate_inline__P35184_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P12872, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P35184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10148,7 +7925,7 @@ function controller_Controller___preUpdate_inline__P12872_mk(s) { -function controller_Button_pressureLevel__P2201(s) { +function controller_Button_pressureLevel__P25269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10163,16 +7940,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2189_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C25257_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__C2189_v0_1_mk(s); + s.tmp_3 = controller_Button__C25257_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C2189_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C25257_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: @@ -10201,12 +7978,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P2201.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__P25269.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__P2201_mk(s) { +function controller_Button_pressureLevel__P25269_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P2201, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P25269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10221,7 +7998,7 @@ function controller_Button_pressureLevel__P2201_mk(s) { -function controller_Button_isPressed__P2200(s) { +function controller_Button_isPressed__P25268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10236,17 +8013,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2189_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C25257_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P2200.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__P25268.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__P2200_mk(s) { +function controller_Button_isPressed__P25268_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P2200, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P25268, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10255,7 +8032,7 @@ function controller_Button_isPressed__P2200_mk(s) { -function controller_Controller_down__P2146(s) { +function controller_Controller_down__P25214(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10270,7 +8047,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2134_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C25202_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -10279,13 +8056,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P2146.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__P2146.isGetter = true; +controller_Controller_down__P25214.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__P25214.isGetter = true; -function controller_Controller_down__P2146_mk(s) { +function controller_Controller_down__P25214_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P2146, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P25214, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10296,7 +8073,7 @@ function controller_Controller_down__P2146_mk(s) { -function controller_Controller_button__P4881(s) { +function controller_Controller_button__P27954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10312,7 +8089,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2134_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C25202_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -10321,12 +8098,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P4881.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__P27954.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__P4881_mk(s) { +function controller_Controller_button__P27954_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P4881, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P27954, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10338,7 +8115,7 @@ function controller_Controller_button__P4881_mk(s) { -function controller_Controller_up__P2145(s) { +function controller_Controller_up__P25213(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10353,7 +8130,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2134_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C25202_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -10362,13 +8139,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P2145.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__P2145.isGetter = true; +controller_Controller_up__P25213.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__P25213.isGetter = true; -function controller_Controller_up__P2145_mk(s) { +function controller_Controller_up__P25213_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P2145, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P25213, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10379,7 +8156,7 @@ function controller_Controller_up__P2145_mk(s) { -function controller_Controller_right__P2144(s) { +function controller_Controller_right__P25212(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10394,7 +8171,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2134_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C25202_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -10403,13 +8180,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P2144.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__P2144.isGetter = true; +controller_Controller_right__P25212.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__P25212.isGetter = true; -function controller_Controller_right__P2144_mk(s) { +function controller_Controller_right__P25212_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P2144, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P25212, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10420,7 +8197,7 @@ function controller_Controller_right__P2144_mk(s) { -function controller_Controller_left__P2143(s) { +function controller_Controller_left__P25211(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10435,7 +8212,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2134_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C25202_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -10444,13 +8221,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P2143.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__P2143.isGetter = true; +controller_Controller_left__P25211.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__P25211.isGetter = true; -function controller_Controller_left__P2143_mk(s) { +function controller_Controller_left__P25211_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P2143, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P25211, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10461,7 +8238,7 @@ function controller_Controller_left__P2143_mk(s) { -function controller_Controller__controlledSprites__P2140(s) { +function controller_Controller__controlledSprites__P25208(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10477,9 +8254,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2134_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P3016_mk(s); - s.callLocIdx = 196; s.pc = 1; return s.tmp_1; + if (!checkSubtype(r0, controller_Controller__C25202_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P26084_mk(s); + s.callLocIdx = 160; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = r0.fields["controlledSprites"]; @@ -10491,12 +8268,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P2140.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__P25208.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__P2140_mk(s) { +function controller_Controller__controlledSprites__P25208_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P2140, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P25208, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10509,7 +8286,7 @@ function controller_Controller__controlledSprites__P2140_mk(s) { -function controller_Controller__controlledSprites__P2139(s) { +function controller_Controller__controlledSprites__P25207(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10524,9 +8301,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2134_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P3016_mk(s); - s.callLocIdx = 195; s.pc = 1; return s.tmp_1; + if (!checkSubtype(r0, controller_Controller__C25202_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P26084_mk(s); + s.callLocIdx = 159; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = r0.fields["controlledSprites"]; @@ -10537,13 +8314,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P2139.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__P2139.isGetter = true; +controller_Controller__controlledSprites__P25207.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__P25207.isGetter = true; -function controller_Controller__controlledSprites__P2139_mk(s) { +function controller_Controller__controlledSprites__P25207_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P2139, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P25207, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10555,7 +8332,7 @@ function controller_Controller__controlledSprites__P2139_mk(s) { -function Fx_imul__P161(s) { +function Fx_imul__P23228(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10574,12 +8351,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_imul__P161.info = {"start":1010,"length":130,"line":32,"column":4,"endLine":34,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"imul","argumentNames":["a","b"]} +Fx_imul__P23228.info = {"start":1010,"length":130,"line":32,"column":4,"endLine":34,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"imul","argumentNames":["a","b"]} -function Fx_imul__P161_mk(s) { +function Fx_imul__P23228_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P161, depth: s.depth + 1, + parent: s, fn: Fx_imul__P23228, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -10589,7 +8366,7 @@ function Fx_imul__P161_mk(s) { -function power_checkDeepSleep__P1930(s) { +function power_checkDeepSleep__P24998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10599,13 +8376,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___11454 = undefined; - s.to___11457 = undefined; - s.tmp_0 = power_init__P4725_mk(s); - s.callLocIdx = 111; s.pc = 11; return s.tmp_0; + s.p___33739 = undefined; + s.to___33742 = undefined; + s.tmp_0 = power_init__P27798_mk(s); + s.callLocIdx = 75; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___4723; + s.tmp_0 = r0 = globals._poked___27796; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -10615,8 +8392,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___11454 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___4724; + s.p___33739 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___27797; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -10626,8 +8403,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___11457 = (s.tmp_1); - r0 = (s.to___11457 > 0); + s.to___33742 = (s.tmp_1); + r0 = (s.to___33742 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -10636,9 +8413,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___11454); + r0 = (s.tmp_2 - s.p___33739); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___11457); + r0 = (s.tmp_1 > s.to___33742); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -10664,12 +8441,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P1930.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P24998.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__P1930_mk(s) { +function power_checkDeepSleep__P24998_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P1930, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P24998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10678,15 +8455,15 @@ function power_checkDeepSleep__P1930_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___11454: undefined, - to___11457: undefined, + p___33739: undefined, + to___33742: undefined, } } -function power_init__P4725(s) { +function power_init__P27798(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10696,7 +8473,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___4724 !== undefined); + r0 = (globals._timeout___27797 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -10706,21 +8483,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___4724 = (r0); - r0 = (globals._timeout___4724 > 0); + globals._timeout___27797 = (r0); + r0 = (globals._timeout___27797 > 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___4724 < 300000); + r0 = (globals._timeout___27797 < 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___4724 = (300000); + globals._timeout___27797 = (300000); case 5: case 6: case 7: @@ -10728,12 +8505,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P4725.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P27798.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__P4725_mk(s) { +function power_init__P27798_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P4725, depth: s.depth + 1, + parent: s, fn: power_init__P27798, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10743,7 +8520,7 @@ function power_init__P4725_mk(s) { -function power_poke__P1929(s) { +function power_poke__P24997(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10753,22 +8530,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P4725_mk(s); - s.callLocIdx = 110; s.pc = 1; return s.tmp_0; + s.tmp_0 = power_init__P27798_mk(s); + s.callLocIdx = 74; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___4723 = (r0); + globals._poked___27796 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P1929.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P24997.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__P1929_mk(s) { +function power_poke__P24997_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P1929, depth: s.depth + 1, + parent: s, fn: power_poke__P24997, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -10777,7 +8554,7 @@ function power_poke__P1929_mk(s) { -function control_EventContext_registerFrameHandler__P403(s) { +function control_EventContext_registerFrameHandler__P23470(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10787,8 +8564,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___8701 = undefined; - s.i___8710 = undefined; + s.fn___30988 = undefined; + s.i___30997 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -10796,7 +8573,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C23462_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -10809,20 +8586,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__P4598_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P27671_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 51; s.pc = 8; return s.tmp_0; + 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__C392_VT); - s.fn___8701 = (r0); - r0 = (s.fn___8701).fields["order"] = (s.arg1); - r0 = (s.fn___8701).fields["handler"] = (s.arg2); - s.i___8710 = (0); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C23459_VT); + s.fn___30988 = (r0); + r0 = (s.fn___30988).fields["order"] = (s.arg1); + r0 = (s.fn___30988).fields["handler"] = (s.arg2); + s.i___30997 = (0); case 3: - s.tmp_1 = r0 = s.i___8710; + s.tmp_1 = r0 = s.i___30997; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -10833,7 +8610,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___8710); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___30997); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -10842,29 +8619,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___8710, s.fn___8701); - r0 = s.fn___8701; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___30997, s.fn___30988); + r0 = s.fn___30988; { step = 7; continue; } case 4: case 5: - r0 = (s.i___8710 + 1); - s.i___8710 = (r0); + r0 = (s.i___30997 + 1); + s.i___30997 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___8701); - r0 = s.fn___8701; + r0 = pxsim_Array__push(s.tmp_0, s.fn___30988); + r0 = s.fn___30988; case 7: return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameHandler__P403.info = {"start":4862,"length":643,"line":147,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} +control_EventContext_registerFrameHandler__P23470.info = {"start":4862,"length":643,"line":147,"column":8,"endLine":164,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"registerFrameHandler","argumentNames":["this","order","handler"]} -function control_EventContext_registerFrameHandler__P403_mk(s) { +function control_EventContext_registerFrameHandler__P23470_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P403, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P23470, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10874,8 +8651,8 @@ function control_EventContext_registerFrameHandler__P403_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___8701: undefined, - i___8710: undefined, + fn___30988: undefined, + i___30997: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -10885,7 +8662,7 @@ function control_EventContext_registerFrameHandler__P403_mk(s) { -function control_EventContext_registerFrameCallbacks__P4598(s) { +function control_EventContext_registerFrameCallbacks__P27671(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10895,13 +8672,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___8259 = undefined; + s.worker___30546 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C23462_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -10914,28 +8691,28 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___8259 = (r0); - r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P8265); + s.worker___30546 = (r0); + r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P30552); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___8259); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___30546); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P4598.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__P27671.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__P4598_mk(s) { +function control_EventContext_registerFrameCallbacks__P27671_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P4598, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P27671, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___8259: undefined, + worker___30546: undefined, arg0: undefined, } } @@ -10943,7 +8720,7 @@ function control_EventContext_registerFrameCallbacks__P4598_mk(s) { -function control_EventContext_registerFrameCallbacks_inline__P8265(s) { +function control_EventContext_registerFrameCallbacks_inline__P30552(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10953,18 +8730,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___8295 = undefined; + s.delay___30582 = 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__P8271); + r0 = pxsim_pxtcore_mkAction(1, control_EventContext_registerFrameCallbacks_inline__P30558); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P367_mk(s); + s.tmp_2 = pauseUntil__P23434_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = undefined; - s.callLocIdx = 45; s.pc = 5; return s.tmp_2; + s.callLocIdx = 44; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 1: @@ -10984,15 +8761,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = control_EventContext_runCallbacks__P4597_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P27670_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 46; s.pc = 6; return s.tmp_2; + s.callLocIdx = 45; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___8295 = (r0); - s.tmp_0 = pause__P413_mk(s); - s.tmp_0.arg0 = s.delay___8295; - s.callLocIdx = 47; s.pc = 7; return s.tmp_0; + s.delay___30582 = (r0); + s.tmp_0 = pause__P23480_mk(s); + s.tmp_0.arg0 = s.delay___30582; + s.callLocIdx = 46; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; { step = 3; continue; } @@ -11002,24 +8779,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P8265.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__P30552.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__P8265_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P30552_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P8265, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P30552, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___8295: undefined, + delay___30582: undefined, } } -function control_EventContext_registerFrameCallbacks_inline__P8271(s) { +function control_EventContext_registerFrameCallbacks_inline__P30558(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11037,12 +8814,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P8271.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__P30558.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__P8271_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P30558_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P8271, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P30558, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11052,7 +8829,7 @@ function control_EventContext_registerFrameCallbacks_inline__P8271_mk(s) { -function control_EventContext_runCallbacks__P4597(s) { +function control_EventContext_runCallbacks__P27670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11062,68 +8839,68 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___8304 = undefined; - s.f___8317 = undefined; - s.unnamed62___U2 = undefined; - s.unnamed63___U3 = undefined; - s.now___8322 = undefined; - s.runtime___8325 = undefined; - s.realTimeInSample___8344 = undefined; - s.fps___8353 = undefined; - s.delay___8422 = undefined; + s.loopStart___30591 = undefined; + s.f___30604 = undefined; + s.unnamed170___U2 = undefined; + s.unnamed171___U3 = undefined; + s.now___30609 = undefined; + s.runtime___30612 = undefined; + s.realTimeInSample___30631 = undefined; + s.fps___30640 = undefined; + s.delay___30709 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C23462_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___8304 = (r0); + s.loopStart___30591 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___8304 - s.tmp_2); + r0 = (s.loopStart___30591 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___8304); - s.f___8317 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___30591); + s.f___30604 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed62___U2 = (r0); - s.unnamed63___U3 = (0); + s.unnamed170___U2 = (r0); + s.unnamed171___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed63___U3; - r0 = pxsim_Array__length(s.unnamed62___U2); + s.tmp_0 = r0 = s.unnamed171___U3; + r0 = pxsim_Array__length(s.unnamed170___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed62___U2, s.unnamed63___U3); - s.f___8317 = (r0); + r0 = pxsim_Array__getAt(s.unnamed170___U2, s.unnamed171___U3); + s.f___30604 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___8317; + s.tmp_2.arg0 = s.f___30604; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); - s.callLocIdx = 43; s.pc = 11; return s.tmp_2; + s.callLocIdx = 42; s.pc = 11; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["handler"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["handler"], 1); s.callLocIdx = 43; s.pc = 11; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 43; s.pc = 11; return s.tmp_2;; } - else { s.callLocIdx = 43; s.pc = 11; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["handler"], 1); s.callLocIdx = 42; s.pc = 11; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 42; s.pc = 11; return s.tmp_2;; } + else { s.callLocIdx = 42; s.pc = 11; return s.tmp_2; } } case 11: r0 = s.retval; - r0 = (s.unnamed63___U3 + 1); - s.unnamed63___U3 = (r0); + r0 = (s.unnamed171___U3 + 1); + s.unnamed171___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed62___U2 = (undefined); + s.unnamed170___U2 = (undefined); r0 = pxsim.control.millis(); - s.now___8322 = (r0); - r0 = (s.now___8322 - s.loopStart___8304); - s.runtime___8325 = (r0); + s.now___30609 = (r0); + r0 = (s.now___30609 - s.loopStart___30591); + s.runtime___30612 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___8325); + r0 = (s.tmp_2 + s.runtime___30612); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -11151,9 +8928,9 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = s.arg0.fields["lastPerfDump"]; s.tmp_4 = r0; - r0 = (s.now___8322 - s.tmp_4); - s.realTimeInSample___8344 = (r0); - r0 = (s.arg0).fields["lastPerfDump"] = (s.now___8322); + r0 = (s.now___30609 - s.tmp_4); + s.realTimeInSample___30631 = (r0); + r0 = (s.arg0).fields["lastPerfDump"] = (s.now___30609); r0 = s.arg0.fields["framesInSample"]; s.tmp_0 = r0; r0 = s.arg0.fields["timeInSample"]; @@ -11161,8 +8938,8 @@ switch (step) { r0 = (s.tmp_2 / 1000); s.tmp_1 = r0; r0 = (s.tmp_0 / s.tmp_1); - s.fps___8353 = (r0); - r0 = pxsim.Math_.round(s.fps___8353); + s.fps___30640 = (r0); + r0 = pxsim.Math_.round(s.fps___30640); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 12); @@ -11174,21 +8951,21 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___397 = (r0); - r0 = (s.fps___8353 < 99); + globals.control_EventContext_lastStats___23464 = (r0); + r0 = (s.fps___30640 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___397) && (globals.control_EventContext_lastStats___397).vtable) { + if ((globals.control_EventContext_lastStats___23464) && (globals.control_EventContext_lastStats___23464).vtable) { setupResume(s, 13); - pxsim_String__stringConv(globals.control_EventContext_lastStats___397); + pxsim_String__stringConv(globals.control_EventContext_lastStats___23464); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___397) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___23464) + ""; } case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___8353 * 10); + r0 = (s.fps___30640 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -11215,7 +8992,7 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___397 = (r0); + globals.control_EventContext_lastStats___23464 = (r0); case 5: case 6: r0 = pxsim.control.profilingEnabled(); @@ -11224,7 +9001,7 @@ switch (step) { if (!r0) { step = 7; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; - r0 = (s.fps___8353 * 100); + r0 = (s.fps___30640 * 100); s.tmp_12 = r0; r0 = (s.tmp_12 | 0); s.tmp_11 = r0; @@ -11271,12 +9048,12 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, "ms/"); s.tmp_3 = r0; - if ((s.realTimeInSample___8344) && (s.realTimeInSample___8344).vtable) { + if ((s.realTimeInSample___30631) && (s.realTimeInSample___30631).vtable) { setupResume(s, 19); - pxsim_String__stringConv(s.realTimeInSample___8344); + pxsim_String__stringConv(s.realTimeInSample___30631); checkResumeConsumed(); return; - } else { s.retval = (s.realTimeInSample___8344) + ""; } + } else { s.retval = (s.realTimeInSample___30631) + ""; } case 19: r0 = s.retval; s.tmp_17 = r0; @@ -11293,24 +9070,24 @@ switch (step) { r0 = (s.arg0).fields["framesInSample"] = (0); case 9: case 10: - s.tmp_0 = Math_max__P130_mk(s); + s.tmp_0 = Math_max__P23197_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___8325); + r0 = (20 - s.runtime___30612); s.tmp_0.arg1 = r0; - s.callLocIdx = 44; s.pc = 20; return s.tmp_0; + s.callLocIdx = 43; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.delay___8422 = (r0); - r0 = s.delay___8422; + s.delay___30709 = (r0); + r0 = s.delay___30709; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P4597.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__P27670.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__P4597_mk(s) { +function control_EventContext_runCallbacks__P27670_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P4597, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P27670, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11330,15 +9107,15 @@ function control_EventContext_runCallbacks__P4597_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - loopStart___8304: undefined, - f___8317: undefined, - unnamed62___U2: undefined, - unnamed63___U3: undefined, - now___8322: undefined, - runtime___8325: undefined, - realTimeInSample___8344: undefined, - fps___8353: undefined, - delay___8422: undefined, + loopStart___30591: undefined, + f___30604: undefined, + unnamed170___U2: undefined, + unnamed171___U3: undefined, + now___30609: undefined, + runtime___30612: undefined, + realTimeInSample___30631: undefined, + fps___30640: undefined, + delay___30709: undefined, arg0: undefined, } } @@ -11346,7 +9123,7 @@ function control_EventContext_runCallbacks__P4597_mk(s) { -function pauseUntil__P367(s) { +function pauseUntil__P23434(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11373,7 +9150,7 @@ switch (step) { s.tmp_2 = lambda_1_mk(s); s.tmp_2.argL = s.arg0; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 30; s.pc = 8; return s.tmp_2; + s.callLocIdx = 29; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; case 2: @@ -11393,11 +9170,11 @@ switch (step) { s.arg1 = (0); case 5: case 6: - s.tmp_0 = control___queuePollEvent__P366_mk(s); + s.tmp_0 = control___queuePollEvent__P23433_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; - s.callLocIdx = 31; s.pc = 9; return s.tmp_0; + s.callLocIdx = 30; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; case 7: @@ -11405,12 +9182,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pauseUntil__P367.info = {"start":2224,"length":227,"line":73,"column":0,"endLine":77,"endColumn":1,"fileName":"pxt_modules/base/poll.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} +pauseUntil__P23434.info = {"start":2224,"length":227,"line":73,"column":0,"endLine":77,"endColumn":1,"fileName":"pxt_modules/base/poll.ts","functionName":"pauseUntil","argumentNames":["condition","timeOut"]} -function pauseUntil__P367_mk(s) { +function pauseUntil__P23434_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P367, depth: s.depth + 1, + parent: s, fn: pauseUntil__P23434, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11426,7 +9203,7 @@ function pauseUntil__P367_mk(s) { -function control___queuePollEvent__P366(s) { +function control___queuePollEvent__P23433(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11436,16 +9213,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___8444 = undefined; + s.ev___30731 = 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__C4571_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C27644_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P4572_mk(s); + s.tmp_1 = control_PollEvent_constructor__P27645_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1023; r0 = pxsim.control.allocateNotifyEvent(); @@ -11458,11 +9235,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1.arg6 = r0; - s.callLocIdx = 28; s.pc = 5; return s.tmp_1; + s.callLocIdx = 27; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___8444 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___4574); + s.ev___30731 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___27647); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -11470,30 +9247,30 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, s.ev___8444); - globals._pollEventQueue___4574 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P4575); + r0 = pxsim_Array__push(s.tmp_2, s.ev___30731); + globals._pollEventQueue___27647 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P27648); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___4574, s.ev___8444); + r0 = pxsim_Array__push(globals._pollEventQueue___27647, s.ev___30731); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P391_mk(s); - r0 = s.ev___8444.fields["eid"]; + s.tmp_0 = control_onEvent__P23458_mk(s); + r0 = s.ev___30731.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___8444.fields["vid"]; + r0 = s.ev___30731.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; - s.callLocIdx = 29; s.pc = 6; return s.tmp_0; + s.callLocIdx = 28; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___8444.fields["eid"]; + r0 = s.ev___30731.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___8444.fields["vid"]; + r0 = s.ev___30731.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -11506,17 +9283,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___queuePollEvent__P366.info = {"start":1262,"length":758,"line":39,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} +control___queuePollEvent__P23433.info = {"start":1262,"length":758,"line":39,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"__queuePollEvent","argumentNames":["timeOut","condition","handler"]} -function control___queuePollEvent__P366_mk(s) { +function control___queuePollEvent__P23433_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P366, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P23433, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___8444: undefined, + ev___30731: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11526,7 +9303,7 @@ function control___queuePollEvent__P366_mk(s) { -function control_pollEvents__P4575(s) { +function control_pollEvents__P27648(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11536,39 +9313,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___8557 = undefined; - s.i___8560 = undefined; - s.ev___8566 = undefined; + s.now___30844 = undefined; + s.i___30847 = undefined; + s.ev___30853 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___4574); + r0 = pxsim_Array__length(globals._pollEventQueue___27647); 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___8557 = (r0); - s.i___8560 = (0); + s.now___30844 = (r0); + s.i___30847 = (0); case 2: - s.tmp_1 = r0 = s.i___8560; - r0 = pxsim_Array__length(globals._pollEventQueue___4574); + s.tmp_1 = r0 = s.i___30847; + r0 = pxsim_Array__length(globals._pollEventQueue___27647); 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___4574, s.i___8560); - s.ev___8566 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___27647, s.i___30847); + s.ev___30853 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___8566; + s.tmp_1.arg0 = s.ev___30853; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); - s.callLocIdx = 25; s.pc = 13; return s.tmp_1; + s.callLocIdx = 24; s.pc = 13; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["condition"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["condition"], 1); s.callLocIdx = 25; s.pc = 13; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 25; s.pc = 13; return s.tmp_1;; } - else { s.callLocIdx = 25; s.pc = 13; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["condition"], 1); s.callLocIdx = 24; s.pc = 13; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 24; s.pc = 13; return s.tmp_1;; } + else { s.callLocIdx = 24; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; @@ -11578,7 +9355,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___8566.fields["timeOut"]; + r0 = s.ev___30853.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -11587,11 +9364,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___8566.fields["start"]; + r0 = s.ev___30853.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___8557 - s.tmp_5); + r0 = (s.now___30844 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___8566.fields["timeOut"]; + r0 = s.ev___30853.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -11603,50 +9380,50 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___8566.fields["eid"]; + r0 = s.ev___30853.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___8566.fields["vid"]; + r0 = s.ev___30853.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___8566.fields["once"]; + r0 = s.ev___30853.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P100_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___4574; - s.tmp_1.arg1 = s.i___8560; + s.tmp_1 = helpers_arraySplice__P23167_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___27647; + s.tmp_1.arg1 = s.i___30847; s.tmp_1.arg2 = 1; - s.callLocIdx = 26; s.pc = 14; return s.tmp_1; + s.callLocIdx = 25; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___8560 - 1); - s.i___8560 = (r0); + r0 = (s.i___30847 - 1); + s.i___30847 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___8560 + 1); - s.i___8560 = (r0); + r0 = (s.i___30847 + 1); + s.i___30847 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P413_mk(s); + s.tmp_0 = pause__P23480_mk(s); s.tmp_0.arg0 = 50; - s.callLocIdx = 27; s.pc = 15; return s.tmp_0; + s.callLocIdx = 26; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; { step = 1; continue; } case 12: - globals._pollEventQueue___4574 = (undefined); + globals._pollEventQueue___27647 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P4575.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P27648.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__P4575_mk(s) { +function control_pollEvents__P27648_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P4575, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P27648, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11659,16 +9436,16 @@ function control_pollEvents__P4575_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___8557: undefined, - i___8560: undefined, - ev___8566: undefined, + now___30844: undefined, + i___30847: undefined, + ev___30853: undefined, } } -function helpers_arraySplice__P100(s) { +function helpers_arraySplice__P23167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11678,7 +9455,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___8614 = undefined; + s.i___30901 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11692,15 +9469,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___8614 = (0); + s.i___30901 = (0); case 3: - r0 = (s.i___8614 < s.arg2); + r0 = (s.i___30901 < 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___8614 + 1); - s.i___8614 = (r0); + r0 = (s.i___30901 + 1); + s.i___30901 = (r0); { step = 3; continue; } case 4: case 5: @@ -11708,15 +9485,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySplice__P100.info = {"start":3642,"length":213,"line":137,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySplice","argumentNames":["arr","start","len"]} +helpers_arraySplice__P23167.info = {"start":3642,"length":213,"line":137,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySplice","argumentNames":["arr","start","len"]} -function helpers_arraySplice__P100_mk(s) { +function helpers_arraySplice__P23167_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P100, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P23167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___8614: undefined, + i___30901: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -11726,7 +9503,7 @@ function helpers_arraySplice__P100_mk(s) { -function control_PollEvent_constructor__P4572(s) { +function control_PollEvent_constructor__P27645(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11747,7 +9524,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C4571_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C27644_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -11758,12 +9535,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P4572.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__P27645.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__P4572_mk(s) { +function control_PollEvent_constructor__P27645_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P4572, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P27645, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -11778,7 +9555,7 @@ function control_PollEvent_constructor__P4572_mk(s) { -function control_EventContext_deltaTime__P400(s) { +function control_EventContext_deltaTime__P23467(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11793,20 +9570,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C23462_VT)) failedCast(r0); r0 = s.arg0.fields["deltaTimeMillis"]; s.tmp_0 = r0; r0 = (s.tmp_0 / 1000); return leaveAccessor(s, r0) default: oops() } } } -control_EventContext_deltaTime__P400.info = {"start":2135,"length":75,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"deltaTime","argumentNames":["this"]} -control_EventContext_deltaTime__P400.isGetter = true; +control_EventContext_deltaTime__P23467.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__P23467.isGetter = true; -function control_EventContext_deltaTime__P400_mk(s) { +function control_EventContext_deltaTime__P23467_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P400, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P23467, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11816,7 +9593,7 @@ function control_EventContext_deltaTime__P400_mk(s) { -function helpers_arrayForEach__P109(s) { +function helpers_arrayForEach__P23176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11826,49 +9603,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___8030 = undefined; - s.i___8033 = undefined; + s.len___30310 = undefined; + s.i___30313 = 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___8030 = (r0); - s.i___8033 = (0); + s.len___30310 = (r0); + s.i___30313 = (0); case 1: - r0 = (s.i___8033 < s.len___8030); + r0 = (s.i___30313 < s.len___30310); 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___8033); + r0 = pxsim_Array__getAt(s.arg0, s.i___30313); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___8033; + s.tmp_1.arg1 = s.i___30313; setupLambda(s.tmp_1, s.tmp_1.argL); - s.callLocIdx = 6; s.pc = 3; return s.tmp_1; + s.callLocIdx = 5; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.i___8033 + 1); - s.i___8033 = (r0); + r0 = (s.i___30313 + 1); + s.i___30313 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arrayForEach__P109.info = {"start":7439,"length":250,"line":254,"column":4,"endLine":259,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayForEach","argumentNames":["arr","callbackfn"]} +helpers_arrayForEach__P23176.info = {"start":7439,"length":250,"line":254,"column":4,"endLine":259,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayForEach","argumentNames":["arr","callbackfn"]} -function helpers_arrayForEach__P109_mk(s) { +function helpers_arrayForEach__P23176_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P109, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P23176, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___8030: undefined, - i___8033: undefined, + len___30310: undefined, + i___30313: undefined, arg0: undefined, arg1: undefined, } } @@ -11877,7 +9654,7 @@ function helpers_arrayForEach__P109_mk(s) { -function scene_Scene_constructor__P2866(s) { +function scene_Scene_constructor__P25934(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11894,36 +9671,36 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2843_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C25911_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__C2527_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C25595_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P2528_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P25596_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; s.tmp_1.arg3 = 4; - s.callLocIdx = 956; s.pc = 1; return s.tmp_1; + s.callLocIdx = 922; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C2781_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C25849_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P2785_mk(s); + s.tmp_1 = scene_Camera_constructor__P25853_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 957; s.pc = 2; return s.tmp_1; + s.callLocIdx = 923; 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__C2669_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C25737_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P2673_mk(s); + s.tmp_1 = scene_Background_constructor__P25741_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 958; s.pc = 3; return s.tmp_1; + s.callLocIdx = 924; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["background"] = (s.tmp_0); @@ -11980,12 +9757,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P2866.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__P25934.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__P2866_mk(s) { +function scene_Scene_constructor__P25934_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P2866, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P25934, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11998,7 +9775,7 @@ function scene_Scene_constructor__P2866_mk(s) { -function scene_Camera_constructor__P2785(s) { +function scene_Camera_constructor__P25853(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12013,7 +9790,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2781_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -12022,12 +9799,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P2785.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__P25853.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__P2785_mk(s) { +function scene_Camera_constructor__P25853_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P2785, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P25853, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12036,7 +9813,7 @@ function scene_Camera_constructor__P2785_mk(s) { -function scene_Background_constructor__P2673(s) { +function scene_Background_constructor__P25741(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12052,7 +9829,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2669_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C25737_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -12063,12 +9840,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P2673.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__P25741.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__P2673_mk(s) { +function scene_Background_constructor__P25741_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P2673, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P25741, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12080,7 +9857,7 @@ function scene_Background_constructor__P2673_mk(s) { -function ArcadePhysicsEngine_constructor__P2528(s) { +function ArcadePhysicsEngine_constructor__P25596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12098,48 +9875,48 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_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__C2446_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C25514_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P2447_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P25515_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 577; s.pc = 1; return s.tmp_1; + s.callLocIdx = 541; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["map"] = (s.tmp_0); - s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P2530_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P25598_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 578; s.pc = 2; return s.tmp_0; + s.callLocIdx = 542; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P2534_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P25602_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; - s.callLocIdx = 579; s.pc = 3; return s.tmp_0; + s.callLocIdx = 543; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P2532_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P25600_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 580; s.pc = 4; return s.tmp_0; + s.callLocIdx = 544; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P2528.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__P25596.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__P2528_mk(s) { +function ArcadePhysicsEngine_constructor__P25596_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P2528, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P25596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12153,7 +9930,7 @@ function ArcadePhysicsEngine_constructor__P2528_mk(s) { -function ArcadePhysicsEngine_maxStep__P2534(s) { +function ArcadePhysicsEngine_maxStep__P25602(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12169,7 +9946,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -12180,12 +9957,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P2534.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__P25602.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__P2534_mk(s) { +function ArcadePhysicsEngine_maxStep__P25602_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P2534, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P25602, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12198,7 +9975,7 @@ function ArcadePhysicsEngine_maxStep__P2534_mk(s) { -function ArcadePhysicsEngine_maxStep__P2533(s) { +function ArcadePhysicsEngine_maxStep__P25601(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12213,7 +9990,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -12222,13 +9999,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P2533.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__P2533.isGetter = true; +ArcadePhysicsEngine_maxStep__P25601.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__P25601.isGetter = true; -function ArcadePhysicsEngine_maxStep__P2533_mk(s) { +function ArcadePhysicsEngine_maxStep__P25601_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P2533, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P25601, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12239,7 +10016,7 @@ function ArcadePhysicsEngine_maxStep__P2533_mk(s) { -function Fx_toInt__P172(s) { +function Fx_toInt__P23239(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12259,12 +10036,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P172.info = {"start":2379,"length":86,"line":74,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} +Fx_toInt__P23239.info = {"start":2379,"length":86,"line":74,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toInt","argumentNames":["v"]} -function Fx_toInt__P172_mk(s) { +function Fx_toInt__P23239_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P172, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P23239, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12274,7 +10051,7 @@ function Fx_toInt__P172_mk(s) { -function ArcadePhysicsEngine_minStep__P2532(s) { +function ArcadePhysicsEngine_minStep__P25600(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12290,7 +10067,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -12301,12 +10078,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P2532.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__P25600.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__P2532_mk(s) { +function ArcadePhysicsEngine_minStep__P25600_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P2532, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P25600, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12319,7 +10096,7 @@ function ArcadePhysicsEngine_minStep__P2532_mk(s) { -function ArcadePhysicsEngine_minStep__P2531(s) { +function ArcadePhysicsEngine_minStep__P25599(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12334,7 +10111,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -12343,13 +10120,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P2531.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__P2531.isGetter = true; +ArcadePhysicsEngine_minStep__P25599.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__P25599.isGetter = true; -function ArcadePhysicsEngine_minStep__P2531_mk(s) { +function ArcadePhysicsEngine_minStep__P25599_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P2531, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P25599, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12360,7 +10137,7 @@ function ArcadePhysicsEngine_minStep__P2531_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P2530(s) { +function ArcadePhysicsEngine_maxSpeed__P25598(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12376,7 +10153,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -12393,12 +10170,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P2530.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__P25598.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__P2530_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P25598_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2530, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P25598, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12411,7 +10188,7 @@ function ArcadePhysicsEngine_maxSpeed__P2530_mk(s) { -function Fx_neg__P155(s) { +function Fx_neg__P23222(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12429,12 +10206,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_neg__P155.info = {"start":311,"length":88,"line":14,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"neg","argumentNames":["a"]} +Fx_neg__P23222.info = {"start":311,"length":88,"line":14,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"neg","argumentNames":["a"]} -function Fx_neg__P155_mk(s) { +function Fx_neg__P23222_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P155, depth: s.depth + 1, + parent: s, fn: Fx_neg__P23222, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12443,7 +10220,7 @@ function Fx_neg__P155_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P2529(s) { +function ArcadePhysicsEngine_maxSpeed__P25597(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12458,7 +10235,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -12467,13 +10244,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P2529.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__P2529.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P25597.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__P25597.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P2529_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P25597_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2529, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P25597, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12484,7 +10261,7 @@ function ArcadePhysicsEngine_maxSpeed__P2529_mk(s) { -function PhysicsEngine_constructor__P2512(s) { +function PhysicsEngine_constructor__P25580(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12499,17 +10276,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2511_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C25579_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P2512.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__P25580.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__P2512_mk(s) { +function PhysicsEngine_constructor__P25580_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P2512, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P25580, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12518,7 +10295,7 @@ function PhysicsEngine_constructor__P2512_mk(s) { -function sprites_SpriteMap_constructor__P2447(s) { +function sprites_SpriteMap_constructor__P25515(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12533,7 +10310,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2446_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C25514_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -12542,12 +10319,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P2447.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__P25515.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__P2447_mk(s) { +function sprites_SpriteMap_constructor__P25515_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P2447, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P25515, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12558,7 +10335,7 @@ function sprites_SpriteMap_constructor__P2447_mk(s) { -function control_pushEventContext__P409(s) { +function control_pushEventContext__P23476(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12568,63 +10345,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___13048 = undefined; - s.n___13054 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4600); + s.ctx___35360 = undefined; + s.n___35366 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___27673); 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___4600 = (r0); + globals.eventContexts___27673 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P408_mk(s); - s.callLocIdx = 54; s.pc = 5; return s.tmp_0; + s.tmp_0 = control_eventContext__P23475_mk(s); + s.callLocIdx = 53; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___13048 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___13048); + s.ctx___35360 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___35360); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P402_mk(s); - s.tmp_0.arg0 = s.ctx___13048; - s.callLocIdx = 55; s.pc = 6; return s.tmp_0; + s.tmp_0 = control_EventContext_unregister__P23469_mk(s); + s.tmp_0.arg0 = s.ctx___35360; + 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__C395_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C23462_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P399_mk(s); + s.tmp_1 = control_EventContext_constructor__P23466_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 56; s.pc = 7; return s.tmp_1; + s.callLocIdx = 55; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___13054 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___4600, s.n___13054); - r0 = s.n___13054; + s.n___35366 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___27673, s.n___35366); + r0 = s.n___35366; return leave(s, r0) default: oops() } } } -control_pushEventContext__P409.info = {"start":7310,"length":340,"line":220,"column":4,"endLine":231,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P23476.info = {"start":7310,"length":340,"line":220,"column":4,"endLine":231,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} -function control_pushEventContext__P409_mk(s) { +function control_pushEventContext__P23476_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P409, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P23476, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___13048: undefined, - n___13054: undefined, + ctx___35360: undefined, + n___35366: undefined, } } -function control_EventContext_unregister__P402(s) { +function control_EventContext_unregister__P23469(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12634,37 +10411,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___8666 = undefined; - s.unnamed66___U1 = undefined; - s.unnamed67___U2 = undefined; + s.h___30953 = undefined; + s.unnamed174___U1 = undefined; + s.unnamed175___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); - s.h___8666 = (undefined); + if (!checkSubtype(r0, control_EventContext__C23462_VT)) failedCast(r0); + s.h___30953 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed66___U1 = (r0); - s.unnamed67___U2 = (0); + s.unnamed174___U1 = (r0); + s.unnamed175___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed67___U2; - r0 = pxsim_Array__length(s.unnamed66___U1); + s.tmp_0 = r0 = s.unnamed175___U2; + r0 = pxsim_Array__length(s.unnamed174___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed66___U1, s.unnamed67___U2); - s.h___8666 = (r0); - s.tmp_2 = control_EventHandler_unregister__P4594_mk(s); - s.tmp_2.arg0 = s.h___8666; - s.callLocIdx = 50; s.pc = 3; return s.tmp_2; + r0 = pxsim_Array__getAt(s.unnamed174___U1, s.unnamed175___U2); + s.h___30953 = (r0); + s.tmp_2 = control_EventHandler_unregister__P27667_mk(s); + s.tmp_2.arg0 = s.h___30953; + s.callLocIdx = 49; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed67___U2 + 1); - s.unnamed67___U2 = (r0); + r0 = (s.unnamed175___U2 + 1); + s.unnamed175___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed66___U1 = (undefined); + s.unnamed174___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -12675,19 +10452,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P402.info = {"start":4721,"length":131,"line":141,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} +control_EventContext_unregister__P23469.info = {"start":4721,"length":131,"line":141,"column":8,"endLine":145,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"unregister","argumentNames":["this"]} -function control_EventContext_unregister__P402_mk(s) { +function control_EventContext_unregister__P23469_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P402, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P23469, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___8666: undefined, - unnamed66___U1: undefined, - unnamed67___U2: undefined, + h___30953: undefined, + unnamed174___U1: undefined, + unnamed175___U2: undefined, arg0: undefined, } } @@ -12695,7 +10472,7 @@ function control_EventContext_unregister__P402_mk(s) { -function control_EventHandler_unregister__P4594(s) { +function control_EventHandler_unregister__P27667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12710,24 +10487,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C4592_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C27665_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__P4596, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P27669, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P4594.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__P27667.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__P4594_mk(s) { +function control_EventHandler_unregister__P27667_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P4594, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P27667, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12739,7 +10516,7 @@ function control_EventHandler_unregister__P4594_mk(s) { -function control_doNothing__P4596(s) { +function control_doNothing__P27669(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12753,12 +10530,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P4596.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P27669.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__P4596_mk(s) { +function control_doNothing__P27669_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P4596, depth: s.depth + 1, + parent: s, fn: control_doNothing__P27669, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -12766,7 +10543,7 @@ function control_doNothing__P4596_mk(s) { -function control_EventContext_constructor__P399(s) { +function control_EventContext_constructor__P23466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12781,7 +10558,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C23462_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -12791,26 +10568,26 @@ switch (step) { r0 = (s.arg0).fields["deltaTimeMillis"] = (0); r0 = (s.arg0).fields["frameWorker"] = (0); r0 = (s.arg0).fields["idleCallbacks"] = (undefined); - r0 = pxsim_numops_toBoolDecr(globals.control_EventContext_lastStats___397); + r0 = pxsim_numops_toBoolDecr(globals.control_EventContext_lastStats___23464); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = pxsim_String_.mkEmpty(); - globals.control_EventContext_lastStats___397 = (r0); + globals.control_EventContext_lastStats___23464 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P399.info = {"start":1778,"length":347,"line":59,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} +control_EventContext_constructor__P23466.info = {"start":1778,"length":347,"line":59,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"inline","argumentNames":["this"]} -function control_EventContext_constructor__P399_mk(s) { +function control_EventContext_constructor__P23466_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P399, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P23466, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12821,7 +10598,7 @@ function control_EventContext_constructor__P399_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P2205(s) { +function controller_pauseUntilAnyButtonIsPressed__P25273(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12841,12 +10618,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P2205.info = {"start":9968,"length":96,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P25273.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__P2205_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P25273_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P2205, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P25273, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -12854,7 +10631,7 @@ function controller_pauseUntilAnyButtonIsPressed__P2205_mk(s) { -function game_setWaitAnyButton__P3017(s) { +function game_setWaitAnyButton__P26085(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12868,17 +10645,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___5104 = (s.arg0); + globals.__waitAnyButton___28177 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P3017.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__P26085.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__P3017_mk(s) { +function game_setWaitAnyButton__P26085_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P3017, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P26085, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12887,7 +10664,7 @@ function game_setWaitAnyButton__P3017_mk(s) { -function Math_FastRandom_constructor__P3078(s) { +function Math_FastRandom_constructor__P26146(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12903,7 +10680,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C3076_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C26144_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -12918,12 +10695,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P3078.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__P26146.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__P3078_mk(s) { +function Math_FastRandom_constructor__P26146_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P3078, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P26146, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12934,7 +10711,7 @@ function Math_FastRandom_constructor__P3078_mk(s) { -function game_consoleOverlay_listener__P5434(s) { +function game_consoleOverlay_listener__P28507(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12949,7 +10726,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5399); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___28472); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -12969,39 +10746,39 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_4 = helpers_arrayForEach__P109_mk(s); - s.tmp_5 = helpers_arrayFilter__P110_mk(s); - s.tmp_6 = helpers_stringSplit__P122_mk(s); + s.tmp_4 = helpers_arrayForEach__P23176_mk(s); + s.tmp_5 = helpers_arrayFilter__P23177_mk(s); + s.tmp_6 = helpers_stringSplit__P23189_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1180; s.pc = 10; return s.tmp_6; + s.callLocIdx = 1146; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = forEach_inline__P13297; - s.callLocIdx = 1181; s.pc = 9; return s.tmp_5; + s.tmp_5.arg1 = forEach_inline__P35609; + s.callLocIdx = 1147; 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__P13302; - s.callLocIdx = 1183; s.pc = 8; return s.tmp_4; + s.tmp_4.arg1 = game_consoleOverlay_listener_inline__P35614; + s.callLocIdx = 1149; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___5399); + r0 = pxsim_Array__length(globals.consoleStrings___28472); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___5412); + r0 = (s.tmp_1 > globals.consoleLines___28485); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P100_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___5399; + s.tmp_2 = helpers_arraySplice__P23167_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___28472; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___5399); + r0 = pxsim_Array__length(globals.consoleStrings___28472); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___5412); + r0 = (s.tmp_3 - globals.consoleLines___28485); s.tmp_2.arg2 = r0; - s.callLocIdx = 1184; s.pc = 11; return s.tmp_2; + s.callLocIdx = 1150; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; case 5: @@ -13011,12 +10788,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P5434.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__P28507.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__P5434_mk(s) { +function game_consoleOverlay_listener__P28507_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P5434, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P28507, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13033,7 +10810,7 @@ function game_consoleOverlay_listener__P5434_mk(s) { -function forEach_inline__P13297(s) { +function forEach_inline__P35609(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13057,12 +10834,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P13297.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__P35609.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__P13297_mk(s) { +function forEach_inline__P35609_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P13297, depth: s.depth + 1, + parent: s, fn: forEach_inline__P35609, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13074,7 +10851,7 @@ function forEach_inline__P13297_mk(s) { -function game_consoleOverlay_listener_inline__P13302(s) { +function game_consoleOverlay_listener_inline__P35614(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13084,45 +10861,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___13304 = undefined; + s.j___35616 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___13304 = (0); + s.j___35616 = (0); case 1: - s.tmp_1 = r0 = s.j___13304; + s.tmp_1 = r0 = s.j___35616; 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___5399; - s.tmp_5 = helpers_stringSlice__P119_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___28472; + s.tmp_5 = helpers_stringSlice__P23186_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___13304; - r0 = (s.j___13304 + globals.consoleColumns___5422); + s.tmp_5.arg1 = s.j___35616; + r0 = (s.j___35616 + globals.consoleColumns___28495); s.tmp_5.arg2 = r0; - s.callLocIdx = 1182; s.pc = 3; return s.tmp_5; + s.callLocIdx = 1148; 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___13304 + globals.consoleColumns___5422); - s.j___13304 = (r0); + r0 = (s.j___35616 + globals.consoleColumns___28495); + s.j___35616 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener_inline__P13302.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__P35614.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__P13302_mk(s) { +function game_consoleOverlay_listener_inline__P35614_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener_inline__P13302, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener_inline__P35614, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13130,7 +10907,7 @@ function game_consoleOverlay_listener_inline__P13302_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___13304: undefined, + j___35616: undefined, arg0: undefined, } } @@ -13138,7 +10915,7 @@ function game_consoleOverlay_listener_inline__P13302_mk(s) { -function console_addListener__P383(s) { +function console_addListener__P23450(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13161,7 +10938,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___4578, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___27651, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -13172,18 +10949,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___4578, s.arg0); + r0 = pxsim_Array__push(globals.listeners___27651, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -console_addListener__P383.info = {"start":3558,"length":197,"line":121,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]} +console_addListener__P23450.info = {"start":3558,"length":197,"line":121,"column":4,"endLine":124,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"addListener","argumentNames":["listener"]} -function console_addListener__P383_mk(s) { +function console_addListener__P23450_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P383, depth: s.depth + 1, + parent: s, fn: console_addListener__P23450, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13196,7 +10973,7 @@ function console_addListener__P383_mk(s) { -function listeners_inline__P4577(s) { +function listeners_inline__P27650(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13216,12 +10993,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -listeners_inline__P4577.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__P27650.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__P4577_mk(s) { +function listeners_inline__P27650_mk(s) { checkStack(s.depth); return { - parent: s, fn: listeners_inline__P4577, depth: s.depth + 1, + parent: s, fn: listeners_inline__P27650, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -13231,7 +11008,7 @@ function listeners_inline__P4577_mk(s) { -function scene_systemMenu_register__P3123(s) { +function scene_systemMenu_register__P26191(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13241,16 +11018,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___5353); + r0 = pxsim_numops_toBoolDecr(globals.instance___28426); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P2196_mk(s); - s.tmp_0.arg0 = globals.menu___2119; + s.tmp_0 = controller_Button_onEvent__P25264_mk(s); + s.tmp_0.arg0 = globals.menu___25187; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P3124; - s.callLocIdx = 1167; s.pc = 4; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P26192; + s.callLocIdx = 1133; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -13258,12 +11035,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P3123.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__P26191.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__P3123_mk(s) { +function scene_systemMenu_register__P26191_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P3123, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P26191, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -13272,7 +11049,7 @@ function scene_systemMenu_register__P3123_mk(s) { -function scene_systemMenu_showSystemMenu__P3124(s) { +function scene_systemMenu_showSystemMenu__P26192(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13282,28 +11059,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___5353); + r0 = pxsim_numops_toBoolDecr(globals.instance___28426); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P3020_mk(s); - s.callLocIdx = 1168; s.pc = 4; return s.tmp_0; + s.tmp_0 = game_pushScene__P26088_mk(s); + s.callLocIdx = 1134; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C3112_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C26180_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P3113_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P26181_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P3120; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P26188; s.tmp_1.arg2 = undefined; - s.callLocIdx = 1169; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1135; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___5353 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P3114_mk(s); - s.tmp_0.arg0 = globals.instance___5353; - s.callLocIdx = 1170; s.pc = 6; return s.tmp_0; + globals.instance___28426 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P26182_mk(s); + s.tmp_0.arg0 = globals.instance___28426; + s.callLocIdx = 1136; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -13311,12 +11088,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P3124.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__P26192.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__P3124_mk(s) { +function scene_systemMenu_showSystemMenu__P26192_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P3124, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P26192, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13326,7 +11103,7 @@ function scene_systemMenu_showSystemMenu__P3124_mk(s) { -function scene_systemMenu_buildOptionList__P3120(s) { +function scene_systemMenu_buildOptionList__P26188(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13336,136 +11113,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___14413 = undefined; + s.options___36725 = undefined; r0 = pxsim_Array__mk(); - s.options___14413 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3104_VT); + s.options___36725 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26172_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3105_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26173_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___3134; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14421; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P5359; - s.callLocIdx = 1150; s.pc = 5; return s.tmp_1; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___26202; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P36733; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P28432; + s.callLocIdx = 1116; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14413, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3104_VT); + r0 = pxsim_Array__push(s.options___36725, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26172_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3105_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26173_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___3131; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14435; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P5358; - s.callLocIdx = 1152; s.pc = 6; return s.tmp_1; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___26199; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P36747; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P28431; + s.callLocIdx = 1118; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14413, s.tmp_0); + r0 = pxsim_Array__push(s.options___36725, 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__C3104_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26172_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P3105_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P26173_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___3132; - s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P14450; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P5361; - s.callLocIdx = 1155; s.pc = 7; return s.tmp_2; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___26200; + s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P36762; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P28434; + s.callLocIdx = 1121; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14413, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3104_VT); + r0 = pxsim_Array__push(s.options___36725, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26172_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3105_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26173_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___3137; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14465; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P5360; - s.callLocIdx = 1157; s.pc = 8; return s.tmp_1; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___26205; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P36777; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P28433; + s.callLocIdx = 1123; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14413, s.tmp_0); + r0 = pxsim_Array__push(s.options___36725, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3104_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26172_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3105_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26173_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___3138; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14480; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P5363; - s.callLocIdx = 1158; s.pc = 9; return s.tmp_1; + s.tmp_1.arg1 = globals.STATS_ICON___26206; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P36792; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P28436; + s.callLocIdx = 1124; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14413, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3104_VT); + r0 = pxsim_Array__push(s.options___36725, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26172_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3105_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26173_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___3136; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14489; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P5364; - s.callLocIdx = 1160; s.pc = 10; return s.tmp_1; + s.tmp_1.arg1 = globals.CONSOLE_ICON___26204; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P36801; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P28437; + s.callLocIdx = 1126; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14413, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3104_VT); + r0 = pxsim_Array__push(s.options___36725, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26172_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3105_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26173_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___3135; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14498; - s.tmp_1.arg3 = scene_systemMenu_sleep__P5365; - s.callLocIdx = 1161; s.pc = 11; return s.tmp_1; + s.tmp_1.arg1 = globals.SLEEP_ICON___26203; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P36810; + s.tmp_1.arg3 = scene_systemMenu_sleep__P28438; + s.callLocIdx = 1127; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14413, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___5354); + r0 = pxsim_Array__push(s.options___36725, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___28427); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P113_mk(s); - s.tmp_0.arg0 = s.options___14413; - s.tmp_0.arg1 = globals.customMenuOptions___5354; - s.callLocIdx = 1162; s.pc = 12; return s.tmp_0; + s.tmp_0 = helpers_arrayConcat__P23180_mk(s); + s.tmp_0.arg0 = s.options___36725; + s.tmp_0.arg1 = globals.customMenuOptions___28427; + s.callLocIdx = 1128; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___14413 = (r0); + s.options___36725 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3104_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C26172_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3105_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P26173_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___3133; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P14511; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P3119; - s.callLocIdx = 1163; s.pc = 13; return s.tmp_1; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___26201; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P36823; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P26187; + s.callLocIdx = 1129; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___14413, s.tmp_0); - r0 = s.options___14413; + r0 = pxsim_Array__push(s.options___36725, s.tmp_0); + r0 = s.options___36725; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P3120.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__P26188.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__P3120_mk(s) { +function scene_systemMenu_buildOptionList__P26188_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P3120, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P26188, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___14413: undefined, + options___36725: undefined, } } -function scene_systemMenu_buildOptionList_inline__P14421(s) { +function scene_systemMenu_buildOptionList_inline__P36733(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13475,8 +11252,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P1621_mk(s); - s.callLocIdx = 1149; s.pc = 1; return s.tmp_3; + s.tmp_3 = music_volume__P24689_mk(s); + s.callLocIdx = 1115; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -13495,12 +11272,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14421.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__P36733.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__P14421_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36733_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14421, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36733, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13512,7 +11289,7 @@ function scene_systemMenu_buildOptionList_inline__P14421_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14435(s) { +function scene_systemMenu_buildOptionList_inline__P36747(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13522,8 +11299,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P1621_mk(s); - s.callLocIdx = 1151; s.pc = 1; return s.tmp_3; + s.tmp_3 = music_volume__P24689_mk(s); + s.callLocIdx = 1117; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -13542,12 +11319,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14435.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__P36747.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__P14435_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36747_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14435, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36747, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13559,7 +11336,7 @@ function scene_systemMenu_buildOptionList_inline__P14435_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14450(s) { +function scene_systemMenu_buildOptionList_inline__P36762(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13569,7 +11346,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___1951; + r0 = globals.brightness___25019; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -13586,12 +11363,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14450.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__P36762.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__P14450_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36762_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14450, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36762, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13602,7 +11379,7 @@ function scene_systemMenu_buildOptionList_inline__P14450_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14465(s) { +function scene_systemMenu_buildOptionList_inline__P36777(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13612,7 +11389,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___1951; + r0 = globals.brightness___25019; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -13629,12 +11406,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14465.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__P36777.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__P14465_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36777_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14465, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36777, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13645,7 +11422,7 @@ function scene_systemMenu_buildOptionList_inline__P14465_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14480(s) { +function scene_systemMenu_buildOptionList_inline__P36792(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13655,7 +11432,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___2968); + r0 = pxsim_numops_toBoolDecr(globals.stats___26036); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -13668,12 +11445,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14480.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__P36792.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__P14480_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36792_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14480, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36792, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -13682,7 +11459,7 @@ function scene_systemMenu_buildOptionList_inline__P14480_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14489(s) { +function scene_systemMenu_buildOptionList_inline__P36801(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13692,7 +11469,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5399); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___28472); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -13713,12 +11490,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14489.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__P36801.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__P14489_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36801_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14489, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36801, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13731,7 +11508,7 @@ function scene_systemMenu_buildOptionList_inline__P14489_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14498(s) { +function scene_systemMenu_buildOptionList_inline__P36810(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13745,12 +11522,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14498.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__P36810.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__P14498_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36810_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14498, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36810, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -13758,7 +11535,7 @@ function scene_systemMenu_buildOptionList_inline__P14498_mk(s) { -function scene_systemMenu_buildOptionList_inline__P14511(s) { +function scene_systemMenu_buildOptionList_inline__P36823(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13772,12 +11549,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P14511.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__P36823.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__P14511_mk(s) { +function scene_systemMenu_buildOptionList_inline__P36823_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P14511, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P36823, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -13785,7 +11562,7 @@ function scene_systemMenu_buildOptionList_inline__P14511_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P5366(s) { +function scene_systemMenu_setScreenBrightnessSupported__P28439(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13799,12 +11576,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P5366.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__P28439.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__P5366_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P28439_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P5366, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P28439, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -13812,7 +11589,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P5366_mk(s) { -function scene_systemMenu_sleep__P5365(s) { +function scene_systemMenu_sleep__P28438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13827,12 +11604,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P5365.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__P28438.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__P5365_mk(s) { +function scene_systemMenu_sleep__P28438_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P5365, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P28438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -13840,7 +11617,7 @@ function scene_systemMenu_sleep__P5365_mk(s) { -function scene_systemMenu_toggleConsole__P5364(s) { +function scene_systemMenu_toggleConsole__P28437(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13850,7 +11627,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5399); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___28472); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -13860,23 +11637,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = game_consoleOverlay_setVisible__P3143_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P26211_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; - s.callLocIdx = 1143; s.pc = 3; return s.tmp_4; + s.callLocIdx = 1109; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P3143_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P26211_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; - s.callLocIdx = 1144; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1110; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = console_log__P380_mk(s); + s.tmp_0 = console_log__P23447_mk(s); s.tmp_0.arg0 = "console"; - s.callLocIdx = 1145; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1111; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 2: @@ -13884,12 +11661,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P5364.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__P28437.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__P5364_mk(s) { +function scene_systemMenu_toggleConsole__P28437_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P5364, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P28437, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13902,7 +11679,7 @@ function scene_systemMenu_toggleConsole__P5364_mk(s) { -function game_consoleOverlay_setVisible__P3143(s) { +function game_consoleOverlay_setVisible__P26211(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13918,7 +11695,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5399); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___28472); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -13939,26 +11716,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___5399 = (s.tmp_6); + globals.consoleStrings___28472 = (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___5398 = (s.arg1); + globals.consoleColor___28471 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P3143.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__P26211.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__P3143_mk(s) { +function game_consoleOverlay_setVisible__P26211_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P3143, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P26211, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13975,7 +11752,7 @@ function game_consoleOverlay_setVisible__P3143_mk(s) { -function console_log__P380(s) { +function console_log__P23447(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13989,22 +11766,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P376_mk(s); + s.tmp_0 = console_add__P23443_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 34; s.pc = 1; return s.tmp_0; + s.callLocIdx = 33; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -console_log__P380.info = {"start":1450,"length":86,"line":58,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"log","argumentNames":["value"]} +console_log__P23447.info = {"start":1450,"length":86,"line":58,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"log","argumentNames":["value"]} -function console_log__P380_mk(s) { +function console_log__P23447_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P380, depth: s.depth + 1, + parent: s, fn: console_log__P23447, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14014,7 +11791,7 @@ function console_log__P380_mk(s) { -function console_add__P376(s) { +function console_add__P23443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14024,58 +11801,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___14550 = undefined; - s.i___14559 = undefined; + s.text___36862 = undefined; + s.i___36871 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 < globals.minPriority___375); + r0 = (s.arg0 < globals.minPriority___23442); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } { step = 5; continue; } case 1: case 2: - s.tmp_1 = console_inspect__P382_mk(s); + s.tmp_1 = console_inspect__P23449_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 20; - s.callLocIdx = 32; s.pc = 6; return s.tmp_1; + s.callLocIdx = 31; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___14550 = (r0); - if ((s.text___14550) && (s.text___14550).vtable) { + s.text___36862 = (r0); + if ((s.text___36862) && (s.text___36862).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___14550); + pxsim_String__stringConv(s.text___36862); checkResumeConsumed(); return; - } else { s.retval = (s.text___14550) + ""; } + } else { s.retval = (s.text___36862) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___14550 = (r0); - s.i___14559 = (0); + s.text___36862 = (r0); + s.i___36871 = (0); case 3: - s.tmp_1 = r0 = s.i___14559; - r0 = pxsim_Array__length(globals.listeners___4578); + s.tmp_1 = r0 = s.i___36871; + r0 = pxsim_Array__length(globals.listeners___27651); 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___4578, s.i___14559); + r0 = pxsim_Array__getAt(globals.listeners___27651, s.i___36871); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___14550; + s.tmp_3.arg1 = s.text___36862; setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 33; s.pc = 8; return s.tmp_3; + s.callLocIdx = 32; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___14559 + 1); - s.i___14559 = (r0); + r0 = (s.i___36871 + 1); + s.i___36871 = (r0); { step = 3; continue; } case 4: case 5: @@ -14083,19 +11860,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_add__P376.info = {"start":632,"length":317,"line":28,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"add","argumentNames":["priority","message"]} +console_add__P23443.info = {"start":632,"length":317,"line":28,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"add","argumentNames":["priority","message"]} -function console_add__P376_mk(s) { +function console_add__P23443_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P376, depth: s.depth + 1, + parent: s, fn: console_add__P23443, 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___14550: undefined, - i___14559: undefined, + text___36862: undefined, + i___36871: undefined, arg0: undefined, arg1: undefined, } } @@ -14104,7 +11881,7 @@ function console_add__P376_mk(s) { -function console_inspect__P382(s) { +function console_inspect__P23449(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14114,10 +11891,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___14590 = undefined; - s.asString___14608 = undefined; - s.keys___14620 = undefined; - s.snipped___14624 = undefined; + s.asArr___36902 = undefined; + s.asString___36920 = undefined; + s.keys___36932 = undefined; + s.snipped___36936 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14158,17 +11935,17 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___14590 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___14590); + s.asArr___36902 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___36902); s.tmp_1 = r0; r0 = (s.tmp_1 <= s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = helpers_arrayJoin__P103_mk(s); - s.tmp_2.arg0 = s.asArr___14590; + s.tmp_2 = helpers_arrayJoin__P23170_mk(s); + s.tmp_2.arg0 = s.asArr___36902; s.tmp_2.arg1 = ","; - s.callLocIdx = 35; s.pc = 19; return s.tmp_2; + s.callLocIdx = 34; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; { step = 17; continue; } @@ -14176,17 +11953,17 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P103_mk(s); - s.tmp_8 = helpers_arraySlice__P115_mk(s); - s.tmp_8.arg0 = s.asArr___14590; + s.tmp_7 = helpers_arrayJoin__P23170_mk(s); + s.tmp_8 = helpers_arraySlice__P23182_mk(s); + s.tmp_8.arg0 = s.asArr___36902; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; - s.callLocIdx = 36; s.pc = 21; return s.tmp_8; + s.callLocIdx = 35; s.pc = 21; return s.tmp_8; case 21: r0 = s.retval; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = ","; - s.callLocIdx = 37; s.pc = 20; return s.tmp_7; + s.callLocIdx = 36; s.pc = 20; return s.tmp_7; case 20: r0 = s.retval; s.tmp_6 = r0; @@ -14218,46 +11995,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___14608 = (r0); - r0 = (s.asString___14608 != "[object Object]"); + s.asString___36920 = (r0); + r0 = (s.asString___36920 != "[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___14608 != "[Object]"); + r0 = (s.asString___36920 != "[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___14608; + r0 = s.asString___36920; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___14620 = (r0); - r0 = pxsim_Array__length(s.keys___14620); + s.keys___36932 = (r0); + r0 = pxsim_Array__length(s.keys___36932); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___14624 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___14624); + s.snipped___36936 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___36936); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P115_mk(s); - s.tmp_0.arg0 = s.keys___14620; + s.tmp_0 = helpers_arraySlice__P23182_mk(s); + s.tmp_0.arg0 = s.keys___36932; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 38; s.pc = 24; return s.tmp_0; + s.callLocIdx = 37; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___14620 = (r0); + s.keys___36932 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P14641); + r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P36953); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___14624); + r0 = pxsim_numops_toBoolDecr(s.snipped___36936); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -14266,12 +12043,12 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P112_mk(s); - s.tmp_7.arg0 = s.keys___14620; + s.tmp_7 = helpers_arrayReduce__P23179_mk(s); + s.tmp_7.arg0 = s.keys___36932; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; - s.callLocIdx = 39; s.pc = 25; return s.tmp_7; + s.callLocIdx = 38; s.pc = 25; return s.tmp_7; case 25: r0 = s.retval; s.tmp_6 = r0; @@ -14316,12 +12093,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P382.info = {"start":2271,"length":1190,"line":81,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]} +console_inspect__P23449.info = {"start":2271,"length":1190,"line":81,"column":4,"endLine":114,"endColumn":5,"fileName":"pxt_modules/base/console.ts","functionName":"inspect","argumentNames":["obj","maxElements"]} -function console_inspect__P382_mk(s) { +function console_inspect__P23449_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P382, depth: s.depth + 1, + parent: s, fn: console_inspect__P23449, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14334,10 +12111,10 @@ function console_inspect__P382_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___14590: undefined, - asString___14608: undefined, - keys___14620: undefined, - snipped___14624: undefined, + asArr___36902: undefined, + asString___36920: undefined, + keys___36932: undefined, + snipped___36936: undefined, arg0: undefined, arg1: undefined, } } @@ -14346,7 +12123,7 @@ function console_inspect__P382_mk(s) { -function console_inspect_inline__P14641(s) { +function console_inspect_inline__P36953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14409,12 +12186,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect_inline__P14641.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__P36953.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__P14641_mk(s) { +function console_inspect_inline__P36953_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect_inline__P14641, depth: s.depth + 1, + parent: s, fn: console_inspect_inline__P36953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14432,7 +12209,7 @@ function console_inspect_inline__P14641_mk(s) { -function helpers_arraySlice__P115(s) { +function helpers_arraySlice__P23182(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14442,9 +12219,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___8140 = undefined; - s.len___8142 = undefined; - s.i___8176 = undefined; + s.res___30420 = undefined; + s.len___30422 = undefined; + s.i___30456 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14452,9 +12229,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___8140 = (r0); + s.res___30420 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___8142 = (r0); + s.len___30422 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -14466,22 +12243,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P130_mk(s); - r0 = (s.len___8142 + s.arg1); + s.tmp_1 = Math_max__P23197_mk(s); + r0 = (s.len___30422 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; - s.callLocIdx = 9; s.pc = 16; return s.tmp_1; + s.callLocIdx = 8; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; s.arg1 = (r0); case 2: case 3: case 4: - r0 = (s.arg1 > s.len___8142); + r0 = (s.arg1 > s.len___30422); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___8140; + r0 = s.res___30420; { step = 15; continue; } case 5: case 6: @@ -14489,57 +12266,57 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___8142); + s.arg2 = (s.len___30422); { 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___8142 + s.arg2); + r0 = (s.len___30422 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___8142); + r0 = (s.arg2 > s.len___30422); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___8142); + s.arg2 = (s.len___30422); case 11: case 12: - s.i___8176 = (s.arg1); + s.i___30456 = (s.arg1); case 13: - r0 = (s.i___8176 < s.arg2); + r0 = (s.i___30456 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___8140; - r0 = pxsim_Array__getAt(s.arg0, s.i___8176); + s.tmp_1 = r0 = s.res___30420; + r0 = pxsim_Array__getAt(s.arg0, s.i___30456); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___8176 + 1); - s.i___8176 = (r0); + r0 = (s.i___30456 + 1); + s.i___30456 = (r0); { step = 13; continue; } case 14: - r0 = s.res___8140; + r0 = s.res___30420; case 15: return leave(s, r0) default: oops() } } } -helpers_arraySlice__P115.info = {"start":9027,"length":690,"line":303,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} +helpers_arraySlice__P23182.info = {"start":9027,"length":690,"line":303,"column":4,"endLine":328,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySlice","argumentNames":["arr","start","end"]} -function helpers_arraySlice__P115_mk(s) { +function helpers_arraySlice__P23182_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P115, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P23182, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___8140: undefined, - len___8142: undefined, - i___8176: undefined, + res___30420: undefined, + len___30422: undefined, + i___30456: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -14549,7 +12326,7 @@ function helpers_arraySlice__P115_mk(s) { -function helpers_arrayReduce__P112(s) { +function helpers_arrayReduce__P23179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14559,8 +12336,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___14668 = undefined; - s.i___14671 = undefined; + s.len___36980 = undefined; + s.i___36983 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14568,43 +12345,43 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___14668 = (r0); - s.i___14671 = (0); + s.len___36980 = (r0); + s.i___36983 = (0); case 1: - r0 = (s.i___14671 < s.len___14668); + r0 = (s.i___36983 < s.len___36980); 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___14671); + r0 = pxsim_Array__getAt(s.arg0, s.i___36983); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___14671; + s.tmp_1.arg2 = s.i___36983; setupLambda(s.tmp_1, s.tmp_1.argL); - s.callLocIdx = 8; s.pc = 3; return s.tmp_1; + s.callLocIdx = 7; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___14671 + 1); - s.i___14671 = (r0); + r0 = (s.i___36983 + 1); + s.i___36983 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -helpers_arrayReduce__P112.info = {"start":8316,"length":317,"line":280,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayReduce","argumentNames":["arr","callbackfn","initialValue"]} +helpers_arrayReduce__P23179.info = {"start":8316,"length":317,"line":280,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayReduce","argumentNames":["arr","callbackfn","initialValue"]} -function helpers_arrayReduce__P112_mk(s) { +function helpers_arrayReduce__P23179_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P112, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P23179, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___14668: undefined, - i___14671: undefined, + len___36980: undefined, + i___36983: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -14614,7 +12391,7 @@ function helpers_arrayReduce__P112_mk(s) { -function helpers_arrayJoin__P103(s) { +function helpers_arrayJoin__P23170(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14624,9 +12401,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___14696 = undefined; - s.len___14697 = undefined; - s.i___14700 = undefined; + s.r___37008 = undefined; + s.len___37009 = undefined; + s.i___37012 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14649,16 +12426,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___14696 = (r0); + s.r___37008 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___14697 = (r0); - s.i___14700 = (0); + s.len___37009 = (r0); + s.i___37012 = (0); case 5: - r0 = (s.i___14700 < s.len___14697); + r0 = (s.i___37012 < s.len___37009); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___14700 > 0); + r0 = (s.i___37012 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -14671,12 +12448,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___14696) && (s.r___14696).vtable) { + if ((s.r___37008) && (s.r___37008).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___14696); + pxsim_String__stringConv(s.r___37008); checkResumeConsumed(); return; - } else { s.retval = (s.r___14696) + ""; } + } else { s.retval = (s.r___37008) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -14690,10 +12467,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___14696 = (r0); + s.r___37008 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___14700); + r0 = pxsim_Array__getAt(s.arg0, s.i___37012); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -14702,7 +12479,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___14700); + r0 = pxsim_Array__getAt(s.arg0, s.i___37012); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -14713,16 +12490,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___14700); + r0 = pxsim_Array__getAt(s.arg0, s.i___37012); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___14696) && (s.r___14696).vtable) { + if ((s.r___37008) && (s.r___37008).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___14696); + pxsim_String__stringConv(s.r___37008); checkResumeConsumed(); return; - } else { s.retval = (s.r___14696) + ""; } + } else { s.retval = (s.r___37008) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -14736,21 +12513,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___14696 = (r0); - r0 = (s.i___14700 + 1); - s.i___14700 = (r0); + s.r___37008 = (r0); + r0 = (s.i___37012 + 1); + s.i___37012 = (r0); { step = 5; continue; } case 14: - r0 = s.r___14696; + r0 = s.r___37008; return leave(s, r0) default: oops() } } } -helpers_arrayJoin__P103.info = {"start":4133,"length":432,"line":157,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayJoin","argumentNames":["arr","sep"]} +helpers_arrayJoin__P23170.info = {"start":4133,"length":432,"line":157,"column":4,"endLine":170,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayJoin","argumentNames":["arr","sep"]} -function helpers_arrayJoin__P103_mk(s) { +function helpers_arrayJoin__P23170_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P103, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P23170, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14759,9 +12536,9 @@ function helpers_arrayJoin__P103_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___14696: undefined, - len___14697: undefined, - i___14700: undefined, + r___37008: undefined, + len___37009: undefined, + i___37012: undefined, arg0: undefined, arg1: undefined, } } @@ -14770,7 +12547,7 @@ function helpers_arrayJoin__P103_mk(s) { -function scene_systemMenu_toggleStats__P5363(s) { +function scene_systemMenu_toggleStats__P28436(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14780,11 +12557,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___2968); + r0 = pxsim_numops_toBoolDecr(globals.stats___26036); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___2968 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___2968); + globals.stats___26036 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___26036); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -14793,18 +12570,18 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___398; + r0 = globals.control_EventContext_onStats___23465; case 2: // jmp value (already in r0) s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } s.tmp_3 = lambda_2_mk(s); - s.tmp_3.argL = globals.control_EventContext_onStats___398; + s.tmp_3.argL = globals.control_EventContext_onStats___23465; r0 = pxsim_String_.mkEmpty(); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 1141; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1107; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; case 3: @@ -14813,12 +12590,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P5363.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__P28436.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__P5363_mk(s) { +function scene_systemMenu_toggleStats__P28436_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P5363, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P28436, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14830,7 +12607,7 @@ function scene_systemMenu_toggleStats__P5363_mk(s) { -function scene_systemMenu_brightnessDown__P5361(s) { +function scene_systemMenu_brightnessDown__P28434(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14840,24 +12617,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P5362_mk(s); - r0 = globals.brightness___1951; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P28435_mk(s); + r0 = globals.brightness___25019; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 1137; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1103; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P5361.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__P28434.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__P5361_mk(s) { +function scene_systemMenu_brightnessDown__P28434_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P5361, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P28434, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14867,7 +12644,7 @@ function scene_systemMenu_brightnessDown__P5361_mk(s) { -function scene_systemMenu_setScreenBrightness__P5362(s) { +function scene_systemMenu_setScreenBrightness__P28435(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14881,29 +12658,29 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P1965_mk(s); - s.tmp_0.arg0 = globals.screen___2032; + s.tmp_0 = helpers_setScreenBrightness__P25033_mk(s); + s.tmp_0.arg0 = globals.screen___25100; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1138; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1104; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P2063_mk(s); + s.tmp_0 = settings_writeNumber__P25131_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___1951; + r0 = globals.brightness___25019; s.tmp_0.arg1 = r0; - s.callLocIdx = 1140; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1106; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P5362.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__P28435.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__P5362_mk(s) { +function scene_systemMenu_setScreenBrightness__P28435_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P5362, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P28435, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14913,7 +12690,7 @@ function scene_systemMenu_setScreenBrightness__P5362_mk(s) { -function settings_writeNumber__P2063(s) { +function settings_writeNumber__P25131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14931,27 +12708,27 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); - s.tmp_1 = settings_writeBuffer__P2060_mk(s); + s.tmp_1 = settings_writeBuffer__P25128_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P184_mk(s); + s.tmp_2 = msgpack_packNumberArray__P23251_mk(s); s.tmp_2.arg0 = s.tmp_0; - s.callLocIdx = 160; s.pc = 2; return s.tmp_2; + s.callLocIdx = 124; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1.arg1 = r0; - s.callLocIdx = 161; s.pc = 1; return s.tmp_1; + s.callLocIdx = 125; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -settings_writeNumber__P2063.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__P25131.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__P2063_mk(s) { +function settings_writeNumber__P25131_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P2063, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P25131, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14964,7 +12741,7 @@ function settings_writeNumber__P2063_mk(s) { -function settings_writeBuffer__P2060(s) { +function settings_writeBuffer__P25128(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14991,12 +12768,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P2060.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__P25128.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__P2060_mk(s) { +function settings_writeBuffer__P25128_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P2060, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P25128, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15007,7 +12784,7 @@ function settings_writeBuffer__P2060_mk(s) { -function msgpack_packNumberArray__P184(s) { +function msgpack_packNumberArray__P23251(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15017,100 +12794,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___14786 = undefined; - s.n___14788 = undefined; - s.unnamed58___U2 = undefined; - s.unnamed59___U3 = undefined; - s.buf___14798 = undefined; - s.n___14804 = undefined; - s.unnamed60___U6 = undefined; - s.unnamed61___U7 = undefined; + s.off___37098 = undefined; + s.n___37100 = undefined; + s.unnamed166___U2 = undefined; + s.unnamed167___U3 = undefined; + s.buf___37110 = undefined; + s.n___37116 = undefined; + s.unnamed168___U6 = undefined; + s.unnamed169___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___14786 = (0); - s.n___14788 = (undefined); - s.unnamed58___U2 = (s.arg0); - s.unnamed59___U3 = (0); + s.off___37098 = (0); + s.n___37100 = (undefined); + s.unnamed166___U2 = (s.arg0); + s.unnamed167___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed59___U3; - r0 = pxsim_Array__length(s.unnamed58___U2); + s.tmp_0 = r0 = s.unnamed167___U3; + r0 = pxsim_Array__length(s.unnamed166___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed58___U2, s.unnamed59___U3); - s.n___14788 = (r0); - s.tmp_2 = r0 = s.off___14786; - s.tmp_4 = msgpack_packNumberCore__P4537_mk(s); + r0 = pxsim_Array__getAt(s.unnamed166___U2, s.unnamed167___U3); + s.n___37100 = (r0); + s.tmp_2 = r0 = s.off___37098; + s.tmp_4 = msgpack_packNumberCore__P27610_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___14786; - s.tmp_4.arg2 = s.n___14788; - s.callLocIdx = 22; s.pc = 5; return s.tmp_4; + s.tmp_4.arg1 = s.off___37098; + s.tmp_4.arg2 = s.n___37100; + 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___14786 = (r0); - r0 = (s.unnamed59___U3 + 1); - s.unnamed59___U3 = (r0); + s.off___37098 = (r0); + r0 = (s.unnamed167___U3 + 1); + s.unnamed167___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed58___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___14786); - s.buf___14798 = (r0); - s.off___14786 = (0); - s.n___14804 = (undefined); - s.unnamed60___U6 = (s.arg0); - s.unnamed61___U7 = (0); + s.unnamed166___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___37098); + s.buf___37110 = (r0); + s.off___37098 = (0); + s.n___37116 = (undefined); + s.unnamed168___U6 = (s.arg0); + s.unnamed169___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed61___U7; - r0 = pxsim_Array__length(s.unnamed60___U6); + s.tmp_0 = r0 = s.unnamed169___U7; + r0 = pxsim_Array__length(s.unnamed168___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed60___U6, s.unnamed61___U7); - s.n___14804 = (r0); - s.tmp_2 = r0 = s.off___14786; - s.tmp_4 = msgpack_packNumberCore__P4537_mk(s); - s.tmp_4.arg0 = s.buf___14798; - s.tmp_4.arg1 = s.off___14786; - s.tmp_4.arg2 = s.n___14804; - s.callLocIdx = 23; s.pc = 6; return s.tmp_4; + r0 = pxsim_Array__getAt(s.unnamed168___U6, s.unnamed169___U7); + s.n___37116 = (r0); + s.tmp_2 = r0 = s.off___37098; + s.tmp_4 = msgpack_packNumberCore__P27610_mk(s); + s.tmp_4.arg0 = s.buf___37110; + s.tmp_4.arg1 = s.off___37098; + s.tmp_4.arg2 = s.n___37116; + 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___14786 = (r0); - r0 = (s.unnamed61___U7 + 1); - s.unnamed61___U7 = (r0); + s.off___37098 = (r0); + r0 = (s.unnamed169___U7 + 1); + s.unnamed169___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed60___U6 = (undefined); - r0 = s.buf___14798; + s.unnamed168___U6 = (undefined); + r0 = s.buf___37110; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P184.info = {"start":3427,"length":330,"line":117,"column":4,"endLine":128,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberArray","argumentNames":["nums"]} +msgpack_packNumberArray__P23251.info = {"start":3427,"length":330,"line":117,"column":4,"endLine":128,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"packNumberArray","argumentNames":["nums"]} -function msgpack_packNumberArray__P184_mk(s) { +function msgpack_packNumberArray__P23251_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P184, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P23251, 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___14786: undefined, - n___14788: undefined, - unnamed58___U2: undefined, - unnamed59___U3: undefined, - buf___14798: undefined, - n___14804: undefined, - unnamed60___U6: undefined, - unnamed61___U7: undefined, + off___37098: undefined, + n___37100: undefined, + unnamed166___U2: undefined, + unnamed167___U3: undefined, + buf___37110: undefined, + n___37116: undefined, + unnamed168___U6: undefined, + unnamed169___U7: undefined, arg0: undefined, } } @@ -15118,7 +12895,7 @@ function msgpack_packNumberArray__P184_mk(s) { -function msgpack_packNumberCore__P4537(s) { +function msgpack_packNumberCore__P27610(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15128,15 +12905,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___14818 = undefined; - s.fmt___14861 = undefined; + s.tag___37130 = undefined; + s.fmt___37173 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___14818 = (203); + s.tag___37130 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -15186,17 +12963,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___14818 = (204); + s.tag___37130 = (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___14818 = (205); + s.tag___37130 = (205); { step = 10; continue; } case 9: - s.tag___14818 = (206); + s.tag___37130 = (206); case 10: case 11: { step = 17; continue; } @@ -15205,42 +12982,42 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___14818 = (208); + s.tag___37130 = (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___14818 = (209); + s.tag___37130 = (209); { step = 15; continue; } case 14: - s.tag___14818 = (210); + s.tag___37130 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P4536_mk(s); - s.tmp_0.arg0 = s.tag___14818; - s.callLocIdx = 18; s.pc = 24; return s.tmp_0; + s.tmp_0 = msgpack_tagFormat__P27609_mk(s); + s.tmp_0.arg0 = s.tag___37130; + s.callLocIdx = 17; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___14861 = (r0); + s.fmt___37173 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___14818); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___37130); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___14861; + s.tmp_1 = r0 = s.fmt___37173; r0 = (s.arg1 + 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.setNumber(s.tmp_0, s.tmp_1, s.tmp_2, s.arg2); case 21: case 22: - s.tmp_1 = pins_sizeOf__P175_mk(s); - s.tmp_1.arg0 = s.fmt___14861; - s.callLocIdx = 19; s.pc = 25; return s.tmp_1; + s.tmp_1 = pins_sizeOf__P23242_mk(s); + s.tmp_1.arg0 = s.fmt___37173; + s.callLocIdx = 18; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; s.tmp_0 = r0; @@ -15249,12 +13026,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P4537.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__P27610.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__P4537_mk(s) { +function msgpack_packNumberCore__P27610_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P4537, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P27610, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15264,8 +13041,8 @@ function msgpack_packNumberCore__P4537_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___14818: undefined, - fmt___14861: undefined, + tag___37130: undefined, + fmt___37173: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15275,7 +13052,7 @@ function msgpack_packNumberCore__P4537_mk(s) { -function msgpack_tagFormat__P4536(s) { +function msgpack_tagFormat__P27609(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15335,12 +13112,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P4536.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__P27609.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__P4536_mk(s) { +function msgpack_tagFormat__P27609_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P4536, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P27609, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15350,7 +13127,7 @@ function msgpack_tagFormat__P4536_mk(s) { -function pins_sizeOf__P175(s) { +function pins_sizeOf__P23242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15364,20 +13141,20 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P215_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P23282_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 17; s.pc = 1; return s.tmp_0; + s.callLocIdx = 16; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -pins_sizeOf__P175.info = {"start":42,"length":101,"line":2,"column":4,"endLine":4,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOf","argumentNames":["format"]} +pins_sizeOf__P23242.info = {"start":42,"length":101,"line":2,"column":4,"endLine":4,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOf","argumentNames":["format"]} -function pins_sizeOf__P175_mk(s) { +function pins_sizeOf__P23242_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P175, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P23242, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15387,7 +13164,7 @@ function pins_sizeOf__P175_mk(s) { -function Buffer_sizeOfNumberFormat__P215(s) { +function Buffer_sizeOfNumberFormat__P23282(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15466,12 +13243,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Buffer_sizeOfNumberFormat__P215.info = {"start":14912,"length":856,"line":508,"column":4,"endLine":532,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} +Buffer_sizeOfNumberFormat__P23282.info = {"start":14912,"length":856,"line":508,"column":4,"endLine":532,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"sizeOfNumberFormat","argumentNames":["format"]} -function Buffer_sizeOfNumberFormat__P215_mk(s) { +function Buffer_sizeOfNumberFormat__P23282_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P215, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P23282, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15481,7 +13258,7 @@ function Buffer_sizeOfNumberFormat__P215_mk(s) { -function helpers_setScreenBrightness__P1965(s) { +function helpers_setScreenBrightness__P25033(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15496,27 +13273,27 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P127_mk(s); + s.tmp_0 = Math_clamp__P23194_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); s.tmp_0.arg2 = r0; - s.callLocIdx = 123; s.pc = 1; return s.tmp_0; + s.callLocIdx = 87; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___1951 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___1951); + globals.brightness___25019 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___25019); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P1965.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__P25033.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__P1965_mk(s) { +function helpers_setScreenBrightness__P25033_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P1965, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P25033, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15527,7 +13304,7 @@ function helpers_setScreenBrightness__P1965_mk(s) { -function scene_systemMenu_brightnessUp__P5360(s) { +function scene_systemMenu_brightnessUp__P28433(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15537,24 +13314,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P5362_mk(s); - r0 = globals.brightness___1951; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P28435_mk(s); + r0 = globals.brightness___25019; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 1135; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1101; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P5360.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__P28433.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__P5360_mk(s) { +function scene_systemMenu_brightnessUp__P28433_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P5360, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P28433, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15564,7 +13341,7 @@ function scene_systemMenu_brightnessUp__P5360_mk(s) { -function scene_systemMenu_volumeDown__P5359(s) { +function scene_systemMenu_volumeDown__P28432(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15574,54 +13351,54 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___15043 = undefined; - s.remainder___15046 = undefined; - s.newVolume___15049 = undefined; - s.tmp_0 = music_volume__P1621_mk(s); - s.callLocIdx = 1132; s.pc = 3; return s.tmp_0; + s.v___37446 = undefined; + s.remainder___37449 = undefined; + s.newVolume___37452 = undefined; + s.tmp_0 = music_volume__P24689_mk(s); + s.callLocIdx = 1098; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___15043 = (r0); - r0 = (s.v___15043 % 32); - s.remainder___15046 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___15046); + s.v___37446 = (r0); + r0 = (s.v___37446 % 32); + s.remainder___37449 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___37449); if (!r0) { step = 1; continue; } - r0 = s.remainder___15046; + r0 = s.remainder___37449; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___15043 - s.tmp_0); - s.newVolume___15049 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P5357_mk(s); - s.tmp_0.arg0 = s.newVolume___15049; - s.callLocIdx = 1133; s.pc = 4; return s.tmp_0; + r0 = (s.v___37446 - s.tmp_0); + s.newVolume___37452 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P28430_mk(s); + s.tmp_0.arg0 = s.newVolume___37452; + s.callLocIdx = 1099; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P5359.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__P28432.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__P5359_mk(s) { +function scene_systemMenu_volumeDown__P28432_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P5359, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P28432, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___15043: undefined, - remainder___15046: undefined, - newVolume___15049: undefined, + v___37446: undefined, + remainder___37449: undefined, + newVolume___37452: undefined, } } -function scene_systemMenu_setVolume__P5357(s) { +function scene_systemMenu_setVolume__P28430(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15635,33 +13412,33 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P1620_mk(s); + s.tmp_0 = music_setVolume__P24688_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1127; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1093; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = music_playTone__P1622_mk(s); + s.tmp_0 = music_playTone__P24690_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; - s.callLocIdx = 1128; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1094; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P2063_mk(s); + s.tmp_0 = settings_writeNumber__P25131_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1129; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1095; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P5357.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__P28430.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__P5357_mk(s) { +function scene_systemMenu_setVolume__P28430_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P5357, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P28430, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15671,7 +13448,7 @@ function scene_systemMenu_setVolume__P5357_mk(s) { -function music_playTone__P1622(s) { +function music_playTone__P24690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15681,7 +13458,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___14975 = undefined; + s.id___37287 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -15706,29 +13483,29 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P4636_mk(s); + s.tmp_2 = music_playNoteCore__P27709_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_2.arg2 = r0; - s.callLocIdx = 65; s.pc = 5; return s.tmp_2; + s.callLocIdx = 64; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P413_mk(s); + s.tmp_0 = pause__P23480_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; - s.callLocIdx = 66; s.pc = 6; return s.tmp_0; + s.callLocIdx = 65; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___4638 + 1); + r0 = (globals.playToneID___27711 + 1); s.tmp_0 = r0; - globals.playToneID___4638 = (r0); - s.id___14975 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P14981); + globals.playToneID___27711 = (r0); + s.id___37287 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P37293); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___14975); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___37287); 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); @@ -15737,17 +13514,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone__P1622.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__P24690.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__P1622_mk(s) { +function music_playTone__P24690_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P1622, depth: s.depth + 1, + parent: s, fn: music_playTone__P24690, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___14975: undefined, + id___37287: undefined, arg0: undefined, arg1: undefined, } } @@ -15756,7 +13533,7 @@ function music_playTone__P1622_mk(s) { -function music_playTone_inline__P14981(s) { +function music_playTone_inline__P37293(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15766,14 +13543,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___14982 = undefined; - s.now___14992 = undefined; - s.d___14995 = undefined; - s.t___14999 = undefined; + s.pos___37294 = undefined; + s.now___37304 = undefined; + s.d___37307 = undefined; + s.t___37311 = undefined; r0 = pxsim.control.millis(); - s.pos___14982 = (r0); + s.pos___37294 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___4638); + r0 = (s.caps[0] == globals.playToneID___27711); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -15789,31 +13566,31 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___14992 = (r0); - r0 = (s.pos___14982 - s.now___14992); - s.d___14995 = (r0); - s.tmp_0 = Math_min__P131_mk(s); + s.now___37304 = (r0); + r0 = (s.pos___37294 - s.now___37304); + s.d___37307 = (r0); + s.tmp_0 = Math_min__P23198_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; - s.callLocIdx = 67; s.pc = 7; return s.tmp_0; + s.callLocIdx = 66; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___14999 = (r0); + s.t___37311 = (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___14999); + r0 = (s.tmp_2 - s.t___37311); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___14982 + s.t___14999); - s.pos___14982 = (r0); - s.tmp_0 = music_playNoteCore__P4636_mk(s); - r0 = (s.d___14995 - 1); + r0 = (s.pos___37294 + s.t___37311); + s.pos___37294 = (r0); + s.tmp_0 = music_playNoteCore__P27709_mk(s); + r0 = (s.d___37307 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___14999; - s.callLocIdx = 68; s.pc = 8; return s.tmp_0; + s.tmp_0.arg2 = s.t___37311; + s.callLocIdx = 67; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); @@ -15822,20 +13599,20 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P413_mk(s); - r0 = (s.d___14995 + s.t___14999); + s.tmp_2 = pause__P23480_mk(s); + r0 = (s.d___37307 + s.t___37311); s.tmp_2.arg0 = r0; - s.callLocIdx = 69; s.pc = 9; return s.tmp_2; + s.callLocIdx = 68; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = pause__P413_mk(s); - r0 = (s.d___14995 + s.t___14999); + s.tmp_0 = pause__P23480_mk(s); + r0 = (s.d___37307 + s.t___37311); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; - s.callLocIdx = 70; s.pc = 10; return s.tmp_0; + s.callLocIdx = 69; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 5: @@ -15845,27 +13622,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone_inline__P14981.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__P37293.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__P14981_mk(s) { +function music_playTone_inline__P37293_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone_inline__P14981, depth: s.depth + 1, + parent: s, fn: music_playTone_inline__P37293, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___14982: undefined, - now___14992: undefined, - d___14995: undefined, - t___14999: undefined, + pos___37294: undefined, + now___37304: undefined, + d___37307: undefined, + t___37311: undefined, } } -function music_playNoteCore__P4636(s) { +function music_playNoteCore__P27709(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15875,7 +13652,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___15029 = undefined; + s.buf___37341 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -15883,39 +13660,39 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___15029 = (r0); - s.tmp_0 = music_addNote__P1636_mk(s); - s.tmp_0.arg0 = s.buf___15029; + s.buf___37341 = (r0); + s.tmp_0 = music_addNote__P24704_mk(s); + s.tmp_0.arg0 = s.buf___37341; 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__P1621_mk(s); - s.callLocIdx = 63; s.pc = 2; return s.tmp_1; + s.tmp_1 = music_volume__P24689_mk(s); + s.callLocIdx = 62; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg7 = r0; s.tmp_0.arg8 = s.arg1; - s.callLocIdx = 64; s.pc = 1; return s.tmp_0; + s.callLocIdx = 63; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___15029); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___37341); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P4636.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__P27709.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__P4636_mk(s) { +function music_playNoteCore__P27709_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P4636, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P27709, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___15029: undefined, + buf___37341: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -15925,7 +13702,156 @@ function music_playNoteCore__P4636_mk(s) { -function scene_systemMenu_volumeUp__P5358(s) { +function music_addNote__P24704(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); + s.arg2 = (s.lambdaArgs[2]); + s.arg3 = (s.lambdaArgs[3]); + s.arg4 = (s.lambdaArgs[4]); + s.arg5 = (s.lambdaArgs[5]); + s.arg6 = (s.lambdaArgs[6]); + s.arg7 = (s.lambdaArgs[7]); + s.arg8 = (s.lambdaArgs[8]); + s.lambdaArgs = null; + } + r0 = (s.arg2 > 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = pxsim.BufferMethods.setNumber(s.arg0, 2, s.arg1, s.arg5); + s.tmp_0 = r0 = s.arg0; + r0 = (s.arg1 + 1); + s.tmp_1 = r0; + r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 2, s.tmp_1, 0); + s.tmp_0 = r0 = s.arg0; + r0 = (s.arg1 + 2); + s.tmp_1 = r0; + r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.arg6); + s.tmp_0 = r0 = s.arg0; + r0 = (s.arg1 + 4); + s.tmp_1 = r0; + r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.arg2); + s.tmp_0 = r0 = s.arg0; + r0 = (s.arg1 + 6); + s.tmp_1 = r0; + r0 = (s.arg3 * s.arg7); + s.tmp_3 = r0; + r0 = (s.tmp_3 >> 6); + s.tmp_2 = r0; + r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.tmp_2); + s.tmp_0 = r0 = s.arg0; + r0 = (s.arg1 + 8); + s.tmp_1 = r0; + r0 = (s.arg4 * s.arg7); + s.tmp_3 = r0; + r0 = (s.tmp_3 >> 6); + s.tmp_2 = r0; + r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.tmp_2); + s.tmp_0 = r0 = s.arg0; + r0 = (s.arg1 + 10); + s.tmp_1 = r0; + r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.arg8); + r0 = (s.arg1 + 12); + s.arg1 = (r0); + case 1: + case 2: + r0 = pxsim.BufferMethods.setNumber(s.arg0, 2, s.arg1, 0); + r0 = s.arg1; + return leave(s, r0) + default: oops() +} } } +music_addNote__P24704.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__P24704_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: music_addNote__P24704, 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, + arg0: undefined, + arg1: undefined, + arg2: undefined, + arg3: undefined, + arg4: undefined, + arg5: undefined, + arg6: undefined, + arg7: undefined, + arg8: undefined, +} } + + + + + +function music_setVolume__P24688(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + s.tmp_0 = Math_clamp__P23194_mk(s); + s.tmp_0.arg0 = 0; + s.tmp_0.arg1 = 255; + r0 = (s.arg0 | 0); + s.tmp_0.arg2 = r0; + s.callLocIdx = 59; s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; + globals.globalVolume___27704 = (r0); + r0 = (globals.globalVolume___27704 > 0); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = 1; + { step = 2; continue; } + case 1: + r0 = 0; + case 2: + // jmp value (already in r0) + s.tmp_1 = r0; + r0 = undefined; + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +music_setVolume__P24688.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__P24688_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: music_setVolume__P24688, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + arg0: undefined, +} } + + + + + +function music_enableAmp__P27707(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15935,47 +13861,79 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___14943 = undefined; - s.remainder___14946 = undefined; - s.newVolume___14949 = undefined; - s.tmp_0 = music_volume__P1621_mk(s); - s.callLocIdx = 1130; s.pc = 1; return s.tmp_0; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +music_enableAmp__P27707.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__P27707_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: music_enableAmp__P27707, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, +} } + + + + + +function scene_systemMenu_volumeUp__P28431(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.v___37255 = undefined; + s.remainder___37258 = undefined; + s.newVolume___37261 = undefined; + s.tmp_0 = music_volume__P24689_mk(s); + s.callLocIdx = 1096; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___14943 = (r0); - r0 = (s.v___14943 % 32); - s.remainder___14946 = (r0); - r0 = (s.v___14943 + 32); + s.v___37255 = (r0); + r0 = (s.v___37255 % 32); + s.remainder___37258 = (r0); + r0 = (s.v___37255 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___14946); - s.newVolume___14949 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P5357_mk(s); - s.tmp_0.arg0 = s.newVolume___14949; - s.callLocIdx = 1131; s.pc = 2; return s.tmp_0; + r0 = (s.tmp_0 - s.remainder___37258); + s.newVolume___37261 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P28430_mk(s); + s.tmp_0.arg0 = s.newVolume___37261; + s.callLocIdx = 1097; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P5358.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__P28431.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__P5358_mk(s) { +function scene_systemMenu_volumeUp__P28431_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P5358, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P28431, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___14943: undefined, - remainder___14946: undefined, - newVolume___14949: undefined, + v___37255: undefined, + remainder___37258: undefined, + newVolume___37261: undefined, } } -function game_consoleOverlay_isVisible__P3141(s) { +function game_consoleOverlay_isVisible__P26209(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15985,7 +13943,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5399); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___28472); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -15995,12 +13953,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P3141.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__P26209.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__P3141_mk(s) { +function game_consoleOverlay_isVisible__P26209_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P3141, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P26209, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16011,7 +13969,7 @@ function game_consoleOverlay_isVisible__P3141_mk(s) { -function scene_systemMenu_closeMenu__P3119(s) { +function scene_systemMenu_closeMenu__P26187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16021,21 +13979,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___5353); + r0 = pxsim_numops_toBoolDecr(globals.instance___28426); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P3118_mk(s); - s.tmp_0.arg0 = globals.instance___5353; - s.callLocIdx = 1146; s.pc = 3; return s.tmp_0; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P26186_mk(s); + s.tmp_0.arg0 = globals.instance___28426; + s.callLocIdx = 1112; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___5353 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P2206_mk(s); + globals.instance___28426 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P25274_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 1147; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1113; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P3021_mk(s); - s.callLocIdx = 1148; s.pc = 5; return s.tmp_0; + s.tmp_0 = game_popScene__P26089_mk(s); + s.callLocIdx = 1114; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -16044,12 +14002,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P3119.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__P26187.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__P3119_mk(s) { +function scene_systemMenu_closeMenu__P26187_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P3119, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P26187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -16058,7 +14016,7 @@ function scene_systemMenu_closeMenu__P3119_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P3118(s) { +function scene_systemMenu_PauseMenu_dispose__P26186(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16073,16 +14031,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3112_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26180_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_1 = helpers_arrayForEach__P23176_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P13880; - s.callLocIdx = 1123; s.pc = 3; return s.tmp_1; + s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P36192; + s.callLocIdx = 1089; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["options"] = (undefined); @@ -16092,12 +14050,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P3118.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__P26186.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__P3118_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P26186_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P3118, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P26186, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16108,7 +14066,7 @@ function scene_systemMenu_PauseMenu_dispose__P3118_mk(s) { -function scene_systemMenu_PauseMenu_dispose_inline__P13880(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P36192(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16122,21 +14080,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P3111_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P26179_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1122; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1088; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose_inline__P13880.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__P36192.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__P13880_mk(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P36192_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P13880, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P36192, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16146,7 +14104,7 @@ function scene_systemMenu_PauseMenu_dispose_inline__P13880_mk(s) { -function scene_systemMenu_MenuOption_dispose__P3111(s) { +function scene_systemMenu_MenuOption_dispose__P26179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16161,25 +14119,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3104_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26172_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__P2428_mk(s); + s.tmp_1 = Sprite_destroy__P25496_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; s.tmp_1.arg2 = undefined; - s.callLocIdx = 1042; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1008; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P2428_mk(s); + s.tmp_0 = Sprite_destroy__P25496_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 1043; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1009; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = (s.arg0).fields["card"] = (undefined); @@ -16190,12 +14148,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P3111.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__P26179.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__P3111_mk(s) { +function scene_systemMenu_MenuOption_dispose__P26179_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P3111, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P26179, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16206,7 +14164,7 @@ function scene_systemMenu_MenuOption_dispose__P3111_mk(s) { -function Sprite_destroy__P2428(s) { +function Sprite_destroy__P25496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16223,7 +14181,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -16241,19 +14199,19 @@ switch (step) { r0 = (s.tmp_2).fields["flags"] = (s.tmp_3); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } - s.tmp_0 = effects_ParticleEffect_destroy__P3282_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P26350_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = undefined; - s.callLocIdx = 469; s.pc = 6; return s.tmp_0; + s.callLocIdx = 433; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__C2341_v6_1_mk(s); + s.tmp_0 = Sprite__C25409_v6_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C2341_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C25409_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods._destroyCore; s.pc = 7; return s.tmp_0; case 7: @@ -16264,12 +14222,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P2428.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__P25496.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__P2428_mk(s) { +function Sprite_destroy__P25496_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P2428, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P25496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16285,7 +14243,7 @@ function Sprite_destroy__P2428_mk(s) { -function effects_ParticleEffect_destroy__P3282(s) { +function effects_ParticleEffect_destroy__P26350(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16303,15 +14261,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C3279_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P2419_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C26347_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P25487_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 7168; s.tmp_0.arg2 = true; - s.callLocIdx = 1307; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1273; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P3281_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P26349_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -16328,7 +14286,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg4 = r0; - s.callLocIdx = 1308; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1274; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -16343,22 +14301,22 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg1).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = effects_ImageEffect_applyTo__P3309_mk(s); - s.tmp_0.arg0 = globals.dissolve___3312; + s.tmp_0 = effects_ImageEffect_applyTo__P26377_mk(s); + s.tmp_0.arg0 = globals.dissolve___26380; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1309; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1275; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P3282.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__P26350.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__P3282_mk(s) { +function effects_ParticleEffect_destroy__P26350_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P3282, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P26350, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16376,7 +14334,7 @@ function effects_ParticleEffect_destroy__P3282_mk(s) { -function dissolve_inline__P14005(s) { +function dissolve_inline__P36317(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16386,11 +14344,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___14008 = undefined; - s.x___14019 = undefined; - s.y___14025 = undefined; - s.w___14031 = undefined; - s.h___14035 = undefined; + s.i___36320 = undefined; + s.x___36331 = undefined; + s.y___36337 = undefined; + s.w___36343 = undefined; + s.h___36347 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16403,79 +14361,79 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___14008 = (r0); + s.i___36320 = (r0); case 1: - r0 = (s.i___14008 > 0); + r0 = (s.i___36320 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P3080_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P26148_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1.arg2 = r0; - s.callLocIdx = 53; s.pc = 3; return s.tmp_1; + s.callLocIdx = 52; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___14019 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P3080_mk(s); + s.x___36331 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P26148_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); s.tmp_0.arg2 = r0; - s.callLocIdx = 54; s.pc = 4; return s.tmp_0; + s.callLocIdx = 53; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___14025 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P3080_mk(s); + s.y___36337 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P26148_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; - s.callLocIdx = 55; s.pc = 5; return s.tmp_0; + s.callLocIdx = 54; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___14031 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P3080_mk(s); + s.w___36343 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P26148_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; - s.callLocIdx = 56; s.pc = 6; return s.tmp_0; + s.callLocIdx = 55; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___14035 = (r0); - s.tmp_0 = helpers_imageDrawRect__P1959_mk(s); + s.h___36347 = (r0); + s.tmp_0 = helpers_imageDrawRect__P25027_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___14019; - s.tmp_0.arg2 = s.y___14025; - s.tmp_0.arg3 = s.w___14031; - s.tmp_0.arg4 = s.h___14035; + s.tmp_0.arg1 = s.x___36331; + s.tmp_0.arg2 = s.y___36337; + s.tmp_0.arg3 = s.w___36343; + s.tmp_0.arg4 = s.h___36347; s.tmp_0.arg5 = 0; - s.callLocIdx = 57; s.pc = 7; return s.tmp_0; + s.callLocIdx = 56; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___14008 - 1); - s.i___14008 = (r0); + r0 = (s.i___36320 - 1); + s.i___36320 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -dissolve_inline__P14005.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__P36317.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__P14005_mk(s) { +function dissolve_inline__P36317_mk(s) { checkStack(s.depth); return { - parent: s, fn: dissolve_inline__P14005, depth: s.depth + 1, + parent: s, fn: dissolve_inline__P36317, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___14008: undefined, - x___14019: undefined, - y___14025: undefined, - w___14031: undefined, - h___14035: undefined, + i___36320: undefined, + x___36331: undefined, + y___36337: undefined, + w___36343: undefined, + h___36347: undefined, arg0: undefined, arg1: undefined, } } @@ -16484,7 +14442,7 @@ function dissolve_inline__P14005_mk(s) { -function helpers_imageDrawRect__P1959(s) { +function helpers_imageDrawRect__P25027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16523,7 +14481,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P1958_mk(s); + s.tmp_0 = helpers_imageDrawLine__P25026_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -16531,10 +14489,10 @@ switch (step) { s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg2; s.tmp_0.arg5 = s.arg5; - s.callLocIdx = 119; s.pc = 6; return s.tmp_0; + s.callLocIdx = 83; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P1958_mk(s); + s.tmp_0 = helpers_imageDrawLine__P25026_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -16542,10 +14500,10 @@ switch (step) { r0 = (s.arg2 + s.arg4); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg5; - s.callLocIdx = 120; s.pc = 7; return s.tmp_0; + s.callLocIdx = 84; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P1958_mk(s); + s.tmp_0 = helpers_imageDrawLine__P25026_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -16555,10 +14513,10 @@ switch (step) { s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg2; s.tmp_0.arg5 = s.arg5; - s.callLocIdx = 121; s.pc = 8; return s.tmp_0; + s.callLocIdx = 85; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P1958_mk(s); + s.tmp_0 = helpers_imageDrawLine__P25026_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -16568,7 +14526,7 @@ switch (step) { r0 = (s.arg2 + s.arg4); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg5; - s.callLocIdx = 122; s.pc = 9; return s.tmp_0; + s.callLocIdx = 86; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; case 5: @@ -16576,12 +14534,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P1959.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__P25027.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__P1959_mk(s) { +function helpers_imageDrawRect__P25027_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P1959, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P25027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16597,7 +14555,7 @@ function helpers_imageDrawRect__P1959_mk(s) { -function helpers_imageDrawLine__P1958(s) { +function helpers_imageDrawLine__P25026(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16617,17 +14575,17 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P4737_mk(s); + s.tmp_2 = helpers_pack__P27810_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; - s.callLocIdx = 117; s.pc = 1; return s.tmp_2; + s.callLocIdx = 81; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P4737_mk(s); + s.tmp_4 = helpers_pack__P27810_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; - s.callLocIdx = 118; s.pc = 2; return s.tmp_4; + s.callLocIdx = 82; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -16636,12 +14594,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P1958.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__P25026.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__P1958_mk(s) { +function helpers_imageDrawLine__P25026_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P1958, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P25026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16660,7 +14618,7 @@ function helpers_imageDrawLine__P1958_mk(s) { -function Math_FastRandom_randomRange__P3080(s) { +function Math_FastRandom_randomRange__P26148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16677,14 +14635,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C3076_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C26144_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__P3079_mk(s); + s.tmp_2 = Math_FastRandom_next__P26147_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1024; s.pc = 3; return s.tmp_2; + s.callLocIdx = 990; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -16703,12 +14661,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P3080.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__P26148.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__P3080_mk(s) { +function Math_FastRandom_randomRange__P26148_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P3080, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P26148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16725,7 +14683,7 @@ function Math_FastRandom_randomRange__P3080_mk(s) { -function Math_FastRandom_next__P3079(s) { +function Math_FastRandom_next__P26147(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16740,7 +14698,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C3076_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C26144_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["lfsr"]; s.tmp_3 = r0; @@ -16761,12 +14719,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P3079.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__P26147.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__P3079_mk(s) { +function Math_FastRandom_next__P26147_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P3079, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P26147, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16783,7 +14741,7 @@ function Math_FastRandom_next__P3079_mk(s) { -function effects_ImageEffect_constructor__P3308(s) { +function effects_ImageEffect_constructor__P26376(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16800,14 +14758,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C3307_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C26375_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C3076_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C26144_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P3078_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P26146_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1317; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1283; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["fastRandom"] = (s.tmp_0); @@ -16817,12 +14775,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P3308.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__P26376.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__P3308_mk(s) { +function effects_ImageEffect_constructor__P26376_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P3308, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P26376, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16835,7 +14793,7 @@ function effects_ImageEffect_constructor__P3308_mk(s) { -function effects_ImageEffect_applyTo__P3309(s) { +function effects_ImageEffect_applyTo__P26377(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16845,14 +14803,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___14184 = undefined; + s.clonedImage___36496 = 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__C3307_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C26375_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -16878,17 +14836,17 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___14184 = (r0); - s.tmp_0 = effects_ImageEffect_change__P3310_mk(s); + s.clonedImage___36496 = (r0); + s.tmp_0 = effects_ImageEffect_change__P26378_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___14184; - s.callLocIdx = 1320; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___36496; + s.callLocIdx = 1286; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P2391_mk(s); + s.tmp_0 = Sprite_setImage__P25459_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___14184; - s.callLocIdx = 1321; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___36496; + s.callLocIdx = 1287; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 5: @@ -16896,12 +14854,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P3309.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__P26377.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__P3309_mk(s) { +function effects_ImageEffect_applyTo__P26377_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P3309, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P26377, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16909,7 +14867,7 @@ function effects_ImageEffect_applyTo__P3309_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___14184: undefined, + clonedImage___36496: undefined, arg0: undefined, arg1: undefined, } } @@ -16918,7 +14876,7 @@ function effects_ImageEffect_applyTo__P3309_mk(s) { -function effects_ImageEffect_change__P3310(s) { +function effects_ImageEffect_change__P26378(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16934,7 +14892,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C3307_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C26375_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -16942,12 +14900,12 @@ switch (step) { s.tmp_0.arg2 = r0; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "effect"), 3); - s.callLocIdx = 1322; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1288; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["effect"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["effect"], 3); s.callLocIdx = 1322; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1322; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 1322; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["effect"], 3); s.callLocIdx = 1288; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1288; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 1288; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -16955,12 +14913,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P3310.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__P26378.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__P3310_mk(s) { +function effects_ImageEffect_change__P26378_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P3310, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P26378, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16971,7 +14929,7 @@ function effects_ImageEffect_change__P3310_mk(s) { -function Sprite_setImage__P2391(s) { +function Sprite_setImage__P25459(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16987,7 +14945,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -17009,9 +14967,9 @@ switch (step) { case 3: case 4: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = Sprite__C2341_v5_1_mk(s); + s.tmp_0 = Sprite__C25409_v5_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C2341_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C25409_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: @@ -17021,12 +14979,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P2391.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__P25459.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__P2391_mk(s) { +function Sprite_setImage__P25459_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P2391, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P25459, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17040,7 +14998,7 @@ function Sprite_setImage__P2391_mk(s) { -function Sprite_recalcSize__P4908(s) { +function Sprite_recalcSize__P27981(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17055,15 +15013,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_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__P2370_mk(s); + s.tmp_6 = Sprite_sx__P25438_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 382; s.pc = 1; return s.tmp_6; + s.callLocIdx = 346; s.pc = 1; return s.tmp_6; case 1: r0 = s.retval; s.tmp_5 = r0; @@ -17079,9 +15037,9 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.tmp_4); s.tmp_3 = r0; - s.tmp_6 = Sprite_sy__P2372_mk(s); + s.tmp_6 = Sprite_sy__P25440_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 384; s.pc = 2; return s.tmp_6; + s.callLocIdx = 348; s.pc = 2; return s.tmp_6; case 2: r0 = s.retval; s.tmp_5 = r0; @@ -17092,21 +15050,21 @@ switch (step) { r0 = (s.tmp_7 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_height"] = (s.tmp_1); - s.tmp_0 = Sprite_resetHitbox__P2393_mk(s); + s.tmp_0 = Sprite_resetHitbox__P25461_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 386; s.pc = 3; return s.tmp_0; + s.callLocIdx = 350; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_recalcSize__P4908.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__P27981.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__P4908_mk(s) { +function Sprite_recalcSize__P27981_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_recalcSize__P4908, depth: s.depth + 1, + parent: s, fn: Sprite_recalcSize__P27981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17123,7 +15081,7 @@ function Sprite_recalcSize__P4908_mk(s) { -function Sprite_resetHitbox__P2393(s) { +function Sprite_resetHitbox__P25461(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17138,11 +15096,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = (s.arg0).fields["_hitbox"] = (null); - s.tmp_0 = Sprite__C2341_v4_1_mk(s); + s.tmp_0 = Sprite__C25409_v4_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C2341_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C25409_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: @@ -17151,12 +15109,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_resetHitbox__P2393.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__P25461.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__P2393_mk(s) { +function Sprite_resetHitbox__P25461_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_resetHitbox__P2393, depth: s.depth + 1, + parent: s, fn: Sprite_resetHitbox__P25461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17166,7 +15124,7 @@ function Sprite_resetHitbox__P2393_mk(s) { -function Sprite_setHitbox__P2394(s) { +function Sprite_setHitbox__P25462(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17181,23 +15139,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_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__P2222_mk(s); + s.tmp_1 = game_Hitbox_updateIfInvalid__P25290_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 380; s.pc = 3; return s.tmp_1; + s.callLocIdx = 344; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; { step = 2; continue; } case 1: s.tmp_0 = r0 = s.arg0; - s.tmp_2 = game_calculateHitBox__P2224_mk(s); + s.tmp_2 = game_calculateHitBox__P25292_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 381; s.pc = 4; return s.tmp_2; + s.callLocIdx = 345; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; s.tmp_1 = r0; @@ -17207,12 +15165,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setHitbox__P2394.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__P25462.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__P2394_mk(s) { +function Sprite_setHitbox__P25462_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P2394, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P25462, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17224,7 +15182,7 @@ function Sprite_setHitbox__P2394_mk(s) { -function game_calculateHitBox__P2224(s) { +function game_calculateHitBox__P25292(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17234,17 +15192,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___9582 = undefined; - s.minX___9585 = undefined; - s.minY___9589 = undefined; - s.maxX___9593 = undefined; - s.maxY___9595 = undefined; - s.c___9597 = undefined; - s.fxc___9598 = undefined; - s.r___9605 = undefined; - s.fxr___9606 = undefined; - s.width___9670 = undefined; - s.height___9678 = undefined; + s.i___31867 = undefined; + s.minX___31870 = undefined; + s.minY___31874 = undefined; + s.maxX___31878 = undefined; + s.maxY___31880 = undefined; + s.c___31882 = undefined; + s.fxc___31883 = undefined; + s.r___31890 = undefined; + s.fxr___31891 = undefined; + s.width___31955 = undefined; + s.height___31963 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -17256,10 +15214,10 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = game_Hitbox_isValid__P2220_mk(s); + s.tmp_1 = game_Hitbox_isValid__P25288_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 314; s.pc = 12; return s.tmp_1; + s.callLocIdx = 278; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; case 2: @@ -17272,139 +15230,139 @@ switch (step) { case 3: case 4: r0 = s.arg0.fields["_image"]; - s.i___9582 = (r0); - r0 = pxsim_ImageMethods.width(s.i___9582); + s.i___31867 = (r0); + r0 = pxsim_ImageMethods.width(s.i___31867); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minX___9585 = (r0); - r0 = pxsim_ImageMethods.height(s.i___9582); + s.minX___31870 = (r0); + r0 = pxsim_ImageMethods.height(s.i___31867); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minY___9589 = (r0); - s.maxX___9593 = (0); - s.maxY___9595 = (0); - s.c___9597 = (0); - s.fxc___9598 = (0); + s.minY___31874 = (r0); + s.maxX___31878 = (0); + s.maxY___31880 = (0); + s.c___31882 = (0); + s.fxc___31883 = (0); case 5: - s.tmp_1 = r0 = s.c___9597; - r0 = pxsim_ImageMethods.width(s.i___9582); + s.tmp_1 = r0 = s.c___31882; + r0 = pxsim_ImageMethods.width(s.i___31867); 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___9605 = (0); - s.fxr___9606 = (0); + s.r___31890 = (0); + s.fxr___31891 = (0); case 6: - s.tmp_1 = r0 = s.r___9605; - r0 = pxsim_ImageMethods.height(s.i___9582); + s.tmp_1 = r0 = s.r___31890; + r0 = pxsim_ImageMethods.height(s.i___31867); 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___9582, s.c___9597, s.r___9605); + r0 = pxsim_ImageMethods.getPixel(s.i___31867, s.c___31882, s.r___31890); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Fx_min__P166_mk(s); - s.tmp_4.arg0 = s.minX___9585; - s.tmp_4.arg1 = s.fxc___9598; - s.callLocIdx = 318; s.pc = 13; return s.tmp_4; + s.tmp_4 = Fx_min__P23233_mk(s); + s.tmp_4.arg0 = s.minX___31870; + s.tmp_4.arg1 = s.fxc___31883; + s.callLocIdx = 282; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - s.minX___9585 = (r0); - s.tmp_0 = Fx_min__P166_mk(s); - s.tmp_0.arg0 = s.minY___9589; - s.tmp_0.arg1 = s.fxr___9606; - s.callLocIdx = 319; s.pc = 14; return s.tmp_0; + s.minX___31870 = (r0); + s.tmp_0 = Fx_min__P23233_mk(s); + s.tmp_0.arg0 = s.minY___31874; + s.tmp_0.arg1 = s.fxr___31891; + s.callLocIdx = 283; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.minY___9589 = (r0); - s.tmp_0 = Fx_max__P167_mk(s); - s.tmp_0.arg0 = s.maxX___9593; - s.tmp_0.arg1 = s.fxc___9598; - s.callLocIdx = 320; s.pc = 15; return s.tmp_0; + s.minY___31874 = (r0); + s.tmp_0 = Fx_max__P23234_mk(s); + s.tmp_0.arg0 = s.maxX___31878; + s.tmp_0.arg1 = s.fxc___31883; + s.callLocIdx = 284; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.maxX___9593 = (r0); - s.tmp_0 = Fx_max__P167_mk(s); - s.tmp_0.arg0 = s.maxY___9595; - s.tmp_0.arg1 = s.fxr___9606; - s.callLocIdx = 321; s.pc = 16; return s.tmp_0; + s.maxX___31878 = (r0); + s.tmp_0 = Fx_max__P23234_mk(s); + s.tmp_0.arg0 = s.maxY___31880; + s.tmp_0.arg1 = s.fxr___31891; + s.callLocIdx = 285; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.maxY___9595 = (r0); + s.maxY___31880 = (r0); case 7: case 8: - r0 = (s.r___9605 + 1); - s.r___9605 = (r0); - r0 = (s.fxr___9606 + 256); + r0 = (s.r___31890 + 1); + s.r___31890 = (r0); + r0 = (s.fxr___31891 + 256); s.tmp_0 = r0; - s.fxr___9606 = (r0); + s.fxr___31891 = (r0); r0 = s.tmp_0; { step = 6; continue; } case 9: - r0 = (s.c___9597 + 1); - s.c___9597 = (r0); - r0 = (s.fxc___9598 + 256); + r0 = (s.c___31882 + 1); + s.c___31882 = (r0); + r0 = (s.fxc___31883 + 256); s.tmp_0 = r0; - s.fxc___9598 = (r0); + s.fxc___31883 = (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___9585, s.tmp_0); + r0 = pxsim.Math_.imul(s.minX___31870, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minX___9585 = (r0); + s.minX___31870 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.minY___9589, s.tmp_0); + r0 = pxsim.Math_.imul(s.minY___31874, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minY___9589 = (r0); + s.minY___31874 = (r0); r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxX___9593, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxX___31878, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxX___9593 = (r0); + s.maxX___31878 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxY___9595, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxY___31880, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxY___9595 = (r0); - r0 = (s.maxX___9593 - s.minX___9585); + s.maxY___31880 = (r0); + r0 = (s.maxX___31878 - s.minX___31870); s.tmp_0 = r0; r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.width___9670 = (r0); - r0 = (s.maxY___9595 - s.minY___9589); + s.width___31955 = (r0); + r0 = (s.maxY___31880 - s.minY___31874); s.tmp_0 = r0; r0 = s.arg0.fields["_sy"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___9678 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C2208_VT); + s.height___31963 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C25276_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P2215_mk(s); + s.tmp_1 = game_Hitbox_constructor__P25283_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___9670; - s.tmp_1.arg3 = s.height___9678; - r0 = (s.minX___9585 & -256); + s.tmp_1.arg2 = s.width___31955; + s.tmp_1.arg3 = s.height___31963; + r0 = (s.minX___31870 & -256); s.tmp_1.arg4 = r0; - r0 = (s.minY___9589 & -256); + r0 = (s.minY___31874 & -256); s.tmp_1.arg5 = r0; - s.callLocIdx = 334; s.pc = 17; return s.tmp_1; + s.callLocIdx = 298; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; r0 = s.tmp_0; @@ -17412,29 +15370,29 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P2224.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__P25292.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__P2224_mk(s) { +function game_calculateHitBox__P25292_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P2224, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P25292, 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___9582: undefined, - minX___9585: undefined, - minY___9589: undefined, - maxX___9593: undefined, - maxY___9595: undefined, - c___9597: undefined, - fxc___9598: undefined, - r___9605: undefined, - fxr___9606: undefined, - width___9670: undefined, - height___9678: undefined, + i___31867: undefined, + minX___31870: undefined, + minY___31874: undefined, + maxX___31878: undefined, + maxY___31880: undefined, + c___31882: undefined, + fxc___31883: undefined, + r___31890: undefined, + fxr___31891: undefined, + width___31955: undefined, + height___31963: undefined, arg0: undefined, } } @@ -17442,7 +15400,7 @@ function game_calculateHitBox__P2224_mk(s) { -function game_Hitbox_isValid__P2220(s) { +function game_Hitbox_isValid__P25288(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17457,13 +15415,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2208_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C25276_VT)) failedCast(r0); r0 = s.arg0.fields["hash"]; s.tmp_0 = r0; - s.tmp_2 = Sprite_calcDimensionalHash__P2392_mk(s); + s.tmp_2 = Sprite_calcDimensionalHash__P25460_mk(s); r0 = s.arg0.fields["parent"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 267; s.pc = 1; return s.tmp_2; + s.callLocIdx = 231; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; @@ -17471,12 +15429,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_isValid__P2220.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__P25288.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__P2220_mk(s) { +function game_Hitbox_isValid__P25288_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_isValid__P2220, depth: s.depth + 1, + parent: s, fn: game_Hitbox_isValid__P25288, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17488,7 +15446,7 @@ function game_Hitbox_isValid__P2220_mk(s) { -function Sprite_calcDimensionalHash__P2392(s) { +function Sprite_calcDimensionalHash__P25460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17503,7 +15461,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.revision(s.tmp_2); @@ -17526,12 +15484,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_calcDimensionalHash__P2392.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__P25460.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__P2392_mk(s) { +function Sprite_calcDimensionalHash__P25460_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_calcDimensionalHash__P2392, depth: s.depth + 1, + parent: s, fn: Sprite_calcDimensionalHash__P25460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17549,7 +15507,7 @@ function Sprite_calcDimensionalHash__P2392_mk(s) { -function Fx_toIntShifted__P156(s) { +function Fx_toIntShifted__P23223(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17571,12 +15529,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toIntShifted__P156.info = {"start":404,"length":102,"line":17,"column":4,"endLine":19,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toIntShifted","argumentNames":["a","n"]} +Fx_toIntShifted__P23223.info = {"start":404,"length":102,"line":17,"column":4,"endLine":19,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toIntShifted","argumentNames":["a","n"]} -function Fx_toIntShifted__P156_mk(s) { +function Fx_toIntShifted__P23223_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P156, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P23223, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17588,7 +15546,7 @@ function Fx_toIntShifted__P156_mk(s) { -function game_Hitbox_constructor__P2215(s) { +function game_Hitbox_constructor__P25283(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17608,11 +15566,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2208_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C25276_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_calcDimensionalHash__P2392_mk(s); + s.tmp_2 = Sprite_calcDimensionalHash__P25460_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 258; s.pc = 1; return s.tmp_2; + s.callLocIdx = 222; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; @@ -17626,12 +15584,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P2215.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__P25283.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__P2215_mk(s) { +function game_Hitbox_constructor__P25283_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P2215, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P25283, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17648,7 +15606,7 @@ function game_Hitbox_constructor__P2215_mk(s) { -function Fx_floor__P168(s) { +function Fx_floor__P23235(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17666,12 +15624,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_floor__P168.info = {"start":1919,"length":103,"line":62,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"floor","argumentNames":["v"]} +Fx_floor__P23235.info = {"start":1919,"length":103,"line":62,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"floor","argumentNames":["v"]} -function Fx_floor__P168_mk(s) { +function Fx_floor__P23235_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_floor__P168, depth: s.depth + 1, + parent: s, fn: Fx_floor__P23235, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17680,7 +15638,7 @@ function Fx_floor__P168_mk(s) { -function Fx_max__P167(s) { +function Fx_max__P23234(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17711,12 +15669,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_max__P167.info = {"start":1797,"length":117,"line":56,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"max","argumentNames":["a","b"]} +Fx_max__P23234.info = {"start":1797,"length":117,"line":56,"column":4,"endLine":61,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"max","argumentNames":["a","b"]} -function Fx_max__P167_mk(s) { +function Fx_max__P23234_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P167, depth: s.depth + 1, + parent: s, fn: Fx_max__P23234, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17727,7 +15685,7 @@ function Fx_max__P167_mk(s) { -function Fx_min__P166(s) { +function Fx_min__P23233(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17758,12 +15716,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_min__P166.info = {"start":1675,"length":117,"line":50,"column":4,"endLine":55,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"min","argumentNames":["a","b"]} +Fx_min__P23233.info = {"start":1675,"length":117,"line":50,"column":4,"endLine":55,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"min","argumentNames":["a","b"]} -function Fx_min__P166_mk(s) { +function Fx_min__P23233_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P166, depth: s.depth + 1, + parent: s, fn: Fx_min__P23233, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17774,7 +15732,7 @@ function Fx_min__P166_mk(s) { -function Fx_mul__P160(s) { +function Fx_mul__P23227(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17795,12 +15753,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_mul__P160.info = {"start":872,"length":133,"line":29,"column":4,"endLine":31,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"mul","argumentNames":["a","b"]} +Fx_mul__P23227.info = {"start":872,"length":133,"line":29,"column":4,"endLine":31,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"mul","argumentNames":["a","b"]} -function Fx_mul__P160_mk(s) { +function Fx_mul__P23227_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P160, depth: s.depth + 1, + parent: s, fn: Fx_mul__P23227, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -17811,7 +15769,7 @@ function Fx_mul__P160_mk(s) { -function Fx_sub__P159(s) { +function Fx_sub__P23226(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17830,12 +15788,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_sub__P159.info = {"start":749,"length":118,"line":26,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"sub","argumentNames":["a","b"]} +Fx_sub__P23226.info = {"start":749,"length":118,"line":26,"column":4,"endLine":28,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"sub","argumentNames":["a","b"]} -function Fx_sub__P159_mk(s) { +function Fx_sub__P23226_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P159, depth: s.depth + 1, + parent: s, fn: Fx_sub__P23226, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -17845,7 +15803,7 @@ function Fx_sub__P159_mk(s) { -function game_Hitbox_updateIfInvalid__P2222(s) { +function game_Hitbox_updateIfInvalid__P25290(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17855,26 +15813,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___9783 = undefined; - s.oMinX___9788 = undefined; - s.oMinY___9791 = undefined; - s.oMaxX___9794 = undefined; - s.oMaxY___9800 = undefined; - s.nMinX___9806 = undefined; - s.nMinY___9809 = undefined; - s.nMaxX___9812 = undefined; - s.nMaxY___9818 = undefined; - s.xDiff___9824 = undefined; - s.yDiff___9835 = undefined; + s.newHitBox___32068 = undefined; + s.oMinX___32073 = undefined; + s.oMinY___32076 = undefined; + s.oMaxX___32079 = undefined; + s.oMaxY___32085 = undefined; + s.nMinX___32091 = undefined; + s.nMinY___32094 = undefined; + s.nMaxX___32097 = undefined; + s.nMaxY___32103 = undefined; + s.xDiff___32109 = undefined; + s.yDiff___32120 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2208_VT)) failedCast(r0); - s.tmp_1 = game_Hitbox_isValid__P2220_mk(s); + if (!checkSubtype(r0, game_Hitbox__C25276_VT)) failedCast(r0); + s.tmp_1 = game_Hitbox_isValid__P25288_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 272; s.pc = 8; return s.tmp_1; + s.callLocIdx = 236; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0 = r0; @@ -17883,90 +15841,90 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.tmp_2 = game_calculateHitBox__P2224_mk(s); + s.tmp_2 = game_calculateHitBox__P25292_mk(s); r0 = s.arg0.fields["parent"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 273; s.pc = 9; return s.tmp_2; + s.callLocIdx = 237; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - s.newHitBox___9783 = (r0); + s.newHitBox___32068 = (r0); r0 = s.arg0.fields["ox"]; - s.oMinX___9788 = (r0); + s.oMinX___32073 = (r0); r0 = s.arg0.fields["oy"]; - s.oMinY___9791 = (r0); + s.oMinY___32076 = (r0); r0 = s.arg0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___9788 + s.tmp_0); - s.oMaxX___9794 = (r0); + r0 = (s.oMinX___32073 + s.tmp_0); + s.oMaxX___32079 = (r0); r0 = s.arg0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___9791 + s.tmp_0); - s.oMaxY___9800 = (r0); - r0 = s.newHitBox___9783.fields["ox"]; - s.nMinX___9806 = (r0); - r0 = s.newHitBox___9783.fields["oy"]; - s.nMinY___9809 = (r0); - r0 = s.newHitBox___9783.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___9806 + s.tmp_0); - s.nMaxX___9812 = (r0); - r0 = s.newHitBox___9783.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___9809 + s.tmp_0); - s.nMaxY___9818 = (r0); - s.tmp_1 = Fx_abs__P165_mk(s); - r0 = (s.oMinX___9788 - s.nMinX___9806); + r0 = (s.oMinY___32076 + s.tmp_0); + s.oMaxY___32085 = (r0); + r0 = s.newHitBox___32068.fields["ox"]; + s.nMinX___32091 = (r0); + r0 = s.newHitBox___32068.fields["oy"]; + s.nMinY___32094 = (r0); + r0 = s.newHitBox___32068.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___32091 + s.tmp_0); + s.nMaxX___32097 = (r0); + r0 = s.newHitBox___32068.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___32094 + s.tmp_0); + s.nMaxY___32103 = (r0); + s.tmp_1 = Fx_abs__P23232_mk(s); + r0 = (s.oMinX___32073 - s.nMinX___32091); s.tmp_1.arg0 = r0; - s.callLocIdx = 279; s.pc = 10; return s.tmp_1; + s.callLocIdx = 243; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P165_mk(s); - r0 = (s.oMaxX___9794 - s.nMaxX___9812); + s.tmp_3 = Fx_abs__P23232_mk(s); + r0 = (s.oMaxX___32079 - s.nMaxX___32097); s.tmp_3.arg0 = r0; - s.callLocIdx = 281; s.pc = 11; return s.tmp_3; + s.callLocIdx = 245; 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___9824 = (r0); - s.tmp_1 = Fx_abs__P165_mk(s); - r0 = (s.oMinY___9791 - s.nMinY___9809); + s.xDiff___32109 = (r0); + s.tmp_1 = Fx_abs__P23232_mk(s); + r0 = (s.oMinY___32076 - s.nMinY___32094); s.tmp_1.arg0 = r0; - s.callLocIdx = 284; s.pc = 12; return s.tmp_1; + s.callLocIdx = 248; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P165_mk(s); - r0 = (s.oMaxY___9800 - s.nMaxY___9818); + s.tmp_3 = Fx_abs__P23232_mk(s); + r0 = (s.oMaxY___32085 - s.nMaxY___32103); s.tmp_3.arg0 = r0; - s.callLocIdx = 286; s.pc = 13; return s.tmp_3; + s.callLocIdx = 250; 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___9835 = (r0); - r0 = (s.xDiff___9824 > 512); + s.yDiff___32120 = (r0); + r0 = (s.xDiff___32109 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = (s.arg0).fields["ox"] = (s.nMinX___9806); - r0 = s.newHitBox___9783.fields["width"]; + r0 = (s.arg0).fields["ox"] = (s.nMinX___32091); + r0 = s.newHitBox___32068.fields["width"]; s.tmp_0 = r0; r0 = (s.arg0).fields["width"] = (s.tmp_0); case 3: case 4: - r0 = (s.yDiff___9835 > 512); + r0 = (s.yDiff___32120 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.arg0).fields["oy"] = (s.nMinY___9809); - r0 = s.newHitBox___9783.fields["height"]; + r0 = (s.arg0).fields["oy"] = (s.nMinY___32094); + r0 = s.newHitBox___32068.fields["height"]; s.tmp_0 = r0; r0 = (s.arg0).fields["height"] = (s.tmp_0); case 5: case 6: - r0 = s.newHitBox___9783.fields["hash"]; + r0 = s.newHitBox___32068.fields["hash"]; s.tmp_0 = r0; r0 = (s.arg0).fields["hash"] = (s.tmp_0); case 7: @@ -17974,28 +15932,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_updateIfInvalid__P2222.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__P25290.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__P2222_mk(s) { +function game_Hitbox_updateIfInvalid__P25290_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_updateIfInvalid__P2222, depth: s.depth + 1, + parent: s, fn: game_Hitbox_updateIfInvalid__P25290, 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___9783: undefined, - oMinX___9788: undefined, - oMinY___9791: undefined, - oMaxX___9794: undefined, - oMaxY___9800: undefined, - nMinX___9806: undefined, - nMinY___9809: undefined, - nMaxX___9812: undefined, - nMaxY___9818: undefined, - xDiff___9824: undefined, - yDiff___9835: undefined, + newHitBox___32068: undefined, + oMinX___32073: undefined, + oMinY___32076: undefined, + oMaxX___32079: undefined, + oMaxY___32085: undefined, + nMinX___32091: undefined, + nMinY___32094: undefined, + nMaxX___32097: undefined, + nMaxY___32103: undefined, + xDiff___32109: undefined, + yDiff___32120: undefined, arg0: undefined, } } @@ -18003,7 +15961,7 @@ function game_Hitbox_updateIfInvalid__P2222_mk(s) { -function Fx_abs__P165(s) { +function Fx_abs__P23232(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18033,12 +15991,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_abs__P165.info = {"start":1506,"length":164,"line":44,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"abs","argumentNames":["a"]} +Fx_abs__P23232.info = {"start":1506,"length":164,"line":44,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"abs","argumentNames":["a"]} -function Fx_abs__P165_mk(s) { +function Fx_abs__P23232_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P165, depth: s.depth + 1, + parent: s, fn: Fx_abs__P23232, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18048,7 +16006,7 @@ function Fx_abs__P165_mk(s) { -function Sprite_sy__P2372(s) { +function Sprite_sy__P25440(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18063,20 +16021,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_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__P2372.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__P2372.isGetter = true; +Sprite_sy__P25440.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__P25440.isGetter = true; -function Sprite_sy__P2372_mk(s) { +function Sprite_sy__P25440_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_sy__P2372, depth: s.depth + 1, + parent: s, fn: Sprite_sy__P25440, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18086,7 +16044,7 @@ function Sprite_sy__P2372_mk(s) { -function Sprite_sx__P2370(s) { +function Sprite_sx__P25438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18101,20 +16059,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_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__P2370.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__P2370.isGetter = true; +Sprite_sx__P25438.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__P25438.isGetter = true; -function Sprite_sx__P2370_mk(s) { +function Sprite_sx__P25438_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_sx__P2370, depth: s.depth + 1, + parent: s, fn: Sprite_sx__P25438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18124,7 +16082,7 @@ function Sprite_sx__P2370_mk(s) { -function Sprite_image__P2390(s) { +function Sprite_image__P25458(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18139,18 +16097,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P2390.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__P2390.isGetter = true; +Sprite_image__P25458.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__P25458.isGetter = true; -function Sprite_image__P2390_mk(s) { +function Sprite_image__P25458_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P2390, depth: s.depth + 1, + parent: s, fn: Sprite_image__P25458, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18159,7 +16117,7 @@ function Sprite_image__P2390_mk(s) { -function effects_ParticleEffect_start__P3281(s) { +function effects_ParticleEffect_start__P26349(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18169,7 +16127,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___14209 = undefined; + s.src___36521 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -18179,7 +16137,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C3279_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C26347_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -18206,18 +16164,18 @@ switch (step) { s.tmp_4.arg2 = s.tmp_3; if (!s.tmp_4.arg0.vtable.iface) { setupLambda(s.tmp_4, pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "sourceFactory"), 3); - s.callLocIdx = 1305; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1271; s.pc = 10; return s.tmp_4; } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["sourceFactory"]; - if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["sourceFactory"], 3); s.callLocIdx = 1305; s.pc = 10; return s.tmp_4; } - else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1305; s.pc = 10; return s.tmp_4;; } - else { s.callLocIdx = 1305; s.pc = 10; return s.tmp_4; } + if (s.tmp_4.fn == null) { setupLambda(s.tmp_4, s.tmp_4.arg0.fields["sourceFactory"], 3); s.callLocIdx = 1271; s.pc = 10; return s.tmp_4; } + else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 1271; s.pc = 10; return s.tmp_4;; } + else { s.callLocIdx = 1271; s.pc = 10; return s.tmp_4; } } case 10: r0 = s.retval; - s.src___14209 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P3179_mk(s); - s.tmp_0.arg0 = s.src___14209; + s.src___36521 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P26247_mk(s); + s.tmp_0.arg0 = s.src___36521; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -18226,7 +16184,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 1306; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1272; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -18242,7 +16200,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___14209).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___36521).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -18250,19 +16208,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P3281.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__P26349.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__P3281_mk(s) { +function effects_ParticleEffect_start__P26349_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P3281, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P26349, 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___14209: undefined, + src___36521: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18274,7 +16232,7 @@ function effects_ParticleEffect_start__P3281_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P3179(s) { +function particles_ParticleSource_setRelativeToCamera__P26247(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18290,7 +16248,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3168_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C26236_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -18316,12 +16274,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P3179.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__P26247.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__P3179_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P26247_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P3179, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P26247, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18336,7 +16294,7 @@ function particles_ParticleSource_setRelativeToCamera__P3179_mk(s) { -function Sprite_setFlag__P2419(s) { +function Sprite_setFlag__P25487(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18353,7 +16311,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -18379,12 +16337,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P2419.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__P25487.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__P2419_mk(s) { +function Sprite_setFlag__P25487_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P2419, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P25487, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18400,7 +16358,7 @@ function Sprite_setFlag__P2419_mk(s) { -function Sprite__destroyCore__P2429(s) { +function Sprite__destroyCore__P25497(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18410,25 +16368,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___13930 = undefined; + s.scene___36242 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_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__P3016_mk(s); - s.callLocIdx = 470; s.pc = 7; return s.tmp_0; + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 434; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___13930 = (r0); - r0 = s.scene___13930.fields["allSprites"]; + s.scene___36242 = (r0); + r0 = s.scene___36242.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -18440,7 +16398,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___13930.fields["spritesByKind"]; + r0 = s.scene___36242.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -18450,24 +16408,24 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - s.tmp_5 = sprites_SpriteSet_remove__P2470_mk(s); - r0 = s.scene___13930.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P25538_mk(s); + r0 = s.scene___36242.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_6, s.tmp_7); s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg0; - s.callLocIdx = 474; s.pc = 8; return s.tmp_5; + s.callLocIdx = 438; s.pc = 8; return s.tmp_5; case 8: r0 = s.retval; case 3: case 4: - s.tmp_0 = PhysicsEngine__C2511_v1_2_mk(s); - r0 = s.scene___13930.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C25579_v1_2_mk(s); + r0 = s.scene___36242.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2511_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C25579_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: @@ -18480,46 +16438,46 @@ switch (step) { s.tmp_1.arg0 = s.arg0; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "destroyHandler"), 1); - s.callLocIdx = 475; s.pc = 10; return s.tmp_1; + s.callLocIdx = 439; s.pc = 10; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["destroyHandler"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["destroyHandler"], 1); s.callLocIdx = 475; s.pc = 10; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 475; s.pc = 10; return s.tmp_1;; } - else { s.callLocIdx = 475; s.pc = 10; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["destroyHandler"], 1); s.callLocIdx = 439; s.pc = 10; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 439; s.pc = 10; return s.tmp_1;; } + else { s.callLocIdx = 439; s.pc = 10; return s.tmp_1; } } case 10: r0 = s.retval; case 5: case 6: - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P13959); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P36271); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P13965); + r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P36277); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); - s.tmp_3 = helpers_arrayFilter__P110_mk(s); - r0 = s.scene___13930.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P23176_mk(s); + s.tmp_3 = helpers_arrayFilter__P23177_mk(s); + r0 = s.scene___36242.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; - s.callLocIdx = 477; s.pc = 12; return s.tmp_3; + s.callLocIdx = 441; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 479; s.pc = 11; return s.tmp_2; + s.callLocIdx = 443; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P2429.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__P25497.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__P2429_mk(s) { +function Sprite__destroyCore__P25497_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P2429, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P25497, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18529,7 +16487,7 @@ function Sprite__destroyCore__P2429_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___13930: undefined, + scene___36242: undefined, arg0: undefined, } } @@ -18537,7 +16495,7 @@ function Sprite__destroyCore__P2429_mk(s) { -function forEach_inline__P13959(s) { +function forEach_inline__P36271(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18559,12 +16517,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P13959.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__P36271.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__P13959_mk(s) { +function forEach_inline__P36271_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P13959, depth: s.depth + 1, + parent: s, fn: forEach_inline__P36271, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18575,7 +16533,7 @@ function forEach_inline__P13959_mk(s) { -function Sprite__destroyCore_inline__P13965(s) { +function Sprite__destroyCore_inline__P36277(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18594,12 +16552,12 @@ switch (step) { s.tmp_0.arg1 = s.caps[0]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 2); - s.callLocIdx = 478; s.pc = 1; return s.tmp_0; + s.callLocIdx = 442; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 2); s.callLocIdx = 478; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 478; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 478; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 2); s.callLocIdx = 442; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 442; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 442; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -18607,12 +16565,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore_inline__P13965.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__P36277.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__P13965_mk(s) { +function Sprite__destroyCore_inline__P36277_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore_inline__P13965, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore_inline__P36277, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18622,7 +16580,7 @@ function Sprite__destroyCore_inline__P13965_mk(s) { -function PhysicsEngine_removeSprite__P2514(s) { +function PhysicsEngine_removeSprite__P25582(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18638,17 +16596,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2511_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C25579_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P2514.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__P25582.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__P2514_mk(s) { +function PhysicsEngine_removeSprite__P25582_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P2514, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P25582, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -18658,7 +16616,7 @@ function PhysicsEngine_removeSprite__P2514_mk(s) { -function sprites_SpriteSet_remove__P2470(s) { +function sprites_SpriteSet_remove__P25538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18668,28 +16626,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___10435 = undefined; + s.i___32720 = 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__C2463_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C25531_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___10435 = (r0); - r0 = (s.i___10435 > -1); + s.i___32720 = (r0); + r0 = (s.i___32720 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P100_mk(s); + s.tmp_1 = helpers_arraySplice__P23167_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___10435; + s.tmp_1.arg1 = s.i___32720; s.tmp_1.arg2 = 1; - s.callLocIdx = 568; s.pc = 4; return s.tmp_1; + s.callLocIdx = 532; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; r0 = true; @@ -18701,16 +16659,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P2470.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__P25538.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__P2470_mk(s) { +function sprites_SpriteSet_remove__P25538_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P2470, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P25538, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___10435: undefined, + i___32720: undefined, arg0: undefined, arg1: undefined, } } @@ -18719,7 +16677,7 @@ function sprites_SpriteSet_remove__P2470_mk(s) { -function Sprite_kind__P2407(s) { +function Sprite_kind__P25475(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18734,17 +16692,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P2407.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__P25475.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__P2407_mk(s) { +function Sprite_kind__P25475_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P2407, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P25475, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18753,7 +16711,7 @@ function Sprite_kind__P2407_mk(s) { -function game_popScene__P3021(s) { +function game_popScene__P26089(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18763,59 +16721,59 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___8003 = undefined; - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 1007; s.pc = 11; return s.tmp_0; + s.oldScene___30283 = undefined; + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 973; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___8003 = (r0); - s.tmp_0 = r0 = globals._sceneStack___5101; + s.oldScene___30283 = (r0); + s.tmp_0 = r0 = globals._sceneStack___28174; 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___5101); + r0 = pxsim_Array__length(globals._sceneStack___28174); 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___5101); - globals._scene___5100 = (r0); - s.tmp_0 = control_popEventContext__P410_mk(s); - s.callLocIdx = 1008; s.pc = 12; return s.tmp_0; + r0 = pxsim_Array_.pop(globals._sceneStack___28174); + globals._scene___28173 = (r0); + s.tmp_0 = control_popEventContext__P23477_mk(s); + s.callLocIdx = 974; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___5100); + r0 = pxsim_numops_toBoolDecr(globals._scene___28173); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P410_mk(s); - s.callLocIdx = 1009; s.pc = 13; return s.tmp_0; + s.tmp_0 = control_popEventContext__P23477_mk(s); + s.callLocIdx = 975; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___5100 = (undefined); + globals._scene___28173 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___5100); + r0 = pxsim_numops_toBoolDecr(globals._scene___28173); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P3200_mk(s); - s.callLocIdx = 1010; s.pc = 14; return s.tmp_0; + s.tmp_0 = particles_enableAll__P26268_mk(s); + s.callLocIdx = 976; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___5103); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___28176); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P8024); + r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P30304); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___8003); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___5103; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___30283); + s.tmp_1 = helpers_arrayForEach__P23176_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___28176; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1012; s.pc = 15; return s.tmp_1; + s.callLocIdx = 978; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; case 9: @@ -18824,23 +16782,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P3021.info = {"start":5778,"length":548,"line":185,"column":4,"endLine":203,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P26089.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__P3021_mk(s) { +function game_popScene__P26089_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P3021, depth: s.depth + 1, + parent: s, fn: game_popScene__P26089, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___8003: undefined, + oldScene___30283: undefined, } } -function game_popScene_inline__P8024(s) { +function game_popScene_inline__P30304(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18858,19 +16816,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 1011; s.pc = 1; return s.tmp_0; + s.callLocIdx = 977; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_popScene_inline__P8024.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__P30304.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__P8024_mk(s) { +function game_popScene_inline__P30304_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene_inline__P8024, depth: s.depth + 1, + parent: s, fn: game_popScene_inline__P30304, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18880,7 +16838,7 @@ function game_popScene_inline__P8024_mk(s) { -function particles_enableAll__P3200(s) { +function particles_enableAll__P26268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18890,22 +16848,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___8045 = undefined; - s.tmp_0 = particles_particleSources__P5450_mk(s); - s.callLocIdx = 1251; s.pc = 3; return s.tmp_0; + s.sources___30325 = undefined; + s.tmp_0 = particles_particleSources__P28523_mk(s); + s.callLocIdx = 1217; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___8045 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___8045); + s.sources___30325 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___30325); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.sources___8045; - s.tmp_0.arg1 = particles_enableAll_inline__P8051; - s.callLocIdx = 1253; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P23176_mk(s); + s.tmp_0.arg0 = s.sources___30325; + s.tmp_0.arg1 = particles_enableAll_inline__P30331; + s.callLocIdx = 1219; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P5446_mk(s); - s.callLocIdx = 1254; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P28519_mk(s); + s.callLocIdx = 1220; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -18914,22 +16872,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P3200.info = {"start":12649,"length":193,"line":413,"column":4,"endLine":419,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P26268.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__P3200_mk(s) { +function particles_enableAll__P26268_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P3200, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P26268, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___8045: undefined, + sources___30325: undefined, } } -function particles_enableAll_inline__P8051(s) { +function particles_enableAll_inline__P30331(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18943,22 +16901,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P3181_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P26249_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1252; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1218; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = true; return leave(s, r0) default: oops() } } } -particles_enableAll_inline__P8051.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__P30331.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__P8051_mk(s) { +function particles_enableAll_inline__P30331_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll_inline__P8051, depth: s.depth + 1, + parent: s, fn: particles_enableAll_inline__P30331, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18968,7 +16926,7 @@ function particles_enableAll_inline__P8051_mk(s) { -function particles_particleSources__P5450(s) { +function particles_particleSources__P28523(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18978,33 +16936,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___8219 = undefined; - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 1255; s.pc = 1; return s.tmp_0; + s.sources___30506 = undefined; + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 1221; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___8219 = (r0); - r0 = s.sources___8219; + s.sources___30506 = (r0); + r0 = s.sources___30506; return leave(s, r0) default: oops() } } } -particles_particleSources__P5450.info = {"start":12848,"length":119,"line":421,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P28523.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__P5450_mk(s) { +function particles_particleSources__P28523_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P5450, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P28523, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___8219: undefined, + sources___30506: undefined, } } -function particles_pruneParticles__P5446(s) { +function particles_pruneParticles__P28519(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19014,26 +16972,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___8056 = undefined; - s.tmp_0 = particles_particleSources__P5450_mk(s); - s.callLocIdx = 1238; s.pc = 3; return s.tmp_0; + s.sources___30336 = undefined; + s.tmp_0 = particles_particleSources__P28523_mk(s); + s.callLocIdx = 1204; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___8056 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___8056); + s.sources___30336 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___30336); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_1 = helpers_arraySlice__P115_mk(s); - s.tmp_1.arg0 = s.sources___8056; + s.tmp_0 = helpers_arrayForEach__P23176_mk(s); + s.tmp_1 = helpers_arraySlice__P23182_mk(s); + s.tmp_1.arg0 = s.sources___30336; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___8056); + r0 = pxsim_Array__length(s.sources___30336); s.tmp_1.arg2 = r0; - s.callLocIdx = 1239; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1205; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = particles_pruneParticles_inline__P8065; - s.callLocIdx = 1241; s.pc = 4; return s.tmp_0; + s.tmp_0.arg1 = particles_pruneParticles_inline__P30345; + s.callLocIdx = 1207; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -19042,23 +17000,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P5446.info = {"start":9864,"length":156,"line":327,"column":4,"endLine":330,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P28519.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__P5446_mk(s) { +function particles_pruneParticles__P28519_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P5446, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P28519, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___8056: undefined, + sources___30336: undefined, } } -function particles_pruneParticles_inline__P8065(s) { +function particles_pruneParticles_inline__P30345(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19072,21 +17030,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P3176_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P26244_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1240; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1206; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_pruneParticles_inline__P8065.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__P30345.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__P8065_mk(s) { +function particles_pruneParticles_inline__P30345_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles_inline__P8065, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles_inline__P30345, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19096,7 +17054,7 @@ function particles_pruneParticles_inline__P8065_mk(s) { -function particles_ParticleSource__prune__P3176(s) { +function particles_ParticleSource__prune__P26244(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19106,15 +17064,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___8095 = undefined; - s.sources___8103 = undefined; - s.current___8117 = undefined; + s.scene___30375 = undefined; + s.sources___30383 = undefined; + s.current___30397 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3168_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C26236_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["head"]; s.tmp_0 = r0; @@ -19157,36 +17115,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P3016_mk(s); - s.callLocIdx = 1213; s.pc = 21; return s.tmp_5; + s.tmp_5 = game_currentScene__P26084_mk(s); + s.callLocIdx = 1179; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___8095 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___8095); + s.scene___30375 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___30375); if (!r0) { step = 7; continue; } - r0 = s.scene___8095.fields["allSprites"]; + r0 = s.scene___30375.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P5450_mk(s); - s.callLocIdx = 1214; s.pc = 22; return s.tmp_0; + s.tmp_0 = particles_particleSources__P28523_mk(s); + s.callLocIdx = 1180; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___8103 = (r0); - s.tmp_0 = r0 = s.sources___8103; + s.sources___30383 = (r0); + s.tmp_0 = r0 = s.sources___30383; 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___8103); + r0 = pxsim_Array__length(s.sources___30383); 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___8103, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___30383, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -19195,35 +17153,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___8117 = (r0); + s.current___30397 = (r0); case 15: - s.tmp_0 = r0 = s.current___8117; + s.tmp_0 = r0 = s.current___30397; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___8117.fields["next"]; + r0 = s.current___30397.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___8117.fields["next"]; + r0 = s.current___30397.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___8117.fields["next"]; + r0 = s.current___30397.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___8117).fields["next"] = (s.tmp_4); + r0 = (s.current___30397).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___8117.fields["next"]; - s.current___8117 = (r0); + r0 = s.current___30397.fields["next"]; + s.current___30397 = (r0); case 19: { step = 15; continue; } case 20: @@ -19231,12 +17189,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P3176.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__P26244.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__P3176_mk(s) { +function particles_ParticleSource__prune__P26244_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P3176, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P26244, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19244,9 +17202,9 @@ function particles_ParticleSource__prune__P3176_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___8095: undefined, - sources___8103: undefined, - current___8117: undefined, + scene___30375: undefined, + sources___30383: undefined, + current___30397: undefined, arg0: undefined, } } @@ -19254,7 +17212,7 @@ function particles_ParticleSource__prune__P3176_mk(s) { -function particles_ParticleSource_enabled__P3181(s) { +function particles_ParticleSource_enabled__P26249(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19270,11 +17228,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3168_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C26236_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P3180_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P26248_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1217; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1183; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2 = r0; @@ -19303,12 +17261,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P3181.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__P26249.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__P3181_mk(s) { +function particles_ParticleSource_enabled__P26249_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P3181, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P26249, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19325,7 +17283,7 @@ function particles_ParticleSource_enabled__P3181_mk(s) { -function particles_ParticleSource_enabled__P3180(s) { +function particles_ParticleSource_enabled__P26248(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19340,7 +17298,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3168_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C26236_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -19355,13 +17313,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P3180.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__P3180.isGetter = true; +particles_ParticleSource_enabled__P26248.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__P26248.isGetter = true; -function particles_ParticleSource_enabled__P3180_mk(s) { +function particles_ParticleSource_enabled__P26248_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P3180, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P26248, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19375,7 +17333,7 @@ function particles_ParticleSource_enabled__P3180_mk(s) { -function control_popEventContext__P410(s) { +function control_popEventContext__P23477(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19385,9 +17343,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___8226 = undefined; - s.context___8234 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4600); + s.ctx___30513 = undefined; + s.context___30521 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___27673); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -19396,9 +17354,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___4600); - s.ctx___8226 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___8226); + r0 = pxsim_Array_.pop(globals.eventContexts___27673); + s.ctx___30513 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___30513); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -19407,53 +17365,53 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P402_mk(s); - s.tmp_2.arg0 = s.ctx___8226; - s.callLocIdx = 57; s.pc = 8; return s.tmp_2; + s.tmp_2 = control_EventContext_unregister__P23469_mk(s); + s.tmp_2.arg0 = s.ctx___30513; + s.callLocIdx = 56; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___4600; - r0 = pxsim_Array__length(globals.eventContexts___4600); + s.tmp_0 = r0 = globals.eventContexts___27673; + r0 = pxsim_Array__length(globals.eventContexts___27673); 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___8234 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___8234); + s.context___30521 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___30521); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P401_mk(s); - s.tmp_0.arg0 = s.context___8234; - s.callLocIdx = 58; s.pc = 9; return s.tmp_0; + s.tmp_0 = control_EventContext_register__P23468_mk(s); + s.tmp_0.arg0 = s.context___30521; + s.callLocIdx = 57; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___4600 = (undefined); + globals.eventContexts___27673 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P410.info = {"start":7755,"length":413,"line":236,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P23477.info = {"start":7755,"length":413,"line":236,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} -function control_popEventContext__P410_mk(s) { +function control_popEventContext__P23477_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P410, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P23477, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___8226: undefined, - context___8234: undefined, + ctx___30513: undefined, + context___30521: undefined, } } -function control_EventContext_register__P401(s) { +function control_EventContext_register__P23468(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19463,59 +17421,59 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___8247 = undefined; - s.unnamed64___U1 = undefined; - s.unnamed65___U2 = undefined; + s.h___30534 = undefined; + s.unnamed172___U1 = undefined; + s.unnamed173___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); - s.h___8247 = (undefined); + if (!checkSubtype(r0, control_EventContext__C23462_VT)) failedCast(r0); + s.h___30534 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed64___U1 = (r0); - s.unnamed65___U2 = (0); + s.unnamed172___U1 = (r0); + s.unnamed173___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed65___U2; - r0 = pxsim_Array__length(s.unnamed64___U1); + s.tmp_0 = r0 = s.unnamed173___U2; + r0 = pxsim_Array__length(s.unnamed172___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed64___U1, s.unnamed65___U2); - s.h___8247 = (r0); - s.tmp_2 = control_EventHandler_register__P4593_mk(s); - s.tmp_2.arg0 = s.h___8247; - s.callLocIdx = 48; s.pc = 3; return s.tmp_2; + r0 = pxsim_Array__getAt(s.unnamed172___U1, s.unnamed173___U2); + s.h___30534 = (r0); + s.tmp_2 = control_EventHandler_register__P27666_mk(s); + s.tmp_2.arg0 = s.h___30534; + s.callLocIdx = 47; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed65___U2 + 1); - s.unnamed65___U2 = (r0); + r0 = (s.unnamed173___U2 + 1); + s.unnamed173___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed64___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P4598_mk(s); + s.unnamed172___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P27671_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 49; s.pc = 4; return s.tmp_0; + s.callLocIdx = 48; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_register__P401.info = {"start":4573,"length":138,"line":135,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} +control_EventContext_register__P23468.info = {"start":4573,"length":138,"line":135,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"register","argumentNames":["this"]} -function control_EventContext_register__P401_mk(s) { +function control_EventContext_register__P23468_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P401, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P23468, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___8247: undefined, - unnamed64___U1: undefined, - unnamed65___U2: undefined, + h___30534: undefined, + unnamed172___U1: undefined, + unnamed173___U2: undefined, arg0: undefined, } } @@ -19523,7 +17481,7 @@ function control_EventContext_register__P401_mk(s) { -function controller__setUserEventsEnabled__P2206(s) { +function controller__setUserEventsEnabled__P25274(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19537,17 +17495,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___4896 = (s.arg0); + globals._userEventsEnabled___27969 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P2206.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__P25274.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__P2206_mk(s) { +function controller__setUserEventsEnabled__P25274_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P2206, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P25274, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -19556,7 +17514,7 @@ function controller__setUserEventsEnabled__P2206_mk(s) { -function scene_systemMenu_MenuOption_constructor__P3105(s) { +function scene_systemMenu_MenuOption_constructor__P26173(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19574,7 +17532,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3104_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26172_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -19582,12 +17540,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P3105.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__P26173.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__P3105_mk(s) { +function scene_systemMenu_MenuOption_constructor__P26173_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P3105, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P26173, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -19599,7 +17557,7 @@ function scene_systemMenu_MenuOption_constructor__P3105_mk(s) { -function helpers_screenBrightness__P1966(s) { +function helpers_screenBrightness__P25034(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19613,16 +17571,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___1951; + r0 = globals.brightness___25019; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P1966.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__P25034.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__P1966_mk(s) { +function helpers_screenBrightness__P25034_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P1966, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P25034, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -19631,7 +17589,39 @@ function helpers_screenBrightness__P1966_mk(s) { -function helpers_arrayConcat__P113(s) { +function music_volume__P24689(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.tmp_0 = music_initVolume__P27708_mk(s); + s.callLocIdx = 61; s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = globals.globalVolume___27704; + return leave(s, r0) + default: oops() +} } } +music_volume__P24689.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__P24689_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: music_volume__P24689, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, +} } + + + + + +function music_initVolume__P27708(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19641,74 +17631,115 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___14516 = undefined; - s.value___14519 = undefined; - s.unnamed54___U2 = undefined; - s.unnamed55___U3 = undefined; - s.value___14526 = undefined; - s.unnamed56___U5 = undefined; - s.unnamed57___U6 = undefined; + r0 = (globals.globalVolume___27704 === null); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + globals.globalVolume___27704 = (0); + s.tmp_0 = music_setVolume__P24688_mk(s); + r0 = pxsim_pxtcore.getConfig(59, 128); + s.tmp_0.arg0 = r0; + s.callLocIdx = 58; s.pc = 3; return s.tmp_0; + case 3: + r0 = s.retval; + case 1: + case 2: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +music_initVolume__P27708.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__P27708_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: music_initVolume__P27708, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, +} } + + + + + +function helpers_arrayConcat__P23180(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.out___36828 = undefined; + s.value___36831 = undefined; + s.unnamed162___U2 = undefined; + s.unnamed163___U3 = undefined; + s.value___36838 = undefined; + s.unnamed164___U5 = undefined; + s.unnamed165___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___14516 = (r0); - s.value___14519 = (undefined); - s.unnamed54___U2 = (s.arg0); - s.unnamed55___U3 = (0); + s.out___36828 = (r0); + s.value___36831 = (undefined); + s.unnamed162___U2 = (s.arg0); + s.unnamed163___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed55___U3; - r0 = pxsim_Array__length(s.unnamed54___U2); + s.tmp_0 = r0 = s.unnamed163___U3; + r0 = pxsim_Array__length(s.unnamed162___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed54___U2, s.unnamed55___U3); - s.value___14519 = (r0); - r0 = pxsim_Array__push(s.out___14516, s.value___14519); - r0 = (s.unnamed55___U3 + 1); - s.unnamed55___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed162___U2, s.unnamed163___U3); + s.value___36831 = (r0); + r0 = pxsim_Array__push(s.out___36828, s.value___36831); + r0 = (s.unnamed163___U3 + 1); + s.unnamed163___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed54___U2 = (undefined); - s.value___14526 = (undefined); - s.unnamed56___U5 = (s.arg1); - s.unnamed57___U6 = (0); + s.unnamed162___U2 = (undefined); + s.value___36838 = (undefined); + s.unnamed164___U5 = (s.arg1); + s.unnamed165___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed57___U6; - r0 = pxsim_Array__length(s.unnamed56___U5); + s.tmp_0 = r0 = s.unnamed165___U6; + r0 = pxsim_Array__length(s.unnamed164___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed56___U5, s.unnamed57___U6); - s.value___14526 = (r0); - r0 = pxsim_Array__push(s.out___14516, s.value___14526); - r0 = (s.unnamed57___U6 + 1); - s.unnamed57___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed164___U5, s.unnamed165___U6); + s.value___36838 = (r0); + r0 = pxsim_Array__push(s.out___36828, s.value___36838); + r0 = (s.unnamed165___U6 + 1); + s.unnamed165___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed56___U5 = (undefined); - r0 = s.out___14516; + s.unnamed164___U5 = (undefined); + r0 = s.out___36828; return leave(s, r0) default: oops() } } } -helpers_arrayConcat__P113.info = {"start":8639,"length":264,"line":288,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayConcat","argumentNames":["arr","otherArr"]} +helpers_arrayConcat__P23180.info = {"start":8639,"length":264,"line":288,"column":4,"endLine":297,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayConcat","argumentNames":["arr","otherArr"]} -function helpers_arrayConcat__P113_mk(s) { +function helpers_arrayConcat__P23180_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P113, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P23180, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___14516: undefined, - value___14519: undefined, - unnamed54___U2: undefined, - unnamed55___U3: undefined, - value___14526: undefined, - unnamed56___U5: undefined, - unnamed57___U6: undefined, + out___36828: undefined, + value___36831: undefined, + unnamed162___U2: undefined, + unnamed163___U3: undefined, + value___36838: undefined, + unnamed164___U5: undefined, + unnamed165___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -19717,7 +17748,7 @@ function helpers_arrayConcat__P113_mk(s) { -function scene_systemMenu_PauseMenu_show__P3114(s) { +function scene_systemMenu_PauseMenu_show__P26182(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19727,34 +17758,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___13381 = undefined; - s.i___13382 = undefined; + s.current___35693 = undefined; + s.i___35694 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3112_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26180_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; s.tmp_2 = if_generator_1_mk(s); s.tmp_2.arg0 = s.arg0; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "generator"), 1); - s.callLocIdx = 1055; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1021; s.pc = 3; return s.tmp_2; } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["generator"]; - if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["generator"], 1); s.callLocIdx = 1055; s.pc = 3; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 1055; s.pc = 3; return s.tmp_2;; } - else { s.callLocIdx = 1055; s.pc = 3; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["generator"], 1); s.callLocIdx = 1021; s.pc = 3; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 1021; s.pc = 3; return s.tmp_2;; } + else { s.callLocIdx = 1021; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___13382 = (0); + s.i___35694 = (0); case 1: - s.tmp_1 = r0 = s.i___13382; + s.tmp_1 = r0 = s.i___35694; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -19765,22 +17796,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___13382); - s.current___13381 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P3106_mk(s); - s.tmp_0.arg0 = s.current___13381; - s.callLocIdx = 1056; s.pc = 4; return s.tmp_0; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___35694); + s.current___35693 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P26174_mk(s); + s.tmp_0.arg0 = s.current___35693; + s.callLocIdx = 1022; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P3109_mk(s); - s.tmp_0.arg0 = s.current___13381; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P26177_mk(s); + s.tmp_0.arg0 = s.current___35693; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 1057; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1023; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P3107_mk(s); - s.tmp_0.arg0 = s.current___13381; + s.tmp_0 = scene_systemMenu_MenuOption_position__P26175_mk(s); + s.tmp_0.arg0 = s.current___35693; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -19790,12 +17821,12 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["padding"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["padding"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1058; s.pc = 7; return s.tmp_2; } + else { s.callLocIdx = 1024; s.pc = 7; return s.tmp_2; } } case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___13382; + s.tmp_5 = r0 = s.i___35694; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -19805,7 +17836,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardsPerRow"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 1059; s.pc = 8; return s.tmp_7; } + else { s.callLocIdx = 1025; s.pc = 8; return s.tmp_7; } } case 8: r0 = s.retval; @@ -19821,7 +17852,7 @@ switch (step) { s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["cardWidth"]; if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["cardWidth"]; } else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } - else { s.callLocIdx = 1060; s.pc = 9; return s.tmp_10; } + else { s.callLocIdx = 1026; s.pc = 9; return s.tmp_10; } } case 9: r0 = s.retval; @@ -19835,7 +17866,7 @@ switch (step) { s.tmp_12.fn = s.tmp_12.arg0.vtable.iface["cardSpacing"]; if (s.tmp_12.fn == null) { s.retval = s.tmp_12.arg0.fields["cardSpacing"]; } else if (!s.tmp_12.fn.isGetter) { s.retval = bind(s.tmp_12); } - else { s.callLocIdx = 1061; s.pc = 10; return s.tmp_12; } + else { s.callLocIdx = 1027; s.pc = 10; return s.tmp_12; } } case 10: r0 = s.retval; @@ -19855,12 +17886,12 @@ switch (step) { s.tmp_14.fn = s.tmp_14.arg0.vtable.iface["cardsTop"]; if (s.tmp_14.fn == null) { s.retval = s.tmp_14.arg0.fields["cardsTop"]; } else if (!s.tmp_14.fn.isGetter) { s.retval = bind(s.tmp_14); } - else { s.callLocIdx = 1062; s.pc = 11; return s.tmp_14; } + else { s.callLocIdx = 1028; s.pc = 11; return s.tmp_14; } } case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___13382; + s.tmp_17 = r0 = s.i___35694; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -19870,7 +17901,7 @@ switch (step) { s.tmp_19.fn = s.tmp_19.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_19.fn == null) { s.retval = s.tmp_19.arg0.fields["cardsPerRow"]; } else if (!s.tmp_19.fn.isGetter) { s.retval = bind(s.tmp_19); } - else { s.callLocIdx = 1063; s.pc = 12; return s.tmp_19; } + else { s.callLocIdx = 1029; s.pc = 12; return s.tmp_19; } } case 12: r0 = s.retval; @@ -19886,7 +17917,7 @@ switch (step) { s.tmp_22.fn = s.tmp_22.arg0.vtable.iface["cardWidth"]; if (s.tmp_22.fn == null) { s.retval = s.tmp_22.arg0.fields["cardWidth"]; } else if (!s.tmp_22.fn.isGetter) { s.retval = bind(s.tmp_22); } - else { s.callLocIdx = 1064; s.pc = 13; return s.tmp_22; } + else { s.callLocIdx = 1030; s.pc = 13; return s.tmp_22; } } case 13: r0 = s.retval; @@ -19900,7 +17931,7 @@ switch (step) { s.tmp_24.fn = s.tmp_24.arg0.vtable.iface["cardSpacing"]; if (s.tmp_24.fn == null) { s.retval = s.tmp_24.arg0.fields["cardSpacing"]; } else if (!s.tmp_24.fn.isGetter) { s.retval = bind(s.tmp_24); } - else { s.callLocIdx = 1065; s.pc = 14; return s.tmp_24; } + else { s.callLocIdx = 1031; s.pc = 14; return s.tmp_24; } } case 14: r0 = s.retval; @@ -19911,116 +17942,116 @@ switch (step) { s.tmp_15 = r0; r0 = (s.tmp_13 + s.tmp_15); s.tmp_0.arg2 = r0; - s.callLocIdx = 1066; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1032; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___13382 + 1); - s.i___13382 = (r0); + r0 = (s.i___35694 + 1); + s.i___35694 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P2206_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P25274_mk(s); s.tmp_0.arg0 = false; - s.callLocIdx = 1067; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1033; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13445); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P35757); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2196_mk(s); - s.tmp_1.arg0 = globals.A___2113; + s.tmp_1 = controller_Button_onEvent__P25264_mk(s); + s.tmp_1.arg0 = globals.A___25181; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1069; s.pc = 16; return s.tmp_1; + s.callLocIdx = 1035; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13465); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P35777); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2196_mk(s); - s.tmp_1.arg0 = globals.A___2113; + s.tmp_1 = controller_Button_onEvent__P25264_mk(s); + s.tmp_1.arg0 = globals.A___25181; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1071; s.pc = 17; return s.tmp_1; + s.callLocIdx = 1037; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P2196_mk(s); - s.tmp_0.arg0 = globals.B___2114; + s.tmp_0 = controller_Button_onEvent__P25264_mk(s); + s.tmp_0.arg0 = globals.B___25182; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P13494; - s.callLocIdx = 1073; s.pc = 18; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P35806; + s.callLocIdx = 1039; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P2196_mk(s); - s.tmp_0.arg0 = globals.menu___2119; + s.tmp_0 = controller_Button_onEvent__P25264_mk(s); + s.tmp_0.arg0 = globals.menu___25187; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P13499; - s.callLocIdx = 1075; s.pc = 19; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P35811; + s.callLocIdx = 1041; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13504); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P35816); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2196_mk(s); - s.tmp_1.arg0 = globals.up___2116; + s.tmp_1 = controller_Button_onEvent__P25264_mk(s); + s.tmp_1.arg0 = globals.up___25184; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1079; s.pc = 20; return s.tmp_1; + s.callLocIdx = 1045; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13516); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P35828); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2196_mk(s); - s.tmp_1.arg0 = globals.left___2115; + s.tmp_1 = controller_Button_onEvent__P25264_mk(s); + s.tmp_1.arg0 = globals.left___25183; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1082; s.pc = 21; return s.tmp_1; + s.callLocIdx = 1048; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13525); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P35837); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2196_mk(s); - s.tmp_1.arg0 = globals.down___2118; + s.tmp_1 = controller_Button_onEvent__P25264_mk(s); + s.tmp_1.arg0 = globals.down___25186; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1086; s.pc = 22; return s.tmp_1; + s.callLocIdx = 1052; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13541); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P35853); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2196_mk(s); - s.tmp_1.arg0 = globals.right___2117; + s.tmp_1 = controller_Button_onEvent__P25264_mk(s); + s.tmp_1.arg0 = globals.right___25185; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1089; s.pc = 23; return s.tmp_1; + s.callLocIdx = 1055; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P13553); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P35865); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P3034_mk(s); + s.tmp_1 = game_onShade__P26102_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 1092; s.pc = 24; return s.tmp_1; + s.callLocIdx = 1058; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3116_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P26184_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1093; s.pc = 25; return s.tmp_0; + s.callLocIdx = 1059; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P3114.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__P26182.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__P3114_mk(s) { +function scene_systemMenu_PauseMenu_show__P26182_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P3114, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P26182, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20047,8 +18078,8 @@ function scene_systemMenu_PauseMenu_show__P3114_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___13381: undefined, - i___13382: undefined, + current___35693: undefined, + i___35694: undefined, arg0: undefined, } } @@ -20056,7 +18087,7 @@ function scene_systemMenu_PauseMenu_show__P3114_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13445(s) { +function scene_systemMenu_PauseMenu_show_inline__P35757(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20094,7 +18125,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P3110_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P26178_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -20102,7 +18133,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); s.tmp_8.arg0 = r0; s.tmp_8.arg1 = 1; - s.callLocIdx = 1068; s.pc = 6; return s.tmp_8; + s.callLocIdx = 1034; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; case 5: @@ -20110,12 +18141,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13445.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__P35757.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__P13445_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35757_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13445, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35757, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20134,7 +18165,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13445_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13465(s) { +function scene_systemMenu_PauseMenu_show_inline__P35777(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20172,7 +18203,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P3110_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P26178_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -20180,7 +18211,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_9, s.tmp_10); s.tmp_8.arg0 = r0; s.tmp_8.arg1 = 0; - s.callLocIdx = 1070; s.pc = 6; return s.tmp_8; + s.callLocIdx = 1036; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; r0 = s.caps[0].fields["options"]; @@ -20196,12 +18227,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13465.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__P35777.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__P13465_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35777_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13465, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35777, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20220,7 +18251,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13465_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13494(s) { +function scene_systemMenu_PauseMenu_show_inline__P35806(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20230,20 +18261,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P3119_mk(s); - s.callLocIdx = 1072; s.pc = 1; return s.tmp_0; + s.tmp_0 = scene_systemMenu_closeMenu__P26187_mk(s); + s.callLocIdx = 1038; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13494.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__P35806.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__P13494_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35806_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13494, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35806, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20252,7 +18283,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13494_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13499(s) { +function scene_systemMenu_PauseMenu_show_inline__P35811(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20262,20 +18293,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P3119_mk(s); - s.callLocIdx = 1074; s.pc = 1; return s.tmp_0; + s.tmp_0 = scene_systemMenu_closeMenu__P26187_mk(s); + s.callLocIdx = 1040; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13499.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__P35811.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__P13499_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35811_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13499, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35811, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20284,7 +18315,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13499_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13504(s) { +function scene_systemMenu_PauseMenu_show_inline__P35816(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20294,9 +18325,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3116_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P26184_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P130_mk(s); + s.tmp_1 = Math_max__P23197_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -20309,30 +18340,30 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["cardsPerRow"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 1076; s.pc = 3; return s.tmp_4; } + else { s.callLocIdx = 1042; s.pc = 3; return s.tmp_4; } } case 3: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); s.tmp_1.arg1 = r0; - s.callLocIdx = 1077; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1043; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1078; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1044; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13504.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__P35816.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__P13504_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35816_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13504, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35816, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20345,7 +18376,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13504_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13516(s) { +function scene_systemMenu_PauseMenu_show_inline__P35828(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20355,31 +18386,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3116_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P26184_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P130_mk(s); + s.tmp_1 = Math_max__P23197_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 1080; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1046; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1081; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1047; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13516.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__P35828.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__P13516_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35828_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13516, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35828, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20390,7 +18421,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13516_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13525(s) { +function scene_systemMenu_PauseMenu_show_inline__P35837(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20400,9 +18431,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3116_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P26184_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P131_mk(s); + s.tmp_1 = Math_min__P23198_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -20420,30 +18451,30 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["cardsPerRow"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 1083; s.pc = 3; return s.tmp_6; } + else { s.callLocIdx = 1049; s.pc = 3; return s.tmp_6; } } case 3: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_1.arg1 = r0; - s.callLocIdx = 1084; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1050; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1085; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1051; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13525.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__P35837.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__P13525_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35837_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13525, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35837, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20458,7 +18489,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13525_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13541(s) { +function scene_systemMenu_PauseMenu_show_inline__P35853(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20468,9 +18499,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3116_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P26184_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P131_mk(s); + s.tmp_1 = Math_min__P23198_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -20481,23 +18512,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 1087; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1053; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1088; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1054; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13541.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__P35853.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__P13541_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35853_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13541, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35853, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20510,7 +18541,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13541_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P13553(s) { +function scene_systemMenu_PauseMenu_show_inline__P35865(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20520,26 +18551,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P3115_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P26183_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1090; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1056; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P3117_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P26185_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1091; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1057; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P13553.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__P35865.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__P13553_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P35865_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P13553, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P35865, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20548,7 +18579,7 @@ function scene_systemMenu_PauseMenu_show_inline__P13553_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P3117(s) { +function scene_systemMenu_PauseMenu_drawText__P26185(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20563,7 +18594,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3112_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26180_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -20575,11 +18606,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P1956_mk(s); - s.tmp_3.arg0 = globals.screen___2032; + s.tmp_3 = helpers_imageFillRect__P25024_mk(s); + s.tmp_3.arg0 = globals.screen___25100; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___2032); + r0 = pxsim_ImageMethods.width(globals.screen___25100); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20590,7 +18621,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardsTop"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardsTop"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1104; s.pc = 5; return s.tmp_5; } + else { s.callLocIdx = 1070; s.pc = 5; return s.tmp_5; } } case 5: r0 = s.retval; @@ -20598,11 +18629,11 @@ switch (step) { r0 = (s.tmp_4 - 2); s.tmp_3.arg4 = r0; s.tmp_3.arg5 = 15; - s.callLocIdx = 1105; s.pc = 4; return s.tmp_3; + s.callLocIdx = 1071; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P1989_mk(s); - s.tmp_0.arg0 = globals.screen___2032; + s.tmp_0 = helpers_imagePrintCenter__P25057_mk(s); + s.tmp_0.arg0 = globals.screen___25100; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -20612,7 +18643,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["headerText"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["headerText"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1106; s.pc = 7; return s.tmp_1; } + else { s.callLocIdx = 1072; s.pc = 7; return s.tmp_1; } } case 7: r0 = s.retval; @@ -20628,16 +18659,16 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["headerFont"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["headerFont"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1107; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 1073; s.pc = 8; return s.tmp_2; } } case 8: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 1108; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1074; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1956_mk(s); - s.tmp_0.arg0 = globals.screen___2032; + s.tmp_0 = helpers_imageFillRect__P25024_mk(s); + s.tmp_0.arg0 = globals.screen___25100; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20648,16 +18679,16 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1109; s.pc = 10; return s.tmp_2; } + else { s.callLocIdx = 1075; s.pc = 10; return s.tmp_2; } } case 10: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 - 3); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2032); + r0 = pxsim_ImageMethods.width(globals.screen___25100); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___2032); + r0 = pxsim_ImageMethods.height(globals.screen___25100); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20668,7 +18699,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoTop"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoTop"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 1110; s.pc = 11; return s.tmp_6; } + else { s.callLocIdx = 1076; s.pc = 11; return s.tmp_6; } } case 11: r0 = s.retval; @@ -20678,11 +18709,11 @@ switch (step) { r0 = (s.tmp_3 + 6); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 15; - s.callLocIdx = 1111; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1077; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1956_mk(s); - s.tmp_0.arg0 = globals.screen___2032; + s.tmp_0 = helpers_imageFillRect__P25024_mk(s); + s.tmp_0.arg0 = globals.screen___25100; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -20692,7 +18723,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["padding"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["padding"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1112; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 1078; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; @@ -20706,12 +18737,12 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["infoTop"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["infoTop"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1113; s.pc = 14; return s.tmp_2; } + else { s.callLocIdx = 1079; s.pc = 14; return s.tmp_2; } } case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2032); + r0 = pxsim_ImageMethods.width(globals.screen___25100); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -20722,7 +18753,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["padding"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["padding"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 1114; s.pc = 15; return s.tmp_6; } + else { s.callLocIdx = 1080; s.pc = 15; return s.tmp_6; } } case 15: r0 = s.retval; @@ -20741,7 +18772,7 @@ switch (step) { s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["infoFont"]; if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["infoFont"]; } else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.callLocIdx = 1115; s.pc = 17; return s.tmp_9; } + else { s.callLocIdx = 1081; s.pc = 17; return s.tmp_9; } } case 17: r0 = s.retval; @@ -20752,7 +18783,7 @@ switch (step) { s.tmp_8.fn = s.tmp_8.arg0.vtable.iface["charHeight"]; if (s.tmp_8.fn == null) { s.retval = s.tmp_8.arg0.fields["charHeight"]; } else if (!s.tmp_8.fn.isGetter) { s.retval = bind(s.tmp_8); } - else { s.callLocIdx = 1116; s.pc = 16; return s.tmp_8; } + else { s.callLocIdx = 1082; s.pc = 16; return s.tmp_8; } } case 16: r0 = s.retval; @@ -20760,11 +18791,11 @@ switch (step) { r0 = (s.tmp_7 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 1117; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1083; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P1989_mk(s); - s.tmp_0.arg0 = globals.screen___2032; + s.tmp_0 = helpers_imagePrintCenter__P25057_mk(s); + s.tmp_0.arg0 = globals.screen___25100; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -20774,12 +18805,12 @@ switch (step) { s.tmp_1.arg0 = r0; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "getText"), 1); - s.callLocIdx = 1118; s.pc = 19; return s.tmp_1; + s.callLocIdx = 1084; s.pc = 19; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["getText"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["getText"], 1); s.callLocIdx = 1118; s.pc = 19; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 1118; s.pc = 19; return s.tmp_1;; } - else { s.callLocIdx = 1118; s.pc = 19; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["getText"], 1); s.callLocIdx = 1084; s.pc = 19; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 1084; s.pc = 19; return s.tmp_1;; } + else { s.callLocIdx = 1084; s.pc = 19; return s.tmp_1; } } case 19: r0 = s.retval; @@ -20793,7 +18824,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["infoTop"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["infoTop"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1119; s.pc = 20; return s.tmp_5; } + else { s.callLocIdx = 1085; s.pc = 20; return s.tmp_5; } } case 20: r0 = s.retval; @@ -20810,12 +18841,12 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["infoFont"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["infoFont"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 1120; s.pc = 21; return s.tmp_6; } + else { s.callLocIdx = 1086; s.pc = 21; return s.tmp_6; } } case 21: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 1121; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1087; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 3: @@ -20823,12 +18854,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P3117.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__P26185.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__P3117_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P26185_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P3117, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P26185, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20847,7 +18878,7 @@ function scene_systemMenu_PauseMenu_drawText__P3117_mk(s) { -function helpers_imagePrintCenter__P1989(s) { +function helpers_imagePrintCenter__P25057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20857,8 +18888,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___13640 = undefined; - s.x___13646 = undefined; + s.w___35952 = undefined; + s.x___35958 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -20873,9 +18904,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P1977_mk(s); + s.tmp_2 = image_getFontForText__P25045_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 130; s.pc = 3; return s.tmp_2; + s.callLocIdx = 94; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.arg4 = (r0); @@ -20891,46 +18922,46 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charWidth"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charWidth"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 131; s.pc = 4; return s.tmp_2; } + else { s.callLocIdx = 95; s.pc = 4; return s.tmp_2; } } case 4: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___13640 = (r0); + s.w___35952 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___13640); + r0 = (s.tmp_1 - s.w___35952); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___13646 = (r0); - s.tmp_0 = helpers_imagePrint__P1990_mk(s); + s.x___35958 = (r0); + s.tmp_0 = helpers_imagePrint__P25058_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___13646; + s.tmp_0.arg2 = s.x___35958; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; s.tmp_0.arg6 = undefined; - s.callLocIdx = 132; s.pc = 5; return s.tmp_0; + s.callLocIdx = 96; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P1989.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__P25057.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__P1989_mk(s) { +function helpers_imagePrintCenter__P25057_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P1989, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P25057, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___13640: undefined, - x___13646: undefined, + w___35952: undefined, + x___35958: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -20942,7 +18973,7 @@ function helpers_imagePrintCenter__P1989_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P3116(s) { +function scene_systemMenu_PauseMenu_setSelection__P26184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20958,7 +18989,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3112_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26180_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -20978,7 +19009,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__P3110_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P26178_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -20986,7 +19017,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = 2; - s.callLocIdx = 1101; s.pc = 10; return s.tmp_6; + s.callLocIdx = 1067; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; case 3: @@ -21000,9 +19031,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C2189_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___2113; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C2189_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C25257_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___25181; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C25257_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: @@ -21017,7 +19048,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P3110_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P26178_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -21025,14 +19056,14 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_7, s.tmp_8); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = s.tmp_5; - s.callLocIdx = 1102; s.pc = 12; return s.tmp_6; + s.callLocIdx = 1068; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P5356_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P28429_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1103; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1069; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 9: @@ -21040,12 +19071,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P3116.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__P26184.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__P3116_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P26184_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P3116, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P26184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21064,7 +19095,7 @@ function scene_systemMenu_PauseMenu_setSelection__P3116_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P5356(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P28429(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21074,13 +19105,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___13826 = undefined; + s.row___36138 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3112_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26180_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -21092,23 +19123,23 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["cardsPerRow"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1124; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 1090; s.pc = 8; return s.tmp_2; } } case 8: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___13826 = (r0); + s.row___36138 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___13826 === s.tmp_1); + r0 = (s.row___36138 === 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___13826 - 1); + r0 = (s.row___36138 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -21123,7 +19154,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___13826 > s.tmp_6); + r0 = (s.row___36138 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -21154,7 +19185,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["cardSpacing"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["cardSpacing"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1125; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 1091; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; @@ -21168,7 +19199,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["cardWidth"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["cardWidth"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 1126; s.pc = 10; return s.tmp_7; } + else { s.callLocIdx = 1092; s.pc = 10; return s.tmp_7; } } case 10: r0 = s.retval; @@ -21183,12 +19214,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P5356.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__P28429.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__P5356_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P28429_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P5356, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P28429, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21200,7 +19231,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P5356_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___13826: undefined, + row___36138: undefined, arg0: undefined, } } @@ -21208,7 +19239,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P5356_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P3115(s) { +function scene_systemMenu_PauseMenu_onUpdate__P26183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21218,22 +19249,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___13662 = undefined; - s.i___13666 = undefined; - s.dt___13695 = undefined; + s.t___35974 = undefined; + s.i___35978 = undefined; + s.dt___36007 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3112_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26180_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___13662 = (r0); - s.i___13666 = (0); + s.t___35974 = (r0); + s.i___35978 = (0); case 1: - s.tmp_1 = r0 = s.i___13666; + s.tmp_1 = r0 = s.i___35978; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -21242,13 +19273,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__P3108_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P26176_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___13666); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___35978); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___13662; - s.tmp_11 = r0 = s.i___13666; + s.tmp_8 = r0 = s.t___35974; + s.tmp_11 = r0 = s.i___35978; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -21258,7 +19289,7 @@ switch (step) { s.tmp_13.fn = s.tmp_13.arg0.vtable.iface["cardsPerRow"]; if (s.tmp_13.fn == null) { s.retval = s.tmp_13.arg0.fields["cardsPerRow"]; } else if (!s.tmp_13.fn.isGetter) { s.retval = bind(s.tmp_13); } - else { s.callLocIdx = 1094; s.pc = 11; return s.tmp_13; } + else { s.callLocIdx = 1060; s.pc = 11; return s.tmp_13; } } case 11: r0 = s.retval; @@ -21273,15 +19304,15 @@ switch (step) { s.tmp_6 = r0; r0 = (2 * s.tmp_6); s.tmp_4.arg1 = r0; - s.callLocIdx = 1095; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1061; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___13666 + 1); - s.i___13666 = (r0); + r0 = (s.i___35978 + 1); + s.i___35978 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P3016_mk(s); - s.callLocIdx = 1096; s.pc = 12; return s.tmp_1; + s.tmp_1 = game_currentScene__P26084_mk(s); + s.callLocIdx = 1062; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; r0 = r0.fields["eventContext"]; @@ -21289,7 +19320,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___13695 = (r0); + s.dt___36007 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -21301,7 +19332,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___13695 * 100); + r0 = (s.dt___36007 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -21319,7 +19350,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___13695 * 100); + r0 = (s.dt___36007 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -21329,14 +19360,14 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P128_mk(s); + s.tmp_2 = Math_abs__P23195_mk(s); r0 = s.arg0.fields["scrollOffset"]; s.tmp_3 = r0; r0 = s.arg0.fields["scrollTarget"]; s.tmp_4 = r0; r0 = (s.tmp_3 - s.tmp_4); s.tmp_2.arg0 = r0; - s.callLocIdx = 1098; s.pc = 13; return s.tmp_2; + s.callLocIdx = 1064; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; @@ -21349,16 +19380,16 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P2789_mk(s); - s.tmp_1 = game_currentScene__P3016_mk(s); - s.callLocIdx = 1099; s.pc = 15; return s.tmp_1; + s.tmp_0 = scene_Camera_offsetY__P25857_mk(s); + s.tmp_1 = game_currentScene__P26084_mk(s); + s.callLocIdx = 1065; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; r0 = r0.fields["camera"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["scrollOffset"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 1100; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1066; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 9: @@ -21366,12 +19397,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P3115.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__P26183.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__P3115_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P26183_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P3115, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P26183, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21387,9 +19418,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P3115_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___13662: undefined, - i___13666: undefined, - dt___13695: undefined, + t___35974: undefined, + i___35978: undefined, + dt___36007: undefined, arg0: undefined, } } @@ -21397,7 +19428,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P3115_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P3108(s) { +function scene_systemMenu_MenuOption_setOffset__P26176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21413,40 +19444,40 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3104_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P2404_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26172_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P25472_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["top"]; s.tmp_1 = r0; r0 = (s.tmp_1 + s.arg1); s.tmp_0.arg1 = r0; - s.callLocIdx = 1037; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1003; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P2357_mk(s); + s.tmp_0 = Sprite_y__P25425_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P2356_mk(s); + s.tmp_1 = Sprite_y__P25424_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1038; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1004; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1039; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1005; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P3108.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__P26176.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__P3108_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P26176_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P3108, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P26176, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21458,7 +19489,7 @@ function scene_systemMenu_MenuOption_setOffset__P3108_mk(s) { -function Sprite_top__P2404(s) { +function Sprite_top__P25472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21468,22 +19499,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___8772 = undefined; + s.physics___31059 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 398; s.pc = 1; return s.tmp_0; + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 362; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___8772 = (r0); - s.tmp_0 = PhysicsEngine__C2511_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___8772; + s.physics___31059 = (r0); + s.tmp_0 = PhysicsEngine__C25579_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___31059; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -21494,7 +19525,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__C2511_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C25579_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: @@ -21503,18 +19534,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P2404.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__P25472.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__P2404_mk(s) { +function Sprite_top__P25472_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P2404, depth: s.depth + 1, + parent: s, fn: Sprite_top__P25472, 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___8772: undefined, + physics___31059: undefined, arg0: undefined, arg1: undefined, } } @@ -21523,7 +19554,7 @@ function Sprite_top__P2404_mk(s) { -function PhysicsEngine_moveSprite__P2515(s) { +function PhysicsEngine_moveSprite__P25583(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21541,17 +19572,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2511_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C25579_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P2515.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__P25583.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__P2515_mk(s) { +function PhysicsEngine_moveSprite__P25583_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P2515, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P25583, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -21563,45 +19594,7 @@ function PhysicsEngine_moveSprite__P2515_mk(s) { -function Sprite_top__P2403(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_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__P2403.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__P2403.isGetter = true; - -function Sprite_top__P2403_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: Sprite_top__P2403, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - arg0: undefined, -} } - - - - - -function Sprite_y__P2357(s) { +function Sprite_y__P25425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21617,13 +19610,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P2404_mk(s); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P25472_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_4 = Sprite_height__P2398_mk(s); + s.tmp_4 = Sprite_height__P25466_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 349; s.pc = 2; return s.tmp_4; + s.callLocIdx = 313; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; @@ -21631,19 +19624,19 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 350; s.pc = 1; return s.tmp_0; + s.callLocIdx = 314; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_y__P2357.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__P25425.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__P2357_mk(s) { +function Sprite_y__P25425_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P2357, depth: s.depth + 1, + parent: s, fn: Sprite_y__P25425, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21658,7 +19651,7 @@ function Sprite_y__P2357_mk(s) { -function Sprite_height__P2398(s) { +function Sprite_height__P25466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21673,20 +19666,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_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__P2398.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__P2398.isGetter = true; +Sprite_height__P25466.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__P25466.isGetter = true; -function Sprite_height__P2398_mk(s) { +function Sprite_height__P25466_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P2398, depth: s.depth + 1, + parent: s, fn: Sprite_height__P25466, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21696,7 +19689,7 @@ function Sprite_height__P2398_mk(s) { -function Math_abs__P128(s) { +function Math_abs__P23195(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21725,288 +19718,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P128.info = {"start":16120,"length":77,"line":539,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} - -function Math_abs__P128_mk(s) { - checkStack(s.depth); - return { - 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, - arg0: undefined, -} } - - - - - -function scene_systemMenu_MenuOption_setState__P3110(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3104_VT)) failedCast(r0); - r0 = s.arg0.fields["state"]; - s.tmp_1 = r0; - r0 = (s.tmp_1 === s.arg1); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - { step = 3; continue; } - case 1: - case 2: - r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P5355_mk(s); - s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1041; s.pc = 4; return s.tmp_0; - case 4: - r0 = s.retval; - case 3: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_MenuOption_setState__P3110.info = {"start":1655,"length":147,"line":71,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setState","argumentNames":["this","state"]} +Math_abs__P23195.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 scene_systemMenu_MenuOption_setState__P3110_mk(s) { +function Math_abs__P23195_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P3110, depth: s.depth + 1, + parent: s, fn: Math_abs__P23195, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, arg0: undefined, - arg1: undefined, -} } - - - - - -function scene_systemMenu_MenuOption_updateCard__P5355(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3104_VT)) failedCast(r0); - r0 = s.arg0.fields["theme"]; - s.tmp_2 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_2); - 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; } - { step = 7; continue; } - case 1: - case 2: - r0 = s.arg0.fields["state"]; - s.tmp_3 = r0; - r0 = pxsim_pxtcore.switch_eq(2, s.tmp_3); - if (r0) { step = 3; continue; } - r0 = pxsim_pxtcore.switch_eq(0, s.tmp_3); - if (r0) { step = 4; continue; } - r0 = pxsim_pxtcore.switch_eq(1, s.tmp_3); - if (r0) { step = 5; continue; } - r0 = s.tmp_3; - { step = 6; continue; } - case 3: - s.tmp_4 = Sprite_setImage__P2391_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_4.arg0 = r0; - s.tmp_5 = if_basicCard_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_5.arg0 = r0; - if (!s.tmp_5.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "basicCard"); - } else { - s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["basicCard"]; - if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["basicCard"]; } - else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1044; s.pc = 9; return s.tmp_5; } - } - case 9: - r0 = s.retval; - s.tmp_4.arg1 = r0; - s.callLocIdx = 1045; s.pc = 8; return s.tmp_4; - case 8: - r0 = s.retval; - { step = 6; continue; } - case 4: - s.tmp_0 = Sprite_setImage__P2391_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_0.arg0 = r0; - s.tmp_1 = if_selectedCard_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_1.arg0 = r0; - if (!s.tmp_1.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "selectedCard"); - } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["selectedCard"]; - if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["selectedCard"]; } - else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1046; s.pc = 11; return s.tmp_1; } - } - case 11: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.callLocIdx = 1047; s.pc = 10; return s.tmp_0; - case 10: - r0 = s.retval; - { step = 6; continue; } - case 5: - s.tmp_0 = Sprite_setImage__P2391_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_0.arg0 = r0; - s.tmp_1 = if_activeCard_1_mk(s); - r0 = s.arg0.fields["theme"]; - s.tmp_1.arg0 = r0; - if (!s.tmp_1.arg0.vtable.iface) { - s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "activeCard"); - } else { - s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["activeCard"]; - if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["activeCard"]; } - else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1048; s.pc = 13; return s.tmp_1; } - } - case 13: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.callLocIdx = 1049; s.pc = 12; return s.tmp_0; - case 12: - r0 = s.retval; - case 6: - s.tmp_0 = Sprite_x__P2355_mk(s); - r0 = s.arg0.fields["icon"]; - s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P2354_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_1.arg0 = r0; - s.callLocIdx = 1050; s.pc = 15; return s.tmp_1; - case 15: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.callLocIdx = 1051; s.pc = 14; return s.tmp_0; - case 14: - r0 = s.retval; - s.tmp_0 = Sprite_y__P2357_mk(s); - r0 = s.arg0.fields["icon"]; - s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P2356_mk(s); - r0 = s.arg0.fields["card"]; - s.tmp_1.arg0 = r0; - s.callLocIdx = 1052; s.pc = 17; return s.tmp_1; - case 17: - r0 = s.retval; - s.tmp_0.arg1 = r0; - s.callLocIdx = 1053; s.pc = 16; return s.tmp_0; - case 16: - r0 = s.retval; - case 7: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -scene_systemMenu_MenuOption_updateCard__P5355.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__P5355_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P5355, 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, - tmp_5: undefined, - arg0: undefined, -} } - - - - - -function Sprite_x__P2355(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.arg1 = (s.lambdaArgs[1]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P2400_mk(s); - s.tmp_0.arg0 = s.arg0; - s.tmp_1 = r0 = s.arg1; - s.tmp_4 = Sprite_width__P2397_mk(s); - s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 344; s.pc = 2; return s.tmp_4; - case 2: - r0 = s.retval; - s.tmp_3 = r0; - r0 = (s.tmp_3 / 2); - s.tmp_2 = r0; - r0 = (s.tmp_1 - s.tmp_2); - s.tmp_0.arg1 = r0; - s.callLocIdx = 345; s.pc = 1; return s.tmp_0; - case 1: - r0 = s.retval; - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -Sprite_x__P2355.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__P2355_mk(s) { - checkStack(s.depth); - return { - 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, - tmp_2: undefined, - tmp_3: undefined, - tmp_4: undefined, - arg0: undefined, - arg1: undefined, } } -function Sprite_left__P2400(s) { +function scene_systemMenu_MenuOption_setState__P26178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22016,62 +19744,205 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___8835 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 390; s.pc = 1; return s.tmp_0; + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26172_VT)) failedCast(r0); + r0 = s.arg0.fields["state"]; + s.tmp_1 = r0; + r0 = (s.tmp_1 === s.arg1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + { step = 3; continue; } case 1: + case 2: + r0 = (s.arg0).fields["state"] = (s.arg1); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P28428_mk(s); + s.tmp_0.arg0 = s.arg0; + s.callLocIdx = 1007; s.pc = 4; return s.tmp_0; + case 4: r0 = s.retval; - r0 = r0.fields["physicsEngine"]; - s.physics___8835 = (r0); - s.tmp_0 = PhysicsEngine__C2511_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___8835; - s.tmp_0.arg1 = s.arg0; - r0 = (s.arg1 * 256); + case 3: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +scene_systemMenu_MenuOption_setState__P26178.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__P26178_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: scene_systemMenu_MenuOption_setState__P26178, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, + arg0: undefined, + arg1: undefined, +} } + + + + + +function scene_systemMenu_MenuOption_updateCard__P28428(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26172_VT)) failedCast(r0); + r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; - r0 = (s.tmp_2 | 0); + r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; - r0 = s.arg0.fields["_x"]; - s.tmp_3 = r0; - r0 = (s.tmp_1 - s.tmp_3); - s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = 0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2511_VT)) failedCast(s.tmp_0.arg0); - s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.moveSprite; - s.pc = 2; return s.tmp_0; + r0 = pxsim_Boolean__bang(s.tmp_1); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + { step = 7; continue; } + case 1: case 2: + r0 = s.arg0.fields["state"]; + s.tmp_3 = r0; + r0 = pxsim_pxtcore.switch_eq(2, s.tmp_3); + if (r0) { step = 3; continue; } + r0 = pxsim_pxtcore.switch_eq(0, s.tmp_3); + if (r0) { step = 4; continue; } + r0 = pxsim_pxtcore.switch_eq(1, s.tmp_3); + if (r0) { step = 5; continue; } + r0 = s.tmp_3; + { step = 6; continue; } + case 3: + s.tmp_4 = Sprite_setImage__P25459_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_4.arg0 = r0; + s.tmp_5 = if_basicCard_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_5.arg0 = r0; + if (!s.tmp_5.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "basicCard"); + } else { + s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["basicCard"]; + if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["basicCard"]; } + else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } + else { s.callLocIdx = 1010; s.pc = 9; return s.tmp_5; } + } + case 9: + r0 = s.retval; + s.tmp_4.arg1 = r0; + s.callLocIdx = 1011; s.pc = 8; return s.tmp_4; + case 8: + r0 = s.retval; + { step = 6; continue; } + case 4: + s.tmp_0 = Sprite_setImage__P25459_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_0.arg0 = r0; + s.tmp_1 = if_selectedCard_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_1.arg0 = r0; + if (!s.tmp_1.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "selectedCard"); + } else { + s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["selectedCard"]; + if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["selectedCard"]; } + else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } + else { s.callLocIdx = 1012; s.pc = 11; return s.tmp_1; } + } + case 11: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.callLocIdx = 1013; s.pc = 10; return s.tmp_0; + case 10: + r0 = s.retval; + { step = 6; continue; } + case 5: + s.tmp_0 = Sprite_setImage__P25459_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_0.arg0 = r0; + s.tmp_1 = if_activeCard_1_mk(s); + r0 = s.arg0.fields["theme"]; + s.tmp_1.arg0 = r0; + if (!s.tmp_1.arg0.vtable.iface) { + s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "activeCard"); + } else { + s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["activeCard"]; + if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["activeCard"]; } + else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } + else { s.callLocIdx = 1014; s.pc = 13; return s.tmp_1; } + } + case 13: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.callLocIdx = 1015; s.pc = 12; return s.tmp_0; + case 12: r0 = s.retval; + case 6: + s.tmp_0 = Sprite_x__P25423_mk(s); + r0 = s.arg0.fields["icon"]; + s.tmp_0.arg0 = r0; + s.tmp_1 = Sprite_x__P25422_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_1.arg0 = r0; + s.callLocIdx = 1016; s.pc = 15; return s.tmp_1; + case 15: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.callLocIdx = 1017; s.pc = 14; return s.tmp_0; + case 14: + r0 = s.retval; + s.tmp_0 = Sprite_y__P25425_mk(s); + r0 = s.arg0.fields["icon"]; + s.tmp_0.arg0 = r0; + s.tmp_1 = Sprite_y__P25424_mk(s); + r0 = s.arg0.fields["card"]; + s.tmp_1.arg0 = r0; + s.callLocIdx = 1018; s.pc = 17; return s.tmp_1; + case 17: + r0 = s.retval; + s.tmp_0.arg1 = r0; + s.callLocIdx = 1019; s.pc = 16; return s.tmp_0; + case 16: + r0 = s.retval; + case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_left__P2400.info = {"start":10853,"length":257,"line":391,"column":4,"endLine":401,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} +scene_systemMenu_MenuOption_updateCard__P28428.info = {"start":2038,"length":497,"line":86,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"updateCard","argumentNames":["this"]} -function Sprite_left__P2400_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P28428_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P2400, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P28428, 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___8835: undefined, + tmp_4: undefined, + tmp_5: undefined, arg0: undefined, - arg1: undefined, } } -function Sprite_left__P2399(s) { +function Sprite_x__P25423(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22083,33 +19954,52 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); - r0 = s.arg0.fields["_x"]; - s.tmp_0 = r0; - r0 = (s.tmp_0 / 256); - return leaveAccessor(s, r0) + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P25468_mk(s); + s.tmp_0.arg0 = s.arg0; + s.tmp_1 = r0 = s.arg1; + s.tmp_4 = Sprite_width__P25465_mk(s); + s.tmp_4.arg0 = s.arg0; + s.callLocIdx = 308; s.pc = 2; return s.tmp_4; + case 2: + r0 = s.retval; + s.tmp_3 = r0; + r0 = (s.tmp_3 / 2); + s.tmp_2 = r0; + r0 = (s.tmp_1 - s.tmp_2); + s.tmp_0.arg1 = r0; + s.callLocIdx = 309; s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = undefined; + return leave(s, r0) default: oops() } } } -Sprite_left__P2399.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__P2399.isGetter = true; +Sprite_x__P25423.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_left__P2399_mk(s) { +function Sprite_x__P25423_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P2399, depth: s.depth + 1, + parent: s, fn: Sprite_x__P25423, 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, arg0: undefined, + arg1: undefined, } } -function Sprite_width__P2397(s) { +function Sprite_left__P25468(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22119,35 +20009,62 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: + s.physics___31122 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); - r0 = s.arg0.fields["_width"]; - s.tmp_0 = r0; - r0 = (s.tmp_0 / 256); - return leaveAccessor(s, r0) + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 354; s.pc = 1; return s.tmp_0; + case 1: + r0 = s.retval; + r0 = r0.fields["physicsEngine"]; + s.physics___31122 = (r0); + s.tmp_0 = PhysicsEngine__C25579_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___31122; + s.tmp_0.arg1 = s.arg0; + r0 = (s.arg1 * 256); + s.tmp_2 = r0; + r0 = (s.tmp_2 | 0); + s.tmp_1 = r0; + r0 = s.arg0.fields["_x"]; + s.tmp_3 = r0; + r0 = (s.tmp_1 - s.tmp_3); + s.tmp_0.arg2 = r0; + s.tmp_0.arg3 = 0; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C25579_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: + r0 = s.retval; + r0 = undefined; + return leave(s, r0) default: oops() } } } -Sprite_width__P2397.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__P2397.isGetter = true; +Sprite_left__P25468.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_width__P2397_mk(s) { +function Sprite_left__P25468_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P2397, depth: s.depth + 1, + parent: s, fn: Sprite_left__P25468, 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___31122: undefined, arg0: undefined, + arg1: undefined, } } -function scene_systemMenu_MenuOption_setTheme__P3109(s) { +function scene_systemMenu_MenuOption_setTheme__P26177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22163,23 +20080,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3104_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26172_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P5355_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P28428_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1040; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1006; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P3109.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__P26177.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__P3109_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P26177_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P3109, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P26177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22190,7 +20107,7 @@ function scene_systemMenu_MenuOption_setTheme__P3109_mk(s) { -function scene_systemMenu_MenuOption_position__P3107(s) { +function scene_systemMenu_MenuOption_position__P26175(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22207,58 +20124,58 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3104_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26172_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P2400_mk(s); + s.tmp_0 = Sprite_left__P25468_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1031; s.pc = 1; return s.tmp_0; + s.callLocIdx = 997; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P2404_mk(s); + s.tmp_0 = Sprite_top__P25472_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 1032; s.pc = 2; return s.tmp_0; + s.callLocIdx = 998; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P2355_mk(s); + s.tmp_0 = Sprite_x__P25423_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P2354_mk(s); + s.tmp_1 = Sprite_x__P25422_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1033; s.pc = 4; return s.tmp_1; + s.callLocIdx = 999; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1034; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1000; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P2357_mk(s); + s.tmp_0 = Sprite_y__P25425_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P2356_mk(s); + s.tmp_1 = Sprite_y__P25424_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1035; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1001; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1036; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1002; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P3107.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__P26175.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__P3107_mk(s) { +function scene_systemMenu_MenuOption_position__P26175_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P3107, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P26175, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22271,7 +20188,7 @@ function scene_systemMenu_MenuOption_position__P3107_mk(s) { -function scene_systemMenu_MenuOption_show__P3106(s) { +function scene_systemMenu_MenuOption_show__P26174(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22286,7 +20203,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3104_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C26172_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -22300,21 +20217,21 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["basicCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["basicCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1026; s.pc = 3; return s.tmp_1; } + else { s.callLocIdx = 992; s.pc = 3; return s.tmp_1; } } case 3: r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___3128; + r0 = globals.CARD_NORMAL___26196; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P2275_mk(s); + s.tmp_5 = sprites_create__P25343_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; - s.callLocIdx = 1027; s.pc = 4; return s.tmp_5; + s.callLocIdx = 993; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; @@ -22329,16 +20246,16 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 1028; s.pc = 5; return s.tmp_0; } + else { s.callLocIdx = 994; s.pc = 5; return s.tmp_0; } } case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P2275_mk(s); + s.tmp_2 = sprites_create__P25343_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; - s.callLocIdx = 1029; s.pc = 6; return s.tmp_2; + s.callLocIdx = 995; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; @@ -22353,7 +20270,7 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/z"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["z"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 1030; s.pc = 7; return s.tmp_0; } + else { s.callLocIdx = 996; s.pc = 7; return s.tmp_0; } } case 7: r0 = s.retval; @@ -22362,12 +20279,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P3106.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__P26174.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__P3106_mk(s) { +function scene_systemMenu_MenuOption_show__P26174_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P3106, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P26174, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22382,7 +20299,7 @@ function scene_systemMenu_MenuOption_show__P3106_mk(s) { -function sprites_create__P2275(s) { +function sprites_create__P25343(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22392,78 +20309,78 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___14383 = undefined; - s.sprite___14386 = undefined; + s.scene___36695 = undefined; + s.sprite___36698 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 335; s.pc = 1; return s.tmp_0; + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 299; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___14383 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C2341_VT); + s.scene___36695 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C25409_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P2388_mk(s); + s.tmp_1 = Sprite_constructor__P25456_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.callLocIdx = 336; s.pc = 2; return s.tmp_1; + s.callLocIdx = 300; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___14386 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P2408_mk(s); - s.tmp_0.arg0 = s.sprite___14386; + s.sprite___36698 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P25476_mk(s); + s.tmp_0.arg0 = s.sprite___36698; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 337; s.pc = 3; return s.tmp_0; + s.callLocIdx = 301; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C2511_v0_2_mk(s); - r0 = s.scene___14383.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C25579_v0_2_mk(s); + r0 = s.scene___36695.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___14386; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2511_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___36698; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C25579_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__P14401); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P36713); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P14407); + r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P36719); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___14386); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); - s.tmp_3 = helpers_arrayFilter__P110_mk(s); - r0 = s.scene___14383.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___36698); + s.tmp_2 = helpers_arrayForEach__P23176_mk(s); + s.tmp_3 = helpers_arrayFilter__P23177_mk(s); + r0 = s.scene___36695.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; - s.callLocIdx = 338; s.pc = 6; return s.tmp_3; + s.callLocIdx = 302; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 340; s.pc = 5; return s.tmp_2; + s.callLocIdx = 304; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___14386; + r0 = s.sprite___36698; return leave(s, r0) default: oops() } } } -sprites_create__P2275.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__P25343.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__P2275_mk(s) { +function sprites_create__P25343_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P2275, depth: s.depth + 1, + parent: s, fn: sprites_create__P25343, 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___14383: undefined, - sprite___14386: undefined, + scene___36695: undefined, + sprite___36698: undefined, arg0: undefined, arg1: undefined, } } @@ -22472,7 +20389,7 @@ function sprites_create__P2275_mk(s) { -function forEach_inline__P14401(s) { +function forEach_inline__P36713(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22492,12 +20409,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P14401.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__P36713.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__P14401_mk(s) { +function forEach_inline__P36713_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P14401, depth: s.depth + 1, + parent: s, fn: forEach_inline__P36713, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22507,7 +20424,7 @@ function forEach_inline__P14401_mk(s) { -function sprites_create_inline__P14407(s) { +function sprites_create_inline__P36719(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22526,12 +20443,12 @@ switch (step) { s.tmp_0.arg1 = s.caps[0]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 2); - s.callLocIdx = 339; s.pc = 1; return s.tmp_0; + s.callLocIdx = 303; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 2); s.callLocIdx = 339; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 339; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 339; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 2); s.callLocIdx = 303; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 303; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 303; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -22539,12 +20456,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_create_inline__P14407.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__P36719.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__P14407_mk(s) { +function sprites_create_inline__P36719_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create_inline__P14407, depth: s.depth + 1, + parent: s, fn: sprites_create_inline__P36719, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22554,7 +20471,7 @@ function sprites_create_inline__P14407_mk(s) { -function PhysicsEngine_addSprite__P2513(s) { +function PhysicsEngine_addSprite__P25581(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22570,17 +20487,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2511_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C25579_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P2513.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__P25581.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__P2513_mk(s) { +function PhysicsEngine_addSprite__P25581_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P2513, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P25581, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -22590,7 +20507,7 @@ function PhysicsEngine_addSprite__P2513_mk(s) { -function Sprite_setKind__P2408(s) { +function Sprite_setKind__P25476(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22600,15 +20517,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___10358 = undefined; - s.overlapMap___10387 = undefined; + s.spritesByKind___32643 = undefined; + s.overlapMap___32672 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -22627,12 +20544,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P3016_mk(s); - s.callLocIdx = 405; s.pc = 16; return s.tmp_3; + s.tmp_3 = game_currentScene__P26084_mk(s); + s.callLocIdx = 369; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___10358 = (r0); + s.spritesByKind___32643 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -22644,19 +20561,19 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10358, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___32643, 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__P2470_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P25538_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10358, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___32643, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; - s.callLocIdx = 406; s.pc = 17; return s.tmp_4; + s.callLocIdx = 370; s.pc = 17; return s.tmp_4; case 17: r0 = s.retval; case 7: @@ -22665,7 +20582,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___10358, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___32643, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -22673,32 +20590,32 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C2463_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C25531_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P2465_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P25533_mk(s); s.tmp_5.arg0 = s.tmp_4; - s.callLocIdx = 407; s.pc = 18; return s.tmp_5; + s.callLocIdx = 371; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___10358, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___32643, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P2468_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___10358, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P25536_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___32643, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 408; s.pc = 19; return s.tmp_0; + s.callLocIdx = 372; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 409; s.pc = 20; return s.tmp_0; + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 373; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___10387 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___10387, s.arg1); + s.overlapMap___32672 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___32672, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -22706,7 +20623,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___10387; + s.tmp_3 = r0 = s.overlapMap___32672; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -22714,7 +20631,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___10387, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___32672, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -22723,12 +20640,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P2408.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__P25476.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__P2408_mk(s) { +function Sprite_setKind__P25476_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P2408, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P25476, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22736,8 +20653,8 @@ function Sprite_setKind__P2408_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___10358: undefined, - overlapMap___10387: undefined, + spritesByKind___32643: undefined, + overlapMap___32672: undefined, arg0: undefined, arg1: undefined, } } @@ -22746,7 +20663,7 @@ function Sprite_setKind__P2408_mk(s) { -function sprites_SpriteSet_add__P2468(s) { +function sprites_SpriteSet_add__P25536(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22762,7 +20679,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2463_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C25531_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -22793,12 +20710,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P2468.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__P25536.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__P2468_mk(s) { +function sprites_SpriteSet_add__P25536_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P2468, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P25536, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22814,7 +20731,7 @@ function sprites_SpriteSet_add__P2468_mk(s) { -function sprites_SpriteSet_contains__P2471(s) { +function sprites_SpriteSet_contains__P25539(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22830,7 +20747,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2463_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C25531_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -22839,12 +20756,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P2471.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__P25539.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__P2471_mk(s) { +function sprites_SpriteSet_contains__P25539_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P2471, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P25539, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22856,7 +20773,7 @@ function sprites_SpriteSet_contains__P2471_mk(s) { -function sprites_SpriteSet_constructor__P2465(s) { +function sprites_SpriteSet_constructor__P25533(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22871,7 +20788,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2463_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C25531_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -22880,12 +20797,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P2465.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__P25533.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__P2465_mk(s) { +function sprites_SpriteSet_constructor__P25533_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P2465, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P25533, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22896,7 +20813,7 @@ function sprites_SpriteSet_constructor__P2465_mk(s) { -function Sprite_constructor__P2388(s) { +function Sprite_constructor__P25456(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22912,15 +20829,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P2096_mk(s); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P25164_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 367; s.pc = 1; return s.tmp_0; + s.callLocIdx = 331; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___2032); + r0 = pxsim_ImageMethods.width(globals.screen___25100); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -22934,7 +20851,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___2032); + r0 = pxsim_ImageMethods.height(globals.screen___25100); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -22953,55 +20870,55 @@ switch (step) { r0 = s.arg0.fields["_y"]; s.tmp_0 = r0; r0 = (s.arg0).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = Sprite_vx__P2359_mk(s); + s.tmp_0 = Sprite_vx__P25427_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 370; s.pc = 2; return s.tmp_0; + s.callLocIdx = 334; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P2361_mk(s); + s.tmp_0 = Sprite_vy__P25429_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 371; s.pc = 3; return s.tmp_0; + s.callLocIdx = 335; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P2363_mk(s); + s.tmp_0 = Sprite_ax__P25431_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 372; s.pc = 4; return s.tmp_0; + s.callLocIdx = 336; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P2365_mk(s); + s.tmp_0 = Sprite_ay__P25433_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 373; s.pc = 5; return s.tmp_0; + s.callLocIdx = 337; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_fx__P2367_mk(s); + s.tmp_0 = Sprite_fx__P25435_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 374; s.pc = 6; return s.tmp_0; + s.callLocIdx = 338; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_fy__P2369_mk(s); + s.tmp_0 = Sprite_fy__P25437_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 375; s.pc = 7; return s.tmp_0; + s.callLocIdx = 339; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = (s.arg0).fields["_sx"] = (256); r0 = (s.arg0).fields["_sy"] = (256); r0 = (s.arg0).fields["flags"] = (0); - s.tmp_0 = Sprite_setImage__P2391_mk(s); + s.tmp_0 = Sprite_setImage__P25459_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 376; s.pc = 8; return s.tmp_0; + s.callLocIdx = 340; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P2408_mk(s); + s.tmp_0 = Sprite_setKind__P25476_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; - s.callLocIdx = 377; s.pc = 9; return s.tmp_0; + s.callLocIdx = 341; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = (s.arg0).fields["layer"] = (1); @@ -23018,12 +20935,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P2388.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__P25456.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__P2388_mk(s) { +function Sprite_constructor__P25456_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P2388, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P25456, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23040,7 +20957,7 @@ function Sprite_constructor__P2388_mk(s) { -function Sprite_fy__P2369(s) { +function Sprite_fy__P25437(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23056,12 +20973,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P130_mk(s); + s.tmp_3 = Math_max__P23197_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 363; s.pc = 1; return s.tmp_3; + s.callLocIdx = 327; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -23074,12 +20991,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fy__P2369.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__P25437.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__P2369_mk(s) { +function Sprite_fy__P25437_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P2369, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P25437, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23094,7 +21011,7 @@ function Sprite_fy__P2369_mk(s) { -function Sprite_fy__P2368(s) { +function Sprite_fy__P25436(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23109,20 +21026,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_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__P2368.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__P2368.isGetter = true; +Sprite_fy__P25436.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__P25436.isGetter = true; -function Sprite_fy__P2368_mk(s) { +function Sprite_fy__P25436_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P2368, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P25436, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23132,7 +21049,7 @@ function Sprite_fy__P2368_mk(s) { -function Sprite_fx__P2367(s) { +function Sprite_fx__P25435(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23148,12 +21065,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P130_mk(s); + s.tmp_3 = Math_max__P23197_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 360; s.pc = 1; return s.tmp_3; + s.callLocIdx = 324; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -23166,12 +21083,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fx__P2367.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__P25435.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__P2367_mk(s) { +function Sprite_fx__P25435_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P2367, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P25435, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23186,7 +21103,7 @@ function Sprite_fx__P2367_mk(s) { -function Sprite_fx__P2366(s) { +function Sprite_fx__P25434(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23201,20 +21118,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_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__P2366.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__P2366.isGetter = true; +Sprite_fx__P25434.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__P25434.isGetter = true; -function Sprite_fx__P2366_mk(s) { +function Sprite_fx__P25434_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P2366, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P25434, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23224,7 +21141,7 @@ function Sprite_fx__P2366_mk(s) { -function Sprite_ay__P2365(s) { +function Sprite_ay__P25433(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23240,7 +21157,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -23251,12 +21168,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P2365.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__P25433.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__P2365_mk(s) { +function Sprite_ay__P25433_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P2365, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P25433, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23269,7 +21186,7 @@ function Sprite_ay__P2365_mk(s) { -function Sprite_ay__P2364(s) { +function Sprite_ay__P25432(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23284,20 +21201,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_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__P2364.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__P2364.isGetter = true; +Sprite_ay__P25432.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__P25432.isGetter = true; -function Sprite_ay__P2364_mk(s) { +function Sprite_ay__P25432_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P2364, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P25432, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23307,7 +21224,7 @@ function Sprite_ay__P2364_mk(s) { -function Sprite_ax__P2363(s) { +function Sprite_ax__P25431(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23323,7 +21240,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -23334,12 +21251,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P2363.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__P25431.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__P2363_mk(s) { +function Sprite_ax__P25431_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P2363, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P25431, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23352,7 +21269,7 @@ function Sprite_ax__P2363_mk(s) { -function Sprite_ax__P2362(s) { +function Sprite_ax__P25430(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23367,20 +21284,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_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__P2362.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__P2362.isGetter = true; +Sprite_ax__P25430.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__P25430.isGetter = true; -function Sprite_ax__P2362_mk(s) { +function Sprite_ax__P25430_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P2362, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P25430, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23390,7 +21307,7 @@ function Sprite_ax__P2362_mk(s) { -function Sprite_vy__P2361(s) { +function Sprite_vy__P25429(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23406,7 +21323,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -23417,12 +21334,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P2361.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__P25429.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__P2361_mk(s) { +function Sprite_vy__P25429_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P2361, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P25429, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23435,7 +21352,7 @@ function Sprite_vy__P2361_mk(s) { -function Sprite_vy__P2360(s) { +function Sprite_vy__P25428(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23450,20 +21367,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_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__P2360.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__P2360.isGetter = true; +Sprite_vy__P25428.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__P25428.isGetter = true; -function Sprite_vy__P2360_mk(s) { +function Sprite_vy__P25428_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P2360, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P25428, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23473,7 +21390,7 @@ function Sprite_vy__P2360_mk(s) { -function Sprite_vx__P2359(s) { +function Sprite_vx__P25427(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23489,7 +21406,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -23500,12 +21417,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P2359.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__P25427.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__P2359_mk(s) { +function Sprite_vx__P25427_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P2359, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P25427, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23518,7 +21435,7 @@ function Sprite_vx__P2359_mk(s) { -function Sprite_vx__P2358(s) { +function Sprite_vx__P25426(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23533,20 +21450,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_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__P2358.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__P2358.isGetter = true; +Sprite_vx__P25426.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__P25426.isGetter = true; -function Sprite_vx__P2358_mk(s) { +function Sprite_vx__P25426_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P2358, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P25426, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23556,7 +21473,7 @@ function Sprite_vx__P2358_mk(s) { -function sprites_BaseSprite_constructor__P2096(s) { +function sprites_BaseSprite_constructor__P25164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23572,33 +21489,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C2094_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P2099_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C25162_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P25167_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 165; s.pc = 1; return s.tmp_0; + s.callLocIdx = 129; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P2870_mk(s); - s.tmp_1 = game_currentScene__P3016_mk(s); - s.callLocIdx = 166; s.pc = 3; return s.tmp_1; + s.tmp_0 = scene_Scene_addSprite__P25938_mk(s); + s.tmp_1 = game_currentScene__P26084_mk(s); + s.callLocIdx = 130; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 167; s.pc = 2; return s.tmp_0; + s.callLocIdx = 131; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P2096.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__P25164.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__P2096_mk(s) { +function sprites_BaseSprite_constructor__P25164_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P2096, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P25164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23610,7 +21527,7 @@ function sprites_BaseSprite_constructor__P2096_mk(s) { -function scene_Scene_addSprite__P2870(s) { +function scene_Scene_addSprite__P25938(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23626,7 +21543,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2843_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C25911_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -23645,7 +21562,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["set/id"]; if (s.tmp_3.fn === null) { s.tmp_3.arg0.fields["id"] = s.tmp_3.arg1; } else if (s.tmp_3.fn === undefined) { failedCast(s.tmp_3.arg0) } - else { s.callLocIdx = 981; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 947; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -23653,12 +21570,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P2870.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__P25938.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__P2870_mk(s) { +function scene_Scene_addSprite__P25938_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P2870, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P25938, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23672,7 +21589,7 @@ function scene_Scene_addSprite__P2870_mk(s) { -function sprites_BaseSprite_z__P2099(s) { +function sprites_BaseSprite_z__P25167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23688,7 +21605,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C2094_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C25162_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -23696,8 +21613,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_z"] = (s.arg1); - s.tmp_1 = game_currentScene__P3016_mk(s); - s.callLocIdx = 168; s.pc = 3; return s.tmp_1; + s.tmp_1 = game_currentScene__P26084_mk(s); + s.callLocIdx = 132; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -23712,12 +21629,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P2099.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__P25167.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__P2099_mk(s) { +function sprites_BaseSprite_z__P25167_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P2099, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P25167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23731,7 +21648,7 @@ function sprites_BaseSprite_z__P2099_mk(s) { -function sprites_BaseSprite_z__P2098(s) { +function sprites_BaseSprite_z__P25166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23746,18 +21663,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C2094_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C25162_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P2098.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__P2098.isGetter = true; +sprites_BaseSprite_z__P25166.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__P25166.isGetter = true; -function sprites_BaseSprite_z__P2098_mk(s) { +function sprites_BaseSprite_z__P25166_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P2098, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P25166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23766,7 +21683,7 @@ function sprites_BaseSprite_z__P2098_mk(s) { -function game_onShade__P3034(s) { +function game_onShade__P26102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23780,9 +21697,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P5108_mk(s); + s.tmp_0 = game_init__P28181_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 1013; s.pc = 4; return s.tmp_0; + s.callLocIdx = 979; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); @@ -23794,11 +21711,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P2805_mk(s); + s.tmp_2 = scene_createRenderable__P25873_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; - s.callLocIdx = 1014; s.pc = 5; return s.tmp_2; + s.callLocIdx = 980; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -23806,12 +21723,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P3034.info = {"start":16162,"length":145,"line":488,"column":4,"endLine":492,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} +game_onShade__P26102.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__P3034_mk(s) { +function game_onShade__P26102_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P3034, depth: s.depth + 1, + parent: s, fn: game_onShade__P26102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23823,7 +21740,7 @@ function game_onShade__P3034_mk(s) { -function scene_createRenderable__P2805(s) { +function scene_createRenderable__P25873(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23833,14 +21750,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___13778 = undefined; + s.renderable___36090 = 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__C2800_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C25868_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -23848,35 +21765,35 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = renderable_inline__P13784; + r0 = renderable_inline__P36096; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P2801_mk(s); + s.tmp_3 = scene_Renderable_constructor__P25869_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; s.tmp_3.arg3 = s.arg0; - s.callLocIdx = 955; s.pc = 3; return s.tmp_3; + s.callLocIdx = 921; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___13778 = (s.tmp_0); - r0 = s.renderable___13778; + s.renderable___36090 = (s.tmp_0); + r0 = s.renderable___36090; return leave(s, r0) default: oops() } } } -scene_createRenderable__P2805.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__P25873.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__P2805_mk(s) { +function scene_createRenderable__P25873_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P2805, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P25873, 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___13778: undefined, + renderable___36090: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23886,7 +21803,7 @@ function scene_createRenderable__P2805_mk(s) { -function renderable_inline__P13784(s) { +function renderable_inline__P36096(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23900,12 +21817,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -renderable_inline__P13784.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +renderable_inline__P36096.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__P13784_mk(s) { +function renderable_inline__P36096_mk(s) { checkStack(s.depth); return { - parent: s, fn: renderable_inline__P13784, depth: s.depth + 1, + parent: s, fn: renderable_inline__P36096, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -23913,7 +21830,7 @@ function renderable_inline__P13784_mk(s) { -function scene_Renderable_constructor__P2801(s) { +function scene_Renderable_constructor__P25869(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23931,25 +21848,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C2800_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C25868_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P2096_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P25164_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; - s.callLocIdx = 952; s.pc = 1; return s.tmp_0; + s.callLocIdx = 918; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P2801.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__P25869.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__P2801_mk(s) { +function scene_Renderable_constructor__P25869_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P2801, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P25869, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23962,7 +21879,7 @@ function scene_Renderable_constructor__P2801_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P3113(s) { +function scene_systemMenu_PauseMenu_constructor__P26181(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23979,7 +21896,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3112_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C26180_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -23987,13 +21904,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P3121_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___3128); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P26189_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___26196); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; s.tmp_1.arg3 = undefined; - s.callLocIdx = 1054; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1020; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 2: @@ -24007,12 +21924,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P3113.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__P26181.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__P3113_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P26181_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P3113, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P26181, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24026,7 +21943,7 @@ function scene_systemMenu_PauseMenu_constructor__P3113_mk(s) { -function scene_systemMenu_buildMenuTheme__P3121(s) { +function scene_systemMenu_buildMenuTheme__P26189(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24036,7 +21953,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___15078 = undefined; + s.cardsPerRow___37491 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24044,19 +21961,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___2032); + r0 = pxsim_ImageMethods.width(globals.screen___25100); 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___15078 = (r0); + s.cardsPerRow___37491 = (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___1975; + r0 = globals.font8___25043; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -24067,9 +21984,9 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P1978_mk(s); + s.tmp_1 = image_doubledFont__P25046_mk(s); s.tmp_1.arg0 = s.arg2; - s.callLocIdx = 1164; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1130; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; case 4: @@ -24080,12 +21997,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___15078); - r0 = pxsim_ImageMethods.width(globals.screen___2032); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___37491); + r0 = pxsim_ImageMethods.width(globals.screen___25100); s.tmp_3 = r0; - r0 = (s.cardsPerRow___15078 * s.arg0); + r0 = (s.cardsPerRow___37491 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___15078 - 1); + r0 = (s.cardsPerRow___37491 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -24106,7 +22023,7 @@ switch (step) { s.tmp_11.fn = s.tmp_11.arg0.vtable.iface["charHeight"]; if (s.tmp_11.fn == null) { s.retval = s.tmp_11.arg0.fields["charHeight"]; } else if (!s.tmp_11.fn.isGetter) { s.retval = bind(s.tmp_11); } - else { s.callLocIdx = 1165; s.pc = 6; return s.tmp_11; } + else { s.callLocIdx = 1131; s.pc = 6; return s.tmp_11; } } case 6: r0 = s.retval; @@ -24116,7 +22033,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___2032); + r0 = pxsim_ImageMethods.height(globals.screen___25100); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -24126,7 +22043,7 @@ switch (step) { s.tmp_16.fn = s.tmp_16.arg0.vtable.iface["charHeight"]; if (s.tmp_16.fn == null) { s.retval = s.tmp_16.arg0.fields["charHeight"]; } else if (!s.tmp_16.fn.isGetter) { s.retval = bind(s.tmp_16); } - else { s.callLocIdx = 1166; s.pc = 7; return s.tmp_16; } + else { s.callLocIdx = 1132; s.pc = 7; return s.tmp_16; } } case 7: r0 = s.retval; @@ -24137,19 +22054,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___3129); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___3130); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___3128); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___26197); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___26198); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___26196); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P3121.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__P26189.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__P3121_mk(s) { +function scene_systemMenu_buildMenuTheme__P26189_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P3121, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P26189, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24168,7 +22085,7 @@ function scene_systemMenu_buildMenuTheme__P3121_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___15078: undefined, + cardsPerRow___37491: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24179,7 +22096,7 @@ function scene_systemMenu_buildMenuTheme__P3121_mk(s) { -function image_doubledFont__P1978(s) { +function image_doubledFont__P25046(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24193,21 +22110,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P1979_mk(s); + s.tmp_0 = image_scaledFont__P25047_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; - s.callLocIdx = 124; s.pc = 1; return s.tmp_0; + s.callLocIdx = 88; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -image_doubledFont__P1978.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__P25046.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__P1978_mk(s) { +function image_doubledFont__P25046_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P1978, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P25046, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24217,7 +22134,7 @@ function image_doubledFont__P1978_mk(s) { -function image_scaledFont__P1979(s) { +function image_scaledFont__P25047(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24252,7 +22169,7 @@ switch (step) { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["charWidth"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["charWidth"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 125; s.pc = 6; return s.tmp_4; } + else { s.callLocIdx = 89; s.pc = 6; return s.tmp_4; } } case 6: r0 = s.retval; @@ -24268,7 +22185,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charHeight"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charHeight"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 126; s.pc = 7; return s.tmp_7; } + else { s.callLocIdx = 90; s.pc = 7; return s.tmp_7; } } case 7: r0 = s.retval; @@ -24284,7 +22201,7 @@ switch (step) { s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["data"]; if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["data"]; } else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.callLocIdx = 127; s.pc = 8; return s.tmp_9; } + else { s.callLocIdx = 91; s.pc = 8; return s.tmp_9; } } case 8: r0 = s.retval; @@ -24298,7 +22215,7 @@ switch (step) { s.tmp_11.fn = s.tmp_11.arg0.vtable.iface["multiplier"]; if (s.tmp_11.fn == null) { s.retval = s.tmp_11.arg0.fields["multiplier"]; } else if (!s.tmp_11.fn.isGetter) { s.retval = bind(s.tmp_11); } - else { s.callLocIdx = 128; s.pc = 9; return s.tmp_11; } + else { s.callLocIdx = 92; s.pc = 9; return s.tmp_11; } } case 9: r0 = s.retval; @@ -24314,7 +22231,7 @@ switch (step) { s.tmp_14.fn = s.tmp_14.arg0.vtable.iface["multiplier"]; if (s.tmp_14.fn == null) { s.retval = s.tmp_14.arg0.fields["multiplier"]; } else if (!s.tmp_14.fn.isGetter) { s.retval = bind(s.tmp_14); } - else { s.callLocIdx = 129; s.pc = 10; return s.tmp_14; } + else { s.callLocIdx = 93; s.pc = 10; return s.tmp_14; } } case 10: r0 = s.retval; @@ -24332,12 +22249,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P1979.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__P25047.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__P1979_mk(s) { +function image_scaledFont__P25047_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P1979, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P25047, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24363,7 +22280,7 @@ function image_scaledFont__P1979_mk(s) { -function game_pushScene__P3020(s) { +function game_pushScene__P26088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24373,45 +22290,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___11140 = undefined; - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 1001; s.pc = 5; return s.tmp_0; + s.oldScene___33425 = undefined; + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 967; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___11140 = (r0); - s.tmp_0 = particles_clearAll__P3198_mk(s); - s.callLocIdx = 1002; s.pc = 6; return s.tmp_0; + s.oldScene___33425 = (r0); + s.tmp_0 = particles_clearAll__P26266_mk(s); + s.callLocIdx = 968; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P3199_mk(s); - s.callLocIdx = 1003; s.pc = 7; return s.tmp_0; + s.tmp_0 = particles_disableAll__P26267_mk(s); + s.callLocIdx = 969; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___5101); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___28174); 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___5101 = (r0); + globals._sceneStack___28174 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___5101, globals._scene___5100); - s.tmp_0 = game_init__P5108_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___28174, globals._scene___28173); + s.tmp_0 = game_init__P28181_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 1004; s.pc = 8; return s.tmp_0; + s.callLocIdx = 970; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___5102); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___28175); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P11157); + r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P33442); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___11140); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___5102; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___33425); + s.tmp_1 = helpers_arrayForEach__P23176_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___28175; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1006; s.pc = 9; return s.tmp_1; + s.callLocIdx = 972; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; case 3: @@ -24420,23 +22337,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P3020.info = {"start":5405,"length":367,"line":172,"column":4,"endLine":183,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P26088.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__P3020_mk(s) { +function game_pushScene__P26088_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P3020, depth: s.depth + 1, + parent: s, fn: game_pushScene__P26088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___11140: undefined, + oldScene___33425: undefined, } } -function game_pushScene_inline__P11157(s) { +function game_pushScene_inline__P33442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24454,19 +22371,19 @@ switch (step) { s.tmp_0.argL = s.arg0; s.tmp_0.arg0 = s.caps[0]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 1005; s.pc = 1; return s.tmp_0; + s.callLocIdx = 971; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_pushScene_inline__P11157.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__P33442.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__P11157_mk(s) { +function game_pushScene_inline__P33442_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene_inline__P11157, depth: s.depth + 1, + parent: s, fn: game_pushScene_inline__P33442, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24476,7 +22393,7 @@ function game_pushScene_inline__P11157_mk(s) { -function particles_disableAll__P3199(s) { +function particles_disableAll__P26267(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24486,22 +22403,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___13233 = undefined; - s.tmp_0 = particles_particleSources__P5450_mk(s); - s.callLocIdx = 1247; s.pc = 3; return s.tmp_0; + s.sources___35545 = undefined; + s.tmp_0 = particles_particleSources__P28523_mk(s); + s.callLocIdx = 1213; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___13233 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___13233); + s.sources___35545 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___35545); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.sources___13233; - s.tmp_0.arg1 = particles_disableAll_inline__P13239; - s.callLocIdx = 1249; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P23176_mk(s); + s.tmp_0.arg0 = s.sources___35545; + s.tmp_0.arg1 = particles_disableAll_inline__P35551; + s.callLocIdx = 1215; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P5446_mk(s); - s.callLocIdx = 1250; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P28519_mk(s); + s.callLocIdx = 1216; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -24510,22 +22427,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P3199.info = {"start":12370,"length":195,"line":402,"column":4,"endLine":408,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P26267.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__P3199_mk(s) { +function particles_disableAll__P26267_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P3199, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P26267, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___13233: undefined, + sources___35545: undefined, } } -function particles_disableAll_inline__P13239(s) { +function particles_disableAll_inline__P35551(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24539,22 +22456,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P3181_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P26249_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1248; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1214; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = false; return leave(s, r0) default: oops() } } } -particles_disableAll_inline__P13239.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__P35551.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__P13239_mk(s) { +function particles_disableAll_inline__P35551_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll_inline__P13239, depth: s.depth + 1, + parent: s, fn: particles_disableAll_inline__P35551, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24564,7 +22481,7 @@ function particles_disableAll_inline__P13239_mk(s) { -function particles_clearAll__P3198(s) { +function particles_clearAll__P26266(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24574,22 +22491,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___13244 = undefined; - s.tmp_0 = particles_particleSources__P5450_mk(s); - s.callLocIdx = 1243; s.pc = 3; return s.tmp_0; + s.sources___35556 = undefined; + s.tmp_0 = particles_particleSources__P28523_mk(s); + s.callLocIdx = 1209; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___13244 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___13244); + s.sources___35556 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___35556); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.sources___13244; - s.tmp_0.arg1 = particles_clearAll_inline__P13250; - s.callLocIdx = 1245; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P23176_mk(s); + s.tmp_0.arg0 = s.sources___35556; + s.tmp_0.arg1 = particles_clearAll_inline__P35562; + s.callLocIdx = 1211; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P5446_mk(s); - s.callLocIdx = 1246; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P28519_mk(s); + s.callLocIdx = 1212; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -24598,22 +22515,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P3198.info = {"start":12098,"length":185,"line":391,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P26266.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__P3198_mk(s) { +function particles_clearAll__P26266_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P3198, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P26266, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___13244: undefined, + sources___35556: undefined, } } -function particles_clearAll_inline__P13250(s) { +function particles_clearAll_inline__P35562(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24627,21 +22544,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P3183_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P26251_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1244; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1210; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_clearAll_inline__P13250.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__P35562.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__P13250_mk(s) { +function particles_clearAll_inline__P35562_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll_inline__P13250, depth: s.depth + 1, + parent: s, fn: particles_clearAll_inline__P35562, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24651,7 +22568,7 @@ function particles_clearAll_inline__P13250_mk(s) { -function particles_ParticleSource_clear__P3183(s) { +function particles_ParticleSource_clear__P26251(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24666,18 +22583,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3168_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C26236_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P3183.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__P26251.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__P3183_mk(s) { +function particles_ParticleSource_clear__P26251_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P3183, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P26251, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -24686,7 +22603,7 @@ function particles_ParticleSource_clear__P3183_mk(s) { -function controller_Button_onEvent__P2196(s) { +function controller_Button_onEvent__P25264(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24696,7 +22613,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.eventHandler___15160 = undefined; + s.eventHandler___37573 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24704,28 +22621,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2189_VT)) failedCast(r0); - s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P4889_mk(s); + if (!checkSubtype(r0, controller_Button__C25257_VT)) failedCast(r0); + s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P27962_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 238; s.pc = 1; return s.tmp_0; + s.callLocIdx = 202; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.eventHandler___15160 = (r0); - r0 = (s.eventHandler___15160).fields["callback"] = (s.arg2); + s.eventHandler___37573 = (r0); + r0 = (s.eventHandler___37573).fields["callback"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P2196.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__P25264.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__P2196_mk(s) { +function controller_Button_onEvent__P25264_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P2196, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P25264, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - eventHandler___15160: undefined, + eventHandler___37573: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24735,7 +22652,7 @@ function controller_Button_onEvent__P2196_mk(s) { -function controller_Button_getOrCreateHandlerForEvent__P4889(s) { +function controller_Button_getOrCreateHandlerForEvent__P27962(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24745,21 +22662,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___10844 = undefined; - s.eventHandler___10853 = undefined; - s.unnamed78___U2 = undefined; - s.unnamed79___U3 = undefined; - s.newHandler___10868 = undefined; + s.handlerState___33129 = undefined; + s.eventHandler___33138 = undefined; + s.unnamed186___U2 = undefined; + s.unnamed187___U3 = undefined; + s.newHandler___33153 = 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__C2189_VT)) failedCast(r0); - s.tmp_3 = controller_Button_handlerState__P4884_mk(s); + if (!checkSubtype(r0, controller_Button__C25257_VT)) failedCast(r0); + s.tmp_3 = controller_Button_handlerState__P27957_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 251; s.pc = 10; return s.tmp_3; + s.callLocIdx = 215; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; @@ -24769,17 +22686,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonEventHandlerState__C2185_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonEventHandlerState__C25253_VT); s.tmp_4 = r0; - s.tmp_5 = controller_ButtonEventHandlerState_constructor__P2186_mk(s); + s.tmp_5 = controller_ButtonEventHandlerState_constructor__P25254_mk(s); s.tmp_5.arg0 = s.tmp_4; r0 = s.arg0.fields["id"]; s.tmp_5.arg1 = r0; - s.callLocIdx = 253; s.pc = 11; return s.tmp_5; + s.callLocIdx = 217; s.pc = 11; return s.tmp_5; case 11: r0 = s.retval; - s.tmp_7 = game_currentScene__P3016_mk(s); - s.callLocIdx = 252; s.pc = 12; return s.tmp_7; + s.tmp_7 = game_currentScene__P26084_mk(s); + s.callLocIdx = 216; s.pc = 12; return s.tmp_7; case 12: r0 = s.retval; r0 = r0.fields["buttonEventHandlers"]; @@ -24787,13 +22704,13 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_6, s.tmp_4); case 1: case 2: - s.tmp_0 = controller_Button_handlerState__P4884_mk(s); + s.tmp_0 = controller_Button_handlerState__P27957_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 254; s.pc = 13; return s.tmp_0; + s.callLocIdx = 218; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.handlerState___10844 = (r0); - r0 = s.handlerState___10844.fields["user"]; + s.handlerState___33129 = (r0); + r0 = s.handlerState___33129.fields["user"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -24801,76 +22718,76 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = r0 = s.handlerState___10844; + s.tmp_3 = r0 = s.handlerState___33129; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = (s.tmp_3).fields["user"] = (s.tmp_4); case 3: case 4: - s.eventHandler___10853 = (undefined); - r0 = s.handlerState___10844.fields["user"]; - s.unnamed78___U2 = (r0); - s.unnamed79___U3 = (0); + s.eventHandler___33138 = (undefined); + r0 = s.handlerState___33129.fields["user"]; + s.unnamed186___U2 = (r0); + s.unnamed187___U3 = (0); case 5: - s.tmp_0 = r0 = s.unnamed79___U3; - r0 = pxsim_Array__length(s.unnamed78___U2); + s.tmp_0 = r0 = s.unnamed187___U3; + r0 = pxsim_Array__length(s.unnamed186___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 8; continue; } - r0 = pxsim_Array__getAt(s.unnamed78___U2, s.unnamed79___U3); - s.eventHandler___10853 = (r0); - r0 = s.eventHandler___10853.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed186___U2, s.unnamed187___U3); + s.eventHandler___33138 = (r0); + r0 = s.eventHandler___33138.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___10853; + r0 = s.eventHandler___33138; { step = 9; continue; } case 6: case 7: - r0 = (s.unnamed79___U3 + 1); - s.unnamed79___U3 = (r0); + r0 = (s.unnamed187___U3 + 1); + s.unnamed187___U3 = (r0); { step = 5; continue; } case 8: - s.unnamed78___U2 = (undefined); - r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P10865); + s.unnamed186___U2 = (undefined); + r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P33150); s.tmp_4 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.arg1); - s.tmp_5 = control_onEvent__P391_mk(s); + s.tmp_5 = control_onEvent__P23458_mk(s); s.tmp_5.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_5.arg1 = r0; s.tmp_5.arg2 = s.tmp_4; s.tmp_5.arg3 = 16; - s.callLocIdx = 256; s.pc = 14; return s.tmp_5; + s.callLocIdx = 220; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonHandler__C2183_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonHandler__C25251_VT); s.tmp_0 = r0; - s.tmp_1 = controller_ButtonHandler_constructor__P2184_mk(s); + s.tmp_1 = controller_ButtonHandler_constructor__P25252_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = undefined; - s.callLocIdx = 257; s.pc = 15; return s.tmp_1; + s.callLocIdx = 221; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.newHandler___10868 = (s.tmp_0); - r0 = s.handlerState___10844.fields["user"]; + s.newHandler___33153 = (s.tmp_0); + r0 = s.handlerState___33129.fields["user"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.newHandler___10868); - r0 = s.newHandler___10868; + r0 = pxsim_Array__push(s.tmp_0, s.newHandler___33153); + r0 = s.newHandler___33153; case 9: return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent__P4889.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__P27962.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__P4889_mk(s) { +function controller_Button_getOrCreateHandlerForEvent__P27962_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P4889, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P27962, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24880,11 +22797,11 @@ function controller_Button_getOrCreateHandlerForEvent__P4889_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - handlerState___10844: undefined, - eventHandler___10853: undefined, - unnamed78___U2: undefined, - unnamed79___U3: undefined, - newHandler___10868: undefined, + handlerState___33129: undefined, + eventHandler___33138: undefined, + unnamed186___U2: undefined, + unnamed187___U3: undefined, + newHandler___33153: undefined, arg0: undefined, arg1: undefined, } } @@ -24893,7 +22810,7 @@ function controller_Button_getOrCreateHandlerForEvent__P4889_mk(s) { -function controller_Button_getOrCreateHandlerForEvent_inline__P10865(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P33150(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24903,22 +22820,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_runButtonEvents__P4888_mk(s); + s.tmp_0 = controller_Button_runButtonEvents__P27961_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[1]; - s.callLocIdx = 255; s.pc = 1; return s.tmp_0; + s.callLocIdx = 219; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent_inline__P10865.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__P33150.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__P10865_mk(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P33150_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P10865, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P33150, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -24927,7 +22844,7 @@ function controller_Button_getOrCreateHandlerForEvent_inline__P10865_mk(s) { -function controller_Button_runButtonEvents__P4888(s) { +function controller_Button_runButtonEvents__P27961(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24937,25 +22854,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___10881 = undefined; - s.userHandler___10885 = undefined; - s.eventHandler___10896 = undefined; - s.unnamed76___U3 = undefined; - s.unnamed77___U4 = undefined; + s.handlerState___33166 = undefined; + s.userHandler___33170 = undefined; + s.eventHandler___33181 = undefined; + s.unnamed184___U3 = undefined; + s.unnamed185___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__C2189_VT)) failedCast(r0); - s.tmp_0 = controller_Button_handlerState__P4884_mk(s); + if (!checkSubtype(r0, controller_Button__C25257_VT)) failedCast(r0); + s.tmp_0 = controller_Button_handlerState__P27957_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 247; s.pc = 14; return s.tmp_0; + s.callLocIdx = 211; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.handlerState___10881 = (r0); - r0 = pxsim_numops_toBoolDecr(s.handlerState___10881); + s.handlerState___33166 = (r0); + r0 = pxsim_numops_toBoolDecr(s.handlerState___33166); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -24964,49 +22881,49 @@ switch (step) { { step = 13; continue; } case 1: case 2: - s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P4889_mk(s); + s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P27962_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - s.callLocIdx = 248; s.pc = 15; return s.tmp_2; + s.callLocIdx = 212; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; - s.userHandler___10885 = (r0); - r0 = s.userHandler___10885.fields["callback"]; + s.userHandler___33170 = (r0); + r0 = s.userHandler___33170.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___10885; + s.tmp_1.arg0 = s.userHandler___33170; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "callback"), 1); - s.callLocIdx = 249; s.pc = 16; return s.tmp_1; + s.callLocIdx = 213; s.pc = 16; return s.tmp_1; } else { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["callback"]; - if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["callback"], 1); s.callLocIdx = 249; s.pc = 16; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 249; s.pc = 16; return s.tmp_1;; } - else { s.callLocIdx = 249; s.pc = 16; return s.tmp_1; } + if (s.tmp_1.fn == null) { setupLambda(s.tmp_1, s.tmp_1.arg0.fields["callback"], 1); s.callLocIdx = 213; s.pc = 16; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 213; s.pc = 16; return s.tmp_1;; } + else { s.callLocIdx = 213; s.pc = 16; return s.tmp_1; } } case 16: r0 = s.retval; case 3: case 4: - r0 = s.handlerState___10881.fields["system"]; + r0 = s.handlerState___33166.fields["system"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.eventHandler___10896 = (undefined); - r0 = s.handlerState___10881.fields["system"]; - s.unnamed76___U3 = (r0); - s.unnamed77___U4 = (0); + s.eventHandler___33181 = (undefined); + r0 = s.handlerState___33166.fields["system"]; + s.unnamed184___U3 = (r0); + s.unnamed185___U4 = (0); case 5: - s.tmp_0 = r0 = s.unnamed77___U4; - r0 = pxsim_Array__length(s.unnamed76___U3); + s.tmp_0 = r0 = s.unnamed185___U4; + r0 = pxsim_Array__length(s.unnamed184___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed76___U3, s.unnamed77___U4); - s.eventHandler___10896 = (r0); - r0 = s.eventHandler___10896.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed184___U3, s.unnamed185___U4); + s.eventHandler___33181 = (r0); + r0 = s.eventHandler___33181.fields["event"]; s.tmp_3 = r0; r0 = (s.tmp_3 === s.arg1); s.tmp_2 = r0; @@ -25015,32 +22932,32 @@ switch (step) { r0 = s.tmp_2; { step = 7; continue; } case 6: - r0 = s.eventHandler___10896.fields["callback"]; + r0 = s.eventHandler___33181.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___10896; + s.tmp_5.arg0 = s.eventHandler___33181; if (!s.tmp_5.arg0.vtable.iface) { setupLambda(s.tmp_5, pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "callback"), 1); - s.callLocIdx = 250; s.pc = 17; return s.tmp_5; + s.callLocIdx = 214; s.pc = 17; return s.tmp_5; } else { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["callback"]; - if (s.tmp_5.fn == null) { setupLambda(s.tmp_5, s.tmp_5.arg0.fields["callback"], 1); s.callLocIdx = 250; s.pc = 17; return s.tmp_5; } - else if (s.tmp_5.fn.isGetter) { s.tmp_5.stage2Call = true; s.callLocIdx = 250; s.pc = 17; return s.tmp_5;; } - else { s.callLocIdx = 250; s.pc = 17; return s.tmp_5; } + if (s.tmp_5.fn == null) { setupLambda(s.tmp_5, s.tmp_5.arg0.fields["callback"], 1); s.callLocIdx = 214; s.pc = 17; return s.tmp_5; } + else if (s.tmp_5.fn.isGetter) { s.tmp_5.stage2Call = true; s.callLocIdx = 214; s.pc = 17; return s.tmp_5;; } + else { s.callLocIdx = 214; s.pc = 17; return s.tmp_5; } } case 17: r0 = s.retval; case 8: case 9: - r0 = (s.unnamed77___U4 + 1); - s.unnamed77___U4 = (r0); + r0 = (s.unnamed185___U4 + 1); + s.unnamed185___U4 = (r0); { step = 5; continue; } case 10: - s.unnamed76___U3 = (undefined); + s.unnamed184___U3 = (undefined); case 11: case 12: case 13: @@ -25048,12 +22965,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_runButtonEvents__P4888.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__P27961.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__P4888_mk(s) { +function controller_Button_runButtonEvents__P27961_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_runButtonEvents__P4888, depth: s.depth + 1, + parent: s, fn: controller_Button_runButtonEvents__P27961, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25061,11 +22978,11 @@ function controller_Button_runButtonEvents__P4888_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - handlerState___10881: undefined, - userHandler___10885: undefined, - eventHandler___10896: undefined, - unnamed76___U3: undefined, - unnamed77___U4: undefined, + handlerState___33166: undefined, + userHandler___33170: undefined, + eventHandler___33181: undefined, + unnamed184___U3: undefined, + unnamed185___U4: undefined, arg0: undefined, arg1: undefined, } } @@ -25074,7 +22991,7 @@ function controller_Button_runButtonEvents__P4888_mk(s) { -function controller_Button_handlerState__P4884(s) { +function controller_Button_handlerState__P27957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25084,32 +23001,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___10819 = undefined; - s.unnamed72___U1 = undefined; - s.unnamed73___U2 = undefined; + s.state___33104 = undefined; + s.unnamed180___U1 = undefined; + s.unnamed181___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2189_VT)) failedCast(r0); - s.state___10819 = (undefined); - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 234; s.pc = 6; return s.tmp_0; + if (!checkSubtype(r0, controller_Button__C25257_VT)) failedCast(r0); + s.state___33104 = (undefined); + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 198; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = r0.fields["buttonEventHandlers"]; - s.unnamed72___U1 = (r0); - s.unnamed73___U2 = (0); + s.unnamed180___U1 = (r0); + s.unnamed181___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed73___U2; - r0 = pxsim_Array__length(s.unnamed72___U1); + s.tmp_0 = r0 = s.unnamed181___U2; + r0 = pxsim_Array__length(s.unnamed180___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed72___U1, s.unnamed73___U2); - s.state___10819 = (r0); - r0 = s.state___10819.fields["id"]; + r0 = pxsim_Array__getAt(s.unnamed180___U1, s.unnamed181___U2); + s.state___33104 = (r0); + r0 = s.state___33104.fields["id"]; s.tmp_3 = r0; r0 = s.arg0.fields["id"]; s.tmp_4 = r0; @@ -25117,36 +23034,36 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.state___10819; + r0 = s.state___33104; { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed73___U2 + 1); - s.unnamed73___U2 = (r0); + r0 = (s.unnamed181___U2 + 1); + s.unnamed181___U2 = (r0); { step = 1; continue; } case 4: - s.unnamed72___U1 = (undefined); + s.unnamed180___U1 = (undefined); r0 = undefined; case 5: return leaveAccessor(s, r0) default: oops() } } } -controller_Button_handlerState__P4884.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__P4884.isGetter = true; +controller_Button_handlerState__P27957.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__P27957.isGetter = true; -function controller_Button_handlerState__P4884_mk(s) { +function controller_Button_handlerState__P27957_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_handlerState__P4884, depth: s.depth + 1, + parent: s, fn: controller_Button_handlerState__P27957, 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___10819: undefined, - unnamed72___U1: undefined, - unnamed73___U2: undefined, + state___33104: undefined, + unnamed180___U1: undefined, + unnamed181___U2: undefined, arg0: undefined, } } @@ -25154,7 +23071,7 @@ function controller_Button_handlerState__P4884_mk(s) { -function controller_ButtonEventHandlerState_constructor__P2186(s) { +function controller_ButtonEventHandlerState_constructor__P25254(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25170,18 +23087,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ButtonEventHandlerState__C2185_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ButtonEventHandlerState__C25253_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_ButtonEventHandlerState_constructor__P2186.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__P25254.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__P2186_mk(s) { +function controller_ButtonEventHandlerState_constructor__P25254_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ButtonEventHandlerState_constructor__P2186, depth: s.depth + 1, + parent: s, fn: controller_ButtonEventHandlerState_constructor__P25254, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25191,7 +23108,7 @@ function controller_ButtonEventHandlerState_constructor__P2186_mk(s) { -function controller_ButtonHandler_constructor__P2184(s) { +function controller_ButtonHandler_constructor__P25252(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25208,19 +23125,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ButtonHandler__C2183_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ButtonHandler__C25251_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__P2184.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__P25252.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__P2184_mk(s) { +function controller_ButtonHandler_constructor__P25252_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ButtonHandler_constructor__P2184, depth: s.depth + 1, + parent: s, fn: controller_ButtonHandler_constructor__P25252, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25231,7 +23148,7 @@ function controller_ButtonHandler_constructor__P2184_mk(s) { -function scene_systemMenu_initScreen__P5368(s) { +function scene_systemMenu_initScreen__P28441(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25241,21 +23158,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___15168 = undefined; - s.tmp_0 = settings_readNumber__P2068_mk(s); + s.brightness___37581 = undefined; + s.tmp_0 = settings_readNumber__P25136_mk(s); s.tmp_0.arg0 = "#brightness"; - s.callLocIdx = 1173; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1139; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___15168 = (r0); - r0 = (s.brightness___15168 !== undefined); + s.brightness___37581 = (r0); + r0 = (s.brightness___37581 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P1965_mk(s); - s.tmp_1.arg0 = globals.screen___2032; - s.tmp_1.arg1 = s.brightness___15168; - s.callLocIdx = 1174; s.pc = 4; return s.tmp_1; + s.tmp_1 = helpers_setScreenBrightness__P25033_mk(s); + s.tmp_1.arg0 = globals.screen___25100; + s.tmp_1.arg1 = s.brightness___37581; + s.callLocIdx = 1140; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -25264,23 +23181,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P5368.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__P28441.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__P5368_mk(s) { +function scene_systemMenu_initScreen__P28441_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P5368, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P28441, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___15168: undefined, + brightness___37581: undefined, } } -function settings_readNumber__P2068(s) { +function settings_readNumber__P25136(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25290,15 +23207,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___15179 = undefined; - s.nums___15186 = undefined; + s.buf___37592 = undefined; + s.nums___37599 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___15179 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___15179); + s.buf___37592 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___37592); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -25308,20 +23225,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P183_mk(s); - s.tmp_2.arg0 = s.buf___15179; + s.tmp_2 = msgpack_unpackNumberArray__P23250_mk(s); + s.tmp_2.arg0 = s.buf___37592; s.tmp_2.arg1 = 0; - s.callLocIdx = 164; s.pc = 8; return s.tmp_2; + s.callLocIdx = 128; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___15186 = (r0); - s.tmp_0 = r0 = s.nums___15186; + s.nums___37599 = (r0); + s.tmp_0 = r0 = s.nums___37599; 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___15186); + r0 = pxsim_Array__length(s.nums___37599); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -25329,7 +23246,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___15186, 0); + r0 = pxsim_Array__getAt(s.nums___37599, 0); { step = 7; continue; } case 4: case 5: @@ -25341,18 +23258,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P2068.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__P25136.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__P2068_mk(s) { +function settings_readNumber__P25136_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P2068, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P25136, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___15179: undefined, - nums___15186: undefined, + buf___37592: undefined, + nums___37599: undefined, arg0: undefined, } } @@ -25360,7 +23277,7 @@ function settings_readNumber__P2068_mk(s) { -function settings_readBuffer__P2065(s) { +function settings_readBuffer__P25133(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25378,12 +23295,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P2065.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__P25133.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__P2065_mk(s) { +function settings_readBuffer__P25133_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P2065, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P25133, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25392,7 +23309,7 @@ function settings_readBuffer__P2065_mk(s) { -function msgpack_unpackNumberArray__P183(s) { +function msgpack_unpackNumberArray__P23250(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25402,16 +23319,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___15199 = undefined; - s.fmt___15206 = undefined; - s.v___15215 = undefined; + s.res___37612 = undefined; + s.fmt___37619 = undefined; + s.v___37628 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___15199 = (r0); + s.res___37612 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -25423,14 +23340,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P4536_mk(s); + s.tmp_4 = msgpack_tagFormat__P27609_mk(s); r0 = pxsim.BufferMethods.getByte(s.arg0, s.tmp_3); s.tmp_4.arg0 = r0; - s.callLocIdx = 20; s.pc = 12; return s.tmp_4; + s.callLocIdx = 19; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___15206 = (r0); - r0 = (s.fmt___15206 === null); + s.fmt___37619 = (r0); + r0 = (s.fmt___37619 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -25438,21 +23355,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___15215 = (r0); - r0 = (-31 <= s.v___15215); + s.v___37628 = (r0); + r0 = (-31 <= s.v___37628); 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___15215 <= 127); + r0 = (s.v___37628 <= 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___15199, s.v___15215); + r0 = pxsim_Array__push(s.res___37612, s.v___37628); { step = 5; continue; } case 4: r0 = null; @@ -25460,14 +23377,14 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___15199; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___15206, s.arg1); + s.tmp_0 = r0 = s.res___37612; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___37619, s.arg1); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); s.tmp_0 = r0 = s.arg1; - s.tmp_2 = pins_sizeOf__P175_mk(s); - s.tmp_2.arg0 = s.fmt___15206; - s.callLocIdx = 21; s.pc = 13; return s.tmp_2; + s.tmp_2 = pins_sizeOf__P23242_mk(s); + s.tmp_2.arg0 = s.fmt___37619; + s.callLocIdx = 20; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; @@ -25487,26 +23404,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___15199; + r0 = s.res___37612; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P183.info = {"start":2650,"length":669,"line":91,"column":4,"endLine":111,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"unpackNumberArray","argumentNames":["buf","offset"]} +msgpack_unpackNumberArray__P23250.info = {"start":2650,"length":669,"line":91,"column":4,"endLine":111,"endColumn":5,"fileName":"pxt_modules/base/buffer.ts","functionName":"unpackNumberArray","argumentNames":["buf","offset"]} -function msgpack_unpackNumberArray__P183_mk(s) { +function msgpack_unpackNumberArray__P23250_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P183, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P23250, 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___15199: undefined, - fmt___15206: undefined, - v___15215: undefined, + res___37612: undefined, + fmt___37619: undefined, + v___37628: undefined, arg0: undefined, arg1: undefined, } } @@ -25515,7 +23432,7 @@ function msgpack_unpackNumberArray__P183_mk(s) { -function scene_systemMenu_initVolume__P5367(s) { +function scene_systemMenu_initVolume__P28440(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25525,20 +23442,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___15260 = undefined; - s.tmp_0 = settings_readNumber__P2068_mk(s); + s.vol___37673 = undefined; + s.tmp_0 = settings_readNumber__P25136_mk(s); s.tmp_0.arg0 = "#volume"; - s.callLocIdx = 1171; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1137; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___15260 = (r0); - r0 = (s.vol___15260 !== undefined); + s.vol___37673 = (r0); + r0 = (s.vol___37673 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P1620_mk(s); - s.tmp_1.arg0 = s.vol___15260; - s.callLocIdx = 1172; s.pc = 4; return s.tmp_1; + s.tmp_1 = music_setVolume__P24688_mk(s); + s.tmp_1.arg0 = s.vol___37673; + s.callLocIdx = 1138; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -25547,23 +23464,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P5367.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__P28440.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__P5367_mk(s) { +function scene_systemMenu_initVolume__P28440_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P5367, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P28440, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___15260: undefined, + vol___37673: undefined, } } -function game_GameOverConfig_constructor__P3005(s) { +function game_GameOverConfig_constructor__P26073(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25578,22 +23495,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C2990_VT)) failedCast(r0); - s.tmp_0 = game_GameOverConfig_init__P3006_mk(s); + if (!checkSubtype(r0, game_GameOverConfig__C26058_VT)) failedCast(r0); + s.tmp_0 = game_GameOverConfig_init__P26074_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 992; s.pc = 1; return s.tmp_0; + s.callLocIdx = 958; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_GameOverConfig_constructor__P3005.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__P26073.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__P3005_mk(s) { +function game_GameOverConfig_constructor__P26073_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_constructor__P3005, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_constructor__P26073, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25603,7 +23520,7 @@ function game_GameOverConfig_constructor__P3005_mk(s) { -function game_GameOverConfig_init__P3006(s) { +function game_GameOverConfig_init__P26074(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25618,22 +23535,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C2990_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverConfig__C26058_VT)) failedCast(r0); r0 = (s.arg0).fields["scoringType"] = (0); - r0 = (s.arg0).fields["winEffect"] = (globals.confetti___3291); - r0 = (s.arg0).fields["loseEffect"] = (globals.melt___3313); + r0 = (s.arg0).fields["winEffect"] = (globals.confetti___26359); + r0 = (s.arg0).fields["loseEffect"] = (globals.melt___26381); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = music_melodyPlayable__P1923_mk(s); - s.tmp_2.arg0 = globals.powerUp___1650; - s.callLocIdx = 993; s.pc = 1; return s.tmp_2; + s.tmp_2 = music_melodyPlayable__P24991_mk(s); + s.tmp_2.arg0 = globals.powerUp___24718; + s.callLocIdx = 959; 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__P1923_mk(s); - s.tmp_2.arg0 = globals.wawawawaa___1647; - s.callLocIdx = 994; s.pc = 2; return s.tmp_2; + s.tmp_2 = music_melodyPlayable__P24991_mk(s); + s.tmp_2.arg0 = globals.wawawawaa___24715; + s.callLocIdx = 960; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; @@ -25651,12 +23568,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_init__P3006.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__P26074.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__P3006_mk(s) { +function game_GameOverConfig_init__P26074_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_init__P3006, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_init__P26074, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25668,7 +23585,7 @@ function game_GameOverConfig_init__P3006_mk(s) { -function melt_inline__P15318(s) { +function melt_inline__P37736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25678,11 +23595,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___15321 = undefined; - s.j___15329 = undefined; - s.x___15334 = undefined; - s.y___15340 = undefined; - s.c___15346 = undefined; + s.rounds___37739 = undefined; + s.j___37747 = undefined; + s.x___37752 = undefined; + s.y___37758 = undefined; + s.c___37764 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25695,70 +23612,70 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___15321 = (r0); - s.j___15329 = (0); + s.rounds___37739 = (r0); + s.j___37747 = (0); case 1: - r0 = (s.j___15329 < s.rounds___15321); + r0 = (s.j___37747 < s.rounds___37739); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P3080_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P26148_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1.arg2 = r0; - s.callLocIdx = 59; s.pc = 3; return s.tmp_1; + s.callLocIdx = 58; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___15334 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P3080_mk(s); + s.x___37752 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P26148_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); s.tmp_1 = r0; r0 = (s.tmp_1 - 3); s.tmp_0.arg2 = r0; - s.callLocIdx = 60; s.pc = 4; return s.tmp_0; + s.callLocIdx = 59; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___15340 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___15334, s.y___15340); - s.c___15346 = (r0); + s.y___37758 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___37752, s.y___37758); + s.c___37764 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___15334; - r0 = (s.y___15340 + 1); + s.tmp_1 = r0 = s.x___37752; + r0 = (s.y___37758 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___15346); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___37764); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___15334; - r0 = (s.y___15340 + 2); + s.tmp_1 = r0 = s.x___37752; + r0 = (s.y___37758 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___15346); - r0 = (s.j___15329 + 1); - s.j___15329 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___37764); + r0 = (s.j___37747 + 1); + s.j___37747 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -melt_inline__P15318.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__P37736.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__P15318_mk(s) { +function melt_inline__P37736_mk(s) { checkStack(s.depth); return { - parent: s, fn: melt_inline__P15318, depth: s.depth + 1, + parent: s, fn: melt_inline__P37736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___15321: undefined, - j___15329: undefined, - x___15334: undefined, - y___15340: undefined, - c___15346: undefined, + rounds___37739: undefined, + j___37747: undefined, + x___37752: undefined, + y___37758: undefined, + c___37764: undefined, arg0: undefined, arg1: undefined, } } @@ -25767,7 +23684,7 @@ function melt_inline__P15318_mk(s) { -function confetti_inline__P15372(s) { +function confetti_inline__P37790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25777,13 +23694,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___15375 = undefined; + s.factory___37793 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C3235_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C26303_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -25793,7 +23710,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["width"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["width"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 47; s.pc = 3; return s.tmp_2; } + else { s.callLocIdx = 46; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; @@ -25808,7 +23725,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["width"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["width"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 48; s.pc = 4; return s.tmp_3; } + else { s.callLocIdx = 47; s.pc = 4; return s.tmp_3; } } case 4: r0 = s.retval; @@ -25818,40 +23735,40 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P3236_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P26304_mk(s); s.tmp_5.arg0 = s.tmp_0; s.tmp_5.arg1 = s.tmp_4; s.tmp_5.arg2 = 16; - s.callLocIdx = 49; s.pc = 5; return s.tmp_5; + s.callLocIdx = 48; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; - s.factory___15375 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P3212_mk(s); - s.tmp_0.arg0 = s.factory___15375; + s.factory___37793 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P26280_mk(s); + s.tmp_0.arg0 = s.factory___37793; s.tmp_0.arg1 = 30; - s.callLocIdx = 50; s.pc = 6; return s.tmp_0; + s.callLocIdx = 49; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C3168_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C26236_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P3173_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P26241_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___15375; - s.callLocIdx = 51; s.pc = 7; return s.tmp_1; + s.tmp_1.arg3 = s.factory___37793; + s.callLocIdx = 50; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -confetti_inline__P15372.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__P37790.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__P15372_mk(s) { +function confetti_inline__P37790_mk(s) { checkStack(s.depth); return { - parent: s, fn: confetti_inline__P15372, depth: s.depth + 1, + parent: s, fn: confetti_inline__P37790, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25859,7 +23776,7 @@ function confetti_inline__P15372_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___15375: undefined, + factory___37793: undefined, arg0: undefined, arg1: undefined, } } @@ -25868,7 +23785,7 @@ function confetti_inline__P15372_mk(s) { -function particles_ParticleSource_constructor__P3173(s) { +function particles_ParticleSource_constructor__P26241(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25878,8 +23795,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___15396 = undefined; - s.removedSource___15405 = undefined; + s.sources___37814 = undefined; + s.removedSource___37823 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25888,65 +23805,65 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3168_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P2096_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C26236_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P25164_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1193; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1159; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = particles_init__P5444_mk(s); - s.callLocIdx = 1194; s.pc = 6; return s.tmp_0; + s.tmp_0 = particles_init__P28517_mk(s); + s.callLocIdx = 1160; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P5450_mk(s); - s.callLocIdx = 1195; s.pc = 7; return s.tmp_0; + s.tmp_0 = particles_particleSources__P28523_mk(s); + s.callLocIdx = 1161; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___15396 = (r0); - r0 = pxsim_Array__length(s.sources___15396); + s.sources___37814 = (r0); + r0 = pxsim_Array__length(s.sources___37814); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___5436); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___28509); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P5447_mk(s); - s.tmp_2.arg0 = s.sources___15396; - s.callLocIdx = 1196; s.pc = 8; return s.tmp_2; + s.tmp_2 = particles_sortSources__P28520_mk(s); + s.tmp_2.arg0 = s.sources___37814; + s.callLocIdx = 1162; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___15396, 0); - s.removedSource___15405 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P3183_mk(s); - s.tmp_0.arg0 = s.removedSource___15405; - s.callLocIdx = 1198; s.pc = 9; return s.tmp_0; + r0 = pxsim_Array_.removeAt(s.sources___37814, 0); + s.removedSource___37823 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P26251_mk(s); + s.tmp_0.arg0 = s.removedSource___37823; + s.callLocIdx = 1164; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P3182_mk(s); - s.tmp_0.arg0 = s.removedSource___15405; - s.callLocIdx = 1199; s.pc = 10; return s.tmp_0; + s.tmp_0 = particles_ParticleSource_destroy__P26250_mk(s); + s.tmp_0.arg0 = s.removedSource___37823; + s.callLocIdx = 1165; 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__P3185_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P26253_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 1200; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1166; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P3177_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P26245_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - s.callLocIdx = 1201; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1167; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P3184_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P26252_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1202; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1168; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = (s.arg0).fields["lifespan"] = (undefined); @@ -25958,39 +23875,39 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = globals.defaultFactory___3188; + r0 = globals.defaultFactory___26256; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P3187_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P26255_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 1203; s.pc = 14; return s.tmp_2; + s.callLocIdx = 1169; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___15396, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P3181_mk(s); + r0 = pxsim_Array__push(s.sources___37814, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P26249_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1204; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1170; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P3173.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__P26241.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__P3173_mk(s) { +function particles_ParticleSource_constructor__P26241_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P3173, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P26241, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___15396: undefined, - removedSource___15405: undefined, + sources___37814: undefined, + removedSource___37823: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26001,7 +23918,7 @@ function particles_ParticleSource_constructor__P3173_mk(s) { -function particles_sortSources__P5447(s) { +function particles_sortSources__P28520(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26015,22 +23932,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P105_mk(s); + s.tmp_0 = helpers_arraySort__P23172_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = particles_sortSources_inline__P15603; - s.callLocIdx = 1242; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = particles_sortSources_inline__P38021; + s.callLocIdx = 1208; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_sortSources__P5447.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__P28520.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__P5447_mk(s) { +function particles_sortSources__P28520_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P5447, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P28520, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26040,7 +23957,7 @@ function particles_sortSources__P5447_mk(s) { -function particles_sortSources_inline__P15603(s) { +function particles_sortSources_inline__P38021(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26078,12 +23995,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources_inline__P15603.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__P38021.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__P15603_mk(s) { +function particles_sortSources_inline__P38021_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources_inline__P15603, depth: s.depth + 1, + parent: s, fn: particles_sortSources_inline__P38021, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26099,7 +24016,7 @@ function particles_sortSources_inline__P15603_mk(s) { -function particles_init__P5444(s) { +function particles_init__P28517(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26109,34 +24026,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___15642 = undefined; - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 1232; s.pc = 4; return s.tmp_0; + s.scene___38060 = undefined; + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 1198; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___15642 = (r0); - r0 = s.scene___15642.fields["particleSources"]; + s.scene___38060 = (r0); + r0 = s.scene___38060.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___15642; + s.tmp_1 = r0 = s.scene___38060; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___5439 = (r0); - s.tmp_0 = game_onUpdate__P3040_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P5445; - s.callLocIdx = 1233; s.pc = 5; return s.tmp_0; + globals.lastUpdate___28512 = (r0); + s.tmp_0 = game_onUpdate__P26108_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P28518; + s.callLocIdx = 1199; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P3041_mk(s); + s.tmp_0 = game_onUpdateInterval__P26109_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P5446; - s.callLocIdx = 1234; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = particles_pruneParticles__P28519; + s.callLocIdx = 1200; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -26144,24 +24061,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P5444.info = {"start":9236,"length":276,"line":304,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P28517.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__P5444_mk(s) { +function particles_init__P28517_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P5444, depth: s.depth + 1, + parent: s, fn: particles_init__P28517, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___15642: undefined, + scene___38060: undefined, } } -function particles_updateParticles__P5445(s) { +function particles_updateParticles__P28518(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26171,16 +24088,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___15684 = undefined; - s.time___15691 = undefined; - s.dt___15694 = undefined; - s.i___15700 = undefined; - s.tmp_0 = particles_particleSources__P5450_mk(s); - s.callLocIdx = 1235; s.pc = 6; return s.tmp_0; + s.sources___38102 = undefined; + s.time___38109 = undefined; + s.dt___38112 = undefined; + s.i___38118 = undefined; + s.tmp_0 = particles_particleSources__P28523_mk(s); + s.callLocIdx = 1201; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___15684 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___15684); + s.sources___38102 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___38102); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -26189,34 +24106,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P5447_mk(s); - s.tmp_2.arg0 = s.sources___15684; - s.callLocIdx = 1236; s.pc = 7; return s.tmp_2; + s.tmp_2 = particles_sortSources__P28520_mk(s); + s.tmp_2.arg0 = s.sources___38102; + s.callLocIdx = 1202; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___15691 = (r0); - r0 = (s.time___15691 - globals.lastUpdate___5439); - s.dt___15694 = (r0); - globals.lastUpdate___5439 = (s.time___15691); - s.i___15700 = (0); + s.time___38109 = (r0); + r0 = (s.time___38109 - globals.lastUpdate___28512); + s.dt___38112 = (r0); + globals.lastUpdate___28512 = (s.time___38109); + s.i___38118 = (0); case 3: - s.tmp_1 = r0 = s.i___15700; - r0 = pxsim_Array__length(s.sources___15684); + s.tmp_1 = r0 = s.i___38118; + r0 = pxsim_Array__length(s.sources___38102); 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__P3175_mk(s); - r0 = pxsim_Array__getAt(s.sources___15684, s.i___15700); + s.tmp_3 = particles_ParticleSource__update__P26243_mk(s); + r0 = pxsim_Array__getAt(s.sources___38102, s.i___38118); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___15694; - s.callLocIdx = 1237; s.pc = 8; return s.tmp_3; + s.tmp_3.arg1 = s.dt___38112; + s.callLocIdx = 1203; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___15700 + 1); - s.i___15700 = (r0); + r0 = (s.i___38118 + 1); + s.i___38118 = (r0); { step = 3; continue; } case 4: case 5: @@ -26224,28 +24141,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P5445.info = {"start":9518,"length":340,"line":313,"column":4,"endLine":325,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P28518.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__P5445_mk(s) { +function particles_updateParticles__P28518_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P5445, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P28518, 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___15684: undefined, - time___15691: undefined, - dt___15694: undefined, - i___15700: undefined, + sources___38102: undefined, + time___38109: undefined, + dt___38112: undefined, + i___38118: undefined, } } -function particles_ParticleSource__update__P3175(s) { +function particles_ParticleSource__update__P26243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26255,16 +24172,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___15763 = undefined; - s.current___15782 = undefined; - s.fixedDt___15790 = undefined; + s.p___38181 = undefined; + s.current___38200 = undefined; + s.fixedDt___38208 = 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__C3168_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C26236_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -26290,9 +24207,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["lifespan"] = (undefined); - s.tmp_0 = particles_ParticleSource_destroy__P3182_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P26250_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1208; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1174; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 1: @@ -26315,7 +24232,7 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["flags"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["flags"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 1209; s.pc = 29; return s.tmp_2; } + else { s.callLocIdx = 1175; s.pc = 29; return s.tmp_2; } } case 29: r0 = s.retval; @@ -26338,7 +24255,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["flags"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["flags"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1210; s.pc = 30; return s.tmp_5; } + else { s.callLocIdx = 1176; s.pc = 30; return s.tmp_5; } } case 30: r0 = s.retval; @@ -26363,9 +24280,9 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P3180_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P26248_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1211; s.pc = 31; return s.tmp_2; + s.callLocIdx = 1177; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; case 13: @@ -26381,18 +24298,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__C3204_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C26272_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__C3204_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C26272_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___15763 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___15763); + s.p___38181 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___38181); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -26403,8 +24320,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___15763).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___15763); + r0 = (s.p___38181).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___38181); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -26419,7 +24336,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___15782 = (r0); + s.current___38200 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -26431,36 +24348,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___15790 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___15790); + s.fixedDt___38208 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___38208); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___15782.fields["lifespan"]; + r0 = s.current___38200.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___15782; + s.tmp_2 = r0 = s.current___38200; 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__C3168_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C26236_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___15782; - s.tmp_0.arg2 = s.fixedDt___15790; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C3168_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___38200; + s.tmp_0.arg2 = s.fixedDt___38208; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C26236_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___15782.fields["next"]; + r0 = s.current___38200.fields["next"]; s.tmp_0 = r0; - s.current___15782 = (r0); + s.current___38200 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -26469,15 +24386,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___15782; + s.tmp_0 = r0 = s.current___38200; 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___15782.fields["next"]; + r0 = s.current___38200.fields["next"]; s.tmp_0 = r0; - s.current___15782 = (r0); + s.current___38200 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -26488,12 +24405,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P3175.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__P26243.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__P3175_mk(s) { +function particles_ParticleSource__update__P26243_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P3175, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P26243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26503,9 +24420,9 @@ function particles_ParticleSource__update__P3175_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___15763: undefined, - current___15782: undefined, - fixedDt___15790: undefined, + p___38181: undefined, + current___38200: undefined, + fixedDt___38208: undefined, arg0: undefined, arg1: undefined, } } @@ -26514,7 +24431,7 @@ function particles_ParticleSource__update__P3175_mk(s) { -function particles_ParticleSource_updateParticle__P5441(s) { +function particles_ParticleSource_updateParticle__P28514(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26531,7 +24448,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3168_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C26236_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -26586,12 +24503,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P5441.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__P28514.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__P5441_mk(s) { +function particles_ParticleSource_updateParticle__P28514_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P5441, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P28514, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26608,7 +24525,7 @@ function particles_ParticleSource_updateParticle__P5441_mk(s) { -function Fx_rightShift__P171(s) { +function Fx_rightShift__P23238(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26627,12 +24544,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_rightShift__P171.info = {"start":2266,"length":108,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} +Fx_rightShift__P23238.info = {"start":2266,"length":108,"line":71,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"rightShift","argumentNames":["a","n"]} -function Fx_rightShift__P171_mk(s) { +function Fx_rightShift__P23238_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P171, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P23238, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26642,7 +24559,7 @@ function Fx_rightShift__P171_mk(s) { -function particles_ParticleFactory_createParticle__P3206(s) { +function particles_ParticleFactory_createParticle__P26274(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26652,17 +24569,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___15873 = undefined; + s.p___38291 = 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__C3204_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C3149_VT); - s.p___15873 = (r0); - s.tmp_0 = r0 = s.p___15873; + if (!checkSubtype(r0, particles_ParticleFactory__C26272_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C26217_VT); + s.p___38291 = (r0); + s.tmp_0 = r0 = s.p___38291; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -26671,7 +24588,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["x"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["x"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1262; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 1228; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -26681,7 +24598,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___15873; + s.tmp_0 = r0 = s.p___38291; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -26690,7 +24607,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["y"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["y"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1264; s.pc = 2; return s.tmp_3; } + else { s.callLocIdx = 1230; s.pc = 2; return s.tmp_3; } } case 2: r0 = s.retval; @@ -26700,26 +24617,26 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___15873).fields["vx"] = (0); - r0 = (s.p___15873).fields["vy"] = (0); - r0 = (s.p___15873).fields["lifespan"] = (500); - r0 = s.p___15873; + r0 = (s.p___38291).fields["vx"] = (0); + r0 = (s.p___38291).fields["vy"] = (0); + r0 = (s.p___38291).fields["lifespan"] = (500); + r0 = s.p___38291; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P3206.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__P26274.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__P3206_mk(s) { +function particles_ParticleFactory_createParticle__P26274_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P3206, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P26274, 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___15873: undefined, + p___38291: undefined, arg0: undefined, arg1: undefined, } } @@ -26728,7 +24645,7 @@ function particles_ParticleFactory_createParticle__P3206_mk(s) { -function game_onUpdateInterval__P3041(s) { +function game_onUpdateInterval__P26109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26738,7 +24655,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___15664 = undefined; + s.timer___38082 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26763,22 +24680,22 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___15664 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___15664, 0); - r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P15668); + s.timer___38082 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___38082, 0); + r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P38086); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___15664); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___38082); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg1); - s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); - s.tmp_2 = game_eventContext__P3019_mk(s); - s.callLocIdx = 1017; s.pc = 7; return s.tmp_2; + s.tmp_1 = control_EventContext_registerFrameHandler__P23470_mk(s); + s.tmp_2 = game_eventContext__P26087_mk(s); + s.callLocIdx = 983; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 19; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1021; s.pc = 6; return s.tmp_1; + s.callLocIdx = 987; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; case 5: @@ -26786,17 +24703,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P3041.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__P26109.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__P3041_mk(s) { +function game_onUpdateInterval__P26109_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P3041, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P26109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___15664: undefined, + timer___38082: undefined, arg0: undefined, arg1: undefined, } } @@ -26805,7 +24722,7 @@ function game_onUpdateInterval__P3041_mk(s) { -function game_onUpdateInterval_inline__P15668(s) { +function game_onUpdateInterval_inline__P38086(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26815,28 +24732,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___15669 = undefined; - s.tmp_1 = game_currentScene__P3016_mk(s); - s.callLocIdx = 1018; s.pc = 3; return s.tmp_1; + s.time___38087 = undefined; + s.tmp_1 = game_currentScene__P26084_mk(s); + s.callLocIdx = 984; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___15669 = (r0); + s.time___38087 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___15669); + r0 = (s.tmp_1 <= s.time___38087); 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___15669 + s.caps[1]); + r0 = (s.time___38087 + s.caps[1]); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.caps[2]; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 1020; s.pc = 4; return s.tmp_0; + s.callLocIdx = 986; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -26845,25 +24762,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval_inline__P15668.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__P38086.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__P15668_mk(s) { +function game_onUpdateInterval_inline__P38086_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval_inline__P15668, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval_inline__P38086, 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___15669: undefined, + time___38087: undefined, } } -function scene_Scene_millis__P2869(s) { +function scene_Scene_millis__P25937(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26878,17 +24795,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2843_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C25911_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P2869.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__P25937.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__P2869_mk(s) { +function scene_Scene_millis__P25937_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P2869, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P25937, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26897,7 +24814,7 @@ function scene_Scene_millis__P2869_mk(s) { -function game_onUpdate__P3040(s) { +function game_onUpdate__P26108(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26920,15 +24837,15 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P403_mk(s); - s.tmp_3 = game_eventContext__P3019_mk(s); - s.callLocIdx = 1015; s.pc = 5; return s.tmp_3; + s.tmp_2 = control_EventContext_registerFrameHandler__P23470_mk(s); + s.tmp_3 = game_eventContext__P26087_mk(s); + s.callLocIdx = 981; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 20; s.tmp_2.arg2 = s.arg0; - s.callLocIdx = 1016; s.pc = 4; return s.tmp_2; + s.callLocIdx = 982; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; case 3: @@ -26936,12 +24853,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P3040.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__P26108.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__P3040_mk(s) { +function game_onUpdate__P26108_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P3040, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P26108, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26954,7 +24871,7 @@ function game_onUpdate__P3040_mk(s) { -function MAX_SOURCES_inline__P15618(s) { +function MAX_SOURCES_inline__P38036(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26964,13 +24881,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___15619 = undefined; - s.tmp_0 = control_ramSize__P346_mk(s); - s.callLocIdx = 43; s.pc = 6; return s.tmp_0; + s.sz___38037 = undefined; + s.tmp_0 = control_ramSize__P23413_mk(s); + s.callLocIdx = 42; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___15619 = (r0); - r0 = (s.sz___15619 <= 102400); + s.sz___38037 = (r0); + r0 = (s.sz___38037 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -26978,7 +24895,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___15619 <= 204800); + r0 = (s.sz___38037 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -26995,23 +24912,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -MAX_SOURCES_inline__P15618.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__P38036.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__P15618_mk(s) { +function MAX_SOURCES_inline__P38036_mk(s) { checkStack(s.depth); return { - parent: s, fn: MAX_SOURCES_inline__P15618, depth: s.depth + 1, + parent: s, fn: MAX_SOURCES_inline__P38036, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___15619: undefined, + sz___38037: undefined, } } -function control_ramSize__P346(s) { +function control_ramSize__P23413(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27036,12 +24953,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_ramSize__P346.info = {"start":4847,"length":100,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P23413.info = {"start":4847,"length":100,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} -function control_ramSize__P346_mk(s) { +function control_ramSize__P23413_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P346, depth: s.depth + 1, + parent: s, fn: control_ramSize__P23413, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27051,7 +24968,7 @@ function control_ramSize__P346_mk(s) { -function control__ramSize__P4563(s) { +function control__ramSize__P27636(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27065,12 +24982,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P4563.info = {"start":4727,"length":60,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P27636.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__P4563_mk(s) { +function control__ramSize__P27636_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P4563, depth: s.depth + 1, + parent: s, fn: control__ramSize__P27636, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -27078,7 +24995,7 @@ function control__ramSize__P4563_mk(s) { -function particles_SprayFactory_constructor__P3209(s) { +function particles_SprayFactory_constructor__P26277(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27096,35 +25013,35 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C3208_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C26276_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P5465_mk(s); - s.callLocIdx = 1269; s.pc = 1; return s.tmp_0; + s.tmp_0 = particles_initTrig__P28538_mk(s); + s.callLocIdx = 1235; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P3212_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P26280_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1270; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1236; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P3213_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P26281_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; - s.callLocIdx = 1271; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1237; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P3209.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__P26277.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__P3209_mk(s) { +function particles_SprayFactory_constructor__P26277_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P3209, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P26277, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27137,7 +25054,7 @@ function particles_SprayFactory_constructor__P3209_mk(s) { -function particles_initTrig__P5465(s) { +function particles_initTrig__P28538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27147,36 +25064,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___5451); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___28524); 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__P3202_mk(s); + s.tmp_2 = particles_cacheSin__P26270_mk(s); s.tmp_2.arg0 = 100; - s.callLocIdx = 1257; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1223; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___5451 = (r0); - s.tmp_0 = particles_cacheCos__P3203_mk(s); + globals.cachedSin___28524 = (r0); + s.tmp_0 = particles_cacheCos__P26271_mk(s); s.tmp_0.arg0 = 100; - s.callLocIdx = 1258; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1224; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___5452 = (r0); + globals.cachedCos___28525 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P5465.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P28538.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__P5465_mk(s) { +function particles_initTrig__P28538_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P5465, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P28538, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27187,7 +25104,7 @@ function particles_initTrig__P5465_mk(s) { -function particles_cacheCos__P3203(s) { +function particles_cacheCos__P26271(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27197,25 +25114,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___15499 = undefined; - s.anglePerSlice___15501 = undefined; - s.i___15507 = undefined; + s.cos___37917 = undefined; + s.anglePerSlice___37919 = undefined; + s.i___37925 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___15499 = (r0); + s.cos___37917 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___15501 = (r0); - s.i___15507 = (0); + s.anglePerSlice___37919 = (r0); + s.i___37925 = (0); case 1: - r0 = (s.i___15507 < s.arg0); + r0 = (s.i___37925 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___15499; - r0 = (s.i___15507 * s.anglePerSlice___15501); + s.tmp_1 = r0 = s.cos___37917; + r0 = (s.i___37925 * s.anglePerSlice___37919); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -27224,20 +25141,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___15507 + 1); - s.i___15507 = (r0); + r0 = (s.i___37925 + 1); + s.i___37925 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___15499; + r0 = s.cos___37917; return leave(s, r0) default: oops() } } } -particles_cacheCos__P3203.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__P26271.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__P3203_mk(s) { +function particles_cacheCos__P26271_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P3203, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P26271, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27245,9 +25162,9 @@ function particles_cacheCos__P3203_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___15499: undefined, - anglePerSlice___15501: undefined, - i___15507: undefined, + cos___37917: undefined, + anglePerSlice___37919: undefined, + i___37925: undefined, arg0: undefined, } } @@ -27255,7 +25172,7 @@ function particles_cacheCos__P3203_mk(s) { -function particles_cacheSin__P3202(s) { +function particles_cacheSin__P26270(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27265,25 +25182,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___15525 = undefined; - s.anglePerSlice___15527 = undefined; - s.i___15533 = undefined; + s.sin___37943 = undefined; + s.anglePerSlice___37945 = undefined; + s.i___37951 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___15525 = (r0); + s.sin___37943 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___15527 = (r0); - s.i___15533 = (0); + s.anglePerSlice___37945 = (r0); + s.i___37951 = (0); case 1: - r0 = (s.i___15533 < s.arg0); + r0 = (s.i___37951 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___15525; - r0 = (s.i___15533 * s.anglePerSlice___15527); + s.tmp_1 = r0 = s.sin___37943; + r0 = (s.i___37951 * s.anglePerSlice___37945); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -27292,20 +25209,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___15533 + 1); - s.i___15533 = (r0); + r0 = (s.i___37951 + 1); + s.i___37951 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___15525; + r0 = s.sin___37943; return leave(s, r0) default: oops() } } } -particles_cacheSin__P3202.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__P26270.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__P3202_mk(s) { +function particles_cacheSin__P26270_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P3202, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P26270, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27313,9 +25230,9 @@ function particles_cacheSin__P3202_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___15525: undefined, - anglePerSlice___15527: undefined, - i___15533: undefined, + sin___37943: undefined, + anglePerSlice___37945: undefined, + i___37951: undefined, arg0: undefined, } } @@ -27323,7 +25240,7 @@ function particles_cacheSin__P3202_mk(s) { -function particles_SprayFactory_setDirection__P3213(s) { +function particles_SprayFactory_setDirection__P26281(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27340,31 +25257,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C3208_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C26276_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P5470_mk(s); + s.tmp_4 = particles_toRadians__P28543_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4.arg0 = r0; - s.callLocIdx = 1279; s.pc = 1; return s.tmp_4; + s.callLocIdx = 1245; s.pc = 1; return s.tmp_4; case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___5464); + r0 = (s.tmp_3 / globals.angleSlice___28537); 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__P5470_mk(s); + s.tmp_4 = particles_toRadians__P28543_mk(s); s.tmp_4.arg0 = s.arg2; - s.callLocIdx = 1280; s.pc = 2; return s.tmp_4; + s.callLocIdx = 1246; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___5464); + r0 = (s.tmp_3 / globals.angleSlice___28537); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -27373,12 +25290,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P3213.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__P26281.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__P3213_mk(s) { +function particles_SprayFactory_setDirection__P26281_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P3213, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P26281, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27396,7 +25313,7 @@ function particles_SprayFactory_setDirection__P3213_mk(s) { -function particles_toRadians__P5470(s) { +function particles_toRadians__P28543(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27414,9 +25331,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P128_mk(s); + s.tmp_3 = Math_abs__P23195_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1261; s.pc = 3; return s.tmp_3; + s.callLocIdx = 1227; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -27433,12 +25350,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P5470.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__P28543.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__P5470_mk(s) { +function particles_toRadians__P28543_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P5470, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P28543, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27451,7 +25368,7 @@ function particles_toRadians__P5470_mk(s) { -function particles_ParticleFactory_constructor__P3205(s) { +function particles_ParticleFactory_constructor__P26273(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27466,17 +25383,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C3204_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C26272_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P3205.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__P26273.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__P3205_mk(s) { +function particles_ParticleFactory_constructor__P26273_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P3205, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P26273, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27485,7 +25402,7 @@ function particles_ParticleFactory_constructor__P3205_mk(s) { -function particles_ParticleSource_setFactory__P3187(s) { +function particles_ParticleSource_setFactory__P26255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27501,7 +25418,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3168_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C26236_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -27511,12 +25428,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P3187.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__P26255.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__P3187_mk(s) { +function particles_ParticleSource_setFactory__P26255_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P3187, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P26255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -27526,7 +25443,7 @@ function particles_ParticleSource_setFactory__P3187_mk(s) { -function particles_ParticleSource_setRate__P3185(s) { +function particles_ParticleSource_setRate__P26253(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27542,7 +25459,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3168_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C26236_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -27554,12 +25471,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P3185.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__P26253.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__P3185_mk(s) { +function particles_ParticleSource_setRate__P26253_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P3185, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P26253, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27572,7 +25489,7 @@ function particles_ParticleSource_setRate__P3185_mk(s) { -function particles_ParticleSource_setAnchor__P3184(s) { +function particles_ParticleSource_setAnchor__P26252(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27588,18 +25505,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3168_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C26236_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P3184.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__P26252.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__P3184_mk(s) { +function particles_ParticleSource_setAnchor__P26252_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P3184, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P26252, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -27609,7 +25526,7 @@ function particles_ParticleSource_setAnchor__P3184_mk(s) { -function particles_ParticleSource_destroy__P3182(s) { +function particles_ParticleSource_destroy__P26250(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27624,11 +25541,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3168_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P3181_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C26236_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P26249_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1218; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1184; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -27637,21 +25554,21 @@ switch (step) { r0 = (s.tmp_2 | 2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["pFlags"] = (s.tmp_1); - s.tmp_0 = particles_ParticleSource__prune__P3176_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P26244_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1219; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1185; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P3182.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__P26250.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__P3182_mk(s) { +function particles_ParticleSource_destroy__P26250_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P3182, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P26250, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27663,7 +25580,7 @@ function particles_ParticleSource_destroy__P3182_mk(s) { -function particles_ParticleSource_setAcceleration__P3177(s) { +function particles_ParticleSource_setAcceleration__P26245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27680,7 +25597,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3168_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C26236_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -27697,12 +25614,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P3177.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__P26245.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__P3177_mk(s) { +function particles_ParticleSource_setAcceleration__P26245_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P3177, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P26245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27716,7 +25633,7 @@ function particles_ParticleSource_setAcceleration__P3177_mk(s) { -function helpers_arrayShift__P102(s) { +function helpers_arrayShift__P23169(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27734,12 +25651,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayShift__P102.info = {"start":4045,"length":82,"line":153,"column":4,"endLine":155,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayShift","argumentNames":["arr"]} +helpers_arrayShift__P23169.info = {"start":4045,"length":82,"line":153,"column":4,"endLine":155,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayShift","argumentNames":["arr"]} -function helpers_arrayShift__P102_mk(s) { +function helpers_arrayShift__P23169_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P102, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P23169, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27748,7 +25665,7 @@ function helpers_arrayShift__P102_mk(s) { -function particles_SprayFactory_setSpeed__P3212(s) { +function particles_SprayFactory_setSpeed__P26280(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27764,7 +25681,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C3208_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C26276_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -27775,12 +25692,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P3212.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__P26280.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__P3212_mk(s) { +function particles_SprayFactory_setSpeed__P26280_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P3212, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P26280, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27793,7 +25710,7 @@ function particles_SprayFactory_setSpeed__P3212_mk(s) { -function particles_ConfettiFactory_constructor__P3236(s) { +function particles_ConfettiFactory_constructor__P26304(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27803,8 +25720,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___15905 = undefined; - s.i___15921 = undefined; + s.confetti___38323 = undefined; + s.i___38339 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27812,52 +25729,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C3235_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C26303_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex15908); + r0 = pxsim.image.ofBuffer(_hex38326); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex15910); + r0 = pxsim.image.ofBuffer(_hex38328); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex15912); + r0 = pxsim.image.ofBuffer(_hex38330); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex15914); + r0 = pxsim.image.ofBuffer(_hex38332); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex15916); + r0 = pxsim.image.ofBuffer(_hex38334); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___15905 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P3231_mk(s); + s.confetti___38323 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P26299_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___15905, 0); + r0 = pxsim_Array__getAt(s.confetti___38323, 0); s.tmp_0.arg3 = r0; - s.callLocIdx = 1303; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1269; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___15921 = (1); + s.i___38339 = (1); case 1: - s.tmp_1 = r0 = s.i___15921; - r0 = pxsim_Array__length(s.confetti___15905); + s.tmp_1 = r0 = s.i___38339; + r0 = pxsim_Array__length(s.confetti___38323); 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__P3232_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P26300_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___15905, s.i___15921); + r0 = pxsim_Array__getAt(s.confetti___38323, s.i___38339); s.tmp_3.arg1 = r0; - s.callLocIdx = 1304; s.pc = 4; return s.tmp_3; + s.callLocIdx = 1270; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___15921 + 1); - s.i___15921 = (r0); + r0 = (s.i___38339 + 1); + s.i___38339 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -27866,12 +25783,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P3236.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__P26304.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__P3236_mk(s) { +function particles_ConfettiFactory_constructor__P26304_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P3236, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P26304, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27879,23 +25796,23 @@ function particles_ConfettiFactory_constructor__P3236_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___15905: undefined, - i___15921: undefined, + confetti___38323: undefined, + i___38339: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex15908 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex15910 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex15912 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex15914 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex15916 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex38326 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex38328 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex38330 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex38332 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex38334 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_addShape__P3232(s) { +function particles_ShapeFactory_addShape__P26300(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27911,7 +25828,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C3230_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C26298_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -27923,12 +25840,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P3232.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__P26300.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__P3232_mk(s) { +function particles_ShapeFactory_addShape__P26300_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P3232, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P26300, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27939,7 +25856,7 @@ function particles_ShapeFactory_addShape__P3232_mk(s) { -function particles_ShapeFactory_constructor__P3231(s) { +function particles_ShapeFactory_constructor__P26299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27957,14 +25874,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C3230_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P3219_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C26298_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P26287_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = undefined; s.tmp_0.arg4 = undefined; - s.callLocIdx = 1293; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1259; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim_Array__mk(); @@ -27995,12 +25912,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P3231.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__P26299.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__P3231_mk(s) { +function particles_ShapeFactory_constructor__P26299_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P3231, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P26299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28017,7 +25934,7 @@ function particles_ShapeFactory_constructor__P3231_mk(s) { -function particles_AreaFactory_constructor__P3219(s) { +function particles_AreaFactory_constructor__P26287(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28036,13 +25953,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C3214_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P3209_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C26282_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P26277_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; s.tmp_0.arg3 = 90; - s.callLocIdx = 1281; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1247; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = (s.arg0).fields["xRange"] = (s.arg1); @@ -28067,12 +25984,12 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (s.arg0).fields["maxLifespan"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C3076_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C26144_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P3078_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P26146_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1282; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1248; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = (s.arg0).fields["galois"] = (s.tmp_0); @@ -28080,12 +25997,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P3219.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__P26287.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__P3219_mk(s) { +function particles_AreaFactory_constructor__P26287_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P3219, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P26287, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28100,7 +26017,7 @@ function particles_AreaFactory_constructor__P3219_mk(s) { -function effects_ScreenEffect_constructor__P3284(s) { +function effects_ScreenEffect_constructor__P26352(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28119,13 +26036,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C3283_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P3280_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C26351_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P26348_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; s.tmp_0.arg3 = s.arg4; - s.callLocIdx = 1310; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1276; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["sceneDefaultRate"] = (s.arg2); @@ -28133,12 +26050,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P3284.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__P26352.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__P3284_mk(s) { +function effects_ScreenEffect_constructor__P26352_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P3284, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P26352, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28152,7 +26069,7 @@ function effects_ScreenEffect_constructor__P3284_mk(s) { -function effects_ParticleEffect_constructor__P3280(s) { +function effects_ParticleEffect_constructor__P26348(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28170,7 +26087,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C3279_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C26347_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -28178,12 +26095,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P3280.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__P26348.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__P3280_mk(s) { +function effects_ParticleEffect_constructor__P26348_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P3280, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P26348, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28195,7 +26112,7 @@ function effects_ParticleEffect_constructor__P3280_mk(s) { -function music_melodyPlayable__P1923(s) { +function music_melodyPlayable__P24991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28209,24 +26126,24 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayable__C1916_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayable__C24984_VT); s.tmp_0 = r0; - s.tmp_1 = music_MelodyPlayable_constructor__P1917_mk(s); + s.tmp_1 = music_MelodyPlayable_constructor__P24985_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.callLocIdx = 109; s.pc = 1; return s.tmp_1; + s.callLocIdx = 73; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -music_melodyPlayable__P1923.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__P24991.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__P1923_mk(s) { +function music_melodyPlayable__P24991_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_melodyPlayable__P1923, depth: s.depth + 1, + parent: s, fn: music_melodyPlayable__P24991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28237,7 +26154,7 @@ function music_melodyPlayable__P1923_mk(s) { -function music_MelodyPlayable_constructor__P1917(s) { +function music_MelodyPlayable_constructor__P24985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28253,19 +26170,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayable__C1916_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayable__C24984_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (s.arg1); r0 = undefined; r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayable_constructor__P1917.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__P24985.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__P1917_mk(s) { +function music_MelodyPlayable_constructor__P24985_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayable_constructor__P1917, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayable_constructor__P24985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28275,7 +26192,41 @@ function music_MelodyPlayable_constructor__P1917_mk(s) { -function music_Playable_constructor__P1913(s) { +function music_Playable_constructor__P24981(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, music_Playable__C24979_VT)) failedCast(r0); + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +music_Playable_constructor__P24981.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__P24981_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: music_Playable_constructor__P24981, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, +} } + + + + + +function music_Melody_constructor__P24697(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28287,29 +26238,32 @@ switch (step) { if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); + s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Playable__C1911_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C24694_VT)) failedCast(r0); + r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Playable_constructor__P1913.info = {"start":1086,"length":26,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this"]} +music_Melody_constructor__P24697.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_Playable_constructor__P1913_mk(s) { +function music_Melody_constructor__P24697_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Playable_constructor__P1913, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P24697, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, + arg1: undefined, } } -function Fx8__P149(s) { +function Fx8__P23216(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28329,12 +26283,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx8__P149.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P23216.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} -function Fx8__P149_mk(s) { +function Fx8__P23216_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P149, depth: s.depth + 1, + parent: s, fn: Fx8__P23216, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28344,7 +26298,7 @@ function Fx8__P149_mk(s) { -function SpriteKind_create__P2479(s) { +function SpriteKind_create__P25547(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28354,26 +26308,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___4919 === undefined); + r0 = (globals.nextKind___27992 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___4919 = (1000); + globals.nextKind___27992 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___4919; + s.tmp_0 = r0 = globals.nextKind___27992; r0 = (s.tmp_0 + 1); - globals.nextKind___4919 = (r0); + globals.nextKind___27992 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P2479.info = {"start":783,"length":112,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P25547.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__P2479_mk(s) { +function SpriteKind_create__P25547_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P2479, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P25547, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -28382,7 +26336,7 @@ function SpriteKind_create__P2479_mk(s) { -function controller_Button_constructor__P2195(s) { +function controller_Button_constructor__P25263(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28399,7 +26353,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2189_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C25257_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -28409,13 +26363,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__P16058); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P38476); 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__P16065); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P38483); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -28434,12 +26388,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P2195.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__P25263.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__P2195_mk(s) { +function controller_Button_constructor__P25263_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P2195, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P25263, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28453,7 +26407,7 @@ function controller_Button_constructor__P2195_mk(s) { -function controller_Button_inline__P16058(s) { +function controller_Button_inline__P38476(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28463,22 +26417,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P2202_mk(s); + s.tmp_0 = controller_Button_setPressed__P25270_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; - s.callLocIdx = 235; s.pc = 1; return s.tmp_0; + s.callLocIdx = 199; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_inline__P16058.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__P38476.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__P16058_mk(s) { +function controller_Button_inline__P38476_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P16058, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P38476, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -28487,7 +26441,7 @@ function controller_Button_inline__P16058_mk(s) { -function controller_Button_inline__P16065(s) { +function controller_Button_inline__P38483(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28497,22 +26451,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P2202_mk(s); + s.tmp_0 = controller_Button_setPressed__P25270_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; - s.callLocIdx = 236; s.pc = 1; return s.tmp_0; + s.callLocIdx = 200; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_inline__P16065.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__P38483.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__P16065_mk(s) { +function controller_Button_inline__P38483_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P16065, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P38483, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -28521,7 +26475,7 @@ function controller_Button_inline__P16065_mk(s) { -function controller_setupButton__P4902(s) { +function controller_setupButton__P27975(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28540,12 +26494,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P4902.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__P27975.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__P4902_mk(s) { +function controller_setupButton__P27975_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P4902, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P27975, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28555,7 +26509,7 @@ function controller_setupButton__P4902_mk(s) { -function controller_Button_setPressed__P2202(s) { +function controller_Button_setPressed__P25270(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28571,26 +26525,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2189_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C25257_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__P1929_mk(s); - s.callLocIdx = 242; s.pc = 7; return s.tmp_2; + s.tmp_2 = power_poke__P24997_mk(s); + s.callLocIdx = 206; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = s.arg0.fields["_owner"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = controller_Controller_connected__P2156_mk(s); + s.tmp_1 = controller_Controller_connected__P25224_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; - s.callLocIdx = 243; s.pc = 8; return s.tmp_1; + s.callLocIdx = 207; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; case 1: @@ -28601,17 +26555,17 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = (s.arg0).fields["_pressedElasped"] = (0); - s.tmp_0 = controller_Button_raiseButtonDown__P4886_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P27959_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 244; s.pc = 9; return s.tmp_0; + s.callLocIdx = 208; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P4885_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P27958_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 245; s.pc = 10; return s.tmp_0; + s.callLocIdx = 209; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 4: @@ -28621,12 +26575,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P2202.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__P25270.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__P2202_mk(s) { +function controller_Button_setPressed__P25270_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P2202, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P25270, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28639,7 +26593,7 @@ function controller_Button_setPressed__P2202_mk(s) { -function controller_Button_raiseButtonDown__P4886(s) { +function controller_Button_raiseButtonDown__P27959(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28654,8 +26608,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2189_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4896); + if (!checkSubtype(r0, controller_Button__C25257_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___27969); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -28670,12 +26624,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P4886.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__P27959.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__P4886_mk(s) { +function controller_Button_raiseButtonDown__P27959_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P4886, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P27959, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28685,7 +26639,7 @@ function controller_Button_raiseButtonDown__P4886_mk(s) { -function controller_Button_raiseButtonUp__P4885(s) { +function controller_Button_raiseButtonUp__P27958(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28700,8 +26654,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2189_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4896); + if (!checkSubtype(r0, controller_Button__C25257_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___27969); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -28716,12 +26670,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P4885.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__P27958.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__P4885_mk(s) { +function controller_Button_raiseButtonUp__P27958_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P4885, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P27958, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28731,7 +26685,7 @@ function controller_Button_raiseButtonUp__P4885_mk(s) { -function game_addScenePushHandler__P3035(s) { +function game_addScenePushHandler__P26103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28745,35 +26699,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___5102); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___28175); 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___5102 = (r0); + globals._scenePushHandlers___28175 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___5102, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___28175, 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___5102, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___28175, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P3035.info = {"start":16689,"length":242,"line":503,"column":4,"endLine":507,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} +game_addScenePushHandler__P26103.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__P3035_mk(s) { +function game_addScenePushHandler__P26103_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P3035, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P26103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28784,7 +26738,7 @@ function game_addScenePushHandler__P3035_mk(s) { -function controller_Controller_id__P2141(s) { +function controller_Controller_id__P25209(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28799,18 +26753,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2134_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C25202_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P2141.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__P2141.isGetter = true; +controller_Controller_id__P25209.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__P25209.isGetter = true; -function controller_Controller_id__P2141_mk(s) { +function controller_Controller_id__P25209_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P2141, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P25209, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28819,7 +26773,7 @@ function controller_Controller_id__P2141_mk(s) { -function controller_Controller_connected__P2155(s) { +function controller_Controller_connected__P25223(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28834,18 +26788,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2134_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C25202_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P2155.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__P2155.isGetter = true; +controller_Controller_connected__P25223.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__P25223.isGetter = true; -function controller_Controller_connected__P2155_mk(s) { +function controller_Controller_connected__P25223_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P2155, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P25223, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28854,7 +26808,7 @@ function controller_Controller_connected__P2155_mk(s) { -function game_currentScene__P3016(s) { +function game_currentScene__P26084(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28864,21 +26818,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P5108_mk(s); + s.tmp_0 = game_init__P28181_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 996; s.pc = 1; return s.tmp_0; + s.callLocIdx = 962; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___5100; + r0 = globals._scene___28173; return leave(s, r0) default: oops() } } } -game_currentScene__P3016.info = {"start":4670,"length":90,"line":142,"column":4,"endLine":145,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P26084.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__P3016_mk(s) { +function game_currentScene__P26084_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P3016, depth: s.depth + 1, + parent: s, fn: game_currentScene__P26084, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -28887,7 +26841,7 @@ function game_currentScene__P3016_mk(s) { -function game_addScenePopHandler__P3037(s) { +function game_addScenePopHandler__P26105(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28901,35 +26855,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___5103); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___28176); 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___5103 = (r0); + globals._scenePopHandlers___28176 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___5103, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___28176, 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___5103, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___28176, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P3037.info = {"start":17690,"length":237,"line":527,"column":4,"endLine":531,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} +game_addScenePopHandler__P26105.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__P3037_mk(s) { +function game_addScenePopHandler__P26105_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P3037, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P26105, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28940,7 +26894,7 @@ function game_addScenePopHandler__P3037_mk(s) { -function settings_initScopes__P4790(s) { +function settings_initScopes__P27863(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28950,18 +26904,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___16160 = undefined; - s.tmp_1 = settings_runNumber__P2058_mk(s); - s.callLocIdx = 155; s.pc = 1; return s.tmp_1; + s.rn___38578 = undefined; + s.tmp_1 = settings_runNumber__P25126_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___16160 = (r0); - s.tmp_0 = settings_writeNumber__P2063_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___4778; - s.tmp_0.arg1 = s.rn___16160; - s.callLocIdx = 156; s.pc = 2; return s.tmp_0; + s.rn___38578 = (r0); + s.tmp_0 = settings_writeNumber__P25131_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___27851; + s.tmp_0.arg1 = s.rn___38578; + s.callLocIdx = 120; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = pxsim.control.deviceSerialNumber(); @@ -28969,34 +26923,34 @@ switch (step) { r0 = (s.tmp_1 & 2147483647); s.tmp_0 = r0; r0 = pxsim_pxtcore.seedAddRandom(s.tmp_0); - r0 = pxsim_pxtcore.seedAddRandom(s.rn___16160); - s.tmp_0 = settings_setScope__P4789_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___38578); + s.tmp_0 = settings_setScope__P27862_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; - s.callLocIdx = 157; s.pc = 3; return s.tmp_0; + s.callLocIdx = 121; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -settings_initScopes__P4790.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P27863.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__P4790_mk(s) { +function settings_initScopes__P27863_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P4790, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P27863, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___16160: undefined, + rn___38578: undefined, } } -function settings_setScope__P4789(s) { +function settings_setScope__P27862(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29006,7 +26960,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___16189 = undefined; + s.currScope___38607 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -29031,21 +26985,21 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P2066_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___4779; - s.callLocIdx = 153; s.pc = 7; return s.tmp_0; + s.tmp_0 = settings_readString__P25134_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___27852; + s.callLocIdx = 117; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___16189 = (r0); - r0 = (s.currScope___16189 != s.arg0); + s.currScope___38607 = (r0); + r0 = (s.currScope___38607 != 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__P2061_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___4779; + s.tmp_0 = settings_writeString__P25129_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___27852; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 154; s.pc = 8; return s.tmp_0; + s.callLocIdx = 118; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 5: @@ -29054,18 +27008,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P4789.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__P27862.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__P4789_mk(s) { +function settings_setScope__P27862_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P4789, depth: s.depth + 1, + parent: s, fn: settings_setScope__P27862, 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___16189: undefined, + currScope___38607: undefined, arg0: undefined, } } @@ -29073,7 +27027,7 @@ function settings_setScope__P4789_mk(s) { -function settings_readString__P2066(s) { +function settings_readString__P25134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29083,14 +27037,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___16210 = undefined; + s.buf___38628 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___16210 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___16210); + s.buf___38628 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___38628); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -29100,7 +27054,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___16210); + r0 = pxsim.BufferMethods.toString(s.buf___38628); { step = 3; continue; } case 2: r0 = undefined; @@ -29108,16 +27062,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P2066.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__P25134.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__P2066_mk(s) { +function settings_readString__P25134_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P2066, depth: s.depth + 1, + parent: s, fn: settings_readString__P25134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___16210: undefined, + buf___38628: undefined, arg0: undefined, } } @@ -29125,7 +27079,7 @@ function settings_readString__P2066_mk(s) { -function settings_writeString__P2061(s) { +function settings_writeString__P25129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29140,23 +27094,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P2060_mk(s); + s.tmp_0 = settings_writeBuffer__P25128_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; - s.callLocIdx = 159; s.pc = 1; return s.tmp_0; + s.callLocIdx = 123; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -settings_writeString__P2061.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__P25129.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__P2061_mk(s) { +function settings_writeString__P25129_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P2061, depth: s.depth + 1, + parent: s, fn: settings_writeString__P25129, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29167,7 +27121,7 @@ function settings_writeString__P2061_mk(s) { -function settings_runNumber__P2058(s) { +function settings_runNumber__P25126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29177,9 +27131,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P2068_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___4778; - s.callLocIdx = 152; s.pc = 3; return s.tmp_1; + s.tmp_1 = settings_readNumber__P25136_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___27851; + s.callLocIdx = 116; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -29196,12 +27150,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P2058.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P25126.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__P2058_mk(s) { +function settings_runNumber__P25126_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P2058, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P25126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29212,7 +27166,7 @@ function settings_runNumber__P2058_mk(s) { -function control___screen_setupUpdate__P1994(s) { +function control___screen_setupUpdate__P25062(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29226,24 +27180,24 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___4745 = (true); - globals.__update___4743 = (s.arg0); + globals.__updated___27818 = (true); + globals.__update___27816 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 146; s.pc = 1; return s.tmp_0; + s.callLocIdx = 110; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P1994.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__P25062.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__P1994_mk(s) { +function control___screen_setupUpdate__P25062_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P1994, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P25062, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29253,7 +27207,7 @@ function control___screen_setupUpdate__P1994_mk(s) { -function _screen_internal_getScreenHeight__P2037(s) { +function _screen_internal_getScreenHeight__P25105(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29271,12 +27225,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_getScreenHeight__P2037.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__P25105.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__P2037_mk(s) { +function _screen_internal_getScreenHeight__P25105_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_getScreenHeight__P2037, depth: s.depth + 1, + parent: s, fn: _screen_internal_getScreenHeight__P25105, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -29285,7 +27239,7 @@ function _screen_internal_getScreenHeight__P2037_mk(s) { -function _screen_internal_getScreenWidth__P2036(s) { +function _screen_internal_getScreenWidth__P25104(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29303,12 +27257,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_getScreenWidth__P2036.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__P25104.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__P2036_mk(s) { +function _screen_internal_getScreenWidth__P25104_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_getScreenWidth__P2036, depth: s.depth + 1, + parent: s, fn: _screen_internal_getScreenWidth__P25104, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -29317,7 +27271,7 @@ function _screen_internal_getScreenWidth__P2036_mk(s) { -function control___screen_update__P1993(s) { +function control___screen_update__P25061(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29327,27 +27281,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___4743); + r0 = pxsim_numops_toBoolDecr(globals.__update___27816); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___4743; + s.tmp_0.argL = globals.__update___27816; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 145; s.pc = 3; return s.tmp_0; + s.callLocIdx = 109; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___4745 = (true); + globals.__updated___27818 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P1993.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__P25061.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__P1993_mk(s) { +function control___screen_update__P25061_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P1993, depth: s.depth + 1, + parent: s, fn: control___screen_update__P25061, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -29356,7 +27310,7 @@ function control___screen_update__P1993_mk(s) { -function pause__P413(s) { +function pause__P23480(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29380,12 +27334,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pause__P413.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P23480.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} -function pause__P413_mk(s) { +function pause__P23480_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P413, depth: s.depth + 1, + parent: s, fn: pause__P23480, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -29394,7 +27348,7 @@ function pause__P413_mk(s) { -function particles_ShapeFactory_createParticle__P3234(s) { +function music_Melody_toString__P24703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29404,47 +27358,81 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___16248 = undefined; + if (s.lambdaArgs) { + s.arg0 = (s.lambdaArgs[0]); + s.lambdaArgs = null; + } + r0 = s.arg0; + if (!checkSubtype(r0, music_Melody__C24694_VT)) failedCast(r0); + r0 = s.arg0.fields["_text"]; + return leave(s, r0) + default: oops() +} } } +music_Melody_toString__P24703.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__P24703_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: music_Melody_toString__P24703, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + arg0: undefined, +} } + + + + + +function particles_ShapeFactory_createParticle__P26302(s) { +let r0 = s.r0, step = s.pc; +s.pc = -1; + + +while (true) { +if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; +switch (step) { + case 0: + + s.p___38666 = 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__C3230_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P3220_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C26298_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P26288_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1301; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1267; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___16248 = (r0); - s.tmp_0 = r0 = s.p___16248; - s.tmp_2 = Math_FastRandom_randomRange__P3080_mk(s); + s.p___38666 = (r0); + s.tmp_0 = r0 = s.p___38666; + s.tmp_2 = Math_FastRandom_randomRange__P26148_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; s.tmp_2.arg2 = 14; - s.callLocIdx = 1302; s.pc = 2; return s.tmp_2; + s.callLocIdx = 1268; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___16248; + r0 = s.p___38666; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P3234.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__P26302.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__P3234_mk(s) { +function particles_ShapeFactory_createParticle__P26302_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P3234, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P26302, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___16248: undefined, + p___38666: undefined, arg0: undefined, arg1: undefined, } } @@ -29453,7 +27441,7 @@ function particles_ShapeFactory_createParticle__P3234_mk(s) { -function particles_AreaFactory_createParticle__P3220(s) { +function particles_AreaFactory_createParticle__P26288(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29463,42 +27451,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___16260 = undefined; + s.p___38678 = 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__C3214_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P3210_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C26282_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P26278_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1283; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1249; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___16260 = (r0); - s.tmp_0 = r0 = s.p___16260; - s.tmp_2 = Math_FastRandom_randomRange__P3080_mk(s); + s.p___38678 = (r0); + s.tmp_0 = r0 = s.p___38678; + s.tmp_2 = Math_FastRandom_randomRange__P26148_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["minLifespan"]; s.tmp_2.arg1 = r0; r0 = s.arg0.fields["maxLifespan"]; s.tmp_2.arg2 = r0; - s.callLocIdx = 1284; s.pc = 4; return s.tmp_2; + s.callLocIdx = 1250; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___16260; - s.tmp_4 = Math_FastRandom_randomRange__P3080_mk(s); + s.tmp_0 = r0 = s.p___38678; + s.tmp_4 = Math_FastRandom_randomRange__P26148_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; r0 = s.arg0.fields["xRange"]; s.tmp_4.arg2 = r0; - s.callLocIdx = 1285; s.pc = 5; return s.tmp_4; + s.callLocIdx = 1251; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; @@ -29508,7 +27496,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___16260.fields["_x"]; + r0 = s.p___38678.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -29523,7 +27511,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["height"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["height"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1288; s.pc = 6; return s.tmp_1; } + else { s.callLocIdx = 1254; s.pc = 6; return s.tmp_1; } } case 6: r0 = s.retval; @@ -29538,7 +27526,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["height"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["height"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1289; s.pc = 7; return s.tmp_3; } + else { s.callLocIdx = 1255; s.pc = 7; return s.tmp_3; } } case 7: r0 = s.retval; @@ -29550,36 +27538,36 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___16260; - s.tmp_9 = Math_FastRandom_randomRange__P3080_mk(s); + s.tmp_5 = r0 = s.p___38678; + s.tmp_9 = Math_FastRandom_randomRange__P26148_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; r0 = s.arg0.fields["yRange"]; s.tmp_9.arg2 = r0; - s.callLocIdx = 1287; s.pc = 8; return s.tmp_9; + s.callLocIdx = 1253; s.pc = 8; return s.tmp_9; case 8: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___16260.fields["_y"]; + r0 = s.p___38678.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___16260; + r0 = s.p___38678; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P3220.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__P26288.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__P3220_mk(s) { +function particles_AreaFactory_createParticle__P26288_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P3220, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P26288, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29593,7 +27581,7 @@ function particles_AreaFactory_createParticle__P3220_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___16260: undefined, + p___38678: undefined, arg0: undefined, arg1: undefined, } } @@ -29602,7 +27590,7 @@ function particles_AreaFactory_createParticle__P3220_mk(s) { -function Fx_iadd__P158(s) { +function Fx_iadd__P23225(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29623,12 +27611,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_iadd__P158.info = {"start":634,"length":110,"line":23,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"iadd","argumentNames":["a","b"]} +Fx_iadd__P23225.info = {"start":634,"length":110,"line":23,"column":4,"endLine":25,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"iadd","argumentNames":["a","b"]} -function Fx_iadd__P158_mk(s) { +function Fx_iadd__P23225_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P158, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P23225, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29639,7 +27627,7 @@ function Fx_iadd__P158_mk(s) { -function particles_SprayFactory_createParticle__P3210(s) { +function particles_SprayFactory_createParticle__P26278(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29649,39 +27637,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___16316 = undefined; - s.angle___16320 = undefined; + s.p___38734 = undefined; + s.angle___38738 = 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__C3208_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P3206_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C26276_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P26274_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1272; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1238; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___16316 = (r0); + s.p___38734 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P3080_mk(s); - s.tmp_3.arg0 = globals.galois___5456; + s.tmp_3 = Math_FastRandom_randomRange__P26148_mk(s); + s.tmp_3.arg0 = globals.galois___28529; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; - s.callLocIdx = 1273; s.pc = 2; return s.tmp_3; + s.callLocIdx = 1239; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___16320 = (r0); - s.tmp_0 = r0 = s.p___16316; - r0 = pxsim_Array__getAt(globals.cachedSin___5451, s.angle___16320); + s.angle___38738 = (r0); + s.tmp_0 = r0 = s.p___38734; + r0 = pxsim_Array__getAt(globals.cachedSin___28524, s.angle___38738); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -29690,8 +27678,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___16316; - r0 = pxsim_Array__getAt(globals.cachedCos___5452, s.angle___16320); + s.tmp_0 = r0 = s.p___38734; + r0 = pxsim_Array__getAt(globals.cachedCos___28525, s.angle___38738); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -29700,24 +27688,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___16316; + r0 = s.p___38734; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P3210.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__P26278.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__P3210_mk(s) { +function particles_SprayFactory_createParticle__P26278_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P3210, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P26278, 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___16316: undefined, - angle___16320: undefined, + p___38734: undefined, + angle___38738: undefined, arg0: undefined, arg1: undefined, } } @@ -29726,7 +27714,7 @@ function particles_SprayFactory_createParticle__P3210_mk(s) { -function sprites_SpriteSet_toString__P2474(s) { +function sprites_SpriteSet_toString__P25542(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29741,7 +27729,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2463_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C25531_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -29763,12 +27751,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P2474.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__P25542.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__P2474_mk(s) { +function sprites_SpriteSet_toString__P25542_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P2474, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P25542, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29782,7 +27770,7 @@ function sprites_SpriteSet_toString__P2474_mk(s) { -function sprites_SpriteSet_length__P2466(s) { +function sprites_SpriteSet_length__P25534(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29797,20 +27785,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2463_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C25531_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__P2466.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__P2466.isGetter = true; +sprites_SpriteSet_length__P25534.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__P25534.isGetter = true; -function sprites_SpriteSet_length__P2466_mk(s) { +function sprites_SpriteSet_length__P25534_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P2466, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P25534, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29820,7 +27808,7 @@ function sprites_SpriteSet_length__P2466_mk(s) { -function particles_ParticleSource___draw__P3174(s) { +function particles_ParticleSource___draw__P26242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29830,18 +27818,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___19921 = undefined; - s.left___19924 = undefined; - s.top___19934 = undefined; + s.current___42342 = undefined; + s.left___42345 = undefined; + s.top___42355 = 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__C3168_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C26236_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___19921 = (r0); + s.current___42342 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -29859,7 +27847,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___19924 = (s.tmp_4); + s.left___42345 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -29877,49 +27865,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___19934 = (s.tmp_4); + s.top___42355 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___19921); + r0 = pxsim_numops_toBoolDecr(s.current___42342); if (!r0) { step = 8; continue; } - r0 = s.current___19921.fields["lifespan"]; + r0 = s.current___42342.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__P5442_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P28515_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___19921; - s.tmp_2.arg2 = s.left___19924; - s.tmp_2.arg3 = s.top___19934; - s.callLocIdx = 1207; s.pc = 9; return s.tmp_2; + s.tmp_2.arg1 = s.current___42342; + s.tmp_2.arg2 = s.left___42345; + s.tmp_2.arg3 = s.top___42355; + s.callLocIdx = 1173; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___19921.fields["next"]; - s.current___19921 = (r0); + r0 = s.current___42342.fields["next"]; + s.current___42342 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P3174.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__P26242.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__P3174_mk(s) { +function particles_ParticleSource___draw__P26242_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P3174, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P26242, 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___19921: undefined, - left___19924: undefined, - top___19934: undefined, + current___42342: undefined, + left___42345: undefined, + top___42355: undefined, arg0: undefined, arg1: undefined, } } @@ -29928,7 +27916,7 @@ function particles_ParticleSource___draw__P3174_mk(s) { -function particles_ParticleSource_drawParticle__P5442(s) { +function particles_ParticleSource_drawParticle__P28515(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29946,8 +27934,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3168_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C3204_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C26236_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C26272_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -29959,7 +27947,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__C3204_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C26272_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: @@ -29968,12 +27956,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P5442.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__P28515.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__P5442_mk(s) { +function particles_ParticleSource_drawParticle__P28515_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P5442, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P28515, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29988,7 +27976,7 @@ function particles_ParticleSource_drawParticle__P5442_mk(s) { -function particles_ParticleFactory_drawParticle__P3207(s) { +function particles_ParticleFactory_drawParticle__P26275(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30006,8 +27994,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C3204_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___2032; + if (!checkSubtype(r0, particles_ParticleFactory__C26272_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___25100; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -30021,12 +28009,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P3207.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__P26275.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__P3207_mk(s) { +function particles_ParticleFactory_drawParticle__P26275_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P3207, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P26275, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30043,7 +28031,7 @@ function particles_ParticleFactory_drawParticle__P3207_mk(s) { -function sprites_SpriteMap_toString__P2454(s) { +function sprites_SpriteMap_toString__P25522(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30058,7 +28046,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2446_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C25514_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -30078,11 +28066,11 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P110_mk(s); + s.tmp_10 = helpers_arrayFilter__P23177_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = length_inline__P16361; - s.callLocIdx = 566; s.pc = 2; return s.tmp_10; + s.tmp_10.arg1 = length_inline__P38782; + s.callLocIdx = 530; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; s.tmp_9 = r0; @@ -30103,12 +28091,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P2454.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__P25522.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__P2454_mk(s) { +function sprites_SpriteMap_toString__P25522_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P2454, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P25522, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30128,7 +28116,7 @@ function sprites_SpriteMap_toString__P2454_mk(s) { -function length_inline__P16361(s) { +function length_inline__P38782(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30152,12 +28140,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -length_inline__P16361.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__P38782.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__P16361_mk(s) { +function length_inline__P38782_mk(s) { checkStack(s.depth); return { - parent: s, fn: length_inline__P16361, depth: s.depth + 1, + parent: s, fn: length_inline__P38782, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30169,7 +28157,7 @@ function length_inline__P16361_mk(s) { -function ArcadePhysicsEngine_moveSprite__P2541(s) { +function ArcadePhysicsEngine_moveSprite__P25609(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30179,9 +28167,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___16393 = undefined; - s.maxDist___16401 = undefined; - s.ms___16421 = undefined; + s.tm___38814 = undefined; + s.maxDist___38822 = undefined; + s.ms___38842 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30190,7 +28178,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -30209,19 +28197,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__P3016_mk(s); - s.callLocIdx = 803; s.pc = 13; return s.tmp_0; + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 767; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___16393 = (r0); - s.tmp_0 = r0 = s.tm___16393; + s.tm___38814 = (r0); + s.tmp_0 = r0 = s.tm___38814; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___16393.fields["_map"]; + r0 = s.tm___38814.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -30240,41 +28228,41 @@ switch (step) { r0 = (s.tmp_6 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.maxDist___16401 = (r0); - s.tmp_2 = Math_abs__P128_mk(s); + s.maxDist___38822 = (r0); + s.tmp_2 = Math_abs__P23195_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); s.tmp_2.arg0 = r0; - s.callLocIdx = 807; s.pc = 14; return s.tmp_2; + s.callLocIdx = 771; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___16401); + r0 = (s.tmp_1 <= s.maxDist___38822); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_5 = Math_abs__P128_mk(s); + s.tmp_5 = Math_abs__P23195_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); s.tmp_5.arg0 = r0; - s.callLocIdx = 809; s.pc = 15; return s.tmp_5; + s.callLocIdx = 773; s.pc = 15; return s.tmp_5; case 15: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___16401); + r0 = (s.tmp_4 <= s.maxDist___38822); 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__C2525_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C25593_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P2526_mk(s); + s.tmp_9 = MovingSprite_constructor__P25594_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -30285,23 +28273,23 @@ switch (step) { s.tmp_9.arg5 = s.arg3; s.tmp_9.arg6 = s.arg2; s.tmp_9.arg7 = s.arg3; - s.callLocIdx = 810; s.pc = 16; return s.tmp_9; + s.callLocIdx = 774; s.pc = 16; return s.tmp_9; case 16: r0 = s.retval; - s.ms___16421 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P4956_mk(s); + s.ms___38842 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P28029_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___16421; - s.tmp_0.arg2 = s.tm___16393; - s.callLocIdx = 811; s.pc = 17; return s.tmp_0; + s.tmp_0.arg1 = s.ms___38842; + s.tmp_0.arg2 = s.tm___38814; + s.callLocIdx = 775; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 5: - s.tmp_1 = tiles_TileMap_isOnWall__P2758_mk(s); - s.tmp_1.arg0 = s.tm___16393; + s.tmp_1 = tiles_TileMap_isOnWall__P25826_mk(s); + s.tmp_1.arg0 = s.tm___38814; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 812; s.pc = 18; return s.tmp_1; + s.callLocIdx = 776; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; s.tmp_0 = r0; @@ -30310,11 +28298,11 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P4958_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P28031_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___16393; - s.callLocIdx = 813; s.pc = 19; return s.tmp_4; + s.tmp_4.arg2 = s.tm___38814; + s.callLocIdx = 777; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; s.tmp_3 = r0; @@ -30348,12 +28336,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P2541.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__P25609.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__P2541_mk(s) { +function ArcadePhysicsEngine_moveSprite__P25609_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P2541, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P25609, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30365,9 +28353,9 @@ function ArcadePhysicsEngine_moveSprite__P2541_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___16393: undefined, - maxDist___16401: undefined, - ms___16421: undefined, + tm___38814: undefined, + maxDist___38822: undefined, + ms___38842: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30378,7 +28366,7 @@ function ArcadePhysicsEngine_moveSprite__P2541_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P4958(s) { +function ArcadePhysicsEngine_canResolveClipping__P28031(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30388,19 +28376,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___16466 = undefined; - s.sz___16469 = undefined; - s.maxMove___16474 = undefined; - s.origY___16476 = undefined; - s.origX___16479 = undefined; - s.l___16482 = undefined; - s.r___16487 = undefined; - s.t___16492 = undefined; - s.b___16497 = undefined; - s.offset___16502 = undefined; - s.offset___16527 = undefined; - s.offset___16558 = undefined; - s.offset___16583 = undefined; + s.hbox___38887 = undefined; + s.sz___38890 = undefined; + s.maxMove___38895 = undefined; + s.origY___38897 = undefined; + s.origX___38900 = undefined; + s.l___38903 = undefined; + s.r___38908 = undefined; + s.t___38913 = undefined; + s.b___38918 = undefined; + s.offset___38923 = undefined; + s.offset___38948 = undefined; + s.offset___38979 = undefined; + s.offset___39004 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30408,7 +28396,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -30419,9 +28407,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite__C2341_v4_1_mk(s); + s.tmp_4 = Sprite__C25409_v4_1_mk(s); s.tmp_4.arg0 = s.arg1; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C2341_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, Sprite__C25409_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: @@ -30429,83 +28417,83 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___16466 = (r0); + s.hbox___38887 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___16469 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P2533_mk(s); + s.sz___38890 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P25601_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 816; s.pc = 21; return s.tmp_0; + s.callLocIdx = 780; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___16474 = (r0); + s.maxMove___38895 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___16476 = (r0); + s.origY___38897 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___16479 = (r0); - s.tmp_1 = game_Hitbox_left__P2216_mk(s); - s.tmp_1.arg0 = s.hbox___16466; - s.callLocIdx = 817; s.pc = 22; return s.tmp_1; + s.origX___38900 = (r0); + s.tmp_1 = game_Hitbox_left__P25284_mk(s); + s.tmp_1.arg0 = s.hbox___38887; + s.callLocIdx = 781; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___16482 = (r0); - s.tmp_1 = game_Hitbox_right__P2218_mk(s); - s.tmp_1.arg0 = s.hbox___16466; - s.callLocIdx = 819; s.pc = 23; return s.tmp_1; + s.l___38903 = (r0); + s.tmp_1 = game_Hitbox_right__P25286_mk(s); + s.tmp_1.arg0 = s.hbox___38887; + s.callLocIdx = 783; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___16487 = (r0); - s.tmp_1 = game_Hitbox_top__P2217_mk(s); - s.tmp_1.arg0 = s.hbox___16466; - s.callLocIdx = 821; s.pc = 24; return s.tmp_1; + s.r___38908 = (r0); + s.tmp_1 = game_Hitbox_top__P25285_mk(s); + s.tmp_1.arg0 = s.hbox___38887; + s.callLocIdx = 785; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___16492 = (r0); - s.tmp_1 = game_Hitbox_bottom__P2219_mk(s); - s.tmp_1.arg0 = s.hbox___16466; - s.callLocIdx = 823; s.pc = 25; return s.tmp_1; + s.t___38913 = (r0); + s.tmp_1 = game_Hitbox_bottom__P25287_mk(s); + s.tmp_1.arg0 = s.hbox___38887; + s.callLocIdx = 787; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___16497 = (r0); - r0 = (s.b___16497 + 1); + s.b___38918 = (r0); + r0 = (s.b___38918 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___16469); - s.offset___16502 = (r0); - r0 = (s.offset___16502 <= s.maxMove___16474); + r0 = (s.tmp_0 % s.sz___38890); + s.offset___38923 = (r0); + r0 = (s.offset___38923 <= s.maxMove___38895); 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___16502 * 256); + r0 = (s.offset___38923 * 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__P2758_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P25826_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 827; s.pc = 26; return s.tmp_3; + s.callLocIdx = 791; s.pc = 26; return s.tmp_3; case 26: r0 = s.retval; s.tmp_2 = r0; @@ -30519,38 +28507,38 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___16476); + r0 = (s.arg1).fields["_y"] = (s.origY___38897); case 4: case 5: case 6: - r0 = (s.t___16492 / s.sz___16469); + r0 = (s.t___38913 / s.sz___38890); 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___16469); + r0 = (s.tmp_1 * s.sz___38890); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___16492); - s.offset___16527 = (r0); - r0 = (s.offset___16527 <= s.maxMove___16474); + r0 = (s.tmp_0 - s.t___38913); + s.offset___38948 = (r0); + r0 = (s.offset___38948 <= s.maxMove___38895); 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___16527 * 256); + r0 = (s.offset___38948 * 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__P2758_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P25826_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 830; s.pc = 27; return s.tmp_3; + s.callLocIdx = 794; s.pc = 27; return s.tmp_3; case 27: r0 = s.retval; s.tmp_2 = r0; @@ -30564,32 +28552,32 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___16476); + r0 = (s.arg1).fields["_y"] = (s.origY___38897); case 8: case 9: case 10: - r0 = (s.r___16487 + 1); + r0 = (s.r___38908 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___16469); - s.offset___16558 = (r0); - r0 = (s.offset___16558 <= s.maxMove___16474); + r0 = (s.tmp_0 % s.sz___38890); + s.offset___38979 = (r0); + r0 = (s.offset___38979 <= s.maxMove___38895); 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___16558 * 256); + r0 = (s.offset___38979 * 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__P2758_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P25826_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 833; s.pc = 28; return s.tmp_3; + s.callLocIdx = 797; s.pc = 28; return s.tmp_3; case 28: r0 = s.retval; s.tmp_2 = r0; @@ -30603,38 +28591,38 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___16479); + r0 = (s.arg1).fields["_x"] = (s.origX___38900); case 12: case 13: case 14: - r0 = (s.l___16482 / s.sz___16469); + r0 = (s.l___38903 / s.sz___38890); 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___16469); + r0 = (s.tmp_1 * s.sz___38890); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___16482); - s.offset___16583 = (r0); - r0 = (s.offset___16583 <= s.maxMove___16474); + r0 = (s.tmp_0 - s.l___38903); + s.offset___39004 = (r0); + r0 = (s.offset___39004 <= s.maxMove___38895); 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___16583 * 256); + r0 = (s.offset___39004 * 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__P2758_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P25826_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; - s.callLocIdx = 836; s.pc = 29; return s.tmp_3; + s.callLocIdx = 800; s.pc = 29; return s.tmp_3; case 29: r0 = s.retval; s.tmp_2 = r0; @@ -30648,7 +28636,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___16479); + r0 = (s.arg1).fields["_x"] = (s.origX___38900); case 16: case 17: case 18: @@ -30657,12 +28645,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P4958.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__P28031.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__P4958_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P28031_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P4958, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P28031, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30670,19 +28658,19 @@ function ArcadePhysicsEngine_canResolveClipping__P4958_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___16466: undefined, - sz___16469: undefined, - maxMove___16474: undefined, - origY___16476: undefined, - origX___16479: undefined, - l___16482: undefined, - r___16487: undefined, - t___16492: undefined, - b___16497: undefined, - offset___16502: undefined, - offset___16527: undefined, - offset___16558: undefined, - offset___16583: undefined, + hbox___38887: undefined, + sz___38890: undefined, + maxMove___38895: undefined, + origY___38897: undefined, + origX___38900: undefined, + l___38903: undefined, + r___38908: undefined, + t___38913: undefined, + b___38918: undefined, + offset___38923: undefined, + offset___38948: undefined, + offset___38979: undefined, + offset___39004: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30692,7 +28680,7 @@ function ArcadePhysicsEngine_canResolveClipping__P4958_mk(s) { -function Sprite_isStatic__P2395(s) { +function Sprite_isStatic__P25463(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30707,19 +28695,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_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__P2395.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__P25463.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__P2395_mk(s) { +function Sprite_isStatic__P25463_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P2395, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P25463, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30729,7 +28717,7 @@ function Sprite_isStatic__P2395_mk(s) { -function game_Hitbox_bottom__P2219(s) { +function game_Hitbox_bottom__P25287(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30744,12 +28732,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2208_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C25276_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P2217_mk(s); + s.tmp_3 = game_Hitbox_top__P25285_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 264; s.pc = 1; return s.tmp_3; + s.callLocIdx = 228; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -30759,13 +28747,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P2219.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__P2219.isGetter = true; +game_Hitbox_bottom__P25287.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__P25287.isGetter = true; -function game_Hitbox_bottom__P2219_mk(s) { +function game_Hitbox_bottom__P25287_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P2219, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P25287, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30778,7 +28766,7 @@ function game_Hitbox_bottom__P2219_mk(s) { -function game_Hitbox_right__P2218(s) { +function game_Hitbox_right__P25286(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30793,12 +28781,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2208_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C25276_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P2216_mk(s); + s.tmp_3 = game_Hitbox_left__P25284_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 261; s.pc = 1; return s.tmp_3; + s.callLocIdx = 225; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -30808,13 +28796,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P2218.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__P2218.isGetter = true; +game_Hitbox_right__P25286.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__P25286.isGetter = true; -function game_Hitbox_right__P2218_mk(s) { +function game_Hitbox_right__P25286_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P2218, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P25286, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30827,7 +28815,7 @@ function game_Hitbox_right__P2218_mk(s) { -function game_Hitbox_top__P2217(s) { +function game_Hitbox_top__P25285(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30842,7 +28830,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2208_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C25276_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -30852,13 +28840,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P2217.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__P2217.isGetter = true; +game_Hitbox_top__P25285.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__P25285.isGetter = true; -function game_Hitbox_top__P2217_mk(s) { +function game_Hitbox_top__P25285_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P2217, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P25285, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30869,7 +28857,7 @@ function game_Hitbox_top__P2217_mk(s) { -function game_Hitbox_left__P2216(s) { +function game_Hitbox_left__P25284(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30884,7 +28872,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2208_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C25276_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -30894,13 +28882,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P2216.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__P2216.isGetter = true; +game_Hitbox_left__P25284.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__P25284.isGetter = true; -function game_Hitbox_left__P2216_mk(s) { +function game_Hitbox_left__P25284_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P2216, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P25284, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30911,7 +28899,7 @@ function game_Hitbox_left__P2216_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P4956(s) { +function ArcadePhysicsEngine_tilemapCollisions__P28029(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30921,37 +28909,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___16743 = undefined; - s.hbox___16768 = undefined; - s.tileScale___16771 = undefined; - s.tileSize___16774 = undefined; - s.xDiff___16778 = undefined; - s.yDiff___16785 = undefined; - s.right___16801 = undefined; - s.x0___16805 = undefined; - s.collidedTiles___16820 = undefined; - s.y___16822 = undefined; - s.y0___16836 = undefined; - s.obstacle___16852 = undefined; - s.collisionDirection___16879 = undefined; - s.tile___16905 = undefined; - s.unnamed90___U14 = undefined; - s.unnamed91___U15 = undefined; - s.down___16996 = undefined; - s.y0___17000 = undefined; - s.collidedTiles___17015 = undefined; - s.x___17017 = undefined; - s.x0___17027 = undefined; - s.obstacle___17041 = undefined; - s.collisionDirection___17068 = undefined; - s.tile___17094 = undefined; - s.unnamed92___U24 = undefined; - s.unnamed93___U25 = undefined; - s.overlappedTiles___17188 = undefined; - s.x___17190 = undefined; - s.x0___17200 = undefined; - s.y___17210 = undefined; - s.y0___17220 = undefined; + s.s___39164 = undefined; + s.hbox___39189 = undefined; + s.tileScale___39192 = undefined; + s.tileSize___39195 = undefined; + s.xDiff___39199 = undefined; + s.yDiff___39206 = undefined; + s.right___39222 = undefined; + s.x0___39226 = undefined; + s.collidedTiles___39241 = undefined; + s.y___39243 = undefined; + s.y0___39257 = undefined; + s.obstacle___39273 = undefined; + s.collisionDirection___39300 = undefined; + s.tile___39326 = undefined; + s.unnamed198___U14 = undefined; + s.unnamed199___U15 = undefined; + s.down___39417 = undefined; + s.y0___39421 = undefined; + s.collidedTiles___39436 = undefined; + s.x___39438 = undefined; + s.x0___39448 = undefined; + s.obstacle___39462 = undefined; + s.collisionDirection___39489 = undefined; + s.tile___39515 = undefined; + s.unnamed200___U24 = undefined; + s.unnamed201___U25 = undefined; + s.overlappedTiles___39609 = undefined; + s.x___39611 = undefined; + s.x0___39621 = undefined; + s.y___39631 = undefined; + s.y0___39641 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30959,19 +28947,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___16743 = (r0); - r0 = s.s___16743.fields["flags"]; + s.s___39164 = (r0); + r0 = s.s___39164.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__P2758_mk(s); + s.tmp_5 = tiles_TileMap_isOnWall__P25826_mk(s); s.tmp_5.arg0 = s.arg2; - s.tmp_5.arg1 = s.s___16743; - s.callLocIdx = 699; s.pc = 97; return s.tmp_5; + s.tmp_5.arg1 = s.s___39164; + s.callLocIdx = 663; s.pc = 97; return s.tmp_5; case 97: r0 = s.retval; s.tmp_4 = r0; @@ -30981,7 +28969,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___16743; + s.tmp_6 = r0 = s.s___39164; r0 = s.tmp_6.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & -257); @@ -30991,7 +28979,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___16743.fields["_image"]; + r0 = s.s___39164.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -31001,34 +28989,34 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite__C2341_v4_1_mk(s); - s.tmp_4.arg0 = s.s___16743; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C2341_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = Sprite__C25409_v4_1_mk(s); + s.tmp_4.arg0 = s.s___39164; + if (!checkSubtype(s.tmp_4.arg0, Sprite__C25409_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___16743.fields["_hitbox"]; - s.hbox___16768 = (r0); + r0 = s.s___39164.fields["_hitbox"]; + s.hbox___39189 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___16771 = (r0); - r0 = (1 << s.tileScale___16771); - s.tileSize___16774 = (r0); - r0 = s.s___16743.fields["_x"]; + s.tileScale___39192 = (r0); + r0 = (1 << s.tileScale___39192); + s.tileSize___39195 = (r0); + r0 = s.s___39164.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___16743.fields["_lastX"]; + r0 = s.s___39164.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___16778 = (r0); - r0 = s.s___16743.fields["_y"]; + s.xDiff___39199 = (r0); + r0 = s.s___39164.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___16743.fields["_lastY"]; + r0 = s.s___39164.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___16785 = (r0); - r0 = s.s___16743.fields["flags"]; + s.yDiff___39206 = (r0); + r0 = s.s___39164.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 2818); s.tmp_2 = r0; @@ -31038,26 +29026,26 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 83; continue; } - r0 = (s.xDiff___16778 !== 0); + r0 = (s.xDiff___39199 !== 0); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 43; continue; } - r0 = (s.xDiff___16778 > 0); - s.right___16801 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___16801); + r0 = (s.xDiff___39199 > 0); + s.right___39222 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___39222); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P2218_mk(s); - s.tmp_1.arg0 = s.hbox___16768; - s.callLocIdx = 704; s.pc = 99; return s.tmp_1; + s.tmp_1 = game_Hitbox_right__P25286_mk(s); + s.tmp_1.arg0 = s.hbox___39189; + s.callLocIdx = 668; s.pc = 99; return s.tmp_1; case 99: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P2216_mk(s); - s.tmp_3.arg0 = s.hbox___16768; - s.callLocIdx = 706; s.pc = 100; return s.tmp_3; + s.tmp_3 = game_Hitbox_left__P25284_mk(s); + s.tmp_3.arg0 = s.hbox___39189; + s.callLocIdx = 670; s.pc = 100; return s.tmp_3; case 100: r0 = s.retval; s.tmp_2 = r0; @@ -31067,30 +29055,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___16771 + 8); + r0 = (s.tileScale___39192 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___16805 = (r0); + s.x0___39226 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___16820 = (r0); - s.tmp_1 = game_Hitbox_top__P2217_mk(s); - s.tmp_1.arg0 = s.hbox___16768; - s.callLocIdx = 710; s.pc = 101; return s.tmp_1; + s.collidedTiles___39241 = (r0); + s.tmp_1 = game_Hitbox_top__P25285_mk(s); + s.tmp_1.arg0 = s.hbox___39189; + s.callLocIdx = 674; s.pc = 101; return s.tmp_1; case 101: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___16785); - s.y___16822 = (r0); + r0 = (s.tmp_0 - s.yDiff___39206); + s.y___39243 = (r0); case 9: - s.tmp_1 = r0 = s.y___16822; - s.tmp_3 = r0 = s.tileSize___16774; - s.tmp_6 = game_Hitbox_bottom__P2219_mk(s); - s.tmp_6.arg0 = s.hbox___16768; - s.callLocIdx = 712; s.pc = 102; return s.tmp_6; + s.tmp_1 = r0 = s.y___39243; + s.tmp_3 = r0 = s.tileSize___39195; + s.tmp_6 = game_Hitbox_bottom__P25287_mk(s); + s.tmp_6.arg0 = s.hbox___39189; + s.callLocIdx = 676; s.pc = 102; return s.tmp_6; case 102: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___16785); + r0 = (s.tmp_5 - s.yDiff___39206); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -31100,51 +29088,51 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_10 = Fx_min__P166_mk(s); - s.tmp_10.arg0 = s.y___16822; - s.tmp_12 = game_Hitbox_bottom__P2219_mk(s); - s.tmp_12.arg0 = s.hbox___16768; - s.callLocIdx = 715; s.pc = 104; return s.tmp_12; + s.tmp_10 = Fx_min__P23233_mk(s); + s.tmp_10.arg0 = s.y___39243; + s.tmp_12 = game_Hitbox_bottom__P25287_mk(s); + s.tmp_12.arg0 = s.hbox___39189; + s.callLocIdx = 679; s.pc = 104; return s.tmp_12; case 104: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___16785); + r0 = (s.tmp_11 - s.yDiff___39206); s.tmp_10.arg1 = r0; - s.callLocIdx = 717; s.pc = 103; return s.tmp_10; + s.callLocIdx = 681; s.pc = 103; return s.tmp_10; case 103: r0 = s.retval; s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___16771 + 8); + r0 = (s.tileScale___39192 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___16836 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P2756_mk(s); + s.y0___39257 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P25824_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___16805; - s.tmp_1.arg2 = s.y0___16836; - s.callLocIdx = 720; s.pc = 105; return s.tmp_1; + s.tmp_1.arg1 = s.x0___39226; + s.tmp_1.arg2 = s.y0___39257; + s.callLocIdx = 684; 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__P2757_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P25825_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___16805; - s.tmp_2.arg2 = s.y0___16836; - s.callLocIdx = 721; s.pc = 106; return s.tmp_2; + s.tmp_2.arg1 = s.x0___39226; + s.tmp_2.arg2 = s.y0___39257; + s.callLocIdx = 685; s.pc = 106; return s.tmp_2; case 106: r0 = s.retval; - s.obstacle___16852 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P16860); + s.obstacle___39273 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P39281); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___16852); - s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.collidedTiles___16820; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___39273); + s.tmp_4 = helpers_arraySome__P23174_mk(s); + s.tmp_4.arg0 = s.collidedTiles___39241; s.tmp_4.arg1 = s.tmp_0; - s.callLocIdx = 722; s.pc = 107; return s.tmp_4; + s.callLocIdx = 686; s.pc = 107; return s.tmp_4; case 107: r0 = s.retval; s.tmp_3 = r0; @@ -31154,22 +29142,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___16820, s.obstacle___16852); + r0 = pxsim_Array__push(s.collidedTiles___39241, s.obstacle___39273); case 10: case 11: case 12: case 13: - r0 = (s.tileSize___16774 << 8); + r0 = (s.tileSize___39195 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___16822); - s.y___16822 = (r0); + r0 = (s.tmp_0 + s.y___39243); + s.y___39243 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___16820); + r0 = pxsim_Array__length(s.collidedTiles___39241); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 41; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___16801); + r0 = pxsim_numops_toBoolDecr(s.right___39222); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -31178,23 +29166,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___16879 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___16801); + s.collisionDirection___39300 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___39222); if (!r0) { step = 17; continue; } - r0 = (s.x0___16805 << s.tileScale___16771); + r0 = (s.x0___39226 << s.tileScale___39192); 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___16768.fields["width"]; + r0 = s.hbox___39189.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___16805 + 1); + r0 = (s.x0___39226 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___16771); + r0 = (s.tmp_5 << s.tileScale___39192); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -31202,24 +29190,24 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___16743; - r0 = s.hbox___16768.fields["ox"]; + s.tmp_8 = r0 = s.s___39164; + r0 = s.hbox___39189.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___16905 = (undefined); - s.unnamed90___U14 = (s.collidedTiles___16820); - s.unnamed91___U15 = (0); + s.tile___39326 = (undefined); + s.unnamed198___U14 = (s.collidedTiles___39241); + s.unnamed199___U15 = (0); case 19: - s.tmp_0 = r0 = s.unnamed91___U15; - r0 = pxsim_Array__length(s.unnamed90___U14); + s.tmp_0 = r0 = s.unnamed199___U15; + r0 = pxsim_Array__length(s.unnamed198___U14); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 22; continue; } - r0 = pxsim_Array__getAt(s.unnamed90___U14, s.unnamed91___U15); - s.tile___16905 = (r0); - r0 = s.s___16743.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed198___U14, s.unnamed199___U15); + s.tile___39326 = (r0); + r0 = s.s___39164.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -31229,37 +29217,37 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 20; continue; } - s.tmp_6 = Sprite_registerObstacle__P2426_mk(s); - s.tmp_6.arg0 = s.s___16743; - s.tmp_6.arg1 = s.collisionDirection___16879; - s.tmp_6.arg2 = s.tile___16905; + s.tmp_6 = Sprite_registerObstacle__P25494_mk(s); + s.tmp_6.arg0 = s.s___39164; + s.tmp_6.arg1 = s.collisionDirection___39300; + s.tmp_6.arg2 = s.tile___39326; s.tmp_6.arg3 = s.arg2; - s.callLocIdx = 728; s.pc = 108; return s.tmp_6; + s.callLocIdx = 692; s.pc = 108; return s.tmp_6; case 108: r0 = s.retval; case 20: case 21: - r0 = (s.unnamed91___U15 + 1); - s.unnamed91___U15 = (r0); + r0 = (s.unnamed199___U15 + 1); + s.unnamed199___U15 = (r0); { step = 19; continue; } case 22: - s.unnamed90___U14 = (undefined); - r0 = s.s___16743.fields["flags"]; + s.unnamed198___U14 = (undefined); + r0 = s.s___39164.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__P2428_mk(s); - s.tmp_2.arg0 = s.s___16743; + s.tmp_2 = Sprite_destroy__P25496_mk(s); + s.tmp_2.arg0 = s.s___39164; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; - s.callLocIdx = 729; s.pc = 109; return s.tmp_2; + s.callLocIdx = 693; s.pc = 109; return s.tmp_2; case 109: r0 = s.retval; { step = 40; continue; } case 23: - r0 = s.s___16743.fields["_vx"]; + r0 = s.s___39164.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -31270,7 +29258,7 @@ switch (step) { r0 = s.tmp_0; { step = 25; continue; } case 24: - r0 = s.s___16743.fields["flags"]; + r0 = s.s___39164.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -31282,13 +29270,13 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 36; continue; } - r0 = s.s___16743.fields["flags"]; + r0 = s.s___39164.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___16801); + r0 = pxsim_numops_toBoolDecr(s.right___39222); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -31297,9 +29285,9 @@ switch (step) { r0 = s.tmp_9; { step = 27; continue; } case 26: - s.tmp_12 = Sprite_vx__P2358_mk(s); - s.tmp_12.arg0 = s.s___16743; - s.callLocIdx = 730; s.pc = 110; return s.tmp_12; + s.tmp_12 = Sprite_vx__P25426_mk(s); + s.tmp_12.arg0 = s.s___39164; + s.callLocIdx = 694; s.pc = 110; return s.tmp_12; case 110: r0 = s.retval; s.tmp_11 = r0; @@ -31312,15 +29300,15 @@ switch (step) { r0 = s.tmp_13; { step = 31; continue; } case 28: - s.tmp_14 = r0 = s.right___16801; + s.tmp_14 = r0 = s.right___39222; 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__P2358_mk(s); - s.tmp_16.arg0 = s.s___16743; - s.callLocIdx = 731; s.pc = 111; return s.tmp_16; + s.tmp_16 = Sprite_vx__P25426_mk(s); + s.tmp_16.arg0 = s.s___39164; + s.callLocIdx = 695; s.pc = 111; return s.tmp_16; case 111: r0 = s.retval; s.tmp_15 = r0; @@ -31334,8 +29322,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___16743; - r0 = s.s___16743.fields["_vx"]; + s.tmp_19 = r0 = s.s___39164; + r0 = s.s___39164.fields["_vx"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -31357,29 +29345,29 @@ switch (step) { { step = 35; continue; } case 34: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___16743).fields["_vx"] = (0); + r0 = (s.s___39164).fields["_vx"] = (0); case 35: { step = 39; continue; } case 36: - s.tmp_2 = Math_sign__P129_mk(s); - r0 = s.s___16743.fields["_vx"]; + s.tmp_2 = Math_sign__P23196_mk(s); + r0 = s.s___39164.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_2.arg0 = r0; - s.callLocIdx = 736; s.pc = 112; return s.tmp_2; + s.callLocIdx = 700; s.pc = 112; return s.tmp_2; case 112: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P129_mk(s); + s.tmp_6 = Math_sign__P23196_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_6.arg0 = r0; - s.callLocIdx = 738; s.pc = 113; return s.tmp_6; + s.callLocIdx = 702; s.pc = 113; return s.tmp_6; case 113: r0 = s.retval; s.tmp_5 = r0; @@ -31396,26 +29384,26 @@ switch (step) { case 42: case 43: case 44: - r0 = (s.yDiff___16785 !== 0); + r0 = (s.yDiff___39206 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 81; continue; } - r0 = (s.yDiff___16785 > 0); - s.down___16996 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___16996); + r0 = (s.yDiff___39206 > 0); + s.down___39417 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___39417); if (!r0) { step = 45; continue; } - s.tmp_1 = game_Hitbox_bottom__P2219_mk(s); - s.tmp_1.arg0 = s.hbox___16768; - s.callLocIdx = 739; s.pc = 114; return s.tmp_1; + s.tmp_1 = game_Hitbox_bottom__P25287_mk(s); + s.tmp_1.arg0 = s.hbox___39189; + s.callLocIdx = 703; s.pc = 114; return s.tmp_1; case 114: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 256); { step = 46; continue; } case 45: - s.tmp_3 = game_Hitbox_top__P2217_mk(s); - s.tmp_3.arg0 = s.hbox___16768; - s.callLocIdx = 741; s.pc = 115; return s.tmp_3; + s.tmp_3 = game_Hitbox_top__P25285_mk(s); + s.tmp_3.arg0 = s.hbox___39189; + s.callLocIdx = 705; s.pc = 115; return s.tmp_3; case 115: r0 = s.retval; s.tmp_2 = r0; @@ -31425,24 +29413,24 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___16771 + 8); + r0 = (s.tileScale___39192 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___17000 = (r0); + s.y0___39421 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___17015 = (r0); - s.tmp_0 = game_Hitbox_left__P2216_mk(s); - s.tmp_0.arg0 = s.hbox___16768; - s.callLocIdx = 745; s.pc = 116; return s.tmp_0; + s.collidedTiles___39436 = (r0); + s.tmp_0 = game_Hitbox_left__P25284_mk(s); + s.tmp_0.arg0 = s.hbox___39189; + s.callLocIdx = 709; s.pc = 116; return s.tmp_0; case 116: r0 = s.retval; - s.x___17017 = (r0); + s.x___39438 = (r0); case 47: - s.tmp_1 = r0 = s.x___17017; - s.tmp_3 = r0 = s.tileSize___16774; - s.tmp_5 = game_Hitbox_right__P2218_mk(s); - s.tmp_5.arg0 = s.hbox___16768; - s.callLocIdx = 746; s.pc = 117; return s.tmp_5; + s.tmp_1 = r0 = s.x___39438; + s.tmp_3 = r0 = s.tileSize___39195; + s.tmp_5 = game_Hitbox_right__P25286_mk(s); + s.tmp_5.arg0 = s.hbox___39189; + s.callLocIdx = 710; s.pc = 117; return s.tmp_5; case 117: r0 = s.retval; s.tmp_4 = r0; @@ -31454,49 +29442,49 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 52; continue; } - s.tmp_9 = Fx_min__P166_mk(s); - s.tmp_9.arg0 = s.x___17017; - s.tmp_10 = game_Hitbox_right__P2218_mk(s); - s.tmp_10.arg0 = s.hbox___16768; - s.callLocIdx = 748; s.pc = 119; return s.tmp_10; + s.tmp_9 = Fx_min__P23233_mk(s); + s.tmp_9.arg0 = s.x___39438; + s.tmp_10 = game_Hitbox_right__P25286_mk(s); + s.tmp_10.arg0 = s.hbox___39189; + s.callLocIdx = 712; s.pc = 119; return s.tmp_10; case 119: r0 = s.retval; s.tmp_9.arg1 = r0; - s.callLocIdx = 749; s.pc = 118; return s.tmp_9; + s.callLocIdx = 713; s.pc = 118; return s.tmp_9; case 118: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___16771 + 8); + r0 = (s.tileScale___39192 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___17027 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P2756_mk(s); + s.x0___39448 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P25824_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___17027; - s.tmp_1.arg2 = s.y0___17000; - s.callLocIdx = 752; s.pc = 120; return s.tmp_1; + s.tmp_1.arg1 = s.x0___39448; + s.tmp_1.arg2 = s.y0___39421; + s.callLocIdx = 716; 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__P2757_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P25825_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___17027; - s.tmp_2.arg2 = s.y0___17000; - s.callLocIdx = 753; s.pc = 121; return s.tmp_2; + s.tmp_2.arg1 = s.x0___39448; + s.tmp_2.arg2 = s.y0___39421; + s.callLocIdx = 717; s.pc = 121; return s.tmp_2; case 121: r0 = s.retval; - s.obstacle___17041 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P17049); + s.obstacle___39462 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P39470); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___17041); - s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.collidedTiles___17015; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___39462); + s.tmp_4 = helpers_arraySome__P23174_mk(s); + s.tmp_4.arg0 = s.collidedTiles___39436; s.tmp_4.arg1 = s.tmp_0; - s.callLocIdx = 754; s.pc = 122; return s.tmp_4; + s.callLocIdx = 718; s.pc = 122; return s.tmp_4; case 122: r0 = s.retval; s.tmp_3 = r0; @@ -31506,22 +29494,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___17015, s.obstacle___17041); + r0 = pxsim_Array__push(s.collidedTiles___39436, s.obstacle___39462); case 48: case 49: case 50: case 51: - r0 = (s.tileSize___16774 << 8); + r0 = (s.tileSize___39195 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___17017); - s.x___17017 = (r0); + r0 = (s.tmp_0 + s.x___39438); + s.x___39438 = (r0); { step = 47; continue; } case 52: - r0 = pxsim_Array__length(s.collidedTiles___17015); + r0 = pxsim_Array__length(s.collidedTiles___39436); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___16996); + r0 = pxsim_numops_toBoolDecr(s.down___39417); if (!r0) { step = 53; continue; } r0 = 3; { step = 54; continue; } @@ -31530,23 +29518,23 @@ switch (step) { case 54: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___17068 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___16996); + s.collisionDirection___39489 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___39417); if (!r0) { step = 55; continue; } - r0 = (s.y0___17000 << s.tileScale___16771); + r0 = (s.y0___39421 << s.tileScale___39192); 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___16768.fields["height"]; + r0 = s.hbox___39189.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 56; continue; } case 55: - r0 = (s.y0___17000 + 1); + r0 = (s.y0___39421 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___16771); + r0 = (s.tmp_5 << s.tileScale___39192); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -31554,24 +29542,24 @@ switch (step) { case 56: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___16743; - r0 = s.hbox___16768.fields["oy"]; + s.tmp_8 = r0 = s.s___39164; + r0 = s.hbox___39189.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___17094 = (undefined); - s.unnamed92___U24 = (s.collidedTiles___17015); - s.unnamed93___U25 = (0); + s.tile___39515 = (undefined); + s.unnamed200___U24 = (s.collidedTiles___39436); + s.unnamed201___U25 = (0); case 57: - s.tmp_0 = r0 = s.unnamed93___U25; - r0 = pxsim_Array__length(s.unnamed92___U24); + s.tmp_0 = r0 = s.unnamed201___U25; + r0 = pxsim_Array__length(s.unnamed200___U24); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 60; continue; } - r0 = pxsim_Array__getAt(s.unnamed92___U24, s.unnamed93___U25); - s.tile___17094 = (r0); - r0 = s.s___16743.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed200___U24, s.unnamed201___U25); + s.tile___39515 = (r0); + r0 = s.s___39164.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -31581,37 +29569,37 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 58; continue; } - s.tmp_6 = Sprite_registerObstacle__P2426_mk(s); - s.tmp_6.arg0 = s.s___16743; - s.tmp_6.arg1 = s.collisionDirection___17068; - s.tmp_6.arg2 = s.tile___17094; + s.tmp_6 = Sprite_registerObstacle__P25494_mk(s); + s.tmp_6.arg0 = s.s___39164; + s.tmp_6.arg1 = s.collisionDirection___39489; + s.tmp_6.arg2 = s.tile___39515; s.tmp_6.arg3 = s.arg2; - s.callLocIdx = 760; s.pc = 123; return s.tmp_6; + s.callLocIdx = 724; s.pc = 123; return s.tmp_6; case 123: r0 = s.retval; case 58: case 59: - r0 = (s.unnamed93___U25 + 1); - s.unnamed93___U25 = (r0); + r0 = (s.unnamed201___U25 + 1); + s.unnamed201___U25 = (r0); { step = 57; continue; } case 60: - s.unnamed92___U24 = (undefined); - r0 = s.s___16743.fields["flags"]; + s.unnamed200___U24 = (undefined); + r0 = s.s___39164.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__P2428_mk(s); - s.tmp_2.arg0 = s.s___16743; + s.tmp_2 = Sprite_destroy__P25496_mk(s); + s.tmp_2.arg0 = s.s___39164; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; - s.callLocIdx = 761; s.pc = 124; return s.tmp_2; + s.callLocIdx = 725; s.pc = 124; return s.tmp_2; case 124: r0 = s.retval; { step = 78; continue; } case 61: - r0 = s.s___16743.fields["_vy"]; + r0 = s.s___39164.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -31622,7 +29610,7 @@ switch (step) { r0 = s.tmp_0; { step = 63; continue; } case 62: - r0 = s.s___16743.fields["flags"]; + r0 = s.s___39164.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -31634,13 +29622,13 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 74; continue; } - r0 = s.s___16743.fields["flags"]; + r0 = s.s___39164.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___16996); + r0 = pxsim_numops_toBoolDecr(s.down___39417); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -31649,9 +29637,9 @@ switch (step) { r0 = s.tmp_9; { step = 65; continue; } case 64: - s.tmp_12 = Sprite_vy__P2360_mk(s); - s.tmp_12.arg0 = s.s___16743; - s.callLocIdx = 762; s.pc = 125; return s.tmp_12; + s.tmp_12 = Sprite_vy__P25428_mk(s); + s.tmp_12.arg0 = s.s___39164; + s.callLocIdx = 726; s.pc = 125; return s.tmp_12; case 125: r0 = s.retval; s.tmp_11 = r0; @@ -31664,15 +29652,15 @@ switch (step) { r0 = s.tmp_13; { step = 69; continue; } case 66: - s.tmp_14 = r0 = s.down___16996; + s.tmp_14 = r0 = s.down___39417; 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__P2360_mk(s); - s.tmp_16.arg0 = s.s___16743; - s.callLocIdx = 763; s.pc = 126; return s.tmp_16; + s.tmp_16 = Sprite_vy__P25428_mk(s); + s.tmp_16.arg0 = s.s___39164; + s.callLocIdx = 727; s.pc = 126; return s.tmp_16; case 126: r0 = s.retval; s.tmp_15 = r0; @@ -31686,8 +29674,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___16743; - r0 = s.s___16743.fields["_vy"]; + s.tmp_19 = r0 = s.s___39164; + r0 = s.s___39164.fields["_vy"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -31709,29 +29697,29 @@ switch (step) { { step = 73; continue; } case 72: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___16743).fields["_vy"] = (0); + r0 = (s.s___39164).fields["_vy"] = (0); case 73: { step = 77; continue; } case 74: - s.tmp_2 = Math_sign__P129_mk(s); - r0 = s.s___16743.fields["_vy"]; + s.tmp_2 = Math_sign__P23196_mk(s); + r0 = s.s___39164.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_2.arg0 = r0; - s.callLocIdx = 768; s.pc = 127; return s.tmp_2; + s.callLocIdx = 732; s.pc = 127; return s.tmp_2; case 127: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P129_mk(s); + s.tmp_6 = Math_sign__P23196_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); s.tmp_8 = r0; r0 = (s.tmp_8 >> 8); s.tmp_6.arg0 = r0; - s.callLocIdx = 770; s.pc = 128; return s.tmp_6; + s.callLocIdx = 734; s.pc = 128; return s.tmp_6; case 128: r0 = s.retval; s.tmp_5 = r0; @@ -31750,7 +29738,7 @@ switch (step) { case 82: case 83: case 84: - r0 = s.s___16743.fields["flags"]; + r0 = s.s___39164.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 1538); s.tmp_2 = r0; @@ -31761,19 +29749,19 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 95; continue; } r0 = pxsim_Array__mk(); - s.overlappedTiles___17188 = (r0); - s.tmp_0 = game_Hitbox_left__P2216_mk(s); - s.tmp_0.arg0 = s.hbox___16768; - s.callLocIdx = 771; s.pc = 129; return s.tmp_0; + s.overlappedTiles___39609 = (r0); + s.tmp_0 = game_Hitbox_left__P25284_mk(s); + s.tmp_0.arg0 = s.hbox___39189; + s.callLocIdx = 735; s.pc = 129; return s.tmp_0; case 129: r0 = s.retval; - s.x___17190 = (r0); + s.x___39611 = (r0); case 85: - s.tmp_1 = r0 = s.x___17190; - s.tmp_3 = r0 = s.tileSize___16774; - s.tmp_5 = game_Hitbox_right__P2218_mk(s); - s.tmp_5.arg0 = s.hbox___16768; - s.callLocIdx = 772; s.pc = 130; return s.tmp_5; + s.tmp_1 = r0 = s.x___39611; + s.tmp_3 = r0 = s.tileSize___39195; + s.tmp_5 = game_Hitbox_right__P25286_mk(s); + s.tmp_5.arg0 = s.hbox___39189; + s.callLocIdx = 736; s.pc = 130; return s.tmp_5; case 130: r0 = s.retval; s.tmp_4 = r0; @@ -31785,36 +29773,36 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 92; continue; } - s.tmp_9 = Fx_min__P166_mk(s); - s.tmp_9.arg0 = s.x___17190; - s.tmp_10 = game_Hitbox_right__P2218_mk(s); - s.tmp_10.arg0 = s.hbox___16768; - s.callLocIdx = 774; s.pc = 132; return s.tmp_10; + s.tmp_9 = Fx_min__P23233_mk(s); + s.tmp_9.arg0 = s.x___39611; + s.tmp_10 = game_Hitbox_right__P25286_mk(s); + s.tmp_10.arg0 = s.hbox___39189; + s.callLocIdx = 738; s.pc = 132; return s.tmp_10; case 132: r0 = s.retval; s.tmp_9.arg1 = r0; - s.callLocIdx = 775; s.pc = 131; return s.tmp_9; + s.callLocIdx = 739; s.pc = 131; return s.tmp_9; case 131: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___16771 + 8); + r0 = (s.tileScale___39192 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___17200 = (r0); - s.tmp_0 = game_Hitbox_top__P2217_mk(s); - s.tmp_0.arg0 = s.hbox___16768; - s.callLocIdx = 778; s.pc = 133; return s.tmp_0; + s.x0___39621 = (r0); + s.tmp_0 = game_Hitbox_top__P25285_mk(s); + s.tmp_0.arg0 = s.hbox___39189; + s.callLocIdx = 742; s.pc = 133; return s.tmp_0; case 133: r0 = s.retval; - s.y___17210 = (r0); + s.y___39631 = (r0); case 86: - s.tmp_1 = r0 = s.y___17210; - s.tmp_3 = r0 = s.tileSize___16774; - s.tmp_5 = game_Hitbox_bottom__P2219_mk(s); - s.tmp_5.arg0 = s.hbox___16768; - s.callLocIdx = 779; s.pc = 134; return s.tmp_5; + s.tmp_1 = r0 = s.y___39631; + s.tmp_3 = r0 = s.tileSize___39195; + s.tmp_5 = game_Hitbox_bottom__P25287_mk(s); + s.tmp_5.arg0 = s.hbox___39189; + s.callLocIdx = 743; s.pc = 134; return s.tmp_5; case 134: r0 = s.retval; s.tmp_4 = r0; @@ -31826,29 +29814,29 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 91; continue; } - s.tmp_9 = Fx_min__P166_mk(s); - s.tmp_9.arg0 = s.y___17210; - s.tmp_10 = game_Hitbox_bottom__P2219_mk(s); - s.tmp_10.arg0 = s.hbox___16768; - s.callLocIdx = 781; s.pc = 136; return s.tmp_10; + s.tmp_9 = Fx_min__P23233_mk(s); + s.tmp_9.arg0 = s.y___39631; + s.tmp_10 = game_Hitbox_bottom__P25287_mk(s); + s.tmp_10.arg0 = s.hbox___39189; + s.callLocIdx = 745; s.pc = 136; return s.tmp_10; case 136: r0 = s.retval; s.tmp_9.arg1 = r0; - s.callLocIdx = 782; s.pc = 135; return s.tmp_9; + s.callLocIdx = 746; s.pc = 135; return s.tmp_9; case 135: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___16771 + 8); + r0 = (s.tileScale___39192 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___17220 = (r0); - s.tmp_3 = tiles_TileMap_isObstacle__P2756_mk(s); + s.y0___39641 = (r0); + s.tmp_3 = tiles_TileMap_isObstacle__P25824_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___17200; - s.tmp_3.arg2 = s.y0___17220; - s.callLocIdx = 785; s.pc = 137; return s.tmp_3; + s.tmp_3.arg1 = s.x0___39621; + s.tmp_3.arg2 = s.y0___39641; + s.callLocIdx = 749; s.pc = 137; return s.tmp_3; case 137: r0 = s.retval; s.tmp_2 = r0; @@ -31861,7 +29849,7 @@ switch (step) { r0 = s.tmp_0; { step = 88; continue; } case 87: - r0 = s.s___16743.fields["flags"]; + r0 = s.s___39164.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 2048); s.tmp_7 = r0; @@ -31877,39 +29865,39 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 89; continue; } - s.tmp_10 = r0 = s.overlappedTiles___17188; - s.tmp_12 = tiles_TileMap_getTile__P2749_mk(s); + s.tmp_10 = r0 = s.overlappedTiles___39609; + s.tmp_12 = tiles_TileMap_getTile__P25817_mk(s); s.tmp_12.arg0 = s.arg2; - s.tmp_12.arg1 = s.x0___17200; - s.tmp_12.arg2 = s.y0___17220; - s.callLocIdx = 786; s.pc = 138; return s.tmp_12; + s.tmp_12.arg1 = s.x0___39621; + s.tmp_12.arg2 = s.y0___39641; + s.callLocIdx = 750; s.pc = 138; return s.tmp_12; case 138: r0 = s.retval; s.tmp_11 = r0; r0 = pxsim_Array__push(s.tmp_10, s.tmp_11); case 89: case 90: - r0 = (s.tileSize___16774 << 8); + r0 = (s.tileSize___39195 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___17210); - s.y___17210 = (r0); + r0 = (s.tmp_0 + s.y___39631); + s.y___39631 = (r0); { step = 86; continue; } case 91: - r0 = (s.tileSize___16774 << 8); + r0 = (s.tileSize___39195 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___17190); - s.x___17190 = (r0); + r0 = (s.tmp_0 + s.x___39611); + s.x___39611 = (r0); { step = 85; continue; } case 92: - r0 = pxsim_Array__length(s.overlappedTiles___17188); + r0 = pxsim_Array__length(s.overlappedTiles___39609); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 93; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P4957_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P28030_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___16743; - s.tmp_1.arg2 = s.overlappedTiles___17188; - s.callLocIdx = 789; s.pc = 139; return s.tmp_1; + s.tmp_1.arg1 = s.s___39164; + s.tmp_1.arg2 = s.overlappedTiles___39609; + s.callLocIdx = 753; s.pc = 139; return s.tmp_1; case 139: r0 = s.retval; case 93: @@ -31920,12 +29908,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P4956.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__P28029.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__P4956_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P28029_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P4956, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P28029, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31949,37 +29937,37 @@ function ArcadePhysicsEngine_tilemapCollisions__P4956_mk(s) { tmp_19: undefined, tmp_20: undefined, tmp_21: undefined, - s___16743: undefined, - hbox___16768: undefined, - tileScale___16771: undefined, - tileSize___16774: undefined, - xDiff___16778: undefined, - yDiff___16785: undefined, - right___16801: undefined, - x0___16805: undefined, - collidedTiles___16820: undefined, - y___16822: undefined, - y0___16836: undefined, - obstacle___16852: undefined, - collisionDirection___16879: undefined, - tile___16905: undefined, - unnamed90___U14: undefined, - unnamed91___U15: undefined, - down___16996: undefined, - y0___17000: undefined, - collidedTiles___17015: undefined, - x___17017: undefined, - x0___17027: undefined, - obstacle___17041: undefined, - collisionDirection___17068: undefined, - tile___17094: undefined, - unnamed92___U24: undefined, - unnamed93___U25: undefined, - overlappedTiles___17188: undefined, - x___17190: undefined, - x0___17200: undefined, - y___17210: undefined, - y0___17220: undefined, + s___39164: undefined, + hbox___39189: undefined, + tileScale___39192: undefined, + tileSize___39195: undefined, + xDiff___39199: undefined, + yDiff___39206: undefined, + right___39222: undefined, + x0___39226: undefined, + collidedTiles___39241: undefined, + y___39243: undefined, + y0___39257: undefined, + obstacle___39273: undefined, + collisionDirection___39300: undefined, + tile___39326: undefined, + unnamed198___U14: undefined, + unnamed199___U15: undefined, + down___39417: undefined, + y0___39421: undefined, + collidedTiles___39436: undefined, + x___39438: undefined, + x0___39448: undefined, + obstacle___39462: undefined, + collisionDirection___39489: undefined, + tile___39515: undefined, + unnamed200___U24: undefined, + unnamed201___U25: undefined, + overlappedTiles___39609: undefined, + x___39611: undefined, + x0___39621: undefined, + y___39631: undefined, + y0___39641: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31989,7 +29977,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P4956_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P16860(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P39281(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32011,12 +29999,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P16860.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__P39281.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__P16860_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P39281_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P16860, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P39281, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32027,7 +30015,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P16860_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P17049(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P39470(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32049,12 +30037,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P17049.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__P39470.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__P17049_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P39470_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P17049, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P39470, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32065,7 +30053,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P17049_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P4957(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P28030(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32075,11 +30063,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___17267 = undefined; - s.tile___17270 = undefined; - s.unnamed94___U2 = undefined; - s.unnamed95___U3 = undefined; - s.tileOverlapHandlers___17291 = undefined; + s.alreadyHandled___39688 = undefined; + s.tile___39691 = undefined; + s.unnamed202___U2 = undefined; + s.unnamed203___U3 = undefined; + s.tileOverlapHandlers___39712 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32087,27 +30075,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___17267 = (r0); - s.tile___17270 = (undefined); - s.unnamed94___U2 = (s.arg2); - s.unnamed95___U3 = (0); + s.alreadyHandled___39688 = (r0); + s.tile___39691 = (undefined); + s.unnamed202___U2 = (s.arg2); + s.unnamed203___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed95___U3; - r0 = pxsim_Array__length(s.unnamed94___U2); + s.tmp_0 = r0 = s.unnamed203___U3; + r0 = pxsim_Array__length(s.unnamed202___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed94___U2, s.unnamed95___U3); - s.tile___17270 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P17274); + r0 = pxsim_Array__getAt(s.unnamed202___U2, s.unnamed203___U3); + s.tile___39691 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P39695); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___17270); - s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___17267; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___39691); + s.tmp_4 = helpers_arraySome__P23174_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___39688; s.tmp_4.arg1 = s.tmp_2; - s.callLocIdx = 794; s.pc = 8; return s.tmp_4; + s.callLocIdx = 758; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; s.tmp_3 = r0; @@ -32116,64 +30104,64 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___17267, s.tile___17270); - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 795; s.pc = 9; return s.tmp_0; + r0 = pxsim_Array__push(s.alreadyHandled___39688, s.tile___39691); + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 759; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___17291 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___17291); + s.tileOverlapHandlers___39712 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___39712); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P17299); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P39720); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___17270); - r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P17315); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___39691); + r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P39736); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___17270); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); - s.tmp_3 = helpers_arrayFilter__P110_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___17291; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___39691); + s.tmp_2 = helpers_arrayForEach__P23176_mk(s); + s.tmp_3 = helpers_arrayFilter__P23177_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___39712; s.tmp_3.arg1 = s.tmp_0; - s.callLocIdx = 798; s.pc = 11; return s.tmp_3; + s.callLocIdx = 762; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 800; s.pc = 10; return s.tmp_2; + s.callLocIdx = 764; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; case 4: case 5: case 6: - r0 = (s.unnamed95___U3 + 1); - s.unnamed95___U3 = (r0); + r0 = (s.unnamed203___U3 + 1); + s.unnamed203___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed94___U2 = (undefined); + s.unnamed202___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P4957.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__P28030.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__P4957_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P28030_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P4957, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P28030, 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___17267: undefined, - tile___17270: undefined, - unnamed94___U2: undefined, - unnamed95___U3: undefined, - tileOverlapHandlers___17291: undefined, + alreadyHandled___39688: undefined, + tile___39691: undefined, + unnamed202___U2: undefined, + unnamed203___U3: undefined, + tileOverlapHandlers___39712: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -32183,7 +30171,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P4957_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P17274(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P39695(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32220,12 +30208,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P17274.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__P39695.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__P17274_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P39695_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P17274, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P39695, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32240,7 +30228,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P17274_mk(s) { -function forEach_inline__P17299(s) { +function forEach_inline__P39720(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32267,9 +30255,9 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P2768_mk(s); + s.tmp_5 = tiles_getTileImage__P25836_mk(s); s.tmp_5.arg0 = s.caps[1]; - s.callLocIdx = 797; s.pc = 3; return s.tmp_5; + s.callLocIdx = 761; s.pc = 3; return s.tmp_5; case 3: r0 = s.retval; s.tmp_4 = r0; @@ -32281,12 +30269,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P17299.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__P39720.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__P17299_mk(s) { +function forEach_inline__P39720_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P17299, depth: s.depth + 1, + parent: s, fn: forEach_inline__P39720, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32302,7 +30290,7 @@ function forEach_inline__P17299_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P17315(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P39736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32322,12 +30310,12 @@ switch (step) { s.tmp_0.arg2 = s.caps[1]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 3); - s.callLocIdx = 799; s.pc = 1; return s.tmp_0; + s.callLocIdx = 763; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 799; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 799; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 799; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 763; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 763; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 763; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -32335,12 +30323,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P17315.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__P39736.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__P17315_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P39736_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P17315, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P39736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32350,7 +30338,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P17315_mk(s) { -function tiles_getTileImage__P2768(s) { +function tiles_getTileImage__P25836(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32360,16 +30348,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___17323 = undefined; + s.scene___39744 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 928; s.pc = 6; return s.tmp_0; + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 892; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___17323 = (r0); + s.scene___39744 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -32379,7 +30367,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___17323.fields["tileMap"]; + r0 = s.scene___39744.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -32389,32 +30377,32 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex17333); + r0 = pxsim.image.ofBuffer(_hex39754); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P2759_mk(s); - r0 = s.scene___17323.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P25827_mk(s); + r0 = s.scene___39744.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P2704_mk(s); + s.tmp_6 = tiles_Location_tileSet__P25772_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 929; s.pc = 8; return s.tmp_6; + s.callLocIdx = 893; s.pc = 8; return s.tmp_6; case 8: r0 = s.retval; s.tmp_5.arg1 = r0; - s.callLocIdx = 930; s.pc = 7; return s.tmp_5; + s.callLocIdx = 894; s.pc = 7; return s.tmp_5; case 7: r0 = s.retval; case 5: return leave(s, r0) default: oops() } } } -tiles_getTileImage__P2768.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__P25836.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__P2768_mk(s) { +function tiles_getTileImage__P25836_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P2768, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P25836, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32423,16 +30411,16 @@ function tiles_getTileImage__P2768_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___17323: undefined, + scene___39744: undefined, arg0: undefined, } } -const _hex17333 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex39754 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P2759(s) { +function tiles_TileMap_getTileImage__P25827(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32448,23 +30436,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P2726_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P25794_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 927; s.pc = 1; return s.tmp_0; + s.callLocIdx = 891; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P2759.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__P25827.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__P2759_mk(s) { +function tiles_TileMap_getTileImage__P25827_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P2759, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P25827, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32475,7 +30463,7 @@ function tiles_TileMap_getTileImage__P2759_mk(s) { -function tiles_TileMapData_getTileImage__P2726(s) { +function tiles_TileMapData_getTileImage__P25794(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32485,25 +30473,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___17388 = undefined; - s.cachedImage___17392 = undefined; - s.originalImage___17399 = undefined; + s.size___39809 = undefined; + s.cachedImage___39813 = undefined; + s.originalImage___39820 = 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__C2717_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C25785_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___17388 = (r0); + s.size___39809 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___17392 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___17392); + s.cachedImage___39813 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___39813); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -32512,58 +30500,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___17399 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___17399); + s.originalImage___39820 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___39820); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___17399); + r0 = pxsim_ImageMethods.width(s.originalImage___39820); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___17388); + r0 = (s.tmp_1 <= s.size___39809); 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___17399); + r0 = pxsim_ImageMethods.height(s.originalImage___39820); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___17388); + r0 = (s.tmp_2 <= s.size___39809); 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___17392 = (s.originalImage___17399); + s.cachedImage___39813 = (s.originalImage___39820); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___17388, s.size___17388); - s.cachedImage___17392 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___17392, s.originalImage___17399, 0, 0); + r0 = pxsim.image.create(s.size___39809, s.size___39809); + s.cachedImage___39813 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___39813, s.originalImage___39820, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___17392); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___39813); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___17392; + r0 = s.cachedImage___39813; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P2726.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__P25794.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__P2726_mk(s) { +function tiles_TileMapData_getTileImage__P25794_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P2726, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P25794, 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___17388: undefined, - cachedImage___17392: undefined, - originalImage___17399: undefined, + size___39809: undefined, + cachedImage___39813: undefined, + originalImage___39820: undefined, arg0: undefined, arg1: undefined, } } @@ -32572,7 +30560,7 @@ function tiles_TileMapData_getTileImage__P2726_mk(s) { -function tiles_TileMapData_scale__P2721(s) { +function tiles_TileMapData_scale__P25789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32587,18 +30575,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2717_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C25785_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P2721.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__P2721.isGetter = true; +tiles_TileMapData_scale__P25789.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__P25789.isGetter = true; -function tiles_TileMapData_scale__P2721_mk(s) { +function tiles_TileMapData_scale__P25789_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P2721, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P25789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -32607,7 +30595,7 @@ function tiles_TileMapData_scale__P2721_mk(s) { -function tiles_Location_tileSet__P2704(s) { +function tiles_Location_tileSet__P25772(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32622,11 +30610,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2693_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P2750_mk(s); - s.tmp_1 = tiles_Location_tileMap__P2695_mk(s); + if (!checkSubtype(r0, tiles_Location__C25761_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P25818_mk(s); + s.tmp_1 = tiles_Location_tileMap__P25763_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 858; s.pc = 2; return s.tmp_1; + s.callLocIdx = 822; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; @@ -32634,19 +30622,19 @@ switch (step) { s.tmp_0.arg1 = r0; r0 = s.arg0.fields["_row"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 859; s.pc = 1; return s.tmp_0; + s.callLocIdx = 823; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P2704.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__P2704.isGetter = true; +tiles_Location_tileSet__P25772.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__P25772.isGetter = true; -function tiles_Location_tileSet__P2704_mk(s) { +function tiles_Location_tileSet__P25772_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P2704, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P25772, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32657,7 +30645,7 @@ function tiles_Location_tileSet__P2704_mk(s) { -function tiles_TileMap_getTileIndex__P2750(s) { +function tiles_TileMap_getTileIndex__P25818(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32674,24 +30662,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P2723_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P25791_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 882; s.pc = 1; return s.tmp_0; + s.callLocIdx = 846; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P2750.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__P25818.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__P2750_mk(s) { +function tiles_TileMap_getTileIndex__P25818_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P2750, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P25818, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32703,7 +30691,7 @@ function tiles_TileMap_getTileIndex__P2750_mk(s) { -function tiles_TileMapData_getTile__P2723(s) { +function tiles_TileMapData_getTile__P25791(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32720,12 +30708,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2717_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P2729_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C25785_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P25797_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 861; s.pc = 4; return s.tmp_1; + s.callLocIdx = 825; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0; @@ -32754,12 +30742,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P2723.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__P25791.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__P2723_mk(s) { +function tiles_TileMapData_getTile__P25791_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P2723, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P25791, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32779,7 +30767,7 @@ function tiles_TileMapData_getTile__P2723_mk(s) { -function tiles_TileMapData_isOutsideMap__P2729(s) { +function tiles_TileMapData_isOutsideMap__P25797(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32796,7 +30784,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2717_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C25785_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -32836,12 +30824,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P2729.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__P25797.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__P2729_mk(s) { +function tiles_TileMapData_isOutsideMap__P25797_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P2729, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P25797, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32860,7 +30848,7 @@ function tiles_TileMapData_isOutsideMap__P2729_mk(s) { -function tiles_Location_tileMap__P2695(s) { +function tiles_Location_tileMap__P25763(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32875,22 +30863,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2693_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 849; s.pc = 1; return s.tmp_0; + if (!checkSubtype(r0, tiles_Location__C25761_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 813; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["tileMap"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileMap__P2695.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__P2695.isGetter = true; +tiles_Location_tileMap__P25763.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__P25763.isGetter = true; -function tiles_Location_tileMap__P2695_mk(s) { +function tiles_Location_tileMap__P25763_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileMap__P2695, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileMap__P25763, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32900,7 +30888,7 @@ function tiles_Location_tileMap__P2695_mk(s) { -function tiles_Location_row__P2697(s) { +function tiles_Location_row__P25765(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32915,18 +30903,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2693_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C25761_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_row__P2697.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__P2697.isGetter = true; +tiles_Location_row__P25765.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__P25765.isGetter = true; -function tiles_Location_row__P2697_mk(s) { +function tiles_Location_row__P25765_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P2697, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P25765, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -32935,7 +30923,7 @@ function tiles_Location_row__P2697_mk(s) { -function tiles_Location_column__P2696(s) { +function tiles_Location_column__P25764(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32950,18 +30938,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2693_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C25761_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_column__P2696.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__P2696.isGetter = true; +tiles_Location_column__P25764.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__P25764.isGetter = true; -function tiles_Location_column__P2696_mk(s) { +function tiles_Location_column__P25764_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_column__P2696, depth: s.depth + 1, + parent: s, fn: tiles_Location_column__P25764, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -32970,7 +30958,7 @@ function tiles_Location_column__P2696_mk(s) { -function tiles_TileMap_getObstacle__P2757(s) { +function tiles_TileMap_getObstacle__P25825(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32980,8 +30968,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___17562 = undefined; - s.tile___17574 = undefined; + s.index___39983 = undefined; + s.tile___39995 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32989,13 +30977,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P2729_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P25797_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; - s.callLocIdx = 906; s.pc = 3; return s.tmp_1; + s.callLocIdx = 870; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -33004,31 +30992,31 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P2723_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P25791_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; - s.callLocIdx = 907; s.pc = 4; return s.tmp_2; + s.callLocIdx = 871; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___17562 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P2726_mk(s); + s.index___39983 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P25794_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___17562; - s.callLocIdx = 908; s.pc = 5; return s.tmp_0; + s.tmp_0.arg1 = s.index___39983; + s.callLocIdx = 872; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___17574 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C2498_VT); + s.tile___39995 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C25566_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P2504_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P25572_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___17574; + s.tmp_1.arg1 = s.tile___39995; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -33041,20 +31029,20 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___17562; - s.callLocIdx = 912; s.pc = 6; return s.tmp_1; + s.tmp_1.arg5 = s.index___39983; + s.callLocIdx = 876; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P2757.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__P25825.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__P2757_mk(s) { +function tiles_TileMap_getObstacle__P25825_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P2757, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P25825, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33062,8 +31050,8 @@ function tiles_TileMap_getObstacle__P2757_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___17562: undefined, - tile___17574: undefined, + index___39983: undefined, + tile___39995: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33073,7 +31061,7 @@ function tiles_TileMap_getObstacle__P2757_mk(s) { -function tiles_TileMap_layer__P2745(s) { +function tiles_TileMap_layer__P25813(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33088,18 +31076,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P2745.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__P2745.isGetter = true; +tiles_TileMap_layer__P25813.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__P25813.isGetter = true; -function tiles_TileMap_layer__P2745_mk(s) { +function tiles_TileMap_layer__P25813_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P2745, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P25813, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -33108,7 +31096,7 @@ function tiles_TileMap_layer__P2745_mk(s) { -function sprites_StaticObstacle_constructor__P2504(s) { +function sprites_StaticObstacle_constructor__P25572(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33128,7 +31116,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2498_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C25566_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -33138,12 +31126,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P2504.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__P25572.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__P2504_mk(s) { +function sprites_StaticObstacle_constructor__P25572_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P2504, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P25572, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -33157,7 +31145,7 @@ function sprites_StaticObstacle_constructor__P2504_mk(s) { -function tiles_TileMap_isObstacle__P2756(s) { +function tiles_TileMap_isObstacle__P25824(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33174,7 +31162,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -33195,12 +31183,12 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P2729_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P25797_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; s.tmp_8.arg2 = s.arg2; - s.callLocIdx = 904; s.pc = 6; return s.tmp_8; + s.callLocIdx = 868; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; s.tmp_7 = r0; @@ -33221,12 +31209,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P2756.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__P25824.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__P2756_mk(s) { +function tiles_TileMap_isObstacle__P25824_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P2756, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P25824, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33249,7 +31237,7 @@ function tiles_TileMap_isObstacle__P2756_mk(s) { -function tiles_TileMapData_isWall__P2728(s) { +function tiles_TileMapData_isWall__P25796(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33266,7 +31254,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2717_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C25785_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -33275,12 +31263,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P2728.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__P25796.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__P2728_mk(s) { +function tiles_TileMapData_isWall__P25796_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P2728, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P25796, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33293,7 +31281,7 @@ function tiles_TileMapData_isWall__P2728_mk(s) { -function tiles_TileMap_getTile__P2749(s) { +function tiles_TileMap_getTile__P25817(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33310,27 +31298,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C2693_VT); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C25761_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P2694_mk(s); + s.tmp_1 = tiles_Location_constructor__P25762_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg0; - s.callLocIdx = 880; s.pc = 1; return s.tmp_1; + s.callLocIdx = 844; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P2749.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__P25817.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__P2749_mk(s) { +function tiles_TileMap_getTile__P25817_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P2749, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P25817, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33343,7 +31331,7 @@ function tiles_TileMap_getTile__P2749_mk(s) { -function tiles_Location_constructor__P2694(s) { +function tiles_Location_constructor__P25762(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33361,19 +31349,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2693_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C25761_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__P2694.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__P25762.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__P2694_mk(s) { +function tiles_Location_constructor__P25762_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P2694, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P25762, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -33385,7 +31373,7 @@ function tiles_Location_constructor__P2694_mk(s) { -function Sprite_registerObstacle__P2426(s) { +function Sprite_registerObstacle__P25494(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33395,10 +31383,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___17475 = undefined; - s.wallCollisionHandlers___17482 = undefined; - s.wallHandlersToRun___17507 = undefined; - s.asTileLocation___17520 = undefined; + s.collisionHandlers___39896 = undefined; + s.wallCollisionHandlers___39903 = undefined; + s.wallHandlersToRun___39928 = undefined; + s.asTileLocation___39941 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33407,12 +31395,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_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__P3016_mk(s); - s.callLocIdx = 452; s.pc = 9; return s.tmp_1; + s.tmp_1 = game_currentScene__P26084_mk(s); + s.callLocIdx = 416; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; r0 = r0.fields["collisionHandlers"]; @@ -33425,42 +31413,42 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["tileIndex"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["tileIndex"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 453; s.pc = 10; return s.tmp_3; } + else { s.callLocIdx = 417; s.pc = 10; return s.tmp_3; } } case 10: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___17475 = (r0); - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 454; s.pc = 11; return s.tmp_0; + s.collisionHandlers___39896 = (r0); + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 418; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___17482 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___17475); + s.wallCollisionHandlers___39903 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___39896); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P17490); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P39911); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P17496); + r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P39917); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); - s.tmp_3 = helpers_arrayFilter__P110_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___17475; + s.tmp_2 = helpers_arrayForEach__P23176_mk(s); + s.tmp_3 = helpers_arrayFilter__P23177_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___39896; s.tmp_3.arg1 = s.tmp_0; - s.callLocIdx = 456; s.pc = 13; return s.tmp_3; + s.callLocIdx = 420; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 458; s.pc = 12; return s.tmp_2; + s.callLocIdx = 422; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___17482); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___39903); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -33468,8 +31456,8 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P3016_mk(s); - s.callLocIdx = 459; s.pc = 14; return s.tmp_1; + s.tmp_1 = game_currentScene__P26084_mk(s); + s.callLocIdx = 423; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; r0 = r0.fields["tileMap"]; @@ -33477,21 +31465,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P17509); + r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P39930); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFilter__P110_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___17482; + s.tmp_1 = helpers_arrayFilter__P23177_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___39903; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 461; s.pc = 15; return s.tmp_1; + s.callLocIdx = 425; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___17507 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___17507); + s.wallHandlersToRun___39928 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___39928); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap_getTile__P2749_mk(s); + s.tmp_1 = tiles_TileMap_getTile__P25817_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -33501,7 +31489,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["left"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["left"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 462; s.pc = 17; return s.tmp_3; } + else { s.callLocIdx = 426; s.pc = 17; return s.tmp_3; } } case 17: r0 = s.retval; @@ -33518,7 +31506,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["top"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["top"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 464; s.pc = 18; return s.tmp_6; } + else { s.callLocIdx = 428; s.pc = 18; return s.tmp_6; } } case 18: r0 = s.retval; @@ -33527,18 +31515,18 @@ switch (step) { s.tmp_7 = r0; r0 = (s.tmp_5 >> s.tmp_7); s.tmp_1.arg2 = r0; - s.callLocIdx = 466; s.pc = 16; return s.tmp_1; + s.callLocIdx = 430; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___17520 = (r0); - r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P17536); + s.asTileLocation___39941 = (r0); + r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P39957); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___17520); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___17507; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___39941); + s.tmp_1 = helpers_arrayForEach__P23176_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___39928; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 468; s.pc = 19; return s.tmp_1; + s.callLocIdx = 432; s.pc = 19; return s.tmp_1; case 19: r0 = s.retval; case 5: @@ -33549,12 +31537,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P2426.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__P25494.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__P2426_mk(s) { +function Sprite_registerObstacle__P25494_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P2426, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P25494, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33564,10 +31552,10 @@ function Sprite_registerObstacle__P2426_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___17475: undefined, - wallCollisionHandlers___17482: undefined, - wallHandlersToRun___17507: undefined, - asTileLocation___17520: undefined, + collisionHandlers___39896: undefined, + wallCollisionHandlers___39903: undefined, + wallHandlersToRun___39928: undefined, + asTileLocation___39941: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33578,7 +31566,7 @@ function Sprite_registerObstacle__P2426_mk(s) { -function forEach_inline__P17490(s) { +function forEach_inline__P39911(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33600,12 +31588,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P17490.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__P39911.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__P17490_mk(s) { +function forEach_inline__P39911_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P17490, depth: s.depth + 1, + parent: s, fn: forEach_inline__P39911, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33616,7 +31604,7 @@ function forEach_inline__P17490_mk(s) { -function Sprite_registerObstacle_inline__P17496(s) { +function Sprite_registerObstacle_inline__P39917(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33635,12 +31623,12 @@ switch (step) { s.tmp_0.arg1 = s.caps[0]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 2); - s.callLocIdx = 457; s.pc = 1; return s.tmp_0; + s.callLocIdx = 421; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 2); s.callLocIdx = 457; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 457; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 457; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 2); s.callLocIdx = 421; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 421; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 421; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -33648,12 +31636,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P17496.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__P39917.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__P17496_mk(s) { +function Sprite_registerObstacle_inline__P39917_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P17496, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P39917, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33663,7 +31651,7 @@ function Sprite_registerObstacle_inline__P17496_mk(s) { -function wallHandlersToRun_inline__P17509(s) { +function wallHandlersToRun_inline__P39930(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33685,12 +31673,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -wallHandlersToRun_inline__P17509.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__P39930.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__P17509_mk(s) { +function wallHandlersToRun_inline__P39930_mk(s) { checkStack(s.depth); return { - parent: s, fn: wallHandlersToRun_inline__P17509, depth: s.depth + 1, + parent: s, fn: wallHandlersToRun_inline__P39930, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33701,7 +31689,7 @@ function wallHandlersToRun_inline__P17509_mk(s) { -function Sprite_registerObstacle_inline__P17536(s) { +function Sprite_registerObstacle_inline__P39957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33721,12 +31709,12 @@ switch (step) { s.tmp_0.arg2 = s.caps[1]; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 3); - s.callLocIdx = 467; s.pc = 1; return s.tmp_0; + s.callLocIdx = 431; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 467; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 467; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 467; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 431; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 431; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 431; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -33734,12 +31722,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P17536.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__P39957.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__P17536_mk(s) { +function Sprite_registerObstacle_inline__P39957_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P17536, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P39957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33749,7 +31737,7 @@ function Sprite_registerObstacle_inline__P17536_mk(s) { -function Math_sign__P129(s) { +function Math_sign__P23196(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33784,12 +31772,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_sign__P129.info = {"start":16355,"length":125,"line":547,"column":4,"endLine":551,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} +Math_sign__P23196.info = {"start":16355,"length":125,"line":547,"column":4,"endLine":551,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"sign","argumentNames":["x"]} -function Math_sign__P129_mk(s) { +function Math_sign__P23196_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P129, depth: s.depth + 1, + parent: s, fn: Math_sign__P23196, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33800,7 +31788,7 @@ function Math_sign__P129_mk(s) { -function helpers_arraySome__P107(s) { +function helpers_arraySome__P23174(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33810,28 +31798,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___17544 = undefined; - s.i___17547 = undefined; + s.len___39965 = undefined; + s.i___39968 = 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___17544 = (r0); - s.i___17547 = (0); + s.len___39965 = (r0); + s.i___39968 = (0); case 1: - r0 = (s.i___17547 < s.len___17544); + r0 = (s.i___39968 < s.len___39965); 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___17547); + r0 = pxsim_Array__getAt(s.arg0, s.i___39968); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___17547; + s.tmp_2.arg1 = s.i___39968; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 5; s.pc = 6; return s.tmp_2; + s.callLocIdx = 4; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; @@ -33841,8 +31829,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___17547 + 1); - s.i___17547 = (r0); + r0 = (s.i___39968 + 1); + s.i___39968 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -33850,18 +31838,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySome__P107.info = {"start":6833,"length":296,"line":238,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySome","argumentNames":["arr","callbackfn"]} +helpers_arraySome__P23174.info = {"start":6833,"length":296,"line":238,"column":4,"endLine":244,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arraySome","argumentNames":["arr","callbackfn"]} -function helpers_arraySome__P107_mk(s) { +function helpers_arraySome__P23174_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P107, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P23174, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___17544: undefined, - i___17547: undefined, + len___39965: undefined, + i___39968: undefined, arg0: undefined, arg1: undefined, } } @@ -33870,7 +31858,7 @@ function helpers_arraySome__P107_mk(s) { -function tiles_TileMap_isOnWall__P2758(s) { +function tiles_TileMap_isOnWall__P25826(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33880,25 +31868,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___16649 = undefined; - s.left___16652 = undefined; - s.right___16658 = undefined; - s.top___16664 = undefined; - s.bottom___16670 = undefined; - s.col___16676 = undefined; - s.row___16682 = undefined; + s.hbox___39070 = undefined; + s.left___39073 = undefined; + s.right___39079 = undefined; + s.top___39085 = undefined; + s.bottom___39091 = undefined; + s.col___39097 = undefined; + s.row___39103 = 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__C2735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___16649 = (r0); - s.tmp_1 = game_Hitbox_left__P2216_mk(s); - s.tmp_1.arg0 = s.hbox___16649; - s.callLocIdx = 913; s.pc = 8; return s.tmp_1; + s.hbox___39070 = (r0); + s.tmp_1 = game_Hitbox_left__P25284_mk(s); + s.tmp_1.arg0 = s.hbox___39070; + s.callLocIdx = 877; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0 = r0; @@ -33907,10 +31895,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___16652 = (r0); - s.tmp_1 = game_Hitbox_right__P2218_mk(s); - s.tmp_1.arg0 = s.hbox___16649; - s.callLocIdx = 916; s.pc = 9; return s.tmp_1; + s.left___39073 = (r0); + s.tmp_1 = game_Hitbox_right__P25286_mk(s); + s.tmp_1.arg0 = s.hbox___39070; + s.callLocIdx = 880; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; @@ -33919,10 +31907,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___16658 = (r0); - s.tmp_1 = game_Hitbox_top__P2217_mk(s); - s.tmp_1.arg0 = s.hbox___16649; - s.callLocIdx = 919; s.pc = 10; return s.tmp_1; + s.right___39079 = (r0); + s.tmp_1 = game_Hitbox_top__P25285_mk(s); + s.tmp_1.arg0 = s.hbox___39070; + s.callLocIdx = 883; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; @@ -33931,10 +31919,10 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___16664 = (r0); - s.tmp_1 = game_Hitbox_bottom__P2219_mk(s); - s.tmp_1.arg0 = s.hbox___16649; - s.callLocIdx = 922; s.pc = 11; return s.tmp_1; + s.top___39085 = (r0); + s.tmp_1 = game_Hitbox_bottom__P25287_mk(s); + s.tmp_1.arg0 = s.hbox___39070; + s.callLocIdx = 886; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; @@ -33943,24 +31931,24 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___16670 = (r0); - s.col___16676 = (s.left___16652); + s.bottom___39091 = (r0); + s.col___39097 = (s.left___39073); case 1: - r0 = (s.col___16676 <= s.right___16658); + r0 = (s.col___39097 <= s.right___39079); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___16682 = (s.top___16664); + s.row___39103 = (s.top___39085); case 2: - r0 = (s.row___16682 <= s.bottom___16670); + r0 = (s.row___39103 <= s.bottom___39091); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P2756_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P25824_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___16676; - s.tmp_2.arg2 = s.row___16682; - s.callLocIdx = 925; s.pc = 12; return s.tmp_2; + s.tmp_2.arg1 = s.col___39097; + s.tmp_2.arg2 = s.row___39103; + s.callLocIdx = 889; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; @@ -33970,12 +31958,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___16682 + 1); - s.row___16682 = (r0); + r0 = (s.row___39103 + 1); + s.row___39103 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___16676 + 1); - s.col___16676 = (r0); + r0 = (s.col___39097 + 1); + s.col___39097 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -33983,24 +31971,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P2758.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__P25826.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__P2758_mk(s) { +function tiles_TileMap_isOnWall__P25826_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P2758, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P25826, 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___16649: undefined, - left___16652: undefined, - right___16658: undefined, - top___16664: undefined, - bottom___16670: undefined, - col___16676: undefined, - row___16682: undefined, + hbox___39070: undefined, + left___39073: undefined, + right___39079: undefined, + top___39085: undefined, + bottom___39091: undefined, + col___39097: undefined, + row___39103: undefined, arg0: undefined, arg1: undefined, } } @@ -34009,7 +31997,7 @@ function tiles_TileMap_isOnWall__P2758_mk(s) { -function MovingSprite_constructor__P2526(s) { +function MovingSprite_constructor__P25594(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34031,7 +32019,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C2525_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C25593_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -34043,12 +32031,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P2526.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__P25594.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__P2526_mk(s) { +function MovingSprite_constructor__P25594_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P2526, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P25594, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -34064,7 +32052,7 @@ function MovingSprite_constructor__P2526_mk(s) { -function ArcadePhysicsEngine_move__P2539(s) { +function ArcadePhysicsEngine_move__P25607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34074,81 +32062,81 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtMs___17619 = undefined; - s.dt2___17625 = undefined; - s.scene___17629 = undefined; - s.tileMap___17632 = undefined; - s.movingSprites___17635 = undefined; - s.MAX_STEP_COUNT___17666 = undefined; - s.overlapHandlers___17678 = undefined; - s.selected___17685 = undefined; - s.buffers___17686 = undefined; - s.count___17690 = undefined; - s.currMovers___17700 = undefined; - s.remainingMovers___17707 = undefined; - s.ms___17712 = undefined; - s.unnamed84___U13 = undefined; - s.unnamed85___U14 = undefined; - s.s___17714 = undefined; - s.stepX___17807 = undefined; - s.stepY___17821 = undefined; - s.bounce___17884 = undefined; + s.dtMs___40040 = undefined; + s.dt2___40046 = undefined; + s.scene___40050 = undefined; + s.tileMap___40053 = undefined; + s.movingSprites___40056 = undefined; + s.MAX_STEP_COUNT___40087 = undefined; + s.overlapHandlers___40099 = undefined; + s.selected___40106 = undefined; + s.buffers___40107 = undefined; + s.count___40111 = undefined; + s.currMovers___40121 = undefined; + s.remainingMovers___40128 = undefined; + s.ms___40133 = undefined; + s.unnamed192___U13 = undefined; + s.unnamed193___U14 = undefined; + s.s___40135 = undefined; + s.stepX___40228 = undefined; + s.stepY___40242 = undefined; + s.bounce___40305 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); - s.tmp_0 = Math_min__P131_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); + s.tmp_0 = Math_min__P23198_mk(s); s.tmp_0.arg0 = 100; r0 = (s.arg1 * 1000); s.tmp_0.arg1 = r0; - s.callLocIdx = 591; s.pc = 53; return s.tmp_0; + s.callLocIdx = 555; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.dtMs___17619 = (r0); - r0 = pxsim.Math_.idiv(s.dtMs___17619, 2); - s.dt2___17625 = (r0); - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 592; s.pc = 54; return s.tmp_0; + s.dtMs___40040 = (r0); + r0 = pxsim.Math_.idiv(s.dtMs___40040, 2); + s.dt2___40046 = (r0); + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 556; s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.scene___17629 = (r0); - r0 = s.scene___17629.fields["tileMap"]; - s.tileMap___17632 = (r0); - r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P17637); + s.scene___40050 = (r0); + r0 = s.scene___40050.fields["tileMap"]; + s.tileMap___40053 = (r0); + r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P40058); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___17619); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___17625); - s.tmp_1 = helpers_arrayMap__P106_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___40040); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___40046); + s.tmp_1 = helpers_arrayMap__P23173_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 594; s.pc = 55; return s.tmp_1; + s.callLocIdx = 558; s.pc = 55; return s.tmp_1; case 55: r0 = s.retval; - s.movingSprites___17635 = (r0); - s.tmp_0 = helpers_arrayForEach__P109_mk(s); + s.movingSprites___40056 = (r0); + s.tmp_0 = helpers_arrayForEach__P23176_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P17649; - s.callLocIdx = 598; s.pc = 56; return s.tmp_0; + s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P40070; + s.callLocIdx = 562; s.pc = 56; return s.tmp_0; case 56: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P2452_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P25520_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 599; s.pc = 57; return s.tmp_0; + s.callLocIdx = 563; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P2451_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P25519_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 600; s.pc = 58; return s.tmp_0; + s.callLocIdx = 564; s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; r0 = s.arg0.fields["maxVelocity"]; @@ -34159,41 +32147,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___17619); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtMs___40040); 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___17666 = (r0); - s.tmp_0 = helpers_arraySlice__P115_mk(s); - r0 = s.scene___17629.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___40087 = (r0); + s.tmp_0 = helpers_arraySlice__P23182_mk(s); + r0 = s.scene___40050.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 605; s.pc = 59; return s.tmp_0; + s.callLocIdx = 569; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.overlapHandlers___17678 = (r0); - s.selected___17685 = (0); + s.overlapHandlers___40099 = (r0); + s.selected___40106 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___17635); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___40056); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___17686 = (s.tmp_0); - s.count___17690 = (0); + s.buffers___40107 = (s.tmp_0); + s.count___40111 = (0); case 1: - r0 = (s.count___17690 < s.MAX_STEP_COUNT___17666); + r0 = (s.count___40111 < s.MAX_STEP_COUNT___40087); 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___17686, s.selected___17685); + r0 = pxsim_Array__getAt(s.buffers___40107, s.selected___40106); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -34203,43 +32191,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___17686, s.selected___17685); - s.currMovers___17700 = (r0); - r0 = (s.selected___17685 ^ 1); - s.selected___17685 = (r0); - r0 = pxsim_Array__getAt(s.buffers___17686, s.selected___17685); - s.remainingMovers___17707 = (r0); - s.ms___17712 = (undefined); - s.unnamed84___U13 = (s.currMovers___17700); - s.unnamed85___U14 = (0); + r0 = pxsim_Array__getAt(s.buffers___40107, s.selected___40106); + s.currMovers___40121 = (r0); + r0 = (s.selected___40106 ^ 1); + s.selected___40106 = (r0); + r0 = pxsim_Array__getAt(s.buffers___40107, s.selected___40106); + s.remainingMovers___40128 = (r0); + s.ms___40133 = (undefined); + s.unnamed192___U13 = (s.currMovers___40121); + s.unnamed193___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed85___U14; - r0 = pxsim_Array__length(s.unnamed84___U13); + s.tmp_0 = r0 = s.unnamed193___U14; + r0 = pxsim_Array__length(s.unnamed192___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 49; continue; } - r0 = pxsim_Array__getAt(s.unnamed84___U13, s.unnamed85___U14); - s.ms___17712 = (r0); - r0 = s.ms___17712.fields["sprite"]; - s.s___17714 = (r0); - r0 = s.ms___17712.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed192___U13, s.unnamed193___U14); + s.ms___40133 = (r0); + r0 = s.ms___40133.fields["sprite"]; + s.s___40135 = (r0); + r0 = s.ms___40133.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___17714.fields["_vx"]; + r0 = s.s___40135.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___17714.fields["_vx"]; + r0 = s.s___40135.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___17712).fields["dx"] = (0); + r0 = (s.ms___40133).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___17714.fields["_vx"]; + r0 = s.s___40135.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -34248,7 +32236,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___17712.fields["cachedVx"]; + r0 = s.ms___40133.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -34259,7 +32247,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___17714.fields["_vx"]; + r0 = s.s___40135.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -34268,7 +32256,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___17712.fields["cachedVx"]; + r0 = s.ms___40133.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -34280,14 +32268,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___17712; - r0 = s.ms___17712.fields["dx"]; + s.tmp_9 = r0 = s.ms___40133; + r0 = s.ms___40133.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___17712; - r0 = s.ms___17712.fields["xStep"]; + s.tmp_0 = r0 = s.ms___40133; + r0 = s.ms___40133.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -34295,29 +32283,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___17714.fields["_vx"]; + r0 = s.s___40135.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___17712).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___40133).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___17712.fields["cachedVy"]; + r0 = s.ms___40133.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___17714.fields["_vy"]; + r0 = s.s___40135.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___17714.fields["_vy"]; + r0 = s.s___40135.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___17712).fields["dy"] = (0); + r0 = (s.ms___40133).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___17714.fields["_vy"]; + r0 = s.s___40135.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -34326,7 +32314,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___17712.fields["cachedVy"]; + r0 = s.ms___40133.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -34337,7 +32325,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___17714.fields["_vy"]; + r0 = s.s___40135.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -34346,7 +32334,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___17712.fields["cachedVy"]; + r0 = s.ms___40133.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -34358,14 +32346,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___17712; - r0 = s.ms___17712.fields["dy"]; + s.tmp_9 = r0 = s.ms___40133; + r0 = s.ms___40133.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___17712; - r0 = s.ms___17712.fields["yStep"]; + s.tmp_0 = r0 = s.ms___40133; + r0 = s.ms___40133.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -34373,22 +32361,22 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___17714.fields["_vy"]; + r0 = s.s___40135.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___17712).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___40133).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___17712.fields["xStep"]; + s.tmp_2 = Fx_abs__P23232_mk(s); + r0 = s.ms___40133.fields["xStep"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 610; s.pc = 60; return s.tmp_2; + s.callLocIdx = 574; s.pc = 60; return s.tmp_2; case 60: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P165_mk(s); - r0 = s.ms___17712.fields["dx"]; + s.tmp_4 = Fx_abs__P23232_mk(s); + r0 = s.ms___40133.fields["dx"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 611; s.pc = 61; return s.tmp_4; + s.callLocIdx = 575; s.pc = 61; return s.tmp_4; case 61: r0 = s.retval; s.tmp_3 = r0; @@ -34396,25 +32384,25 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___17712.fields["dx"]; + r0 = s.ms___40133.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___17712.fields["xStep"]; + r0 = s.ms___40133.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___17807 = (s.tmp_5); - s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___17712.fields["yStep"]; + s.stepX___40228 = (s.tmp_5); + s.tmp_2 = Fx_abs__P23232_mk(s); + r0 = s.ms___40133.fields["yStep"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 612; s.pc = 62; return s.tmp_2; + s.callLocIdx = 576; s.pc = 62; return s.tmp_2; case 62: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P165_mk(s); - r0 = s.ms___17712.fields["dy"]; + s.tmp_4 = Fx_abs__P23232_mk(s); + r0 = s.ms___40133.fields["dy"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 613; s.pc = 63; return s.tmp_4; + s.callLocIdx = 577; s.pc = 63; return s.tmp_4; case 63: r0 = s.retval; s.tmp_3 = r0; @@ -34422,45 +32410,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___17712.fields["dy"]; + r0 = s.ms___40133.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___17712.fields["yStep"]; + r0 = s.ms___40133.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___17821 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___17712; - r0 = s.ms___17712.fields["dx"]; + s.stepY___40242 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___40133; + r0 = s.ms___40133.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___17807); + r0 = (s.tmp_2 - s.stepX___40228); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___17712; - r0 = s.ms___17712.fields["dy"]; + s.tmp_0 = r0 = s.ms___40133; + r0 = s.ms___40133.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___17821); + r0 = (s.tmp_2 - s.stepY___40242); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___17714.fields["_x"]; + r0 = s.s___40135.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___17714).fields["_lastX"] = (s.tmp_0); - r0 = s.s___17714.fields["_y"]; + r0 = (s.s___40135).fields["_lastX"] = (s.tmp_0); + r0 = s.s___40135.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___17714).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___17714; - r0 = s.s___17714.fields["_x"]; + r0 = (s.s___40135).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___40135; + r0 = s.s___40135.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___17807); + r0 = (s.tmp_2 + s.stepX___40228); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___17714; - r0 = s.s___17714.fields["_y"]; + s.tmp_0 = r0 = s.s___40135; + r0 = s.s___40135.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___17821); + r0 = (s.tmp_2 + s.stepY___40242); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___17714.fields["flags"]; + r0 = s.s___40135.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -34470,22 +32458,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__P2453_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P25521_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___17714; - s.callLocIdx = 618; s.pc = 64; return s.tmp_4; + s.tmp_4.arg1 = s.s___40135; + s.callLocIdx = 582; s.pc = 64; return s.tmp_4; case 64: r0 = s.retval; case 33: case 34: - s.tmp_0 = r0 = s.tileMap___17632; + s.tmp_0 = r0 = s.tileMap___40053; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 35; continue; } r0 = s.tmp_0; { step = 36; continue; } case 35: - r0 = s.tileMap___17632.fields["_map"]; + r0 = s.tileMap___40053.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -34499,20 +32487,20 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 37; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P4956_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P28029_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___17712; - s.tmp_6.arg2 = s.tileMap___17632; - s.callLocIdx = 620; s.pc = 65; return s.tmp_6; + s.tmp_6.arg1 = s.ms___40133; + s.tmp_6.arg2 = s.tileMap___40053; + s.callLocIdx = 584; s.pc = 65; return s.tmp_6; case 65: r0 = s.retval; case 37: case 38: - r0 = s.s___17714.fields["flags"]; + r0 = s.s___40135.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___17884 = (r0); - r0 = s.s___17714.fields["flags"]; + s.bounce___40305 = (r0); + r0 = s.s___40135.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); s.tmp_0 = r0; @@ -34521,13 +32509,13 @@ switch (step) { r0 = s.tmp_0; { step = 42; continue; } case 39: - s.tmp_2 = r0 = s.bounce___17884; + s.tmp_2 = r0 = s.bounce___40305; 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___17632); + r0 = pxsim_numops_toBoolDecr(s.tileMap___40053); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 41: @@ -34539,81 +32527,81 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 43; continue; } - s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P4955_mk(s); + s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P28028_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___17712; - s.tmp_6.arg2 = s.bounce___17884; - r0 = s.scene___17629.fields["camera"]; + s.tmp_6.arg1 = s.ms___40133; + s.tmp_6.arg2 = s.bounce___40305; + r0 = s.scene___40050.fields["camera"]; s.tmp_6.arg3 = r0; - s.callLocIdx = 621; s.pc = 66; return s.tmp_6; + s.callLocIdx = 585; s.pc = 66; return s.tmp_6; case 66: r0 = s.retval; case 43: case 44: - s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___17712.fields["dx"]; + s.tmp_2 = Fx_abs__P23232_mk(s); + r0 = s.ms___40133.fields["dx"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 622; s.pc = 67; return s.tmp_2; + s.callLocIdx = 586; s.pc = 67; return s.tmp_2; case 67: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___2521); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___25589); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 45; continue; } r0 = s.tmp_0; { step = 46; continue; } case 45: - s.tmp_4 = Fx_abs__P165_mk(s); - r0 = s.ms___17712.fields["dy"]; + s.tmp_4 = Fx_abs__P23232_mk(s); + r0 = s.ms___40133.fields["dy"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 623; s.pc = 68; return s.tmp_4; + s.callLocIdx = 587; s.pc = 68; return s.tmp_4; case 68: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___2521); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___25589); 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___17707, s.ms___17712); + r0 = pxsim_Array__push(s.remainingMovers___40128, s.ms___40133); case 47: case 48: - r0 = (s.unnamed85___U14 + 1); - s.unnamed85___U14 = (r0); + r0 = (s.unnamed193___U14 + 1); + s.unnamed193___U14 = (r0); { step = 4; continue; } case 49: - s.unnamed84___U13 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P4954_mk(s); + s.unnamed192___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P28027_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___17700; - s.tmp_0.arg2 = s.overlapHandlers___17678; - s.callLocIdx = 624; s.pc = 69; return s.tmp_0; + s.tmp_0.arg1 = s.currMovers___40121; + s.tmp_0.arg2 = s.overlapHandlers___40099; + s.callLocIdx = 588; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; case 50: - r0 = pxsim_Array__length(s.currMovers___17700); + r0 = pxsim_Array__length(s.currMovers___40121); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 51; continue; } - r0 = pxsim_Array_.pop(s.currMovers___17700); + r0 = pxsim_Array_.pop(s.currMovers___40121); { step = 50; continue; } case 51: - r0 = (s.count___17690 + 1); - s.count___17690 = (r0); + r0 = (s.count___40111 + 1); + s.count___40111 = (r0); { step = 1; continue; } case 52: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P2539.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__P25607.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__P2539_mk(s) { +function ArcadePhysicsEngine_move__P25607_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P2539, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P25607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34627,25 +32615,25 @@ function ArcadePhysicsEngine_move__P2539_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtMs___17619: undefined, - dt2___17625: undefined, - scene___17629: undefined, - tileMap___17632: undefined, - movingSprites___17635: undefined, - MAX_STEP_COUNT___17666: undefined, - overlapHandlers___17678: undefined, - selected___17685: undefined, - buffers___17686: undefined, - count___17690: undefined, - currMovers___17700: undefined, - remainingMovers___17707: undefined, - ms___17712: undefined, - unnamed84___U13: undefined, - unnamed85___U14: undefined, - s___17714: undefined, - stepX___17807: undefined, - stepY___17821: undefined, - bounce___17884: undefined, + dtMs___40040: undefined, + dt2___40046: undefined, + scene___40050: undefined, + tileMap___40053: undefined, + movingSprites___40056: undefined, + MAX_STEP_COUNT___40087: undefined, + overlapHandlers___40099: undefined, + selected___40106: undefined, + buffers___40107: undefined, + count___40111: undefined, + currMovers___40121: undefined, + remainingMovers___40128: undefined, + ms___40133: undefined, + unnamed192___U13: undefined, + unnamed193___U14: undefined, + s___40135: undefined, + stepX___40228: undefined, + stepY___40242: undefined, + bounce___40305: undefined, arg0: undefined, arg1: undefined, } } @@ -34654,7 +32642,7 @@ function ArcadePhysicsEngine_move__P2539_mk(s) { -function movingSprites_inline__P17637(s) { +function movingSprites_inline__P40058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34668,23 +32656,23 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P4953_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P28026_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; s.tmp_0.arg3 = s.caps[2]; - s.callLocIdx = 593; s.pc = 1; return s.tmp_0; + s.callLocIdx = 557; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -movingSprites_inline__P17637.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__P40058.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__P17637_mk(s) { +function movingSprites_inline__P40058_mk(s) { checkStack(s.depth); return { - parent: s, fn: movingSprites_inline__P17637, depth: s.depth + 1, + parent: s, fn: movingSprites_inline__P40058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34694,7 +32682,7 @@ function movingSprites_inline__P17637_mk(s) { -function ArcadePhysicsEngine_move_inline__P17649(s) { +function ArcadePhysicsEngine_move_inline__P40070(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34708,9 +32696,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P2358_mk(s); + s.tmp_1 = Sprite_vx__P25426_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 595; s.pc = 5; return s.tmp_1; + s.callLocIdx = 559; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0 = r0; @@ -34719,9 +32707,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P2360_mk(s); + s.tmp_2 = Sprite_vy__P25428_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 596; s.pc = 6; return s.tmp_2; + s.callLocIdx = 560; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; case 2: @@ -34729,9 +32717,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P2425_mk(s); + s.tmp_4 = Sprite_clearObstacles__P25493_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 597; s.pc = 7; return s.tmp_4; + s.callLocIdx = 561; s.pc = 7; return s.tmp_4; case 7: r0 = s.retval; case 3: @@ -34740,12 +32728,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move_inline__P17649.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__P40070.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__P17649_mk(s) { +function ArcadePhysicsEngine_move_inline__P40070_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move_inline__P17649, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move_inline__P40070, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34759,7 +32747,7 @@ function ArcadePhysicsEngine_move_inline__P17649_mk(s) { -function ArcadePhysicsEngine_screenEdgeCollisions__P4955(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P28028(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34769,8 +32757,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___18467 = undefined; - s.offset___18482 = undefined; + s.s___40888 = undefined; + s.offset___40903 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34779,10 +32767,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___18467 = (r0); - r0 = s.s___18467.fields["_image"]; + s.s___40888 = (r0); + r0 = s.s___40888.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -34792,18 +32780,18 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite__C2341_v4_1_mk(s); - s.tmp_4.arg0 = s.s___18467; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C2341_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = Sprite__C25409_v4_1_mk(s); + s.tmp_4.arg0 = s.s___40888; + if (!checkSubtype(s.tmp_4.arg0, Sprite__C25409_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__P2797_mk(s); + s.tmp_3 = scene_Camera_isUpdated__P25865_mk(s); s.tmp_3.arg0 = s.arg3; - s.callLocIdx = 669; s.pc = 22; return s.tmp_3; + s.callLocIdx = 633; s.pc = 22; return s.tmp_3; case 22: r0 = s.retval; s.tmp_2 = r0; @@ -34813,17 +32801,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = scene_Camera_update__P2798_mk(s); + s.tmp_4 = scene_Camera_update__P25866_mk(s); s.tmp_4.arg0 = s.arg3; - s.callLocIdx = 670; s.pc = 23; return s.tmp_4; + s.callLocIdx = 634; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; case 3: case 4: - s.tmp_2 = game_Hitbox_left__P2216_mk(s); - r0 = s.s___18467.fields["_hitbox"]; + s.tmp_2 = game_Hitbox_left__P25284_mk(s); + r0 = s.s___40888.fields["_hitbox"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 671; s.pc = 24; return s.tmp_2; + s.callLocIdx = 635; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; s.tmp_1 = r0; @@ -34832,48 +32820,48 @@ switch (step) { r0 = s.arg3.fields["_offsetX"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); - s.offset___18482 = (r0); - r0 = (s.offset___18482 < 0); + s.offset___40903 = (r0); + r0 = (s.offset___40903 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = Sprite_left__P2400_mk(s); - s.tmp_2 = r0 = s.s___18467; + s.tmp_1 = Sprite_left__P25468_mk(s); + s.tmp_2 = r0 = s.s___40888; s.tmp_1.arg0 = r0; - s.tmp_4 = Sprite_left__P2399_mk(s); + s.tmp_4 = Sprite_left__P25467_mk(s); s.tmp_4.arg0 = s.tmp_2; - s.callLocIdx = 674; s.pc = 26; return s.tmp_4; + s.callLocIdx = 638; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 - s.offset___18482); + r0 = (s.tmp_3 - s.offset___40903); s.tmp_1.arg1 = r0; - s.callLocIdx = 675; s.pc = 25; return s.tmp_1; + s.callLocIdx = 639; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 5; continue; } - s.tmp_0 = Sprite_vx__P2359_mk(s); - s.tmp_0.arg0 = s.s___18467; - s.tmp_2 = Sprite_vx__P2358_mk(s); - s.tmp_2.arg0 = s.s___18467; - s.callLocIdx = 676; s.pc = 28; return s.tmp_2; + s.tmp_0 = Sprite_vx__P25427_mk(s); + s.tmp_0.arg0 = s.s___40888; + s.tmp_2 = Sprite_vx__P25426_mk(s); + s.tmp_2.arg0 = s.s___40888; + s.callLocIdx = 640; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 677; s.pc = 27; return s.tmp_0; + s.callLocIdx = 641; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; case 5: case 6: { step = 12; continue; } case 7: - s.tmp_4 = game_Hitbox_right__P2218_mk(s); - r0 = s.s___18467.fields["_hitbox"]; + s.tmp_4 = game_Hitbox_right__P25286_mk(s); + r0 = s.s___40888.fields["_hitbox"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 678; s.pc = 29; return s.tmp_4; + s.callLocIdx = 642; s.pc = 29; return s.tmp_4; case 29: r0 = s.retval; s.tmp_3 = r0; @@ -34883,42 +32871,42 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2032); + r0 = pxsim_ImageMethods.width(globals.screen___25100); s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___18482 = (r0); + s.offset___40903 = (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__P2402_mk(s); - s.tmp_9 = r0 = s.s___18467; + s.tmp_8 = Sprite_right__P25470_mk(s); + s.tmp_9 = r0 = s.s___40888; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_right__P2401_mk(s); + s.tmp_11 = Sprite_right__P25469_mk(s); s.tmp_11.arg0 = s.tmp_9; - s.callLocIdx = 681; s.pc = 31; return s.tmp_11; + s.callLocIdx = 645; s.pc = 31; return s.tmp_11; case 31: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___18482); + r0 = (s.tmp_10 - s.offset___40903); s.tmp_8.arg1 = r0; - s.callLocIdx = 682; s.pc = 30; return s.tmp_8; + s.callLocIdx = 646; s.pc = 30; return s.tmp_8; case 30: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 8; continue; } - s.tmp_0 = Sprite_vx__P2359_mk(s); - s.tmp_0.arg0 = s.s___18467; - s.tmp_2 = Sprite_vx__P2358_mk(s); - s.tmp_2.arg0 = s.s___18467; - s.callLocIdx = 683; s.pc = 33; return s.tmp_2; + s.tmp_0 = Sprite_vx__P25427_mk(s); + s.tmp_0.arg0 = s.s___40888; + s.tmp_2 = Sprite_vx__P25426_mk(s); + s.tmp_2.arg0 = s.s___40888; + s.callLocIdx = 647; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 684; s.pc = 32; return s.tmp_0; + s.callLocIdx = 648; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; case 8: @@ -34926,10 +32914,10 @@ switch (step) { case 10: case 11: case 12: - s.tmp_3 = game_Hitbox_top__P2217_mk(s); - r0 = s.s___18467.fields["_hitbox"]; + s.tmp_3 = game_Hitbox_top__P25285_mk(s); + r0 = s.s___40888.fields["_hitbox"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 685; s.pc = 34; return s.tmp_3; + s.callLocIdx = 649; s.pc = 34; return s.tmp_3; case 34: r0 = s.retval; s.tmp_2 = r0; @@ -34939,48 +32927,48 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_1 - s.tmp_4); s.tmp_0 = r0; - s.offset___18482 = (r0); + s.offset___40903 = (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__P2404_mk(s); - s.tmp_7 = r0 = s.s___18467; + s.tmp_6 = Sprite_top__P25472_mk(s); + s.tmp_7 = r0 = s.s___40888; s.tmp_6.arg0 = r0; - s.tmp_9 = Sprite_top__P2403_mk(s); + s.tmp_9 = Sprite_top__P25471_mk(s); s.tmp_9.arg0 = s.tmp_7; - s.callLocIdx = 688; s.pc = 36; return s.tmp_9; + s.callLocIdx = 652; s.pc = 36; return s.tmp_9; case 36: r0 = s.retval; s.tmp_8 = r0; - r0 = (s.tmp_8 - s.offset___18482); + r0 = (s.tmp_8 - s.offset___40903); s.tmp_6.arg1 = r0; - s.callLocIdx = 689; s.pc = 35; return s.tmp_6; + s.callLocIdx = 653; s.pc = 35; return s.tmp_6; case 35: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vy__P2361_mk(s); - s.tmp_0.arg0 = s.s___18467; - s.tmp_2 = Sprite_vy__P2360_mk(s); - s.tmp_2.arg0 = s.s___18467; - s.callLocIdx = 690; s.pc = 38; return s.tmp_2; + s.tmp_0 = Sprite_vy__P25429_mk(s); + s.tmp_0.arg0 = s.s___40888; + s.tmp_2 = Sprite_vy__P25428_mk(s); + s.tmp_2.arg0 = s.s___40888; + s.callLocIdx = 654; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 691; s.pc = 37; return s.tmp_0; + s.callLocIdx = 655; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; case 13: case 14: { step = 20; continue; } case 15: - s.tmp_4 = game_Hitbox_bottom__P2219_mk(s); - r0 = s.s___18467.fields["_hitbox"]; + s.tmp_4 = game_Hitbox_bottom__P25287_mk(s); + r0 = s.s___40888.fields["_hitbox"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 692; s.pc = 39; return s.tmp_4; + s.callLocIdx = 656; s.pc = 39; return s.tmp_4; case 39: r0 = s.retval; s.tmp_3 = r0; @@ -34990,42 +32978,42 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___2032); + r0 = pxsim_ImageMethods.height(globals.screen___25100); s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___18482 = (r0); + s.offset___40903 = (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__P2406_mk(s); - s.tmp_9 = r0 = s.s___18467; + s.tmp_8 = Sprite_bottom__P25474_mk(s); + s.tmp_9 = r0 = s.s___40888; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_bottom__P2405_mk(s); + s.tmp_11 = Sprite_bottom__P25473_mk(s); s.tmp_11.arg0 = s.tmp_9; - s.callLocIdx = 695; s.pc = 41; return s.tmp_11; + s.callLocIdx = 659; s.pc = 41; return s.tmp_11; case 41: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___18482); + r0 = (s.tmp_10 - s.offset___40903); s.tmp_8.arg1 = r0; - s.callLocIdx = 696; s.pc = 40; return s.tmp_8; + s.callLocIdx = 660; s.pc = 40; return s.tmp_8; case 40: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vy__P2361_mk(s); - s.tmp_0.arg0 = s.s___18467; - s.tmp_2 = Sprite_vy__P2360_mk(s); - s.tmp_2.arg0 = s.s___18467; - s.callLocIdx = 697; s.pc = 43; return s.tmp_2; + s.tmp_0 = Sprite_vy__P25429_mk(s); + s.tmp_0.arg0 = s.s___40888; + s.tmp_2 = Sprite_vy__P25428_mk(s); + s.tmp_2.arg0 = s.s___40888; + s.callLocIdx = 661; s.pc = 43; return s.tmp_2; case 43: r0 = s.retval; s.tmp_1 = r0; r0 = (0 - s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 698; s.pc = 42; return s.tmp_0; + s.callLocIdx = 662; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; case 16: @@ -35037,12 +33025,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_screenEdgeCollisions__P4955.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__P28028.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__P4955_mk(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P28028_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P4955, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P28028, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35056,8 +33044,8 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P4955_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - s___18467: undefined, - offset___18482: undefined, + s___40888: undefined, + offset___40903: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35068,7 +33056,7 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P4955_mk(s) { -function scene_Camera_isUpdated__P2797(s) { +function scene_Camera_isUpdated__P25865(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35083,7 +33071,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2781_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); r0 = s.arg0.fields["sprite"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -35095,10 +33083,10 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 1: - s.tmp_5 = Sprite_x__P2354_mk(s); + s.tmp_5 = Sprite_x__P25422_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_5.arg0 = r0; - s.callLocIdx = 941; s.pc = 5; return s.tmp_5; + s.callLocIdx = 905; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; s.tmp_4 = r0; @@ -35111,10 +33099,10 @@ switch (step) { r0 = s.tmp_3; { step = 3; continue; } case 2: - s.tmp_8 = Sprite_y__P2356_mk(s); + s.tmp_8 = Sprite_y__P25424_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_8.arg0 = r0; - s.callLocIdx = 942; s.pc = 6; return s.tmp_8; + s.callLocIdx = 906; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; s.tmp_7 = r0; @@ -35132,12 +33120,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_isUpdated__P2797.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__P25865.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__P2797_mk(s) { +function scene_Camera_isUpdated__P25865_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_isUpdated__P2797, depth: s.depth + 1, + parent: s, fn: scene_Camera_isUpdated__P25865, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35158,7 +33146,7 @@ function scene_Camera_isUpdated__P2797_mk(s) { -function Sprite_bottom__P2406(s) { +function Sprite_bottom__P25474(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35174,31 +33162,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P2404_mk(s); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P25472_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Sprite_height__P2398_mk(s); + s.tmp_3 = Sprite_height__P25466_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 403; s.pc = 2; return s.tmp_3; + s.callLocIdx = 367; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 404; s.pc = 1; return s.tmp_0; + s.callLocIdx = 368; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_bottom__P2406.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__P25474.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__P2406_mk(s) { +function Sprite_bottom__P25474_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P2406, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P25474, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35212,7 +33200,7 @@ function Sprite_bottom__P2406_mk(s) { -function Sprite_bottom__P2405(s) { +function Sprite_bottom__P25473(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35227,16 +33215,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P2403_mk(s); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P25471_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 401; s.pc = 1; return s.tmp_1; + s.callLocIdx = 365; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_height__P2398_mk(s); + s.tmp_3 = Sprite_height__P25466_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 402; s.pc = 2; return s.tmp_3; + s.callLocIdx = 366; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; @@ -35244,13 +33232,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P2405.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__P2405.isGetter = true; +Sprite_bottom__P25473.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__P25473.isGetter = true; -function Sprite_bottom__P2405_mk(s) { +function Sprite_bottom__P25473_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P2405, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P25473, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35263,7 +33251,7 @@ function Sprite_bottom__P2405_mk(s) { -function Sprite_right__P2402(s) { +function Sprite_right__P25470(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35279,31 +33267,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P2400_mk(s); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P25468_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Sprite_width__P2397_mk(s); + s.tmp_3 = Sprite_width__P25465_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 395; s.pc = 2; return s.tmp_3; + s.callLocIdx = 359; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 396; s.pc = 1; return s.tmp_0; + s.callLocIdx = 360; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_right__P2402.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__P25470.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__P2402_mk(s) { +function Sprite_right__P25470_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P2402, depth: s.depth + 1, + parent: s, fn: Sprite_right__P25470, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35317,7 +33305,7 @@ function Sprite_right__P2402_mk(s) { -function Sprite_right__P2401(s) { +function Sprite_right__P25469(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35332,16 +33320,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P2399_mk(s); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P25467_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 393; s.pc = 1; return s.tmp_1; + s.callLocIdx = 357; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_width__P2397_mk(s); + s.tmp_3 = Sprite_width__P25465_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 394; s.pc = 2; return s.tmp_3; + s.callLocIdx = 358; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; @@ -35349,13 +33337,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P2401.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__P2401.isGetter = true; +Sprite_right__P25469.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__P25469.isGetter = true; -function Sprite_right__P2401_mk(s) { +function Sprite_right__P25469_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P2401, depth: s.depth + 1, + parent: s, fn: Sprite_right__P25469, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35368,7 +33356,7 @@ function Sprite_right__P2401_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P4954(s) { +function ArcadePhysicsEngine_spriteCollisions__P28027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35378,18 +33366,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___17941 = undefined; - s.unnamed86___U1 = undefined; - s.unnamed87___U2 = undefined; - s.sprite___17943 = undefined; - s.overSprites___17950 = undefined; - s.overlapper___17958 = undefined; - s.unnamed88___U6 = undefined; - s.unnamed89___U7 = undefined; - s.thisKind___17964 = undefined; - s.otherKind___17968 = undefined; - s.higher___17981 = undefined; - s.lower___17990 = undefined; + s.ms___40362 = undefined; + s.unnamed194___U1 = undefined; + s.unnamed195___U2 = undefined; + s.sprite___40364 = undefined; + s.overSprites___40371 = undefined; + s.overlapper___40379 = undefined; + s.unnamed196___U6 = undefined; + s.unnamed197___U7 = undefined; + s.thisKind___40385 = undefined; + s.otherKind___40389 = undefined; + s.higher___40402 = undefined; + s.lower___40411 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35397,7 +33385,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -35409,20 +33397,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___17941 = (undefined); - s.unnamed86___U1 = (s.arg1); - s.unnamed87___U2 = (0); + s.ms___40362 = (undefined); + s.unnamed194___U1 = (s.arg1); + s.unnamed195___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed87___U2; - r0 = pxsim_Array__length(s.unnamed86___U1); + s.tmp_0 = r0 = s.unnamed195___U2; + r0 = pxsim_Array__length(s.unnamed194___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed86___U1, s.unnamed87___U2); - s.ms___17941 = (r0); - r0 = s.ms___17941.fields["sprite"]; - s.sprite___17943 = (r0); - r0 = s.sprite___17943.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed194___U1, s.unnamed195___U2); + s.ms___40362 = (r0); + r0 = s.ms___40362.fields["sprite"]; + s.sprite___40364 = (r0); + r0 = s.sprite___40364.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4610); s.tmp_0 = r0; @@ -35431,27 +33419,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P2449_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P25517_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___17941.fields["sprite"]; + r0 = s.ms___40362.fields["sprite"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 662; s.pc = 22; return s.tmp_2; + s.callLocIdx = 626; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___17950 = (r0); - s.overlapper___17958 = (undefined); - s.unnamed88___U6 = (s.overSprites___17950); - s.unnamed89___U7 = (0); + s.overSprites___40371 = (r0); + s.overlapper___40379 = (undefined); + s.unnamed196___U6 = (s.overSprites___40371); + s.unnamed197___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed89___U7; - r0 = pxsim_Array__length(s.unnamed88___U6); + s.tmp_0 = r0 = s.unnamed197___U7; + r0 = pxsim_Array__length(s.unnamed196___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed88___U6, s.unnamed89___U7); - s.overlapper___17958 = (r0); - r0 = s.overlapper___17958.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed196___U6, s.unnamed197___U7); + s.overlapper___40379 = (r0); + r0 = s.overlapper___40379.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -35460,13 +33448,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___17943.fields["_kind"]; - s.thisKind___17964 = (r0); - r0 = s.overlapper___17958.fields["_kind"]; - s.otherKind___17968 = (r0); - r0 = s.sprite___17943.fields["_kindsOverlappedWith"]; + r0 = s.sprite___40364.fields["_kind"]; + s.thisKind___40385 = (r0); + r0 = s.overlapper___40379.fields["_kind"]; + s.otherKind___40389 = (r0); + r0 = s.sprite___40364.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___17968, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___40389, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -35475,37 +33463,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___17943.fields["id"]; + r0 = s.sprite___40364.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___17958.fields["id"]; + r0 = s.overlapper___40379.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___17943; + r0 = s.sprite___40364; { step = 12; continue; } case 11: - r0 = s.overlapper___17958; + r0 = s.overlapper___40379; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___17981 = (s.tmp_6); - r0 = (s.higher___17981 === s.sprite___17943); + s.higher___40402 = (s.tmp_6); + r0 = (s.higher___40402 === s.sprite___40364); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___17958; + r0 = s.overlapper___40379; { step = 14; continue; } case 13: - r0 = s.sprite___17943; + r0 = s.sprite___40364; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___17990 = (s.tmp_1); - r0 = s.higher___17981.fields["_overlappers"]; + s.lower___40411 = (s.tmp_1); + r0 = s.higher___40402.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___17990.fields["id"]; + r0 = s.lower___40411.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -35513,54 +33501,54 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P18010); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P40431); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___17964); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___17968); - r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P18034); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___40385); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___40389); + r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P40455); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___17981); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___17990); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___17943); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___17958); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___17964); - s.tmp_6 = helpers_arrayForEach__P109_mk(s); - s.tmp_7 = helpers_arrayFilter__P110_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___40402); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___40411); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___40364); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___40379); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___40385); + s.tmp_6 = helpers_arrayForEach__P23176_mk(s); + s.tmp_7 = helpers_arrayFilter__P23177_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; - s.callLocIdx = 665; s.pc = 24; return s.tmp_7; + s.callLocIdx = 629; s.pc = 24; return s.tmp_7; case 24: r0 = s.retval; s.tmp_6.arg0 = r0; s.tmp_6.arg1 = s.tmp_5; - s.callLocIdx = 667; s.pc = 23; return s.tmp_6; + s.callLocIdx = 631; s.pc = 23; return s.tmp_6; case 23: r0 = s.retval; case 15: case 16: case 17: - r0 = (s.unnamed89___U7 + 1); - s.unnamed89___U7 = (r0); + r0 = (s.unnamed197___U7 + 1); + s.unnamed197___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed88___U6 = (undefined); + s.unnamed196___U6 = (undefined); case 19: - r0 = (s.unnamed87___U2 + 1); - s.unnamed87___U2 = (r0); + r0 = (s.unnamed195___U2 + 1); + s.unnamed195___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed86___U1 = (undefined); + s.unnamed194___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P4954.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__P28027.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__P4954_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P28027_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P4954, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P28027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35570,18 +33558,18 @@ function ArcadePhysicsEngine_spriteCollisions__P4954_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___17941: undefined, - unnamed86___U1: undefined, - unnamed87___U2: undefined, - sprite___17943: undefined, - overSprites___17950: undefined, - overlapper___17958: undefined, - unnamed88___U6: undefined, - unnamed89___U7: undefined, - thisKind___17964: undefined, - otherKind___17968: undefined, - higher___17981: undefined, - lower___17990: undefined, + ms___40362: undefined, + unnamed194___U1: undefined, + unnamed195___U2: undefined, + sprite___40364: undefined, + overSprites___40371: undefined, + overlapper___40379: undefined, + unnamed196___U6: undefined, + unnamed197___U7: undefined, + thisKind___40385: undefined, + otherKind___40389: undefined, + higher___40402: undefined, + lower___40411: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35591,7 +33579,7 @@ function ArcadePhysicsEngine_spriteCollisions__P4954_mk(s) { -function forEach_inline__P18010(s) { +function forEach_inline__P40431(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35648,12 +33636,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P18010.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__P40431.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__P18010_mk(s) { +function forEach_inline__P40431_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P18010, depth: s.depth + 1, + parent: s, fn: forEach_inline__P40431, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35671,7 +33659,7 @@ function forEach_inline__P18010_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P18034(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P40455(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35690,7 +33678,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__P18044); + r0 = pxsim_pxtcore_mkAction(6, ArcadePhysicsEngine_spriteCollisions_inline__P40465); 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]); @@ -35703,12 +33691,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P18034.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__P40455.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__P18034_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P40455_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P18034, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P40455, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35719,7 +33707,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P18034_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P18044(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P40465(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35775,12 +33763,12 @@ switch (step) { s.tmp_12.arg2 = s.tmp_11; if (!s.tmp_12.arg0.vtable.iface) { setupLambda(s.tmp_12, pxsim_pxtrt.mapGetByString(s.tmp_12.arg0, "handler"), 3); - s.callLocIdx = 666; s.pc = 7; return s.tmp_12; + s.callLocIdx = 630; s.pc = 7; return s.tmp_12; } else { s.tmp_12.fn = s.tmp_12.arg0.vtable.iface["handler"]; - if (s.tmp_12.fn == null) { setupLambda(s.tmp_12, s.tmp_12.arg0.fields["handler"], 3); s.callLocIdx = 666; s.pc = 7; return s.tmp_12; } - else if (s.tmp_12.fn.isGetter) { s.tmp_12.stage2Call = true; s.callLocIdx = 666; s.pc = 7; return s.tmp_12;; } - else { s.callLocIdx = 666; s.pc = 7; return s.tmp_12; } + if (s.tmp_12.fn == null) { setupLambda(s.tmp_12, s.tmp_12.arg0.fields["handler"], 3); s.callLocIdx = 630; s.pc = 7; return s.tmp_12; } + else if (s.tmp_12.fn.isGetter) { s.tmp_12.stage2Call = true; s.callLocIdx = 630; s.pc = 7; return s.tmp_12;; } + else { s.callLocIdx = 630; s.pc = 7; return s.tmp_12; } } case 7: r0 = s.retval; @@ -35795,12 +33783,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P18044.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__P40465.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__P18044_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P40465_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P18044, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P40465, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35821,7 +33809,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P18044_mk(s) { -function sprites_SpriteMap_overlaps__P2449(s) { +function sprites_SpriteMap_overlaps__P25517(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35831,47 +33819,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___18078 = undefined; - s.o___18082 = undefined; + s.n___40499 = undefined; + s.o___40503 = 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__C2446_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P2448_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C25514_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P25516_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 539; s.pc = 1; return s.tmp_0; + s.callLocIdx = 503; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___18078 = (r0); - r0 = pxsim_pxtcore_mkAction(1, o_inline__P18084); + s.n___40499 = (r0); + r0 = pxsim_pxtcore_mkAction(1, o_inline__P40505); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P110_mk(s); - s.tmp_1.arg0 = s.n___18078; + s.tmp_1 = helpers_arrayFilter__P23177_mk(s); + s.tmp_1.arg0 = s.n___40499; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 541; s.pc = 2; return s.tmp_1; + s.callLocIdx = 505; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___18082 = (r0); - r0 = s.o___18082; + s.o___40503 = (r0); + r0 = s.o___40503; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P2449.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__P25517.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__P2449_mk(s) { +function sprites_SpriteMap_overlaps__P25517_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P2449, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P25517, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___18078: undefined, - o___18082: undefined, + n___40499: undefined, + o___40503: undefined, arg0: undefined, arg1: undefined, } } @@ -35880,7 +33868,7 @@ function sprites_SpriteMap_overlaps__P2449_mk(s) { -function o_inline__P18084(s) { +function o_inline__P40505(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35894,21 +33882,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P2420_mk(s); + s.tmp_0 = Sprite_overlapsWith__P25488_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 540; s.pc = 1; return s.tmp_0; + s.callLocIdx = 504; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -o_inline__P18084.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__P40505.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__P18084_mk(s) { +function o_inline__P40505_mk(s) { checkStack(s.depth); return { - parent: s, fn: o_inline__P18084, depth: s.depth + 1, + parent: s, fn: o_inline__P40505, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35918,7 +33906,7 @@ function o_inline__P18084_mk(s) { -function sprites_SpriteMap_neighbors__P2448(s) { +function sprites_SpriteMap_neighbors__P25516(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35928,112 +33916,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___18349 = undefined; - s.layer___18351 = undefined; + s.n___40770 = undefined; + s.layer___40772 = 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__C2446_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C25514_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___18349 = (r0); + s.n___40770 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___18351 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4918_mk(s); + s.layer___40772 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P27991_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P2399_mk(s); + s.tmp_1 = Sprite_left__P25467_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 527; s.pc = 2; return s.tmp_1; + s.callLocIdx = 491; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P2403_mk(s); + s.tmp_2 = Sprite_top__P25471_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 528; s.pc = 3; return s.tmp_2; + s.callLocIdx = 492; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18351; - s.tmp_0.arg4 = s.n___18349; - s.callLocIdx = 529; s.pc = 1; return s.tmp_0; + s.tmp_0.arg3 = s.layer___40772; + s.tmp_0.arg4 = s.n___40770; + s.callLocIdx = 493; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4918_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P27991_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P2399_mk(s); + s.tmp_1 = Sprite_left__P25467_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 530; s.pc = 5; return s.tmp_1; + s.callLocIdx = 494; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P2405_mk(s); + s.tmp_2 = Sprite_bottom__P25473_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 531; s.pc = 6; return s.tmp_2; + s.callLocIdx = 495; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18351; - s.tmp_0.arg4 = s.n___18349; - s.callLocIdx = 532; s.pc = 4; return s.tmp_0; + s.tmp_0.arg3 = s.layer___40772; + s.tmp_0.arg4 = s.n___40770; + s.callLocIdx = 496; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4918_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P27991_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P2401_mk(s); + s.tmp_1 = Sprite_right__P25469_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 533; s.pc = 8; return s.tmp_1; + s.callLocIdx = 497; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P2403_mk(s); + s.tmp_2 = Sprite_top__P25471_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 534; s.pc = 9; return s.tmp_2; + s.callLocIdx = 498; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18351; - s.tmp_0.arg4 = s.n___18349; - s.callLocIdx = 535; s.pc = 7; return s.tmp_0; + s.tmp_0.arg3 = s.layer___40772; + s.tmp_0.arg4 = s.n___40770; + s.callLocIdx = 499; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4918_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P27991_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P2401_mk(s); + s.tmp_1 = Sprite_right__P25469_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 536; s.pc = 11; return s.tmp_1; + s.callLocIdx = 500; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P2405_mk(s); + s.tmp_2 = Sprite_bottom__P25473_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 537; s.pc = 12; return s.tmp_2; + s.callLocIdx = 501; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___18351; - s.tmp_0.arg4 = s.n___18349; - s.callLocIdx = 538; s.pc = 10; return s.tmp_0; + s.tmp_0.arg3 = s.layer___40772; + s.tmp_0.arg4 = s.n___40770; + s.callLocIdx = 502; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___18349, s.arg1); - r0 = s.n___18349; + r0 = pxsim_Array_.removeElement(s.n___40770, s.arg1); + r0 = s.n___40770; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P2448.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__P25516.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__P2448_mk(s) { +function sprites_SpriteMap_neighbors__P25516_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P2448, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P25516, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___18349: undefined, - layer___18351: undefined, + n___40770: undefined, + layer___40772: undefined, arg0: undefined, arg1: undefined, } } @@ -36042,7 +34030,7 @@ function sprites_SpriteMap_neighbors__P2448_mk(s) { -function sprites_SpriteMap_mergeAtKey__P4918(s) { +function sprites_SpriteMap_mergeAtKey__P27991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36052,11 +34040,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___18400 = undefined; - s.bucket___18405 = undefined; - s.sprite___18412 = undefined; - s.unnamed82___U3 = undefined; - s.unnamed83___U4 = undefined; + s.k___40821 = undefined; + s.bucket___40826 = undefined; + s.sprite___40833 = undefined; + s.unnamed190___U3 = undefined; + s.unnamed191___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36066,33 +34054,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2446_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P4916_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C25514_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P27989_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 565; s.pc = 9; return s.tmp_0; + s.callLocIdx = 529; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___18400 = (r0); + s.k___40821 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___18400); - s.bucket___18405 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___18405); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___40821); + s.bucket___40826 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___40826); if (!r0) { step = 7; continue; } - s.sprite___18412 = (undefined); - s.unnamed82___U3 = (s.bucket___18405); - s.unnamed83___U4 = (0); + s.sprite___40833 = (undefined); + s.unnamed190___U3 = (s.bucket___40826); + s.unnamed191___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed83___U4; - r0 = pxsim_Array__length(s.unnamed82___U3); + s.tmp_0 = r0 = s.unnamed191___U4; + r0 = pxsim_Array__length(s.unnamed190___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed82___U3, s.unnamed83___U4); - s.sprite___18412 = (r0); - r0 = s.sprite___18412.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed190___U3, s.unnamed191___U4); + s.sprite___40833 = (r0); + r0 = s.sprite___40833.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -36101,7 +34089,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___18412, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___40833, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -36109,26 +34097,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___18412); + r0 = pxsim_Array__push(s.arg4, s.sprite___40833); case 4: case 5: - r0 = (s.unnamed83___U4 + 1); - s.unnamed83___U4 = (r0); + r0 = (s.unnamed191___U4 + 1); + s.unnamed191___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed82___U3 = (undefined); + s.unnamed190___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P4918.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__P27991.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__P4918_mk(s) { +function sprites_SpriteMap_mergeAtKey__P27991_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P4918, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P27991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36136,11 +34124,11 @@ function sprites_SpriteMap_mergeAtKey__P4918_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___18400: undefined, - bucket___18405: undefined, - sprite___18412: undefined, - unnamed82___U3: undefined, - unnamed83___U4: undefined, + k___40821: undefined, + bucket___40826: undefined, + sprite___40833: undefined, + unnamed190___U3: undefined, + unnamed191___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36152,7 +34140,7 @@ function sprites_SpriteMap_mergeAtKey__P4918_mk(s) { -function sprites_SpriteMap_key__P4916(s) { +function sprites_SpriteMap_key__P27989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36162,8 +34150,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___18433 = undefined; - s.yi___18445 = undefined; + s.xi___40854 = undefined; + s.yi___40866 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36171,8 +34159,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2446_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P127_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C25514_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P23194_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -36180,11 +34168,11 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.arg1, s.tmp_1); s.tmp_0.arg2 = r0; - s.callLocIdx = 553; s.pc = 1; return s.tmp_0; + s.callLocIdx = 517; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___18433 = (r0); - s.tmp_0 = Math_clamp__P127_mk(s); + s.xi___40854 = (r0); + s.tmp_0 = Math_clamp__P23194_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -36192,31 +34180,31 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.arg2, s.tmp_1); s.tmp_0.arg2 = r0; - s.callLocIdx = 554; s.pc = 2; return s.tmp_0; + s.callLocIdx = 518; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___18445 = (r0); - s.tmp_0 = r0 = s.xi___18433; + s.yi___40866 = (r0); + s.tmp_0 = r0 = s.xi___40854; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___18445 * s.tmp_2); + r0 = (s.yi___40866 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P4916.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__P27989.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__P4916_mk(s) { +function sprites_SpriteMap_key__P27989_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P4916, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P27989, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___18433: undefined, - yi___18445: undefined, + xi___40854: undefined, + yi___40866: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -36226,7 +34214,7 @@ function sprites_SpriteMap_key__P4916_mk(s) { -function Sprite_overlapsWith__P2420(s) { +function Sprite_overlapsWith__P25488(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36236,15 +34224,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___18162 = undefined; - s.B___18163 = undefined; + s.A___40583 = undefined; + s.B___40584 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -36290,23 +34278,23 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - s.tmp_9 = game_Hitbox_overlapsWith__P2223_mk(s); + s.tmp_9 = game_Hitbox_overlapsWith__P25291_mk(s); r0 = s.arg1.fields["_hitbox"]; s.tmp_9.arg0 = r0; r0 = s.arg0.fields["_hitbox"]; s.tmp_9.arg1 = r0; - s.callLocIdx = 421; s.pc = 28; return s.tmp_9; + s.callLocIdx = 385; s.pc = 28; return s.tmp_9; case 28: r0 = s.retval; { step = 27; continue; } case 9: case 10: - s.tmp_13 = game_Hitbox_overlapsWith__P2223_mk(s); + s.tmp_13 = game_Hitbox_overlapsWith__P25291_mk(s); r0 = s.arg1.fields["_hitbox"]; s.tmp_13.arg0 = r0; r0 = s.arg0.fields["_hitbox"]; s.tmp_13.arg1 = r0; - s.callLocIdx = 422; s.pc = 29; return s.tmp_13; + s.callLocIdx = 386; s.pc = 29; return s.tmp_13; case 29: r0 = s.retval; s.tmp_12 = r0; @@ -36320,9 +34308,9 @@ switch (step) { { step = 27; continue; } case 11: case 12: - s.tmp_17 = Sprite_isScaled__P4909_mk(s); + s.tmp_17 = Sprite_isScaled__P27982_mk(s); s.tmp_17.arg0 = s.arg0; - s.callLocIdx = 423; s.pc = 30; return s.tmp_17; + s.callLocIdx = 387; s.pc = 30; return s.tmp_17; case 30: r0 = s.retval; s.tmp_16 = r0; @@ -36335,9 +34323,9 @@ switch (step) { r0 = s.tmp_14; { step = 14; continue; } case 13: - s.tmp_20 = Sprite_isScaled__P4909_mk(s); + s.tmp_20 = Sprite_isScaled__P27982_mk(s); s.tmp_20.arg0 = s.arg1; - s.callLocIdx = 424; s.pc = 31; return s.tmp_20; + s.callLocIdx = 388; s.pc = 31; return s.tmp_20; case 31: r0 = s.retval; s.tmp_19 = r0; @@ -36353,29 +34341,29 @@ switch (step) { s.tmp_22 = r0; r0 = s.arg0.fields["_image"]; s.tmp_23 = r0; - s.tmp_26 = Sprite_left__P2399_mk(s); + s.tmp_26 = Sprite_left__P25467_mk(s); s.tmp_26.arg0 = s.arg0; - s.callLocIdx = 425; s.pc = 32; return s.tmp_26; + s.callLocIdx = 389; s.pc = 32; return s.tmp_26; case 32: r0 = s.retval; s.tmp_25 = r0; - s.tmp_28 = Sprite_left__P2399_mk(s); + s.tmp_28 = Sprite_left__P25467_mk(s); s.tmp_28.arg0 = s.arg1; - s.callLocIdx = 426; s.pc = 33; return s.tmp_28; + s.callLocIdx = 390; s.pc = 33; return s.tmp_28; case 33: r0 = s.retval; s.tmp_27 = r0; r0 = (s.tmp_25 - s.tmp_27); s.tmp_24 = r0; - s.tmp_31 = Sprite_top__P2403_mk(s); + s.tmp_31 = Sprite_top__P25471_mk(s); s.tmp_31.arg0 = s.arg0; - s.callLocIdx = 427; s.pc = 34; return s.tmp_31; + s.callLocIdx = 391; s.pc = 34; return s.tmp_31; case 34: r0 = s.retval; s.tmp_30 = r0; - s.tmp_33 = Sprite_top__P2403_mk(s); + s.tmp_33 = Sprite_top__P25471_mk(s); s.tmp_33.arg0 = s.arg1; - s.callLocIdx = 428; s.pc = 35; return s.tmp_33; + s.callLocIdx = 392; s.pc = 35; return s.tmp_33; case 35: r0 = s.retval; s.tmp_32 = r0; @@ -36385,9 +34373,9 @@ switch (step) { { step = 27; continue; } { step = 26; continue; } case 15: - s.tmp_36 = Sprite_sx__P2370_mk(s); + s.tmp_36 = Sprite_sx__P25438_mk(s); s.tmp_36.arg0 = s.arg0; - s.callLocIdx = 429; s.pc = 36; return s.tmp_36; + s.callLocIdx = 393; s.pc = 36; return s.tmp_36; case 36: r0 = s.retval; s.tmp_35 = r0; @@ -36398,9 +34386,9 @@ switch (step) { r0 = s.tmp_34; { step = 17; continue; } case 16: - s.tmp_38 = Sprite_sy__P2372_mk(s); + s.tmp_38 = Sprite_sy__P25440_mk(s); s.tmp_38.arg0 = s.arg0; - s.callLocIdx = 430; s.pc = 37; return s.tmp_38; + s.callLocIdx = 394; s.pc = 37; return s.tmp_38; case 37: r0 = s.retval; s.tmp_37 = r0; @@ -36413,9 +34401,9 @@ switch (step) { r0 = s.tmp_39; { step = 19; continue; } case 18: - s.tmp_41 = Sprite_sx__P2370_mk(s); + s.tmp_41 = Sprite_sx__P25438_mk(s); s.tmp_41.arg0 = s.arg1; - s.callLocIdx = 431; s.pc = 38; return s.tmp_41; + s.callLocIdx = 395; s.pc = 38; return s.tmp_41; case 38: r0 = s.retval; s.tmp_40 = r0; @@ -36428,9 +34416,9 @@ switch (step) { r0 = s.tmp_42; { step = 21; continue; } case 20: - s.tmp_44 = Sprite_sy__P2372_mk(s); + s.tmp_44 = Sprite_sy__P25440_mk(s); s.tmp_44.arg0 = s.arg1; - s.callLocIdx = 432; s.pc = 39; return s.tmp_44; + s.callLocIdx = 396; s.pc = 39; return s.tmp_44; case 39: r0 = s.retval; s.tmp_43 = r0; @@ -36444,29 +34432,29 @@ switch (step) { { step = 27; continue; } case 22: case 23: - s.tmp_49 = Sprite_sx__P2370_mk(s); + s.tmp_49 = Sprite_sx__P25438_mk(s); s.tmp_49.arg0 = s.arg0; - s.callLocIdx = 433; s.pc = 40; return s.tmp_49; + s.callLocIdx = 397; s.pc = 40; return s.tmp_49; case 40: r0 = s.retval; s.tmp_48 = r0; - s.tmp_51 = Sprite_sy__P2372_mk(s); + s.tmp_51 = Sprite_sy__P25440_mk(s); s.tmp_51.arg0 = s.arg0; - s.callLocIdx = 434; s.pc = 41; return s.tmp_51; + s.callLocIdx = 398; s.pc = 41; return s.tmp_51; case 41: r0 = s.retval; s.tmp_50 = r0; r0 = (s.tmp_48 * s.tmp_50); s.tmp_47 = r0; - s.tmp_54 = Sprite_sx__P2370_mk(s); + s.tmp_54 = Sprite_sx__P25438_mk(s); s.tmp_54.arg0 = s.arg1; - s.callLocIdx = 435; s.pc = 42; return s.tmp_54; + s.callLocIdx = 399; s.pc = 42; return s.tmp_54; case 42: r0 = s.retval; s.tmp_53 = r0; - s.tmp_56 = Sprite_sy__P2372_mk(s); + s.tmp_56 = Sprite_sy__P25440_mk(s); s.tmp_56.arg0 = s.arg1; - s.callLocIdx = 436; s.pc = 43; return s.tmp_56; + s.callLocIdx = 400; s.pc = 43; return s.tmp_56; case 43: r0 = s.retval; s.tmp_55 = r0; @@ -36476,103 +34464,103 @@ switch (step) { s.tmp_46 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_46); if (!r0) { step = 24; continue; } - s.A___18162 = (s.arg0); - s.B___18163 = (s.arg1); + s.A___40583 = (s.arg0); + s.B___40584 = (s.arg1); { step = 25; continue; } case 24: - s.A___18162 = (s.arg1); - s.B___18163 = (s.arg0); + s.A___40583 = (s.arg1); + s.B___40584 = (s.arg0); case 25: - s.tmp_0 = helpers_imageBlit__P1953_mk(s); - r0 = s.A___18162.fields["_image"]; + s.tmp_0 = helpers_imageBlit__P25021_mk(s); + r0 = s.A___40583.fields["_image"]; s.tmp_0.arg0 = r0; - s.tmp_3 = Sprite_left__P2399_mk(s); - s.tmp_3.arg0 = s.B___18163; - s.callLocIdx = 438; s.pc = 45; return s.tmp_3; + s.tmp_3 = Sprite_left__P25467_mk(s); + s.tmp_3.arg0 = s.B___40584; + s.callLocIdx = 402; s.pc = 45; return s.tmp_3; case 45: r0 = s.retval; s.tmp_2 = r0; - s.tmp_5 = Sprite_left__P2399_mk(s); - s.tmp_5.arg0 = s.A___18162; - s.callLocIdx = 439; s.pc = 46; return s.tmp_5; + s.tmp_5 = Sprite_left__P25467_mk(s); + s.tmp_5.arg0 = s.A___40583; + s.callLocIdx = 403; 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__P2370_mk(s); - s.tmp_7.arg0 = s.A___18162; - s.callLocIdx = 440; s.pc = 47; return s.tmp_7; + s.tmp_7 = Sprite_sx__P25438_mk(s); + s.tmp_7.arg0 = s.A___40583; + s.callLocIdx = 404; 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__P2403_mk(s); - s.tmp_10.arg0 = s.B___18163; - s.callLocIdx = 441; s.pc = 48; return s.tmp_10; + s.tmp_10 = Sprite_top__P25471_mk(s); + s.tmp_10.arg0 = s.B___40584; + s.callLocIdx = 405; s.pc = 48; return s.tmp_10; case 48: r0 = s.retval; s.tmp_9 = r0; - s.tmp_12 = Sprite_top__P2403_mk(s); - s.tmp_12.arg0 = s.A___18162; - s.callLocIdx = 442; s.pc = 49; return s.tmp_12; + s.tmp_12 = Sprite_top__P25471_mk(s); + s.tmp_12.arg0 = s.A___40583; + s.callLocIdx = 406; 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__P2372_mk(s); - s.tmp_14.arg0 = s.A___18162; - s.callLocIdx = 443; s.pc = 50; return s.tmp_14; + s.tmp_14 = Sprite_sy__P25440_mk(s); + s.tmp_14.arg0 = s.A___40583; + s.callLocIdx = 407; 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__P2397_mk(s); - s.tmp_16.arg0 = s.B___18163; - s.callLocIdx = 444; s.pc = 51; return s.tmp_16; + s.tmp_16 = Sprite_width__P25465_mk(s); + s.tmp_16.arg0 = s.B___40584; + s.callLocIdx = 408; s.pc = 51; return s.tmp_16; case 51: r0 = s.retval; s.tmp_15 = r0; - s.tmp_18 = Sprite_sx__P2370_mk(s); - s.tmp_18.arg0 = s.A___18162; - s.callLocIdx = 445; s.pc = 52; return s.tmp_18; + s.tmp_18 = Sprite_sx__P25438_mk(s); + s.tmp_18.arg0 = s.A___40583; + s.callLocIdx = 409; 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__P2398_mk(s); - s.tmp_20.arg0 = s.B___18163; - s.callLocIdx = 446; s.pc = 53; return s.tmp_20; + s.tmp_20 = Sprite_height__P25466_mk(s); + s.tmp_20.arg0 = s.B___40584; + s.callLocIdx = 410; s.pc = 53; return s.tmp_20; case 53: r0 = s.retval; s.tmp_19 = r0; - s.tmp_22 = Sprite_sy__P2372_mk(s); - s.tmp_22.arg0 = s.A___18162; - s.callLocIdx = 447; s.pc = 54; return s.tmp_22; + s.tmp_22 = Sprite_sy__P25440_mk(s); + s.tmp_22.arg0 = s.A___40583; + s.callLocIdx = 411; 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___18163.fields["_image"]; + r0 = s.B___40584.fields["_image"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = 0; s.tmp_0.arg7 = 0; - r0 = s.B___18163.fields["_image"]; + r0 = s.B___40584.fields["_image"]; s.tmp_23 = r0; r0 = pxsim_ImageMethods.width(s.tmp_23); s.tmp_0.arg8 = r0; - r0 = s.B___18163.fields["_image"]; + r0 = s.B___40584.fields["_image"]; s.tmp_24 = r0; r0 = pxsim_ImageMethods.height(s.tmp_24); s.tmp_0.arg9 = r0; s.tmp_0.arg10 = true; s.tmp_0.arg11 = true; - s.callLocIdx = 451; s.pc = 44; return s.tmp_0; + s.callLocIdx = 415; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; { step = 27; continue; } @@ -36582,12 +34570,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P2420.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__P25488.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__P2420_mk(s) { +function Sprite_overlapsWith__P25488_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P2420, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P25488, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36646,8 +34634,8 @@ function Sprite_overlapsWith__P2420_mk(s) { tmp_54: undefined, tmp_55: undefined, tmp_56: undefined, - A___18162: undefined, - B___18163: undefined, + A___40583: undefined, + B___40584: undefined, arg0: undefined, arg1: undefined, } } @@ -36656,7 +34644,7 @@ function Sprite_overlapsWith__P2420_mk(s) { -function Sprite_isScaled__P4909(s) { +function Sprite_isScaled__P27982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36671,7 +34659,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== 256); @@ -36691,12 +34679,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isScaled__P4909.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__P27982.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__P4909_mk(s) { +function Sprite_isScaled__P27982_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isScaled__P4909, depth: s.depth + 1, + parent: s, fn: Sprite_isScaled__P27982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36709,7 +34697,7 @@ function Sprite_isScaled__P4909_mk(s) { -function game_Hitbox_overlapsWith__P2223(s) { +function game_Hitbox_overlapsWith__P25291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36725,32 +34713,32 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2208_VT)) failedCast(r0); - s.tmp_0 = game_Hitbox_updateIfInvalid__P2222_mk(s); + if (!checkSubtype(r0, game_Hitbox__C25276_VT)) failedCast(r0); + s.tmp_0 = game_Hitbox_updateIfInvalid__P25290_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 288; s.pc = 18; return s.tmp_0; + s.callLocIdx = 252; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = game_Hitbox_updateIfInvalid__P2222_mk(s); + s.tmp_0 = game_Hitbox_updateIfInvalid__P25290_mk(s); s.tmp_0.arg0 = s.arg1; - s.callLocIdx = 289; s.pc = 19; return s.tmp_0; + s.callLocIdx = 253; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_1 = game_Hitbox_contains__P2221_mk(s); + s.tmp_1 = game_Hitbox_contains__P25289_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = game_Hitbox_left__P2216_mk(s); + s.tmp_2 = game_Hitbox_left__P25284_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 290; s.pc = 21; return s.tmp_2; + s.callLocIdx = 254; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; s.tmp_1.arg1 = r0; - s.tmp_3 = game_Hitbox_top__P2217_mk(s); + s.tmp_3 = game_Hitbox_top__P25285_mk(s); s.tmp_3.arg0 = s.arg1; - s.callLocIdx = 291; s.pc = 22; return s.tmp_3; + s.callLocIdx = 255; s.pc = 22; return s.tmp_3; case 22: r0 = s.retval; s.tmp_1.arg2 = r0; - s.callLocIdx = 292; s.pc = 20; return s.tmp_1; + s.callLocIdx = 256; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; s.tmp_0 = r0; @@ -36760,21 +34748,21 @@ switch (step) { { step = 17; continue; } case 1: case 2: - s.tmp_5 = game_Hitbox_contains__P2221_mk(s); + s.tmp_5 = game_Hitbox_contains__P25289_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_6 = game_Hitbox_left__P2216_mk(s); + s.tmp_6 = game_Hitbox_left__P25284_mk(s); s.tmp_6.arg0 = s.arg1; - s.callLocIdx = 293; s.pc = 24; return s.tmp_6; + s.callLocIdx = 257; s.pc = 24; return s.tmp_6; case 24: r0 = s.retval; s.tmp_5.arg1 = r0; - s.tmp_7 = game_Hitbox_bottom__P2219_mk(s); + s.tmp_7 = game_Hitbox_bottom__P25287_mk(s); s.tmp_7.arg0 = s.arg1; - s.callLocIdx = 294; s.pc = 25; return s.tmp_7; + s.callLocIdx = 258; s.pc = 25; return s.tmp_7; case 25: r0 = s.retval; s.tmp_5.arg2 = r0; - s.callLocIdx = 295; s.pc = 23; return s.tmp_5; + s.callLocIdx = 259; s.pc = 23; return s.tmp_5; case 23: r0 = s.retval; s.tmp_4 = r0; @@ -36784,21 +34772,21 @@ switch (step) { { step = 17; continue; } case 3: case 4: - s.tmp_9 = game_Hitbox_contains__P2221_mk(s); + s.tmp_9 = game_Hitbox_contains__P25289_mk(s); s.tmp_9.arg0 = s.arg0; - s.tmp_10 = game_Hitbox_right__P2218_mk(s); + s.tmp_10 = game_Hitbox_right__P25286_mk(s); s.tmp_10.arg0 = s.arg1; - s.callLocIdx = 296; s.pc = 27; return s.tmp_10; + s.callLocIdx = 260; s.pc = 27; return s.tmp_10; case 27: r0 = s.retval; s.tmp_9.arg1 = r0; - s.tmp_11 = game_Hitbox_top__P2217_mk(s); + s.tmp_11 = game_Hitbox_top__P25285_mk(s); s.tmp_11.arg0 = s.arg1; - s.callLocIdx = 297; s.pc = 28; return s.tmp_11; + s.callLocIdx = 261; s.pc = 28; return s.tmp_11; case 28: r0 = s.retval; s.tmp_9.arg2 = r0; - s.callLocIdx = 298; s.pc = 26; return s.tmp_9; + s.callLocIdx = 262; s.pc = 26; return s.tmp_9; case 26: r0 = s.retval; s.tmp_8 = r0; @@ -36808,21 +34796,21 @@ switch (step) { { step = 17; continue; } case 5: case 6: - s.tmp_13 = game_Hitbox_contains__P2221_mk(s); + s.tmp_13 = game_Hitbox_contains__P25289_mk(s); s.tmp_13.arg0 = s.arg0; - s.tmp_14 = game_Hitbox_right__P2218_mk(s); + s.tmp_14 = game_Hitbox_right__P25286_mk(s); s.tmp_14.arg0 = s.arg1; - s.callLocIdx = 299; s.pc = 30; return s.tmp_14; + s.callLocIdx = 263; s.pc = 30; return s.tmp_14; case 30: r0 = s.retval; s.tmp_13.arg1 = r0; - s.tmp_15 = game_Hitbox_bottom__P2219_mk(s); + s.tmp_15 = game_Hitbox_bottom__P25287_mk(s); s.tmp_15.arg0 = s.arg1; - s.callLocIdx = 300; s.pc = 31; return s.tmp_15; + s.callLocIdx = 264; s.pc = 31; return s.tmp_15; case 31: r0 = s.retval; s.tmp_13.arg2 = r0; - s.callLocIdx = 301; s.pc = 29; return s.tmp_13; + s.callLocIdx = 265; s.pc = 29; return s.tmp_13; case 29: r0 = s.retval; s.tmp_12 = r0; @@ -36832,21 +34820,21 @@ switch (step) { { step = 17; continue; } case 7: case 8: - s.tmp_17 = game_Hitbox_contains__P2221_mk(s); + s.tmp_17 = game_Hitbox_contains__P25289_mk(s); s.tmp_17.arg0 = s.arg1; - s.tmp_18 = game_Hitbox_left__P2216_mk(s); + s.tmp_18 = game_Hitbox_left__P25284_mk(s); s.tmp_18.arg0 = s.arg0; - s.callLocIdx = 302; s.pc = 33; return s.tmp_18; + s.callLocIdx = 266; s.pc = 33; return s.tmp_18; case 33: r0 = s.retval; s.tmp_17.arg1 = r0; - s.tmp_19 = game_Hitbox_top__P2217_mk(s); + s.tmp_19 = game_Hitbox_top__P25285_mk(s); s.tmp_19.arg0 = s.arg0; - s.callLocIdx = 303; s.pc = 34; return s.tmp_19; + s.callLocIdx = 267; s.pc = 34; return s.tmp_19; case 34: r0 = s.retval; s.tmp_17.arg2 = r0; - s.callLocIdx = 304; s.pc = 32; return s.tmp_17; + s.callLocIdx = 268; s.pc = 32; return s.tmp_17; case 32: r0 = s.retval; s.tmp_16 = r0; @@ -36856,21 +34844,21 @@ switch (step) { { step = 17; continue; } case 9: case 10: - s.tmp_21 = game_Hitbox_contains__P2221_mk(s); + s.tmp_21 = game_Hitbox_contains__P25289_mk(s); s.tmp_21.arg0 = s.arg1; - s.tmp_22 = game_Hitbox_left__P2216_mk(s); + s.tmp_22 = game_Hitbox_left__P25284_mk(s); s.tmp_22.arg0 = s.arg0; - s.callLocIdx = 305; s.pc = 36; return s.tmp_22; + s.callLocIdx = 269; s.pc = 36; return s.tmp_22; case 36: r0 = s.retval; s.tmp_21.arg1 = r0; - s.tmp_23 = game_Hitbox_bottom__P2219_mk(s); + s.tmp_23 = game_Hitbox_bottom__P25287_mk(s); s.tmp_23.arg0 = s.arg0; - s.callLocIdx = 306; s.pc = 37; return s.tmp_23; + s.callLocIdx = 270; s.pc = 37; return s.tmp_23; case 37: r0 = s.retval; s.tmp_21.arg2 = r0; - s.callLocIdx = 307; s.pc = 35; return s.tmp_21; + s.callLocIdx = 271; s.pc = 35; return s.tmp_21; case 35: r0 = s.retval; s.tmp_20 = r0; @@ -36880,21 +34868,21 @@ switch (step) { { step = 17; continue; } case 11: case 12: - s.tmp_25 = game_Hitbox_contains__P2221_mk(s); + s.tmp_25 = game_Hitbox_contains__P25289_mk(s); s.tmp_25.arg0 = s.arg1; - s.tmp_26 = game_Hitbox_right__P2218_mk(s); + s.tmp_26 = game_Hitbox_right__P25286_mk(s); s.tmp_26.arg0 = s.arg0; - s.callLocIdx = 308; s.pc = 39; return s.tmp_26; + s.callLocIdx = 272; s.pc = 39; return s.tmp_26; case 39: r0 = s.retval; s.tmp_25.arg1 = r0; - s.tmp_27 = game_Hitbox_top__P2217_mk(s); + s.tmp_27 = game_Hitbox_top__P25285_mk(s); s.tmp_27.arg0 = s.arg0; - s.callLocIdx = 309; s.pc = 40; return s.tmp_27; + s.callLocIdx = 273; s.pc = 40; return s.tmp_27; case 40: r0 = s.retval; s.tmp_25.arg2 = r0; - s.callLocIdx = 310; s.pc = 38; return s.tmp_25; + s.callLocIdx = 274; s.pc = 38; return s.tmp_25; case 38: r0 = s.retval; s.tmp_24 = r0; @@ -36904,21 +34892,21 @@ switch (step) { { step = 17; continue; } case 13: case 14: - s.tmp_29 = game_Hitbox_contains__P2221_mk(s); + s.tmp_29 = game_Hitbox_contains__P25289_mk(s); s.tmp_29.arg0 = s.arg1; - s.tmp_30 = game_Hitbox_right__P2218_mk(s); + s.tmp_30 = game_Hitbox_right__P25286_mk(s); s.tmp_30.arg0 = s.arg0; - s.callLocIdx = 311; s.pc = 42; return s.tmp_30; + s.callLocIdx = 275; s.pc = 42; return s.tmp_30; case 42: r0 = s.retval; s.tmp_29.arg1 = r0; - s.tmp_31 = game_Hitbox_bottom__P2219_mk(s); + s.tmp_31 = game_Hitbox_bottom__P25287_mk(s); s.tmp_31.arg0 = s.arg0; - s.callLocIdx = 312; s.pc = 43; return s.tmp_31; + s.callLocIdx = 276; s.pc = 43; return s.tmp_31; case 43: r0 = s.retval; s.tmp_29.arg2 = r0; - s.callLocIdx = 313; s.pc = 41; return s.tmp_29; + s.callLocIdx = 277; s.pc = 41; return s.tmp_29; case 41: r0 = s.retval; s.tmp_28 = r0; @@ -36933,12 +34921,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_overlapsWith__P2223.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__P25291.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__P2223_mk(s) { +function game_Hitbox_overlapsWith__P25291_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_overlapsWith__P2223, depth: s.depth + 1, + parent: s, fn: game_Hitbox_overlapsWith__P25291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36980,7 +34968,7 @@ function game_Hitbox_overlapsWith__P2223_mk(s) { -function game_Hitbox_contains__P2221(s) { +function game_Hitbox_contains__P25289(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36997,11 +34985,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2208_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C25276_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = game_Hitbox_left__P2216_mk(s); + s.tmp_3 = game_Hitbox_left__P25284_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 268; s.pc = 7; return s.tmp_3; + s.callLocIdx = 232; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; s.tmp_2 = r0; @@ -37013,9 +35001,9 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = game_Hitbox_right__P2218_mk(s); + s.tmp_6 = game_Hitbox_right__P25286_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 269; s.pc = 8; return s.tmp_6; + s.callLocIdx = 233; s.pc = 8; return s.tmp_6; case 8: r0 = s.retval; s.tmp_5 = r0; @@ -37029,9 +35017,9 @@ switch (step) { { step = 4; continue; } case 3: s.tmp_8 = r0 = s.arg2; - s.tmp_10 = game_Hitbox_top__P2217_mk(s); + s.tmp_10 = game_Hitbox_top__P25285_mk(s); s.tmp_10.arg0 = s.arg0; - s.callLocIdx = 270; s.pc = 9; return s.tmp_10; + s.callLocIdx = 234; s.pc = 9; return s.tmp_10; case 9: r0 = s.retval; s.tmp_9 = r0; @@ -37045,9 +35033,9 @@ switch (step) { { step = 6; continue; } case 5: s.tmp_12 = r0 = s.arg2; - s.tmp_14 = game_Hitbox_bottom__P2219_mk(s); + s.tmp_14 = game_Hitbox_bottom__P25287_mk(s); s.tmp_14.arg0 = s.arg0; - s.callLocIdx = 271; s.pc = 10; return s.tmp_14; + s.callLocIdx = 235; s.pc = 10; return s.tmp_14; case 10: r0 = s.retval; s.tmp_13 = r0; @@ -37059,12 +35047,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_contains__P2221.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__P25289.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__P2221_mk(s) { +function game_Hitbox_contains__P25289_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_contains__P2221, depth: s.depth + 1, + parent: s, fn: game_Hitbox_contains__P25289, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37091,7 +35079,7 @@ function game_Hitbox_contains__P2221_mk(s) { -function helpers_imageBlit__P1953(s) { +function helpers_imageBlit__P25021(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37116,7 +35104,7 @@ switch (step) { s.arg11 = (s.lambdaArgs[11]); s.lambdaArgs = null; } - s.tmp_0 = r0 = globals._blitArgs___4738; + s.tmp_0 = r0 = globals._blitArgs___27811; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -37126,36 +35114,36 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - globals._blitArgs___4738 = (s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4738; + globals._blitArgs___27811 = (s.tmp_1); + s.tmp_0 = r0 = globals._blitArgs___27811; 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___4738; + s.tmp_0 = r0 = globals._blitArgs___27811; 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___4738; + s.tmp_0 = r0 = globals._blitArgs___27811; 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___4738; + s.tmp_0 = r0 = globals._blitArgs___27811; 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___4738; + s.tmp_0 = r0 = globals._blitArgs___27811; 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___4738; + s.tmp_0 = r0 = globals._blitArgs___27811; 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___4738; + s.tmp_0 = r0 = globals._blitArgs___27811; 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___4738; + s.tmp_0 = r0 = globals._blitArgs___27811; r0 = (s.arg9 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 7, s.tmp_1); @@ -37168,7 +35156,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___4738, 8, s.tmp_0); + r0 = pxsim_Array_.setAt(globals._blitArgs___27811, 8, s.tmp_0); r0 = pxsim_numops_toBoolDecr(s.arg11); if (!r0) { step = 5; continue; } r0 = 1; @@ -37178,17 +35166,17 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___4738, 9, s.tmp_0); - r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___4738); + r0 = pxsim_Array_.setAt(globals._blitArgs___27811, 9, s.tmp_0); + r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___27811); return leave(s, r0) default: oops() } } } -helpers_imageBlit__P1953.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__P25021.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__P1953_mk(s) { +function helpers_imageBlit__P25021_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageBlit__P1953, depth: s.depth + 1, + parent: s, fn: helpers_imageBlit__P25021, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37210,7 +35198,7 @@ function helpers_imageBlit__P1953_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P4953(s) { +function ArcadePhysicsEngine_createMovingSprite__P28026(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37220,16 +35208,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___18788 = undefined; - s.ovy___18793 = undefined; - s.fx___18820 = undefined; - s.c___18827 = undefined; - s.fy___18870 = undefined; - s.c___18877 = undefined; - s.dx___18916 = undefined; - s.dy___18929 = undefined; - s.xStep___18942 = undefined; - s.yStep___18944 = undefined; + s.ovx___41209 = undefined; + s.ovy___41214 = undefined; + s.fx___41241 = undefined; + s.c___41248 = undefined; + s.fy___41291 = undefined; + s.c___41298 = undefined; + s.dx___41337 = undefined; + s.dy___41350 = undefined; + s.xStep___41363 = undefined; + s.yStep___41365 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -37238,23 +35226,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P4959_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P28032_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 625; s.pc = 25; return s.tmp_0; + s.callLocIdx = 589; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___18788 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P4959_mk(s); + s.ovx___41209 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P28032_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 626; s.pc = 26; return s.tmp_0; + s.callLocIdx = 590; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___18793 = (r0); + s.ovy___41214 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -37288,41 +35276,41 @@ switch (step) { r0 = pxsim.Math_.imul(s.tmp_2, s.arg2); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fx___18820 = (r0); + s.fx___41241 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___18820); - s.c___18827 = (r0); - r0 = (s.c___18827 < 0); + r0 = (s.tmp_0 - s.fx___41241); + s.c___41248 = (r0); + r0 = (s.c___41248 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_min__P166_mk(s); + s.tmp_3 = Fx_min__P23233_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___18820); + r0 = (s.tmp_4 + s.fx___41241); s.tmp_3.arg1 = r0; - s.callLocIdx = 634; s.pc = 27; return s.tmp_3; + s.callLocIdx = 598; s.pc = 27; return s.tmp_3; case 27: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___18827 > 0); + r0 = (s.c___41248 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_max__P167_mk(s); + s.tmp_3 = Fx_max__P23234_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___18820); + r0 = (s.tmp_4 - s.fx___41241); s.tmp_3.arg1 = r0; - s.callLocIdx = 636; s.pc = 28; return s.tmp_3; + s.callLocIdx = 600; s.pc = 28; return s.tmp_3; case 28: r0 = s.retval; s.tmp_2 = r0; @@ -37362,41 +35350,41 @@ switch (step) { r0 = pxsim.Math_.imul(s.tmp_2, s.arg2); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fy___18870 = (r0); + s.fy___41291 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___18870); - s.c___18877 = (r0); - r0 = (s.c___18877 < 0); + r0 = (s.tmp_0 - s.fy___41291); + s.c___41298 = (r0); + r0 = (s.c___41298 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_min__P166_mk(s); + s.tmp_3 = Fx_min__P23233_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___18870); + r0 = (s.tmp_4 + s.fy___41291); s.tmp_3.arg1 = r0; - s.callLocIdx = 644; s.pc = 29; return s.tmp_3; + s.callLocIdx = 608; s.pc = 29; return s.tmp_3; case 29: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___18877 > 0); + r0 = (s.c___41298 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Fx_max__P167_mk(s); + s.tmp_3 = Fx_max__P23234_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___18870); + r0 = (s.tmp_4 - s.fy___41291); s.tmp_3.arg1 = r0; - s.callLocIdx = 646; s.pc = 30; return s.tmp_3; + s.callLocIdx = 610; s.pc = 30; return s.tmp_3; case 30: r0 = s.retval; s.tmp_2 = r0; @@ -37410,28 +35398,28 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P4959_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P28032_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 647; s.pc = 31; return s.tmp_2; + s.callLocIdx = 611; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P4959_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P28032_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 648; s.pc = 32; return s.tmp_2; + s.callLocIdx = 612; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovx___18788); + r0 = (s.tmp_4 + s.ovx___41209); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -37442,10 +35430,10 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dx___18916 = (r0); + s.dx___41337 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovy___18793); + r0 = (s.tmp_4 + s.ovy___41214); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -37456,13 +35444,13 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dy___18929 = (r0); - s.xStep___18942 = (s.dx___18916); - s.yStep___18944 = (s.dy___18929); + s.dy___41350 = (r0); + s.xStep___41363 = (s.dx___41337); + s.yStep___41365 = (s.dy___41350); case 17: - s.tmp_2 = Fx_abs__P165_mk(s); - s.tmp_2.arg0 = s.xStep___18942; - s.callLocIdx = 655; s.pc = 33; return s.tmp_2; + s.tmp_2 = Fx_abs__P23232_mk(s); + s.tmp_2.arg0 = s.xStep___41363; + s.callLocIdx = 619; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; s.tmp_1 = r0; @@ -37475,9 +35463,9 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_5 = Fx_abs__P165_mk(s); - s.tmp_5.arg0 = s.yStep___18944; - s.callLocIdx = 656; s.pc = 34; return s.tmp_5; + s.tmp_5 = Fx_abs__P23232_mk(s); + s.tmp_5.arg0 = s.yStep___41365; + s.callLocIdx = 620; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; s.tmp_4 = r0; @@ -37489,9 +35477,9 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } - s.tmp_10 = Fx_abs__P165_mk(s); - s.tmp_10.arg0 = s.xStep___18942; - s.callLocIdx = 657; s.pc = 35; return s.tmp_10; + s.tmp_10 = Fx_abs__P23232_mk(s); + s.tmp_10.arg0 = s.xStep___41363; + s.callLocIdx = 621; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; s.tmp_9 = r0; @@ -37501,13 +35489,13 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 20; continue; } - r0 = pxsim.Math_.idiv(s.xStep___18942, 2); - s.xStep___18942 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___41363, 2); + s.xStep___41363 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P165_mk(s); - s.tmp_2.arg0 = s.yStep___18944; - s.callLocIdx = 659; s.pc = 36; return s.tmp_2; + s.tmp_2 = Fx_abs__P23232_mk(s); + s.tmp_2.arg0 = s.yStep___41365; + s.callLocIdx = 623; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; s.tmp_1 = r0; @@ -37517,38 +35505,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = pxsim.Math_.idiv(s.yStep___18944, 2); - s.yStep___18944 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___41365, 2); + s.yStep___41365 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C2525_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C25593_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P2526_mk(s); + s.tmp_1 = MovingSprite_constructor__P25594_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___18916; - s.tmp_1.arg5 = s.dy___18929; - s.tmp_1.arg6 = s.xStep___18942; - s.tmp_1.arg7 = s.yStep___18944; - s.callLocIdx = 661; s.pc = 37; return s.tmp_1; + s.tmp_1.arg4 = s.dx___41337; + s.tmp_1.arg5 = s.dy___41350; + s.tmp_1.arg6 = s.xStep___41363; + s.tmp_1.arg7 = s.yStep___41365; + s.callLocIdx = 625; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P4953.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__P28026.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__P4953_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P28026_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P4953, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P28026, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37562,16 +35550,16 @@ function ArcadePhysicsEngine_createMovingSprite__P4953_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___18788: undefined, - ovy___18793: undefined, - fx___18820: undefined, - c___18827: undefined, - fy___18870: undefined, - c___18877: undefined, - dx___18916: undefined, - dy___18929: undefined, - xStep___18942: undefined, - yStep___18944: undefined, + ovx___41209: undefined, + ovy___41214: undefined, + fx___41241: undefined, + c___41248: undefined, + fy___41291: undefined, + c___41298: undefined, + dx___41337: undefined, + dy___41350: undefined, + xStep___41363: undefined, + yStep___41365: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -37582,7 +35570,7 @@ function ArcadePhysicsEngine_createMovingSprite__P4953_mk(s) { -function ArcadePhysicsEngine_constrain__P4959(s) { +function ArcadePhysicsEngine_constrain__P28032(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37598,30 +35586,30 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P167_mk(s); - s.tmp_1 = Fx_min__P166_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P23234_mk(s); + s.tmp_1 = Fx_min__P23233_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 837; s.pc = 2; return s.tmp_1; + s.callLocIdx = 801; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["maxNegativeVelocity"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 838; s.pc = 1; return s.tmp_0; + s.callLocIdx = 802; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P4959.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__P28032.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__P4959_mk(s) { +function ArcadePhysicsEngine_constrain__P28032_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P4959, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P28032, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37633,7 +35621,7 @@ function ArcadePhysicsEngine_constrain__P4959_mk(s) { -function Fx_compare__P164(s) { +function Fx_compare__P23231(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37652,12 +35640,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_compare__P164.info = {"start":1395,"length":106,"line":41,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"compare","argumentNames":["a","b"]} +Fx_compare__P23231.info = {"start":1395,"length":106,"line":41,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"compare","argumentNames":["a","b"]} -function Fx_compare__P164_mk(s) { +function Fx_compare__P23231_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P164, depth: s.depth + 1, + parent: s, fn: Fx_compare__P23231, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37667,7 +35655,7 @@ function Fx_compare__P164_mk(s) { -function sprites_SpriteMap_insertAABB__P2453(s) { +function sprites_SpriteMap_insertAABB__P25521(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37677,34 +35665,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___18608 = undefined; - s.top___18611 = undefined; - s.xn___18614 = undefined; - s.yn___18625 = undefined; - s.x___18636 = undefined; - s.y___18641 = undefined; + s.left___41029 = undefined; + s.top___41032 = undefined; + s.xn___41035 = undefined; + s.yn___41046 = undefined; + s.x___41057 = undefined; + s.y___41062 = 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__C2446_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P2399_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C25514_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P25467_mk(s); s.tmp_0.arg0 = s.arg1; - s.callLocIdx = 556; s.pc = 5; return s.tmp_0; + s.callLocIdx = 520; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___18608 = (r0); - s.tmp_0 = Sprite_top__P2403_mk(s); + s.left___41029 = (r0); + s.tmp_0 = Sprite_top__P25471_mk(s); s.tmp_0.arg0 = s.arg1; - s.callLocIdx = 557; s.pc = 6; return s.tmp_0; + s.callLocIdx = 521; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___18611 = (r0); - s.tmp_3 = Sprite_width__P2397_mk(s); + s.top___41032 = (r0); + s.tmp_3 = Sprite_width__P25465_mk(s); s.tmp_3.arg0 = s.arg1; - s.callLocIdx = 558; s.pc = 7; return s.tmp_3; + s.callLocIdx = 522; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; s.tmp_2 = r0; @@ -37717,10 +35705,10 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___18614 = (r0); - s.tmp_3 = Sprite_height__P2398_mk(s); + s.xn___41035 = (r0); + s.tmp_3 = Sprite_height__P25466_mk(s); s.tmp_3.arg0 = s.arg1; - s.callLocIdx = 559; s.pc = 8; return s.tmp_3; + s.callLocIdx = 523; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; s.tmp_2 = r0; @@ -37733,79 +35721,79 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___18625 = (r0); - s.x___18636 = (0); + s.yn___41046 = (r0); + s.x___41057 = (0); case 1: - r0 = (s.x___18636 <= s.xn___18614); + r0 = (s.x___41057 <= s.xn___41035); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___18641 = (0); + s.y___41062 = (0); case 2: - r0 = (s.y___18641 <= s.yn___18625); + r0 = (s.y___41062 <= s.yn___41046); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P4917_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P27990_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___18608; - s.tmp_4 = Math_min__P131_mk(s); - s.tmp_5 = Sprite_width__P2397_mk(s); + s.tmp_2 = r0 = s.left___41029; + s.tmp_4 = Math_min__P23198_mk(s); + s.tmp_5 = Sprite_width__P25465_mk(s); s.tmp_5.arg0 = s.arg1; - s.callLocIdx = 560; s.pc = 11; return s.tmp_5; + s.callLocIdx = 524; s.pc = 11; return s.tmp_5; case 11: r0 = s.retval; s.tmp_4.arg0 = r0; r0 = s.arg0.fields["cellWidth"]; s.tmp_6 = r0; - r0 = (s.x___18636 * s.tmp_6); + r0 = (s.x___41057 * s.tmp_6); s.tmp_4.arg1 = r0; - s.callLocIdx = 561; s.pc = 10; return s.tmp_4; + s.callLocIdx = 525; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1.arg1 = r0; - s.tmp_7 = r0 = s.top___18611; - s.tmp_9 = Math_min__P131_mk(s); - s.tmp_10 = Sprite_height__P2398_mk(s); + s.tmp_7 = r0 = s.top___41032; + s.tmp_9 = Math_min__P23198_mk(s); + s.tmp_10 = Sprite_height__P25466_mk(s); s.tmp_10.arg0 = s.arg1; - s.callLocIdx = 562; s.pc = 13; return s.tmp_10; + s.callLocIdx = 526; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9.arg0 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_11 = r0; - r0 = (s.y___18641 * s.tmp_11); + r0 = (s.y___41062 * s.tmp_11); s.tmp_9.arg1 = r0; - s.callLocIdx = 563; s.pc = 12; return s.tmp_9; + s.callLocIdx = 527; s.pc = 12; return s.tmp_9; case 12: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_7 + s.tmp_8); s.tmp_1.arg2 = r0; s.tmp_1.arg3 = s.arg1; - s.callLocIdx = 564; s.pc = 9; return s.tmp_1; + s.callLocIdx = 528; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = (s.y___18641 + 1); - s.y___18641 = (r0); + r0 = (s.y___41062 + 1); + s.y___41062 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___18636 + 1); - s.x___18636 = (r0); + r0 = (s.x___41057 + 1); + s.x___41057 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P2453.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__P25521.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__P2453_mk(s) { +function sprites_SpriteMap_insertAABB__P25521_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P2453, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P25521, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37819,12 +35807,12 @@ function sprites_SpriteMap_insertAABB__P2453_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___18608: undefined, - top___18611: undefined, - xn___18614: undefined, - yn___18625: undefined, - x___18636: undefined, - y___18641: undefined, + left___41029: undefined, + top___41032: undefined, + xn___41035: undefined, + yn___41046: undefined, + x___41057: undefined, + y___41062: undefined, arg0: undefined, arg1: undefined, } } @@ -37833,7 +35821,7 @@ function sprites_SpriteMap_insertAABB__P2453_mk(s) { -function sprites_SpriteMap_insertAtKey__P4917(s) { +function sprites_SpriteMap_insertAtKey__P27990(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37843,8 +35831,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___18676 = undefined; - s.bucket___18681 = undefined; + s.k___41097 = undefined; + s.bucket___41102 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -37853,20 +35841,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2446_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P4916_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C25514_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P27989_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 555; s.pc = 5; return s.tmp_0; + s.callLocIdx = 519; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___18676 = (r0); + s.k___41097 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___18676); - s.bucket___18681 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___18681); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___41097); + s.bucket___41102 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___41102); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -37874,40 +35862,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___18676; + s.tmp_3 = r0 = s.k___41097; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___18681 = (s.tmp_4); + s.bucket___41102 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___18681, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___41102, 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___18681, s.arg3); + r0 = pxsim_Array__push(s.bucket___41102, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P4917.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__P27990.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__P4917_mk(s) { +function sprites_SpriteMap_insertAtKey__P27990_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P4917, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P27990, 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___18676: undefined, - bucket___18681: undefined, + k___41097: undefined, + bucket___41102: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -37918,7 +35906,7 @@ function sprites_SpriteMap_insertAtKey__P4917_mk(s) { -function sprites_SpriteMap_clear__P2452(s) { +function sprites_SpriteMap_clear__P25520(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37933,7 +35921,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2446_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C25514_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -37942,12 +35930,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P2452.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__P25520.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__P2452_mk(s) { +function sprites_SpriteMap_clear__P25520_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P2452, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P25520, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37958,7 +35946,7 @@ function sprites_SpriteMap_clear__P2452_mk(s) { -function sprites_SpriteMap_resizeBuckets__P2451(s) { +function sprites_SpriteMap_resizeBuckets__P25519(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37968,129 +35956,129 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___18711 = undefined; - s.maxHeight___18712 = undefined; - s.sprite___18714 = undefined; - s.unnamed80___U3 = undefined; - s.unnamed81___U4 = undefined; - s.tMap___18730 = undefined; - s.areaWidth___18734 = undefined; - s.areaHeight___18741 = undefined; + s.maxWidth___41132 = undefined; + s.maxHeight___41133 = undefined; + s.sprite___41135 = undefined; + s.unnamed188___U3 = undefined; + s.unnamed189___U4 = undefined; + s.tMap___41151 = undefined; + s.areaWidth___41155 = undefined; + s.areaHeight___41162 = 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__C2446_VT)) failedCast(r0); - s.maxWidth___18711 = (0); - s.maxHeight___18712 = (0); - s.sprite___18714 = (undefined); - s.unnamed80___U3 = (s.arg1); - s.unnamed81___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C25514_VT)) failedCast(r0); + s.maxWidth___41132 = (0); + s.maxHeight___41133 = (0); + s.sprite___41135 = (undefined); + s.unnamed188___U3 = (s.arg1); + s.unnamed189___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed81___U4; - r0 = pxsim_Array__length(s.unnamed80___U3); + s.tmp_0 = r0 = s.unnamed189___U4; + r0 = pxsim_Array__length(s.unnamed188___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed80___U3, s.unnamed81___U4); - s.sprite___18714 = (r0); - s.tmp_4 = Sprite_width__P2397_mk(s); - s.tmp_4.arg0 = s.sprite___18714; - s.callLocIdx = 544; s.pc = 11; return s.tmp_4; + r0 = pxsim_Array__getAt(s.unnamed188___U3, s.unnamed189___U4); + s.sprite___41135 = (r0); + s.tmp_4 = Sprite_width__P25465_mk(s); + s.tmp_4.arg0 = s.sprite___41135; + s.callLocIdx = 508; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___18711); + r0 = (s.tmp_3 > s.maxWidth___41132); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - s.tmp_5 = Sprite_width__P2397_mk(s); - s.tmp_5.arg0 = s.sprite___18714; - s.callLocIdx = 545; s.pc = 12; return s.tmp_5; + s.tmp_5 = Sprite_width__P25465_mk(s); + s.tmp_5.arg0 = s.sprite___41135; + s.callLocIdx = 509; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; - s.maxWidth___18711 = (r0); + s.maxWidth___41132 = (r0); case 2: case 3: - s.tmp_2 = Sprite_height__P2398_mk(s); - s.tmp_2.arg0 = s.sprite___18714; - s.callLocIdx = 546; s.pc = 13; return s.tmp_2; + s.tmp_2 = Sprite_height__P25466_mk(s); + s.tmp_2.arg0 = s.sprite___41135; + s.callLocIdx = 510; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___18712); + r0 = (s.tmp_1 > s.maxHeight___41133); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_3 = Sprite_height__P2398_mk(s); - s.tmp_3.arg0 = s.sprite___18714; - s.callLocIdx = 547; s.pc = 14; return s.tmp_3; + s.tmp_3 = Sprite_height__P25466_mk(s); + s.tmp_3.arg0 = s.sprite___41135; + s.callLocIdx = 511; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; - s.maxHeight___18712 = (r0); + s.maxHeight___41133 = (r0); case 4: case 5: - r0 = (s.unnamed81___U4 + 1); - s.unnamed81___U4 = (r0); + r0 = (s.unnamed189___U4 + 1); + s.unnamed189___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed80___U3 = (undefined); - s.tmp_0 = game_currentScene__P3016_mk(s); - s.callLocIdx = 548; s.pc = 15; return s.tmp_0; + s.unnamed188___U3 = (undefined); + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 512; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___18730 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___18730); + s.tMap___41151 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___41151); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P2743_mk(s); - s.tmp_0.arg0 = s.tMap___18730; - s.callLocIdx = 549; s.pc = 16; return s.tmp_0; + s.tmp_0 = tiles_TileMap_areaWidth__P25811_mk(s); + s.tmp_0.arg0 = s.tMap___41151; + s.callLocIdx = 513; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___2032); + r0 = pxsim_ImageMethods.width(globals.screen___25100); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___18734 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___18730); + s.areaWidth___41155 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___41151); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P2744_mk(s); - s.tmp_0.arg0 = s.tMap___18730; - s.callLocIdx = 550; s.pc = 17; return s.tmp_0; + s.tmp_0 = tiles_TileMap_areaHeight__P25812_mk(s); + s.tmp_0.arg0 = s.tMap___41151; + s.callLocIdx = 514; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___2032); + r0 = pxsim_ImageMethods.height(globals.screen___25100); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___18741 = (s.tmp_1); + s.areaHeight___41162 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P23194_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___18734 >> 2); + r0 = (s.areaWidth___41155 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___18711 * 2); + r0 = (s.maxWidth___41132 * 2); s.tmp_2.arg2 = r0; - s.callLocIdx = 551; s.pc = 18; return s.tmp_2; + s.callLocIdx = 515; s.pc = 18; return s.tmp_2; case 18: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["cellWidth"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P23194_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___18741 >> 2); + r0 = (s.areaHeight___41162 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___18712 * 2); + r0 = (s.maxHeight___41133 * 2); s.tmp_2.arg2 = r0; - s.callLocIdx = 552; s.pc = 19; return s.tmp_2; + s.callLocIdx = 516; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; s.tmp_1 = r0; @@ -38098,25 +36086,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___18741, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___41162, 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___18734, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___41155, 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__P2451.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__P25519.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__P2451_mk(s) { +function sprites_SpriteMap_resizeBuckets__P25519_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P2451, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P25519, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38124,14 +36112,14 @@ function sprites_SpriteMap_resizeBuckets__P2451_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___18711: undefined, - maxHeight___18712: undefined, - sprite___18714: undefined, - unnamed80___U3: undefined, - unnamed81___U4: undefined, - tMap___18730: undefined, - areaWidth___18734: undefined, - areaHeight___18741: undefined, + maxWidth___41132: undefined, + maxHeight___41133: undefined, + sprite___41135: undefined, + unnamed188___U3: undefined, + unnamed189___U4: undefined, + tMap___41151: undefined, + areaWidth___41155: undefined, + areaHeight___41162: undefined, arg0: undefined, arg1: undefined, } } @@ -38140,7 +36128,7 @@ function sprites_SpriteMap_resizeBuckets__P2451_mk(s) { -function Sprite_clearObstacles__P2425(s) { +function Sprite_clearObstacles__P25493(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38155,7 +36143,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -38164,12 +36152,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P2425.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__P25493.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__P2425_mk(s) { +function Sprite_clearObstacles__P25493_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P2425, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P25493, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38180,7 +36168,7 @@ function Sprite_clearObstacles__P2425_mk(s) { -function Fx_idiv__P163(s) { +function Fx_idiv__P23230(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38199,12 +36187,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_idiv__P163.info = {"start":1279,"length":111,"line":38,"column":4,"endLine":40,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"idiv","argumentNames":["a","b"]} +Fx_idiv__P23230.info = {"start":1279,"length":111,"line":38,"column":4,"endLine":40,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"idiv","argumentNames":["a","b"]} -function Fx_idiv__P163_mk(s) { +function Fx_idiv__P23230_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P163, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P23230, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -38214,7 +36202,7 @@ function Fx_idiv__P163_mk(s) { -function helpers_arrayMap__P106(s) { +function helpers_arrayMap__P23173(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38224,58 +36212,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___19006 = undefined; - s.len___19008 = undefined; - s.i___19011 = undefined; + s.res___41427 = undefined; + s.len___41429 = undefined; + s.i___41432 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___19006 = (r0); + s.res___41427 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___19008 = (r0); - s.i___19011 = (0); + s.len___41429 = (r0); + s.i___41432 = (0); case 1: - r0 = (s.i___19011 < s.len___19008); + r0 = (s.i___41432 < s.len___41429); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___19006; + s.tmp_1 = r0 = s.res___41427; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___19011); + r0 = pxsim_Array__getAt(s.arg0, s.i___41432); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___19011; + s.tmp_3.arg1 = s.i___41432; setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 4; s.pc = 3; return s.tmp_3; + 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___19011 + 1); - s.i___19011 = (r0); + r0 = (s.i___41432 + 1); + s.i___41432 = (r0); { step = 1; continue; } case 2: - r0 = s.res___19006; + r0 = s.res___41427; return leave(s, r0) default: oops() } } } -helpers_arrayMap__P106.info = {"start":6528,"length":299,"line":229,"column":4,"endLine":236,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayMap","argumentNames":["arr","callbackfn"]} +helpers_arrayMap__P23173.info = {"start":6528,"length":299,"line":229,"column":4,"endLine":236,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayMap","argumentNames":["arr","callbackfn"]} -function helpers_arrayMap__P106_mk(s) { +function helpers_arrayMap__P23173_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P106, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P23173, 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___19006: undefined, - len___19008: undefined, - i___19011: undefined, + res___41427: undefined, + len___41429: undefined, + i___41432: undefined, arg0: undefined, arg1: undefined, } } @@ -38284,7 +36272,7 @@ function helpers_arrayMap__P106_mk(s) { -function ArcadePhysicsEngine_draw__P2538(s) { +function ArcadePhysicsEngine_draw__P25606(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38299,23 +36287,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P2450_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P25518_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 590; s.pc = 1; return s.tmp_0; + s.callLocIdx = 554; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P2538.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__P25606.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__P2538_mk(s) { +function ArcadePhysicsEngine_draw__P25606_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P2538, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P25606, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38325,7 +36313,7 @@ function ArcadePhysicsEngine_draw__P2538_mk(s) { -function sprites_SpriteMap_draw__P2450(s) { +function sprites_SpriteMap_draw__P25518(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38335,108 +36323,108 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___19032 = undefined; - s.y___19038 = undefined; - s.left___19044 = undefined; - s.top___19049 = undefined; - s.k___19054 = undefined; - s.b___19059 = undefined; + s.x___41453 = undefined; + s.y___41459 = undefined; + s.left___41465 = undefined; + s.top___41470 = undefined; + s.k___41475 = undefined; + s.b___41480 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2446_VT)) failedCast(r0); - s.x___19032 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C25514_VT)) failedCast(r0); + s.x___41453 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___19032 < s.tmp_1); + r0 = (s.x___41453 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___19038 = (0); + s.y___41459 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___19038 < s.tmp_1); + r0 = (s.y___41459 < 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___19032 * s.tmp_2); - s.left___19044 = (r0); + r0 = (s.x___41453 * s.tmp_2); + s.left___41465 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___19038 * s.tmp_0); - s.top___19049 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P4916_mk(s); + r0 = (s.y___41459 * s.tmp_0); + s.top___41470 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P27989_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___19044; - s.tmp_0.arg2 = s.top___19049; - s.callLocIdx = 542; s.pc = 9; return s.tmp_0; + s.tmp_0.arg1 = s.left___41465; + s.tmp_0.arg2 = s.top___41470; + s.callLocIdx = 506; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___19054 = (r0); + s.k___41475 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___19054); - s.b___19059 = (r0); - s.tmp_0 = r0 = s.b___19059; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___41475); + s.b___41480 = (r0); + s.tmp_0 = r0 = s.b___41480; 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___19059); + r0 = pxsim_Array__length(s.b___41480); 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__P1959_mk(s); - s.tmp_2.arg0 = globals.screen___2032; - s.tmp_2.arg1 = s.left___19044; - s.tmp_2.arg2 = s.top___19049; + s.tmp_2 = helpers_imageDrawRect__P25027_mk(s); + s.tmp_2.arg0 = globals.screen___25100; + s.tmp_2.arg1 = s.left___41465; + s.tmp_2.arg2 = s.top___41470; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2.arg4 = r0; s.tmp_2.arg5 = 5; - s.callLocIdx = 543; s.pc = 10; return s.tmp_2; + s.callLocIdx = 507; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; case 5: case 6: - r0 = (s.y___19038 + 1); - s.y___19038 = (r0); + r0 = (s.y___41459 + 1); + s.y___41459 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___19032 + 1); - s.x___19032 = (r0); + r0 = (s.x___41453 + 1); + s.x___41453 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P2450.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__P25518.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__P2450_mk(s) { +function sprites_SpriteMap_draw__P25518_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P2450, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P25518, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___19032: undefined, - y___19038: undefined, - left___19044: undefined, - top___19049: undefined, - k___19054: undefined, - b___19059: undefined, + x___41453: undefined, + y___41459: undefined, + left___41465: undefined, + top___41470: undefined, + k___41475: undefined, + b___41480: undefined, arg0: undefined, } } @@ -38444,7 +36432,7 @@ function sprites_SpriteMap_draw__P2450_mk(s) { -function ArcadePhysicsEngine_removeSprite__P2537(s) { +function ArcadePhysicsEngine_removeSprite__P25605(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38460,7 +36448,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -38468,12 +36456,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P2537.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__P25605.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__P2537_mk(s) { +function ArcadePhysicsEngine_removeSprite__P25605_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P2537, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P25605, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38484,7 +36472,7 @@ function ArcadePhysicsEngine_removeSprite__P2537_mk(s) { -function ArcadePhysicsEngine_addSprite__P2536(s) { +function ArcadePhysicsEngine_addSprite__P25604(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38494,33 +36482,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___19096 = undefined; + s.tm___41517 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2527_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C25595_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__P3016_mk(s); - s.callLocIdx = 588; s.pc = 5; return s.tmp_0; + s.tmp_0 = game_currentScene__P26084_mk(s); + s.callLocIdx = 552; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___19096 = (r0); - s.tmp_0 = r0 = s.tm___19096; + s.tm___41517 = (r0); + s.tmp_0 = r0 = s.tm___41517; 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__P2758_mk(s); - s.tmp_1.arg0 = s.tm___19096; + s.tmp_1 = tiles_TileMap_isOnWall__P25826_mk(s); + s.tmp_1.arg0 = s.tm___41517; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 589; s.pc = 6; return s.tmp_1; + s.callLocIdx = 553; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; case 2: @@ -38540,12 +36528,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P2536.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__P25604.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__P2536_mk(s) { +function ArcadePhysicsEngine_addSprite__P25604_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P2536, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P25604, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38553,7 +36541,7 @@ function ArcadePhysicsEngine_addSprite__P2536_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___19096: undefined, + tm___41517: undefined, arg0: undefined, arg1: undefined, } } @@ -38562,7 +36550,7 @@ function ArcadePhysicsEngine_addSprite__P2536_mk(s) { -function tiles_TileMapData_constructor__P2718(s) { +function tiles_TileMapData_constructor__P25786(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38581,14 +36569,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2717_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C25785_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__P2722_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P25790_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; - s.callLocIdx = 860; s.pc = 1; return s.tmp_0; + s.callLocIdx = 824; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -38603,12 +36591,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P2718.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__P25786.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__P2718_mk(s) { +function tiles_TileMapData_constructor__P25786_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P2718, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P25786, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38623,7 +36611,7 @@ function tiles_TileMapData_constructor__P2718_mk(s) { -function tiles_TileMapData_scale__P2722(s) { +function tiles_TileMapData_scale__P25790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38639,7 +36627,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2717_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C25785_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -38649,12 +36637,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P2722.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__P25790.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__P2722_mk(s) { +function tiles_TileMapData_scale__P25790_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P2722, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P25790, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38666,7 +36654,7 @@ function tiles_TileMapData_scale__P2722_mk(s) { -function tiles_TileMap_constructor__P2737(s) { +function tiles_TileMap_constructor__P25805(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38682,23 +36670,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P2739_mk(s); + s.tmp_0 = tiles_TileMap_scale__P25807_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 866; s.pc = 1; return s.tmp_0; + s.callLocIdx = 830; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P19157); + r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P41578); 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__P2805_mk(s); + s.tmp_3 = scene_createRenderable__P25873_mk(s); s.tmp_3.arg0 = -1; s.tmp_3.arg1 = s.tmp_0; s.tmp_3.arg2 = undefined; - s.callLocIdx = 868; s.pc = 2; return s.tmp_3; + s.callLocIdx = 832; s.pc = 2; return s.tmp_3; case 2: r0 = s.retval; s.tmp_2 = r0; @@ -38707,12 +36695,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P2737.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__P25805.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__P2737_mk(s) { +function tiles_TileMap_constructor__P25805_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P2737, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P25805, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38726,7 +36714,7 @@ function tiles_TileMap_constructor__P2737_mk(s) { -function tiles_TileMap_inline__P19157(s) { +function tiles_TileMap_inline__P41578(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38741,23 +36729,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P5029_mk(s); + s.tmp_0 = tiles_TileMap_draw__P28102_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 867; s.pc = 1; return s.tmp_0; + s.callLocIdx = 831; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_TileMap_inline__P19157.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__P41578.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__P19157_mk(s) { +function tiles_TileMap_inline__P41578_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_inline__P19157, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_inline__P41578, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38768,7 +36756,7 @@ function tiles_TileMap_inline__P19157_mk(s) { -function tiles_TileMap_draw__P5029(s) { +function tiles_TileMap_draw__P28102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38778,21 +36766,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___19168 = undefined; - s.offsetX___19174 = undefined; - s.offsetY___19179 = undefined; - s.x0___19184 = undefined; - s.xn___19191 = undefined; - s.y0___19208 = undefined; - s.yn___19215 = undefined; - s.x___19232 = undefined; - s.y___19238 = undefined; - s.index___19244 = undefined; - s.tile___19251 = undefined; - s.x___19287 = undefined; - s.xLine___19293 = undefined; - s.y___19319 = undefined; - s.yLine___19325 = undefined; + s.bitmask___41589 = undefined; + s.offsetX___41595 = undefined; + s.offsetY___41600 = undefined; + s.x0___41605 = undefined; + s.xn___41612 = undefined; + s.y0___41629 = undefined; + s.yn___41636 = undefined; + s.x___41653 = undefined; + s.y___41659 = undefined; + s.index___41665 = undefined; + s.tile___41672 = undefined; + s.x___41708 = undefined; + s.xLine___41714 = undefined; + s.y___41740 = undefined; + s.yLine___41746 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38800,7 +36788,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -38825,16 +36813,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___19168 = (r0); + s.bitmask___41589 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___19168); - s.offsetX___19174 = (r0); + r0 = (s.tmp_0 & s.bitmask___41589); + s.offsetX___41595 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___19168); - s.offsetY___19179 = (r0); - s.tmp_0 = Math_max__P130_mk(s); + r0 = (s.tmp_0 & s.bitmask___41589); + s.offsetY___41600 = (r0); + s.tmp_0 = Math_max__P23197_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -38842,11 +36830,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 886; s.pc = 24; return s.tmp_0; + s.callLocIdx = 850; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___19184 = (r0); - s.tmp_0 = Math_min__P131_mk(s); + s.x0___41605 = (r0); + s.tmp_0 = Math_min__P23198_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -38863,11 +36851,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 889; s.pc = 25; return s.tmp_0; + s.callLocIdx = 853; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___19191 = (r0); - s.tmp_0 = Math_max__P130_mk(s); + s.xn___41612 = (r0); + s.tmp_0 = Math_max__P23197_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -38875,11 +36863,11 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 >> s.tmp_2); s.tmp_0.arg1 = r0; - s.callLocIdx = 891; s.pc = 26; return s.tmp_0; + s.callLocIdx = 855; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___19208 = (r0); - s.tmp_0 = Math_min__P131_mk(s); + s.y0___41629 = (r0); + s.tmp_0 = Math_min__P23198_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -38896,95 +36884,95 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_0.arg1 = r0; - s.callLocIdx = 894; s.pc = 27; return s.tmp_0; + s.callLocIdx = 858; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___19215 = (r0); - s.x___19232 = (s.x0___19184); + s.yn___41636 = (r0); + s.x___41653 = (s.x0___41605); case 3: - r0 = (s.x___19232 <= s.xn___19191); + r0 = (s.x___41653 <= s.xn___41612); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___19238 = (s.y0___19208); + s.y___41659 = (s.y0___41629); case 4: - r0 = (s.y___19238 <= s.yn___19215); + r0 = (s.y___41659 <= s.yn___41636); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P2723_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P25791_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___19232; - s.tmp_1.arg2 = s.y___19238; - s.callLocIdx = 895; s.pc = 28; return s.tmp_1; + s.tmp_1.arg1 = s.x___41653; + s.tmp_1.arg2 = s.y___41659; + s.callLocIdx = 859; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___19244 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P2726_mk(s); + s.index___41665 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P25794_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___19244; - s.callLocIdx = 896; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = s.index___41665; + s.callLocIdx = 860; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___19251 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___19251); + s.tile___41672 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___41672); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___19251; - r0 = (s.x___19232 - s.x0___19184); + s.tmp_1 = r0 = s.tile___41672; + r0 = (s.x___41653 - s.x0___41605); 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___19174); + r0 = (s.tmp_3 - s.offsetX___41595); s.tmp_2 = r0; - r0 = (s.y___19238 - s.y0___19208); + r0 = (s.y___41659 - s.y0___41629); 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___19179); + r0 = (s.tmp_7 - s.offsetY___41600); 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___19238 + 1); - s.y___19238 = (r0); + r0 = (s.y___41659 + 1); + s.y___41659 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___19232 + 1); - s.x___19232 = (r0); + r0 = (s.x___41653 + 1); + s.x___41653 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___2967); + r0 = pxsim_numops_toBoolDecr(globals.debug___26035); if (!r0) { step = 21; continue; } - s.x___19287 = (s.x0___19184); + s.x___41708 = (s.x0___41605); case 9: - r0 = (s.x___19287 <= s.xn___19191); + r0 = (s.x___41708 <= s.xn___41612); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___19287 - s.x0___19184); + r0 = (s.x___41708 - s.x0___41605); 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___19174); - s.xLine___19293 = (r0); - r0 = (s.xLine___19293 >= 0); + r0 = (s.tmp_1 - s.offsetX___41595); + s.xLine___41714 = (r0); + r0 = (s.xLine___41714 >= 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___19293; - r0 = pxsim_ImageMethods.width(globals.screen___2032); + s.tmp_1 = r0 = s.xLine___41714; + r0 = pxsim_ImageMethods.width(globals.screen___25100); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -38992,46 +36980,46 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P1958_mk(s); + s.tmp_4 = helpers_imageDrawLine__P25026_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___19293; + s.tmp_4.arg1 = s.xLine___41714; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___19293; + s.tmp_4.arg3 = s.xLine___41714; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; - s.callLocIdx = 900; s.pc = 30; return s.tmp_4; + s.callLocIdx = 864; s.pc = 30; return s.tmp_4; case 30: r0 = s.retval; case 12: case 13: - r0 = (s.x___19287 + 1); - s.x___19287 = (r0); + r0 = (s.x___41708 + 1); + s.x___41708 = (r0); { step = 9; continue; } case 14: - s.y___19319 = (s.y0___19208); + s.y___41740 = (s.y0___41629); case 15: - r0 = (s.y___19319 <= s.yn___19215); + r0 = (s.y___41740 <= s.yn___41636); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___19319 - s.y0___19208); + r0 = (s.y___41740 - s.y0___41629); 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___19179); - s.yLine___19325 = (r0); - r0 = (s.yLine___19325 >= 0); + r0 = (s.tmp_1 - s.offsetY___41600); + s.yLine___41746 = (r0); + r0 = (s.yLine___41746 >= 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___19325; - r0 = pxsim_ImageMethods.height(globals.screen___2032); + s.tmp_1 = r0 = s.yLine___41746; + r0 = pxsim_ImageMethods.height(globals.screen___25100); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -39039,21 +37027,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P1958_mk(s); + s.tmp_4 = helpers_imageDrawLine__P25026_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___19325; + s.tmp_4.arg2 = s.yLine___41746; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___19325; + s.tmp_4.arg4 = s.yLine___41746; s.tmp_4.arg5 = 1; - s.callLocIdx = 902; s.pc = 31; return s.tmp_4; + s.callLocIdx = 866; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___19319 + 1); - s.y___19319 = (r0); + r0 = (s.y___41740 + 1); + s.y___41740 = (r0); { step = 15; continue; } case 20: case 21: @@ -39063,12 +37051,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P5029.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__P28102.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__P5029_mk(s) { +function tiles_TileMap_draw__P28102_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P5029, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P28102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39080,21 +37068,21 @@ function tiles_TileMap_draw__P5029_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___19168: undefined, - offsetX___19174: undefined, - offsetY___19179: undefined, - x0___19184: undefined, - xn___19191: undefined, - y0___19208: undefined, - yn___19215: undefined, - x___19232: undefined, - y___19238: undefined, - index___19244: undefined, - tile___19251: undefined, - x___19287: undefined, - xLine___19293: undefined, - y___19319: undefined, - yLine___19325: undefined, + bitmask___41589: undefined, + offsetX___41595: undefined, + offsetY___41600: undefined, + x0___41605: undefined, + xn___41612: undefined, + y0___41629: undefined, + yn___41636: undefined, + x___41653: undefined, + y___41659: undefined, + index___41665: undefined, + tile___41672: undefined, + x___41708: undefined, + xLine___41714: undefined, + y___41740: undefined, + yLine___41746: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39104,7 +37092,7 @@ function tiles_TileMap_draw__P5029_mk(s) { -function tiles_TileMap_scale__P2739(s) { +function tiles_TileMap_scale__P25807(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39120,17 +37108,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C25803_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__P2722_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P25790_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 869; s.pc = 3; return s.tmp_1; + s.callLocIdx = 833; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 1: @@ -39139,12 +37127,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P2739.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__P25807.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__P2739_mk(s) { +function tiles_TileMap_scale__P25807_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P2739, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P25807, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39156,7 +37144,7 @@ function tiles_TileMap_scale__P2739_mk(s) { -function tiles_TileMap_data__P2740(s) { +function tiles_TileMap_data__P25808(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39171,18 +37159,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2735_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C25803_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P2740.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__P2740.isGetter = true; +tiles_TileMap_data__P25808.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__P25808.isGetter = true; -function tiles_TileMap_data__P2740_mk(s) { +function tiles_TileMap_data__P25808_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P2740, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P25808, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -39191,7 +37179,7 @@ function tiles_TileMap_data__P2740_mk(s) { -function Sprite_toString__P2434(s) { +function Sprite_toString__P25502(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39206,7 +37194,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -39224,9 +37212,9 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P2354_mk(s); + s.tmp_14 = Sprite_x__P25422_mk(s); s.tmp_14.arg0 = s.arg0; - s.callLocIdx = 480; s.pc = 2; return s.tmp_14; + s.callLocIdx = 444; s.pc = 2; return s.tmp_14; case 2: r0 = s.retval; s.tmp_13 = r0; @@ -39243,9 +37231,9 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P2356_mk(s); + s.tmp_17 = Sprite_y__P25424_mk(s); s.tmp_17.arg0 = s.arg0; - s.callLocIdx = 481; s.pc = 4; return s.tmp_17; + s.callLocIdx = 445; s.pc = 4; return s.tmp_17; case 4: r0 = s.retval; s.tmp_16 = r0; @@ -39262,9 +37250,9 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P2358_mk(s); + s.tmp_20 = Sprite_vx__P25426_mk(s); s.tmp_20.arg0 = s.arg0; - s.callLocIdx = 482; s.pc = 6; return s.tmp_20; + s.callLocIdx = 446; s.pc = 6; return s.tmp_20; case 6: r0 = s.retval; s.tmp_19 = r0; @@ -39281,9 +37269,9 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P2360_mk(s); + s.tmp_23 = Sprite_vy__P25428_mk(s); s.tmp_23.arg0 = s.arg0; - s.callLocIdx = 483; s.pc = 8; return s.tmp_23; + s.callLocIdx = 447; s.pc = 8; return s.tmp_23; case 8: r0 = s.retval; s.tmp_22 = r0; @@ -39302,12 +37290,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P2434.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__P25502.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__P2434_mk(s) { +function Sprite_toString__P25502_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P2434, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P25502, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39340,7 +37328,7 @@ function Sprite_toString__P2434_mk(s) { -function Sprite___update__P2416(s) { +function Sprite___update__P25484(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39357,7 +37345,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -39379,9 +37367,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["lifespan"] = (undefined); - s.tmp_0 = Sprite__C2341_v6_1_mk(s); + s.tmp_0 = Sprite__C25409_v6_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C2341_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C25409_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods._destroyCore; s.pc = 11; return s.tmp_0; case 11: @@ -39399,10 +37387,10 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P2414_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P25482_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - s.callLocIdx = 419; s.pc = 12; return s.tmp_2; + s.callLocIdx = 383; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; case 6: @@ -39410,11 +37398,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P2428_mk(s); + s.tmp_4 = Sprite_destroy__P25496_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; - s.callLocIdx = 420; s.pc = 13; return s.tmp_4; + s.callLocIdx = 384; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: @@ -39423,13 +37411,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = sprites_BaseSpriteSayRenderer__C2259_v1_4_mk(s); + s.tmp_1 = sprites_BaseSpriteSayRenderer__C25327_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__C2259_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C25327_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: @@ -39440,12 +37428,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P2416.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__P25484.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__P2416_mk(s) { +function Sprite___update__P25484_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P2416, depth: s.depth + 1, + parent: s, fn: Sprite___update__P25484, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39462,7 +37450,7 @@ function Sprite___update__P2416_mk(s) { -function Sprite_isOutOfScreen__P2414(s) { +function Sprite_isOutOfScreen__P25482(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39472,15 +37460,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___19866 = undefined; - s.oy___19874 = undefined; + s.ox___42287 = undefined; + s.oy___42295 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -39494,7 +37482,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___19866 = (s.tmp_2); + s.ox___42287 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -39508,14 +37496,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___19874 = (s.tmp_2); - s.tmp_3 = Sprite_right__P2401_mk(s); + s.oy___42295 = (s.tmp_2); + s.tmp_3 = Sprite_right__P25469_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 410; s.pc = 11; return s.tmp_3; + s.callLocIdx = 374; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___19866); + r0 = (s.tmp_2 - s.ox___42287); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -39524,13 +37512,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P2405_mk(s); + s.tmp_6 = Sprite_bottom__P25473_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 411; s.pc = 12; return s.tmp_6; + s.callLocIdx = 375; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___19874); + r0 = (s.tmp_5 - s.oy___42295); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -39541,15 +37529,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P2399_mk(s); + s.tmp_10 = Sprite_left__P25467_mk(s); s.tmp_10.arg0 = s.arg0; - s.callLocIdx = 412; s.pc = 13; return s.tmp_10; + s.callLocIdx = 376; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___19866); + r0 = (s.tmp_9 - s.ox___42287); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2032); + r0 = pxsim_ImageMethods.width(globals.screen___25100); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -39560,15 +37548,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P2403_mk(s); + s.tmp_15 = Sprite_top__P25471_mk(s); s.tmp_15.arg0 = s.arg0; - s.callLocIdx = 413; s.pc = 14; return s.tmp_15; + s.callLocIdx = 377; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___19874); + r0 = (s.tmp_14 - s.oy___42295); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___2032); + r0 = pxsim_ImageMethods.height(globals.screen___25100); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -39578,12 +37566,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P2414.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__P25482.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__P2414_mk(s) { +function Sprite_isOutOfScreen__P25482_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P2414, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P25482, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39603,8 +37591,8 @@ function Sprite_isOutOfScreen__P2414_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___19866: undefined, - oy___19874: undefined, + ox___42287: undefined, + oy___42295: undefined, arg0: undefined, arg1: undefined, } } @@ -39613,7 +37601,7 @@ function Sprite_isOutOfScreen__P2414_mk(s) { -function sprites_BaseSpriteSayRenderer_update__P2262(s) { +function sprites_BaseSpriteSayRenderer_update__P25330(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39631,17 +37619,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2259_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C25327_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_update__P2262.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__P25330.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__P2262_mk(s) { +function sprites_BaseSpriteSayRenderer_update__P25330_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_update__P2262, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_update__P25330, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -39653,7 +37641,7 @@ function sprites_BaseSpriteSayRenderer_update__P2262_mk(s) { -function Sprite_data__P2377(s) { +function Sprite_data__P25445(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39669,18 +37657,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P2377.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__P25445.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__P2377_mk(s) { +function Sprite_data__P25445_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P2377, depth: s.depth + 1, + parent: s, fn: Sprite_data__P25445, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -39690,7 +37678,7 @@ function Sprite_data__P2377_mk(s) { -function Sprite_data__P2376(s) { +function Sprite_data__P25444(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39705,7 +37693,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -39724,13 +37712,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P2376.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__P2376.isGetter = true; +Sprite_data__P25444.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__P25444.isGetter = true; -function Sprite_data__P2376_mk(s) { +function Sprite_data__P25444_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P2376, depth: s.depth + 1, + parent: s, fn: Sprite_data__P25444, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39744,7 +37732,7 @@ function Sprite_data__P2376_mk(s) { -function sprites_BaseSprite___update__P2102(s) { +function sprites_BaseSprite___update__P25170(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39761,17 +37749,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C2094_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C25162_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P2102.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__P25170.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__P2102_mk(s) { +function sprites_BaseSprite___update__P25170_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P2102, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P25170, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -39782,7 +37770,7 @@ function sprites_BaseSprite___update__P2102_mk(s) { -function sprites_BaseSprite___draw__P2100(s) { +function sprites_BaseSprite___draw__P25168(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39798,10 +37786,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C2094_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C2094_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C25162_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C25162_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C2094_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C25162_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: @@ -39809,10 +37797,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C2094_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C25162_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C2094_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C25162_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: @@ -39823,12 +37811,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P2100.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__P25168.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__P2100_mk(s) { +function sprites_BaseSprite___draw__P25168_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P2100, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P25168, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39841,7 +37829,7 @@ function sprites_BaseSprite___draw__P2100_mk(s) { -function sprites_BaseSprite___drawCore__P2101(s) { +function sprites_BaseSprite___drawCore__P25169(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39857,17 +37845,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C2094_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C25162_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P2101.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__P25169.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__P2101_mk(s) { +function sprites_BaseSprite___drawCore__P25169_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P2101, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P25169, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -39877,7 +37865,7 @@ function sprites_BaseSprite___drawCore__P2101_mk(s) { -function sprites_BaseSprite___visible__P2097(s) { +function sprites_BaseSprite___visible__P25165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39892,17 +37880,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C2094_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C25162_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P2097.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__P25165.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__P2097_mk(s) { +function sprites_BaseSprite___visible__P25165_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P2097, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P25165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -39911,7 +37899,7 @@ function sprites_BaseSprite___visible__P2097_mk(s) { -function scene_BackgroundLayer_constructor__P2686(s) { +function scene_BackgroundLayer_constructor__P25754(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39929,12 +37917,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C2679_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C25747_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P130_mk(s); + s.tmp_2 = Math_max__P23197_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; - s.callLocIdx = 846; s.pc = 7; return s.tmp_2; + s.callLocIdx = 810; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; @@ -39977,12 +37965,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P2686.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__P25754.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__P2686_mk(s) { +function scene_BackgroundLayer_constructor__P25754_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P2686, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P25754, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39997,7 +37985,7 @@ function scene_BackgroundLayer_constructor__P2686_mk(s) { -function scene_Camera_y__P2791(s) { +function scene_Camera_y__P25859(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40012,10 +38000,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2781_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___2032); + r0 = pxsim_ImageMethods.height(globals.screen___25100); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -40023,13 +38011,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_y__P2791.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__P2791.isGetter = true; +scene_Camera_y__P25859.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__P25859.isGetter = true; -function scene_Camera_y__P2791_mk(s) { +function scene_Camera_y__P25859_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P2791, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P25859, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40041,7 +38029,7 @@ function scene_Camera_y__P2791_mk(s) { -function scene_Camera_x__P2790(s) { +function scene_Camera_x__P25858(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40056,10 +38044,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2781_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2032); + r0 = pxsim_ImageMethods.width(globals.screen___25100); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -40067,13 +38055,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_x__P2790.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__P2790.isGetter = true; +scene_Camera_x__P25858.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__P25858.isGetter = true; -function scene_Camera_x__P2790_mk(s) { +function scene_Camera_x__P25858_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P2790, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P25858, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40085,7 +38073,7 @@ function scene_Camera_x__P2790_mk(s) { -function scene_Scene_data__P2868(s) { +function scene_Scene_data__P25936(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40100,18 +38088,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2843_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C25911_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P2868.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__P2868.isGetter = true; +scene_Scene_data__P25936.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__P25936.isGetter = true; -function scene_Scene_data__P2868_mk(s) { +function scene_Scene_data__P25936_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P2868, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P25936, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -40120,7 +38108,7 @@ function scene_Scene_data__P2868_mk(s) { -function music_Melody_toString__P1635(s) { +function controller_AnyButton_isPressed__P27963(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40130,70 +38118,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: + s.ctrl___42416 = undefined; + s.b___42420 = undefined; + s.unnamed178___U2 = undefined; + s.unnamed179___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1626_VT)) failedCast(r0); - r0 = s.arg0.fields["_text"]; - return leave(s, r0) - default: oops() -} } } -music_Melody_toString__P1635.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__P1635_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: music_Melody_toString__P1635, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - arg0: undefined, -} } - - - - - -function controller_AnyButton_isPressed__P4890(s) { -let r0 = s.r0, step = s.pc; -s.pc = -1; - - -while (true) { -if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) return null; -switch (step) { - case 0: - - s.ctrl___19998 = undefined; - s.b___20002 = undefined; - s.unnamed70___U2 = undefined; - s.unnamed71___U3 = undefined; - if (s.lambdaArgs) { - s.arg0 = (s.lambdaArgs[0]); - s.lambdaArgs = null; - } - r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C4882_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P2128_mk(s); - s.callLocIdx = 232; s.pc = 6; return s.tmp_0; + if (!checkSubtype(r0, controller_AnyButton__C27955_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P25196_mk(s); + s.callLocIdx = 196; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___19998 = (r0); - s.b___20002 = (undefined); - r0 = s.ctrl___19998.fields["buttons"]; - s.unnamed70___U2 = (r0); - s.unnamed71___U3 = (0); + s.ctrl___42416 = (r0); + s.b___42420 = (undefined); + r0 = s.ctrl___42416.fields["buttons"]; + s.unnamed178___U2 = (r0); + s.unnamed179___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed71___U3; - r0 = pxsim_Array__length(s.unnamed70___U2); + s.tmp_0 = r0 = s.unnamed179___U3; + r0 = pxsim_Array__length(s.unnamed178___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed70___U2, s.unnamed71___U3); - s.b___20002 = (r0); - s.tmp_3 = controller_Button__C2189_v0_1_mk(s); - s.tmp_3.arg0 = s.b___20002; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C2189_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed178___U2, s.unnamed179___U3); + s.b___42420 = (r0); + s.tmp_3 = controller_Button__C25257_v0_1_mk(s); + s.tmp_3.arg0 = s.b___42420; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C25257_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: @@ -40205,31 +38159,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed71___U3 + 1); - s.unnamed71___U3 = (r0); + r0 = (s.unnamed179___U3 + 1); + s.unnamed179___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed70___U2 = (undefined); + s.unnamed178___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P4890.info = {"start":15724,"length":202,"line":469,"column":8,"endLine":476,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} +controller_AnyButton_isPressed__P27963.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__P4890_mk(s) { +function controller_AnyButton_isPressed__P27963_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P4890, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P27963, 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___19998: undefined, - b___20002: undefined, - unnamed70___U2: undefined, - unnamed71___U3: undefined, + ctrl___42416: undefined, + b___42420: undefined, + unnamed178___U2: undefined, + unnamed179___U3: undefined, arg0: undefined, } } @@ -40237,7 +38191,7 @@ function controller_AnyButton_isPressed__P4890_mk(s) { -function controller_Button_toString__P2194(s) { +function controller_Button_toString__P25262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40252,7 +38206,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2189_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C25257_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -40292,12 +38246,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P2194.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__P25262.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__P2194_mk(s) { +function controller_Button_toString__P25262_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P2194, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P25262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40313,7 +38267,7 @@ function controller_Button_toString__P2194_mk(s) { -function sprites_BaseSpriteSayRenderer_constructor__P2260(s) { +function sprites_BaseSpriteSayRenderer_constructor__P25328(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40331,7 +38285,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2259_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C25327_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); r0 = (s.arg0).fields["fgColor"] = (s.arg2); r0 = (s.arg0).fields["bgColor"] = (s.arg3); @@ -40339,12 +38293,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_constructor__P2260.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__P25328.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__P2260_mk(s) { +function sprites_BaseSpriteSayRenderer_constructor__P25328_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P2260, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P25328, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -40356,7 +38310,7 @@ function sprites_BaseSpriteSayRenderer_constructor__P2260_mk(s) { -function sprites_StaticObstacle_width__P2508(s) { +function sprites_StaticObstacle_width__P25576(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40371,20 +38325,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2498_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C25566_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__P2508.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__P2508.isGetter = true; +sprites_StaticObstacle_width__P25576.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__P25576.isGetter = true; -function sprites_StaticObstacle_width__P2508_mk(s) { +function sprites_StaticObstacle_width__P25576_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P2508, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P25576, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40394,7 +38348,7 @@ function sprites_StaticObstacle_width__P2508_mk(s) { -function sprites_StaticObstacle_height__P2507(s) { +function sprites_StaticObstacle_height__P25575(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40409,20 +38363,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2498_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C25566_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__P2507.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__P2507.isGetter = true; +sprites_StaticObstacle_height__P25575.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__P25575.isGetter = true; -function sprites_StaticObstacle_height__P2507_mk(s) { +function sprites_StaticObstacle_height__P25575_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P2507, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P25575, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40432,7 +38386,7 @@ function sprites_StaticObstacle_height__P2507_mk(s) { -function sprites_StaticObstacle_y__P2506(s) { +function sprites_StaticObstacle_y__P25574(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40447,7 +38401,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2498_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C25566_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -40460,13 +38414,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P2506.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__P2506.isGetter = true; +sprites_StaticObstacle_y__P25574.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__P25574.isGetter = true; -function sprites_StaticObstacle_y__P2506_mk(s) { +function sprites_StaticObstacle_y__P25574_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P2506, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P25574, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40479,7 +38433,7 @@ function sprites_StaticObstacle_y__P2506_mk(s) { -function sprites_StaticObstacle_x__P2505(s) { +function sprites_StaticObstacle_x__P25573(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40494,7 +38448,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2498_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C25566_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -40507,13 +38461,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P2505.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__P2505.isGetter = true; +sprites_StaticObstacle_x__P25573.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__P25573.isGetter = true; -function sprites_StaticObstacle_x__P2505_mk(s) { +function sprites_StaticObstacle_x__P25573_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P2505, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P25573, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40526,7 +38480,7 @@ function sprites_StaticObstacle_x__P2505_mk(s) { -function tiles_Location_top__P2701(s) { +function tiles_Location_top__P25769(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40541,12 +38495,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2693_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C25761_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; s.tmp_0 = r0; - s.tmp_3 = tiles_Location_tileMap__P2695_mk(s); + s.tmp_3 = tiles_Location_tileMap__P25763_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 856; s.pc = 1; return s.tmp_3; + s.callLocIdx = 820; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -40556,13 +38510,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_top__P2701.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__P2701.isGetter = true; +tiles_Location_top__P25769.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__P25769.isGetter = true; -function tiles_Location_top__P2701_mk(s) { +function tiles_Location_top__P25769_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_top__P2701, depth: s.depth + 1, + parent: s, fn: tiles_Location_top__P25769, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40575,7 +38529,7 @@ function tiles_Location_top__P2701_mk(s) { -function tiles_Location_left__P2700(s) { +function tiles_Location_left__P25768(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40590,12 +38544,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2693_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C25761_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; s.tmp_0 = r0; - s.tmp_3 = tiles_Location_tileMap__P2695_mk(s); + s.tmp_3 = tiles_Location_tileMap__P25763_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 854; s.pc = 1; return s.tmp_3; + s.callLocIdx = 818; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -40605,13 +38559,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_left__P2700.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__P2700.isGetter = true; +tiles_Location_left__P25768.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__P25768.isGetter = true; -function tiles_Location_left__P2700_mk(s) { +function tiles_Location_left__P25768_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_left__P2700, depth: s.depth + 1, + parent: s, fn: tiles_Location_left__P25768, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40624,7 +38578,7 @@ function tiles_Location_left__P2700_mk(s) { -function tiles_Location_y__P2699(s) { +function tiles_Location_y__P25767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40634,26 +38588,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___20058 = undefined; + s.scale___42476 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2693_VT)) failedCast(r0); - s.tmp_1 = tiles_Location_tileMap__P2695_mk(s); + if (!checkSubtype(r0, tiles_Location__C25761_VT)) failedCast(r0); + s.tmp_1 = tiles_Location_tileMap__P25763_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 852; s.pc = 1; return s.tmp_1; + s.callLocIdx = 816; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___20058 = (r0); + s.scale___42476 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___20058); + r0 = (s.tmp_1 << s.scale___42476); s.tmp_0 = r0; - r0 = (s.scale___20058 - 1); + r0 = (s.scale___42476 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -40661,19 +38615,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P2699.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__P2699.isGetter = true; +tiles_Location_y__P25767.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__P25767.isGetter = true; -function tiles_Location_y__P2699_mk(s) { +function tiles_Location_y__P25767_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P2699, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P25767, 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___20058: undefined, + scale___42476: undefined, arg0: undefined, } } @@ -40681,7 +38635,7 @@ function tiles_Location_y__P2699_mk(s) { -function tiles_Location_x__P2698(s) { +function tiles_Location_x__P25766(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40691,26 +38645,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___20074 = undefined; + s.scale___42492 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2693_VT)) failedCast(r0); - s.tmp_1 = tiles_Location_tileMap__P2695_mk(s); + if (!checkSubtype(r0, tiles_Location__C25761_VT)) failedCast(r0); + s.tmp_1 = tiles_Location_tileMap__P25763_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 850; s.pc = 1; return s.tmp_1; + s.callLocIdx = 814; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___20074 = (r0); + s.scale___42492 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___20074); + r0 = (s.tmp_1 << s.scale___42492); s.tmp_0 = r0; - r0 = (s.scale___20074 - 1); + r0 = (s.scale___42492 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -40718,19 +38672,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P2698.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__P2698.isGetter = true; +tiles_Location_x__P25766.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__P25766.isGetter = true; -function tiles_Location_x__P2698_mk(s) { +function tiles_Location_x__P25766_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P2698, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P25766, 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___20074: undefined, + scale___42492: undefined, arg0: undefined, } } @@ -40738,7 +38692,7 @@ function tiles_Location_x__P2698_mk(s) { -function particles_ShapeFactory_drawParticle__P3233(s) { +function particles_ShapeFactory_drawParticle__P26301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40748,7 +38702,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___20093 = undefined; + s.pImage___42511 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40757,23 +38711,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C3230_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P3081_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C26298_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P26149_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1296; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1262; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___20093 = (r0); + s.pImage___42511 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___20093, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___2032; - s.tmp_1 = r0 = s.pImage___20093; + r0 = pxsim_ImageMethods.replace(s.pImage___42511, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___25100; + s.tmp_1 = r0 = s.pImage___42511; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -40795,12 +38749,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P3233.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__P26301.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__P3233_mk(s) { +function particles_ShapeFactory_drawParticle__P26301_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P3233, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P26301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40812,7 +38766,7 @@ function particles_ShapeFactory_drawParticle__P3233_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___20093: undefined, + pImage___42511: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40823,7 +38777,7 @@ function particles_ShapeFactory_drawParticle__P3233_mk(s) { -function Math_FastRandom_pickRandom__P3081(s) { +function Math_FastRandom_pickRandom__P26149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40839,7 +38793,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C3076_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C26144_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -40862,14 +38816,14 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P3080_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P26148_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); s.tmp_6.arg2 = r0; - s.callLocIdx = 1025; s.pc = 6; return s.tmp_6; + s.callLocIdx = 991; s.pc = 6; return s.tmp_6; case 6: r0 = s.retval; s.tmp_5 = r0; @@ -40878,12 +38832,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P3081.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__P26149.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__P3081_mk(s) { +function Math_FastRandom_pickRandom__P26149_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P3081, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P26149, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40901,7 +38855,7 @@ function Math_FastRandom_pickRandom__P3081_mk(s) { -function particles_AreaFactory_drawParticle__P3221(s) { +function particles_AreaFactory_drawParticle__P26289(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40911,7 +38865,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___20139 = undefined; + s.col___42557 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -40920,7 +38874,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C3214_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C26282_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -40947,8 +38901,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___20139 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___2032; + s.col___42557 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___25100; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -40957,17 +38911,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___20139); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___42557); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P3221.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__P26289.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__P3221_mk(s) { +function particles_AreaFactory_drawParticle__P26289_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P3221, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P26289, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40975,7 +38929,7 @@ function particles_AreaFactory_drawParticle__P3221_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___20139: undefined, + col___42557: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40986,7 +38940,7 @@ function particles_AreaFactory_drawParticle__P3221_mk(s) { -function particles_SprayFactory_drawParticle__P3211(s) { +function particles_SprayFactory_drawParticle__P26279(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41004,8 +38958,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C3208_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___2032; + if (!checkSubtype(r0, particles_SprayFactory__C26276_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___25100; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -41019,12 +38973,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P3211.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__P26279.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__P3211_mk(s) { +function particles_SprayFactory_drawParticle__P26279_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P3211, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P26279, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41041,7 +38995,7 @@ function particles_SprayFactory_drawParticle__P3211_mk(s) { -function scene_Renderable___drawCore__P2803(s) { +function scene_Renderable___drawCore__P25871(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41057,19 +39011,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C2800_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C25868_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___2032; + s.tmp_0.arg1 = globals.screen___25100; s.tmp_0.arg2 = s.arg1; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "handler"), 3); - s.callLocIdx = 954; s.pc = 1; return s.tmp_0; + s.callLocIdx = 920; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["handler"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 954; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 954; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 954; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["handler"], 3); s.callLocIdx = 920; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 920; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 920; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -41077,12 +39031,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P2803.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__P25871.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__P2803_mk(s) { +function scene_Renderable___drawCore__P25871_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P2803, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P25871, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41093,7 +39047,7 @@ function scene_Renderable___drawCore__P2803_mk(s) { -function scene_Renderable___visible__P2802(s) { +function scene_Renderable___visible__P25870(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41108,29 +39062,29 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C2800_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C25868_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "shouldBeVisible"), 1); - s.callLocIdx = 953; s.pc = 1; return s.tmp_0; + s.callLocIdx = 919; s.pc = 1; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["shouldBeVisible"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["shouldBeVisible"], 1); s.callLocIdx = 953; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 953; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 953; s.pc = 1; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["shouldBeVisible"], 1); s.callLocIdx = 919; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 919; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 919; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P2802.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__P25870.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__P2802_mk(s) { +function scene_Renderable___visible__P25870_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P2802, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P25870, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41140,7 +39094,7 @@ function scene_Renderable___visible__P2802_mk(s) { -function Sprite___drawCore__P2415(s) { +function Sprite___drawCore__P25483(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41150,27 +39104,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___20272 = undefined; - s.oy___20280 = undefined; - s.l___20288 = undefined; - s.t___20294 = undefined; + s.ox___42690 = undefined; + s.oy___42698 = undefined; + s.l___42706 = undefined; + s.t___42712 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); - s.tmp_0 = Sprite_drawSay__P4910_mk(s); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); + s.tmp_0 = Sprite_drawSay__P27983_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 414; s.pc = 8; return s.tmp_0; + s.callLocIdx = 378; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_1 = Sprite_isOutOfScreen__P2414_mk(s); + s.tmp_1 = Sprite_isOutOfScreen__P25482_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; - s.callLocIdx = 415; s.pc = 9; return s.tmp_1; + s.callLocIdx = 379; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; @@ -41192,7 +39146,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___20272 = (s.tmp_4); + s.ox___42690 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -41206,43 +39160,43 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___20280 = (s.tmp_2); - s.tmp_2 = Sprite_left__P2399_mk(s); + s.oy___42698 = (s.tmp_2); + s.tmp_2 = Sprite_left__P25467_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 416; s.pc = 10; return s.tmp_2; + s.callLocIdx = 380; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___20272); + r0 = (s.tmp_1 - s.ox___42690); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.l___20288 = (r0); - s.tmp_2 = Sprite_top__P2403_mk(s); + s.l___42706 = (r0); + s.tmp_2 = Sprite_top__P25471_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 417; s.pc = 11; return s.tmp_2; + s.callLocIdx = 381; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.oy___20280); + r0 = (s.tmp_1 - s.oy___42698); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.t___20294 = (r0); - s.tmp_0 = Sprite__C2341_v7_3_mk(s); + s.t___42712 = (r0); + s.tmp_0 = Sprite__C25409_v7_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___20288; - s.tmp_0.arg2 = s.t___20294; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C2341_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.l___42706; + s.tmp_0.arg2 = s.t___42712; + if (!checkSubtype(s.tmp_0.arg0, Sprite__C25409_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__P4911_mk(s); + s.tmp_0 = Sprite_drawDebug__P27984_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___20288; - s.tmp_0.arg2 = s.t___20294; - s.tmp_0.arg3 = s.ox___20272; - s.tmp_0.arg4 = s.oy___20280; - s.callLocIdx = 418; s.pc = 13; return s.tmp_0; + s.tmp_0.arg1 = s.l___42706; + s.tmp_0.arg2 = s.t___42712; + s.tmp_0.arg3 = s.ox___42690; + s.tmp_0.arg4 = s.oy___42698; + s.callLocIdx = 382; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 7: @@ -41250,22 +39204,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P2415.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__P25483.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__P2415_mk(s) { +function Sprite___drawCore__P25483_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P2415, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P25483, 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___20272: undefined, - oy___20280: undefined, - l___20288: undefined, - t___20294: undefined, + ox___42690: undefined, + oy___42698: undefined, + l___42706: undefined, + t___42712: undefined, arg0: undefined, arg1: undefined, } } @@ -41274,7 +39228,7 @@ function Sprite___drawCore__P2415_mk(s) { -function Sprite_drawSprite__P4912(s) { +function Sprite_drawSprite__P27985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41291,10 +39245,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); - s.tmp_3 = Sprite_isScaled__P4909_mk(s); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); + s.tmp_3 = Sprite_isScaled__P27982_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 508; s.pc = 3; return s.tmp_3; + s.callLocIdx = 472; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -41306,22 +39260,22 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["_image"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___2032, s.tmp_4, s.arg1, s.arg2); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___25100, s.tmp_4, s.arg1, s.arg2); { step = 2; continue; } case 1: - s.tmp_0 = helpers_imageBlit__P1953_mk(s); - s.tmp_0.arg0 = globals.screen___2032; + s.tmp_0 = helpers_imageBlit__P25021_mk(s); + s.tmp_0.arg0 = globals.screen___25100; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.tmp_1 = Sprite_width__P2397_mk(s); + s.tmp_1 = Sprite_width__P25465_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 509; s.pc = 5; return s.tmp_1; + s.callLocIdx = 473; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg3 = r0; - s.tmp_2 = Sprite_height__P2398_mk(s); + s.tmp_2 = Sprite_height__P25466_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 510; s.pc = 6; return s.tmp_2; + s.callLocIdx = 474; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg4 = r0; @@ -41339,7 +39293,7 @@ switch (step) { s.tmp_0.arg9 = r0; s.tmp_0.arg10 = true; s.tmp_0.arg11 = false; - s.callLocIdx = 511; s.pc = 4; return s.tmp_0; + s.callLocIdx = 475; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 2: @@ -41347,12 +39301,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSprite__P4912.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__P27985.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__P4912_mk(s) { +function Sprite_drawSprite__P27985_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSprite__P4912, depth: s.depth + 1, + parent: s, fn: Sprite_drawSprite__P27985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41368,7 +39322,7 @@ function Sprite_drawSprite__P4912_mk(s) { -function Sprite_drawDebug__P4911(s) { +function Sprite_drawDebug__P27984(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41378,9 +39332,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.font___20318 = undefined; - s.tx___20322 = undefined; - s.ty___20324 = undefined; + s.font___42736 = undefined; + s.tx___42740 = undefined; + s.ty___42742 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -41390,33 +39344,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_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___20318 = (globals.font5___1980); - s.tx___20322 = (s.arg1); + s.font___42736 = (globals.font5___25048); + s.tx___42740 = (s.arg1); s.tmp_1 = r0 = s.arg2; - s.tmp_3 = Sprite_height__P2398_mk(s); + s.tmp_3 = Sprite_height__P25466_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 484; s.pc = 13; return s.tmp_3; + s.callLocIdx = 448; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___20324 = (r0); - s.tmp_0 = helpers_imagePrint__P1990_mk(s); - s.tmp_0.arg0 = globals.screen___2032; + s.ty___42742 = (r0); + s.tmp_0 = helpers_imagePrint__P25058_mk(s); + s.tmp_0.arg0 = globals.screen___25100; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P2354_mk(s); + s.tmp_7 = Sprite_x__P25422_mk(s); s.tmp_7.arg0 = s.arg0; - s.callLocIdx = 485; s.pc = 15; return s.tmp_7; + s.callLocIdx = 449; s.pc = 15; return s.tmp_7; case 15: r0 = s.retval; s.tmp_6 = r0; @@ -41435,9 +39389,9 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P2356_mk(s); + s.tmp_11 = Sprite_y__P25424_mk(s); s.tmp_11.arg0 = s.arg0; - s.callLocIdx = 486; s.pc = 17; return s.tmp_11; + s.callLocIdx = 450; s.pc = 17; return s.tmp_11; case 17: r0 = s.retval; s.tmp_10 = r0; @@ -41454,33 +39408,33 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_8); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.tx___20322; - s.tmp_0.arg3 = s.ty___20324; + s.tmp_0.arg2 = s.tx___42740; + s.tmp_0.arg3 = s.ty___42742; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___20318; + s.tmp_0.arg5 = s.font___42736; s.tmp_0.arg6 = undefined; - s.callLocIdx = 487; s.pc = 14; return s.tmp_0; + s.callLocIdx = 451; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = r0 = s.tx___20322; + s.tmp_0 = r0 = s.tx___42740; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___20318; + s.tmp_2.arg0 = s.font___42736; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["charWidth"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["charWidth"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 488; s.pc = 19; return s.tmp_2; } + else { s.callLocIdx = 452; s.pc = 19; return s.tmp_2; } } case 19: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___20322 = (r0); - s.tmp_1 = Sprite_vx__P2358_mk(s); + s.tx___42740 = (r0); + s.tmp_1 = Sprite_vx__P25426_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 489; s.pc = 20; return s.tmp_1; + s.callLocIdx = 453; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; s.tmp_0 = r0; @@ -41489,9 +39443,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P2360_mk(s); + s.tmp_2 = Sprite_vy__P25428_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 490; s.pc = 21; return s.tmp_2; + s.callLocIdx = 454; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; case 2: @@ -41499,16 +39453,16 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = r0 = s.ty___20324; + s.tmp_4 = r0 = s.ty___42742; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___20318; + s.tmp_7.arg0 = s.font___42736; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charHeight"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charHeight"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 491; s.pc = 22; return s.tmp_7; } + else { s.callLocIdx = 455; s.pc = 22; return s.tmp_7; } } case 22: r0 = s.retval; @@ -41516,12 +39470,12 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___20324 = (r0); - s.tmp_0 = helpers_imagePrint__P1990_mk(s); - s.tmp_0.arg0 = globals.screen___2032; - s.tmp_6 = Sprite_vx__P2358_mk(s); + s.ty___42742 = (r0); + s.tmp_0 = helpers_imagePrint__P25058_mk(s); + s.tmp_0.arg0 = globals.screen___25100; + s.tmp_6 = Sprite_vx__P25426_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 492; s.pc = 24; return s.tmp_6; + s.callLocIdx = 456; s.pc = 24; return s.tmp_6; case 24: r0 = s.retval; s.tmp_5 = r0; @@ -41540,9 +39494,9 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P2360_mk(s); + s.tmp_10 = Sprite_vy__P25428_mk(s); s.tmp_10.arg0 = s.arg0; - s.callLocIdx = 493; s.pc = 26; return s.tmp_10; + s.callLocIdx = 457; s.pc = 26; return s.tmp_10; case 26: r0 = s.retval; s.tmp_9 = r0; @@ -41559,19 +39513,19 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_7); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.tx___20322; - s.tmp_0.arg3 = s.ty___20324; + s.tmp_0.arg2 = s.tx___42740; + s.tmp_0.arg3 = s.ty___42742; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___20318; + s.tmp_0.arg5 = s.font___42736; s.tmp_0.arg6 = undefined; - s.callLocIdx = 494; s.pc = 23; return s.tmp_0; + s.callLocIdx = 458; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; case 3: case 4: - s.tmp_1 = Sprite_ax__P2362_mk(s); + s.tmp_1 = Sprite_ax__P25430_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 495; s.pc = 28; return s.tmp_1; + s.callLocIdx = 459; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; s.tmp_0 = r0; @@ -41580,9 +39534,9 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_ay__P2364_mk(s); + s.tmp_2 = Sprite_ay__P25432_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 496; s.pc = 29; return s.tmp_2; + s.callLocIdx = 460; s.pc = 29; return s.tmp_2; case 29: r0 = s.retval; case 6: @@ -41590,16 +39544,16 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = r0 = s.ty___20324; + s.tmp_4 = r0 = s.ty___42742; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___20318; + s.tmp_7.arg0 = s.font___42736; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charHeight"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charHeight"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 497; s.pc = 30; return s.tmp_7; } + else { s.callLocIdx = 461; s.pc = 30; return s.tmp_7; } } case 30: r0 = s.retval; @@ -41607,12 +39561,12 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___20324 = (r0); - s.tmp_0 = helpers_imagePrint__P1990_mk(s); - s.tmp_0.arg0 = globals.screen___2032; - s.tmp_6 = Sprite_ax__P2362_mk(s); + s.ty___42742 = (r0); + s.tmp_0 = helpers_imagePrint__P25058_mk(s); + s.tmp_0.arg0 = globals.screen___25100; + s.tmp_6 = Sprite_ax__P25430_mk(s); s.tmp_6.arg0 = s.arg0; - s.callLocIdx = 498; s.pc = 32; return s.tmp_6; + s.callLocIdx = 462; s.pc = 32; return s.tmp_6; case 32: r0 = s.retval; s.tmp_5 = r0; @@ -41631,9 +39585,9 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P2364_mk(s); + s.tmp_10 = Sprite_ay__P25432_mk(s); s.tmp_10.arg0 = s.arg0; - s.callLocIdx = 499; s.pc = 34; return s.tmp_10; + s.callLocIdx = 463; s.pc = 34; return s.tmp_10; case 34: r0 = s.retval; s.tmp_9 = r0; @@ -41650,26 +39604,26 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_7); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.tx___20322; - s.tmp_0.arg3 = s.ty___20324; + s.tmp_0.arg2 = s.tx___42740; + s.tmp_0.arg3 = s.ty___42742; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___20318; + s.tmp_0.arg5 = s.font___42736; s.tmp_0.arg6 = undefined; - s.callLocIdx = 500; s.pc = 31; return s.tmp_0; + s.callLocIdx = 464; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; case 7: case 8: case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.debug___2967); + r0 = pxsim_numops_toBoolDecr(globals.debug___26035); if (!r0) { step = 11; continue; } - s.tmp_0 = helpers_imageDrawRect__P1959_mk(s); - s.tmp_0.arg0 = globals.screen___2032; - s.tmp_3 = game_Hitbox_left__P2216_mk(s); + s.tmp_0 = helpers_imageDrawRect__P25027_mk(s); + s.tmp_0.arg0 = globals.screen___25100; + s.tmp_3 = game_Hitbox_left__P25284_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 501; s.pc = 37; return s.tmp_3; + s.callLocIdx = 465; s.pc = 37; return s.tmp_3; case 37: r0 = s.retval; s.tmp_2 = r0; @@ -41679,10 +39633,10 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - s.arg3); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P2217_mk(s); + s.tmp_7 = game_Hitbox_top__P25285_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; - s.callLocIdx = 503; s.pc = 38; return s.tmp_7; + s.callLocIdx = 467; s.pc = 38; return s.tmp_7; case 38: r0 = s.retval; s.tmp_6 = r0; @@ -41707,7 +39661,7 @@ switch (step) { r0 = (s.tmp_12 >> 8); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 507; s.pc = 36; return s.tmp_0; + s.callLocIdx = 471; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; case 11: @@ -41716,12 +39670,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawDebug__P4911.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__P27984.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__P4911_mk(s) { +function Sprite_drawDebug__P27984_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawDebug__P4911, depth: s.depth + 1, + parent: s, fn: Sprite_drawDebug__P27984, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41736,9 +39690,9 @@ function Sprite_drawDebug__P4911_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - font___20318: undefined, - tx___20322: undefined, - ty___20324: undefined, + font___42736: undefined, + tx___42740: undefined, + ty___42742: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -41750,7 +39704,7 @@ function Sprite_drawDebug__P4911_mk(s) { -function Sprite_drawSay__P4910(s) { +function Sprite_drawSay__P27983(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41766,7 +39720,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -41785,23 +39739,23 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 1; continue; } - s.tmp_6 = sprites_BaseSpriteSayRenderer__C2259_v0_4_mk(s); + s.tmp_6 = sprites_BaseSpriteSayRenderer__C25327_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_6.arg0 = r0; - s.tmp_6.arg1 = globals.screen___2032; + s.tmp_6.arg1 = globals.screen___25100; s.tmp_6.arg2 = s.arg1; s.tmp_6.arg3 = s.arg0; - if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C2259_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C25327_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__C2259_v2_1_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C25327_v2_1_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C2259_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C25327_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: @@ -41811,13 +39765,13 @@ switch (step) { case 2: { step = 4; continue; } case 3: - s.tmp_0 = sprites_BaseSpriteSayRenderer__C2259_v0_4_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C25327_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.screen___2032; + s.tmp_0.arg1 = globals.screen___25100; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C2259_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C25327_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: @@ -41829,12 +39783,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSay__P4910.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__P27983.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__P4910_mk(s) { +function Sprite_drawSay__P27983_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSay__P4910, depth: s.depth + 1, + parent: s, fn: Sprite_drawSay__P27983, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41851,7 +39805,7 @@ function Sprite_drawSay__P4910_mk(s) { -function sprites_BaseSpriteSayRenderer_destroy__P2263(s) { +function sprites_BaseSpriteSayRenderer_destroy__P25331(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41866,17 +39820,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2259_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C25327_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_destroy__P2263.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__P25331.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__P2263_mk(s) { +function sprites_BaseSpriteSayRenderer_destroy__P25331_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P2263, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P25331, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -41885,7 +39839,7 @@ function sprites_BaseSpriteSayRenderer_destroy__P2263_mk(s) { -function sprites_BaseSpriteSayRenderer_draw__P2261(s) { +function sprites_BaseSpriteSayRenderer_draw__P25329(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41903,17 +39857,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2259_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C25327_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_draw__P2261.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__P25329.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__P2261_mk(s) { +function sprites_BaseSpriteSayRenderer_draw__P25329_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P2261, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P25329, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -41925,7 +39879,7 @@ function sprites_BaseSpriteSayRenderer_draw__P2261_mk(s) { -function Sprite___visible__P2396(s) { +function Sprite___visible__P25464(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41940,7 +39894,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2341_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C25409_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -41951,12 +39905,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P2396.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__P25464.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__P2396_mk(s) { +function Sprite___visible__P25464_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P2396, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P25464, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41968,7 +39922,7 @@ function Sprite___visible__P2396_mk(s) { -function scene_Camera_top__P2794(s) { +function scene_Camera_top__P25862(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41983,18 +39937,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2781_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_top__P2794.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__P2794.isGetter = true; +scene_Camera_top__P25862.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__P25862.isGetter = true; -function scene_Camera_top__P2794_mk(s) { +function scene_Camera_top__P25862_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P2794, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P25862, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -42003,7 +39957,7 @@ function scene_Camera_top__P2794_mk(s) { -function scene_Camera_left__P2792(s) { +function scene_Camera_left__P25860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42018,18 +39972,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2781_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C25849_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_left__P2792.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__P2792.isGetter = true; +scene_Camera_left__P25860.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__P25860.isGetter = true; -function scene_Camera_left__P2792_mk(s) { +function scene_Camera_left__P25860_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P2792, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P25860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -42037,53 +39991,7 @@ function scene_Camera_left__P2792_mk(s) { -function lambda_1_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, 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, - arg0: undefined, -} } - - -function if_onPlayFinished_1_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, 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, - arg0: undefined, -} } - - -function lambda_5_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: null, 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, - arg0: undefined, - arg1: undefined, - arg2: undefined, - arg3: undefined, - arg4: undefined, -} } - - -function PhysicsEngine__C2511_v4_2_mk(s) { +function PhysicsEngine__C25579_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42129,7 +40037,7 @@ function lambda_2_mk(s) { } } -function PhysicsEngine__C2511_v3_1_mk(s) { +function PhysicsEngine__C25579_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42300,7 +40208,7 @@ function lambda_3_mk(s) { } } -function controller_Button__C2189_v0_1_mk(s) { +function controller_Button__C25257_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42356,6 +40264,20 @@ function if_vy_1_mk(s) { } } +function lambda_1_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: null, 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, + arg0: undefined, +} } + + function if_condition_1_mk(s) { checkStack(s.depth); return { @@ -42387,7 +40309,7 @@ function lambda_4_mk(s) { } } -function Sprite__C2341_v6_1_mk(s) { +function Sprite__C25409_v6_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42417,7 +40339,7 @@ function if_effect_3_mk(s) { } } -function Sprite__C2341_v5_1_mk(s) { +function Sprite__C25409_v5_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42431,7 +40353,7 @@ function Sprite__C2341_v5_1_mk(s) { } } -function Sprite__C2341_v4_1_mk(s) { +function Sprite__C25409_v4_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42461,7 +40383,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C2511_v1_2_mk(s) { +function PhysicsEngine__C25579_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42659,7 +40581,7 @@ function if_getText_1_mk(s) { } } -function PhysicsEngine__C2511_v2_4_mk(s) { +function PhysicsEngine__C25579_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42733,7 +40655,7 @@ function if_z_2_mk(s) { } } -function PhysicsEngine__C2511_v0_2_mk(s) { +function PhysicsEngine__C25579_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42791,7 +40713,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C3204_v0_2_mk(s) { +function particles_ParticleFactory__C26272_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42806,7 +40728,7 @@ function particles_ParticleFactory__C3204_v0_2_mk(s) { } } -function particles_ParticleSource__C3168_v4_3_mk(s) { +function particles_ParticleSource__C26236_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42864,7 +40786,7 @@ function if_height_1_mk(s) { } } -function particles_ParticleFactory__C3204_v1_4_mk(s) { +function particles_ParticleFactory__C26272_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42939,7 +40861,7 @@ function if_top_1_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C2259_v1_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C25327_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42956,7 +40878,7 @@ function sprites_BaseSpriteSayRenderer__C2259_v1_4_mk(s) { } } -function sprites_BaseSprite__C2094_v0_1_mk(s) { +function sprites_BaseSprite__C25162_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42970,7 +40892,7 @@ function sprites_BaseSprite__C2094_v0_1_mk(s) { } } -function sprites_BaseSprite__C2094_v2_2_mk(s) { +function sprites_BaseSprite__C25162_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -42999,7 +40921,7 @@ function if_shouldBeVisible_1_mk(s) { } } -function Sprite__C2341_v7_3_mk(s) { +function Sprite__C25409_v7_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -43015,7 +40937,7 @@ function Sprite__C2341_v7_3_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C2259_v0_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C25327_v0_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -43032,7 +40954,7 @@ function sprites_BaseSpriteSayRenderer__C2259_v0_4_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C2259_v2_1_mk(s) { +function sprites_BaseSpriteSayRenderer__C25327_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -43087,7 +41009,7 @@ function if_width_1_mk(s) { arg0: undefined, } } -const controller_Controller__C2134_VT = mkVTable({ +const controller_Controller__C25202_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 16, @@ -43106,28 +41028,28 @@ const controller_Controller__C2134_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P2139, - "set/_controlledSprites": controller_Controller__controlledSprites__P2140, - "id": controller_Controller_id__P2141, - "left": controller_Controller_left__P2143, - "right": controller_Controller_right__P2144, - "up": controller_Controller_up__P2145, - "down": controller_Controller_down__P2146, - "button": controller_Controller_button__P4881, - "connected": controller_Controller_connected__P2155, - "set/connected": controller_Controller_connected__P2156, - "__preUpdate": controller_Controller___preUpdate__P2162, - "__update": controller_Controller___update__P2163, + "_controlledSprites": controller_Controller__controlledSprites__P25207, + "set/_controlledSprites": controller_Controller__controlledSprites__P25208, + "id": controller_Controller_id__P25209, + "left": controller_Controller_left__P25211, + "right": controller_Controller_right__P25212, + "up": controller_Controller_up__P25213, + "down": controller_Controller_down__P25214, + "button": controller_Controller_button__P27954, + "connected": controller_Controller_connected__P25223, + "set/connected": controller_Controller_connected__P25224, + "__preUpdate": controller_Controller___preUpdate__P25230, + "__update": controller_Controller___update__P25231, }, }); -const controller_Button__C2189_VT = mkVTable({ +const controller_Button__C25257_VT = mkVTable({ name: "Button", numFields: 7, classNo: 17, lastSubtypeNo: 18, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P2200, + "isPressed": controller_Button_isPressed__P25268, }, iface: { "_owner": null, @@ -43144,29 +41066,29 @@ const controller_Button__C2189_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "handlerState": controller_Button_handlerState__P4884, - "toString": controller_Button_toString__P2194, - "raiseButtonUp": controller_Button_raiseButtonUp__P4885, - "raiseButtonDown": controller_Button_raiseButtonDown__P4886, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4887, - "onEvent": controller_Button_onEvent__P2196, - "isPressed": controller_Button_isPressed__P2200, - "pressureLevel": controller_Button_pressureLevel__P2201, - "setPressed": controller_Button_setPressed__P2202, - "__update": controller_Button___update__P2203, - "runButtonEvents": controller_Button_runButtonEvents__P4888, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P4889, + "handlerState": controller_Button_handlerState__P27957, + "toString": controller_Button_toString__P25262, + "raiseButtonUp": controller_Button_raiseButtonUp__P27958, + "raiseButtonDown": controller_Button_raiseButtonDown__P27959, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P27960, + "onEvent": controller_Button_onEvent__P25264, + "isPressed": controller_Button_isPressed__P25268, + "pressureLevel": controller_Button_pressureLevel__P25269, + "setPressed": controller_Button_setPressed__P25270, + "__update": controller_Button___update__P25271, + "runButtonEvents": controller_Button_runButtonEvents__P27961, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P27962, }, - toStringMethod: controller_Button_toString__P2194, + toStringMethod: controller_Button_toString__P25262, }); -const controller_AnyButton__C4882_VT = mkVTable({ +const controller_AnyButton__C27955_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 18, lastSubtypeNo: 18, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P4890, + "isPressed": controller_AnyButton_isPressed__P27963, }, iface: { "_owner": null, @@ -43183,21 +41105,21 @@ const controller_AnyButton__C4882_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P4890, - "handlerState": controller_Button_handlerState__P4884, - "toString": controller_Button_toString__P2194, - "raiseButtonUp": controller_Button_raiseButtonUp__P4885, - "raiseButtonDown": controller_Button_raiseButtonDown__P4886, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4887, - "onEvent": controller_Button_onEvent__P2196, - "pressureLevel": controller_Button_pressureLevel__P2201, - "setPressed": controller_Button_setPressed__P2202, - "__update": controller_Button___update__P2203, - "runButtonEvents": controller_Button_runButtonEvents__P4888, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P4889, + "isPressed": controller_AnyButton_isPressed__P27963, + "handlerState": controller_Button_handlerState__P27957, + "toString": controller_Button_toString__P25262, + "raiseButtonUp": controller_Button_raiseButtonUp__P27958, + "raiseButtonDown": controller_Button_raiseButtonDown__P27959, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P27960, + "onEvent": controller_Button_onEvent__P25264, + "pressureLevel": controller_Button_pressureLevel__P25269, + "setPressed": controller_Button_setPressed__P25270, + "__update": controller_Button___update__P25271, + "runButtonEvents": controller_Button_runButtonEvents__P27961, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P27962, }, }); -const game_GameOverConfig__C2990_VT = mkVTable({ +const game_GameOverConfig__C26058_VT = mkVTable({ name: "GameOverConfig", numFields: 14, classNo: 19, @@ -43234,10 +41156,10 @@ const game_GameOverConfig__C2990_VT = mkVTable({ "set/messageSetByUser": null, "scoringTypeSetByUser": null, "set/scoringTypeSetByUser": null, - "init": game_GameOverConfig_init__P3006, + "init": game_GameOverConfig_init__P26074, }, }); -const Math_FastRandom__C3076_VT = mkVTable({ +const Math_FastRandom__C26144_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 20, @@ -43250,56 +41172,16 @@ const Math_FastRandom__C3076_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P3079, - "randomRange": Math_FastRandom_randomRange__P3080, - "pickRandom": Math_FastRandom_pickRandom__P3081, - }, -}); -const music_Melody__C1626_VT = mkVTable({ - name: "Melody", - numFields: 2, - classNo: 21, - lastSubtypeNo: 21, - maxBgInstances: null, - methods: { - }, - iface: { - "_text": null, - "set/_text": null, - "_player": null, - "set/_player": null, - "stop": music_Melody_stop__P1631, - "registerMelody": music_Melody_registerMelody__P4639, - "unregisterMelody": music_Melody_unregisterMelody__P4640, - "playCore": music_Melody_playCore__P4641, - "play": music_Melody_play__P1633, - "toString": music_Melody_toString__P1635, - }, - toStringMethod: music_Melody_toString__P1635, -}); -const music_MelodyPlayer__C1637_VT = mkVTable({ - name: "MelodyPlayer", - numFields: 2, - classNo: 22, - lastSubtypeNo: 22, - maxBgInstances: null, - methods: { - }, - iface: { - "melody": null, - "set/melody": null, - "onPlayFinished": null, - "set/onPlayFinished": null, - "stop": music_MelodyPlayer_stop__P1641, - "queuePlayInstructions": music_MelodyPlayer_queuePlayInstructions__P4643, - "play": music_MelodyPlayer_play__P1642, + "next": Math_FastRandom_next__P26147, + "randomRange": Math_FastRandom_randomRange__P26148, + "pickRandom": Math_FastRandom_pickRandom__P26149, }, }); -const scene_Scene__C2843_VT = mkVTable({ +const scene_Scene__C25911_VT = mkVTable({ name: "Scene", numFields: 25, - classNo: 23, - lastSubtypeNo: 23, + classNo: 21, + lastSubtypeNo: 21, maxBgInstances: null, methods: { }, @@ -43354,18 +41236,18 @@ const scene_Scene__C2843_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P2867, - "data": scene_Scene_data__P2868, - "millis": scene_Scene_millis__P2869, - "addSprite": scene_Scene_addSprite__P2870, - "render": scene_Scene_render__P2872, + "init": scene_Scene_init__P25935, + "data": scene_Scene_data__P25936, + "millis": scene_Scene_millis__P25937, + "addSprite": scene_Scene_addSprite__P25938, + "render": scene_Scene_render__P25940, }, }); -const control_EventContext__C395_VT = mkVTable({ +const control_EventContext__C23462_VT = mkVTable({ name: "EventContext", numFields: 10, - classNo: 24, - lastSubtypeNo: 24, + classNo: 22, + lastSubtypeNo: 22, maxBgInstances: null, methods: { }, @@ -43390,41 +41272,41 @@ const control_EventContext__C395_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P400, - "runCallbacks": control_EventContext_runCallbacks__P4597, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P4598, - "register": control_EventContext_register__P401, - "unregister": control_EventContext_unregister__P402, - "registerFrameHandler": control_EventContext_registerFrameHandler__P403, - "registerHandler": control_EventContext_registerHandler__P405, + "deltaTime": control_EventContext_deltaTime__P23467, + "runCallbacks": control_EventContext_runCallbacks__P27670, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P27671, + "register": control_EventContext_register__P23468, + "unregister": control_EventContext_unregister__P23469, + "registerFrameHandler": control_EventContext_registerFrameHandler__P23470, + "registerHandler": control_EventContext_registerHandler__P23472, }, }); -const PhysicsEngine__C2511_VT = mkVTable({ +const PhysicsEngine__C25579_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, - classNo: 25, - lastSubtypeNo: 26, + classNo: 23, + lastSubtypeNo: 24, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P2513, - "removeSprite": PhysicsEngine_removeSprite__P2514, - "moveSprite": PhysicsEngine_moveSprite__P2515, - "draw": PhysicsEngine_draw__P2516, - "move": PhysicsEngine_move__P2517, + "addSprite": PhysicsEngine_addSprite__P25581, + "removeSprite": PhysicsEngine_removeSprite__P25582, + "moveSprite": PhysicsEngine_moveSprite__P25583, + "draw": PhysicsEngine_draw__P25584, + "move": PhysicsEngine_move__P25585, }, iface: { - "addSprite": PhysicsEngine_addSprite__P2513, - "removeSprite": PhysicsEngine_removeSprite__P2514, - "moveSprite": PhysicsEngine_moveSprite__P2515, - "draw": PhysicsEngine_draw__P2516, - "move": PhysicsEngine_move__P2517, + "addSprite": PhysicsEngine_addSprite__P25581, + "removeSprite": PhysicsEngine_removeSprite__P25582, + "moveSprite": PhysicsEngine_moveSprite__P25583, + "draw": PhysicsEngine_draw__P25584, + "move": PhysicsEngine_move__P25585, }, }); -const scene_Camera__C2781_VT = mkVTable({ +const scene_Camera__C25849_VT = mkVTable({ name: "Camera", numFields: 10, - classNo: 27, - lastSubtypeNo: 27, + classNo: 25, + lastSubtypeNo: 25, maxBgInstances: null, methods: { }, @@ -43449,23 +41331,23 @@ const scene_Camera__C2781_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P2786, - "set/offsetX": scene_Camera_offsetX__P2787, - "offsetY": scene_Camera_offsetY__P2788, - "set/offsetY": scene_Camera_offsetY__P2789, - "x": scene_Camera_x__P2790, - "y": scene_Camera_y__P2791, - "left": scene_Camera_left__P2792, - "top": scene_Camera_top__P2794, - "isUpdated": scene_Camera_isUpdated__P2797, - "update": scene_Camera_update__P2798, + "offsetX": scene_Camera_offsetX__P25854, + "set/offsetX": scene_Camera_offsetX__P25855, + "offsetY": scene_Camera_offsetY__P25856, + "set/offsetY": scene_Camera_offsetY__P25857, + "x": scene_Camera_x__P25858, + "y": scene_Camera_y__P25859, + "left": scene_Camera_left__P25860, + "top": scene_Camera_top__P25862, + "isUpdated": scene_Camera_isUpdated__P25865, + "update": scene_Camera_update__P25866, }, }); -const control_EventHandler__C4592_VT = mkVTable({ +const control_EventHandler__C27665_VT = mkVTable({ name: "EventHandler", numFields: 4, - classNo: 28, - lastSubtypeNo: 28, + classNo: 26, + lastSubtypeNo: 26, maxBgInstances: null, methods: { }, @@ -43478,15 +41360,15 @@ const control_EventHandler__C4592_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P4593, - "unregister": control_EventHandler_unregister__P4594, + "register": control_EventHandler_register__P27666, + "unregister": control_EventHandler_unregister__P27667, }, }); -const scene_Background__C2669_VT = mkVTable({ +const scene_Background__C25737_VT = mkVTable({ name: "Background", numFields: 4, - classNo: 29, - lastSubtypeNo: 29, + classNo: 27, + lastSubtypeNo: 27, maxBgInstances: null, methods: { }, @@ -43499,14 +41381,14 @@ const scene_Background__C2669_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "draw": scene_Background_draw__P2678, + "draw": scene_Background_draw__P25746, }, }); -const scene_BackgroundLayer__C2679_VT = mkVTable({ +const scene_BackgroundLayer__C25747_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, - classNo: 30, - lastSubtypeNo: 30, + classNo: 28, + lastSubtypeNo: 28, maxBgInstances: null, methods: { }, @@ -43523,49 +41405,49 @@ const scene_BackgroundLayer__C2679_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P2687, + "draw": scene_BackgroundLayer_draw__P25755, }, }); -const sprites_BaseSprite__C2094_VT = mkVTable({ +const sprites_BaseSprite__C25162_VT = mkVTable({ name: "BaseSprite", numFields: 2, - classNo: 31, - lastSubtypeNo: 34, + classNo: 29, + lastSubtypeNo: 32, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P2097, - "__draw": sprites_BaseSprite___draw__P2100, - "__drawCore": sprites_BaseSprite___drawCore__P2101, - "__update": sprites_BaseSprite___update__P2102, + "__visible": sprites_BaseSprite___visible__P25165, + "__draw": sprites_BaseSprite___draw__P25168, + "__drawCore": sprites_BaseSprite___drawCore__P25169, + "__update": sprites_BaseSprite___update__P25170, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P2097, - "z": sprites_BaseSprite_z__P2098, - "set/z": sprites_BaseSprite_z__P2099, - "__draw": sprites_BaseSprite___draw__P2100, - "__drawCore": sprites_BaseSprite___drawCore__P2101, - "__update": sprites_BaseSprite___update__P2102, + "__visible": sprites_BaseSprite___visible__P25165, + "z": sprites_BaseSprite_z__P25166, + "set/z": sprites_BaseSprite_z__P25167, + "__draw": sprites_BaseSprite___draw__P25168, + "__drawCore": sprites_BaseSprite___drawCore__P25169, + "__update": sprites_BaseSprite___update__P25170, }, }); -const Sprite__C2341_VT = mkVTable({ +const Sprite__C25409_VT = mkVTable({ name: "Sprite", numFields: 30, - classNo: 32, - lastSubtypeNo: 32, + classNo: 30, + lastSubtypeNo: 30, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P2396, - "__draw": sprites_BaseSprite___draw__P2100, - "__drawCore": Sprite___drawCore__P2415, - "__update": Sprite___update__P2416, - "setHitbox": Sprite_setHitbox__P2394, - "recalcSize": Sprite_recalcSize__P4908, - "_destroyCore": Sprite__destroyCore__P2429, - "drawSprite": Sprite_drawSprite__P4912, + "__visible": Sprite___visible__P25464, + "__draw": sprites_BaseSprite___draw__P25168, + "__drawCore": Sprite___drawCore__P25483, + "__update": Sprite___update__P25484, + "setHitbox": Sprite_setHitbox__P25462, + "recalcSize": Sprite_recalcSize__P27981, + "_destroyCore": Sprite__destroyCore__P25497, + "drawSprite": Sprite_drawSprite__P27985, }, iface: { "_z": null, @@ -43628,71 +41510,71 @@ const Sprite__C2341_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P2354, - "set/x": Sprite_x__P2355, - "y": Sprite_y__P2356, - "set/y": Sprite_y__P2357, - "vx": Sprite_vx__P2358, - "set/vx": Sprite_vx__P2359, - "vy": Sprite_vy__P2360, - "set/vy": Sprite_vy__P2361, - "ax": Sprite_ax__P2362, - "set/ax": Sprite_ax__P2363, - "ay": Sprite_ay__P2364, - "set/ay": Sprite_ay__P2365, - "fx": Sprite_fx__P2366, - "set/fx": Sprite_fx__P2367, - "fy": Sprite_fy__P2368, - "set/fy": Sprite_fy__P2369, - "sx": Sprite_sx__P2370, - "sy": Sprite_sy__P2372, - "data": Sprite_data__P2376, - "set/data": Sprite_data__P2377, - "image": Sprite_image__P2390, - "setImage": Sprite_setImage__P2391, - "calcDimensionalHash": Sprite_calcDimensionalHash__P2392, - "resetHitbox": Sprite_resetHitbox__P2393, - "setHitbox": Sprite_setHitbox__P2394, - "isStatic": Sprite_isStatic__P2395, - "__visible": Sprite___visible__P2396, - "recalcSize": Sprite_recalcSize__P4908, - "isScaled": Sprite_isScaled__P4909, - "width": Sprite_width__P2397, - "height": Sprite_height__P2398, - "left": Sprite_left__P2399, - "set/left": Sprite_left__P2400, - "right": Sprite_right__P2401, - "set/right": Sprite_right__P2402, - "top": Sprite_top__P2403, - "set/top": Sprite_top__P2404, - "bottom": Sprite_bottom__P2405, - "set/bottom": Sprite_bottom__P2406, - "kind": Sprite_kind__P2407, - "setKind": Sprite_setKind__P2408, - "isOutOfScreen": Sprite_isOutOfScreen__P2414, - "__drawCore": Sprite___drawCore__P2415, - "__update": Sprite___update__P2416, - "setFlag": Sprite_setFlag__P2419, - "overlapsWith": Sprite_overlapsWith__P2420, - "clearObstacles": Sprite_clearObstacles__P2425, - "registerObstacle": Sprite_registerObstacle__P2426, - "destroy": Sprite_destroy__P2428, - "_destroyCore": Sprite__destroyCore__P2429, - "toString": Sprite_toString__P2434, - "drawSay": Sprite_drawSay__P4910, - "drawDebug": Sprite_drawDebug__P4911, - "drawSprite": Sprite_drawSprite__P4912, - "z": sprites_BaseSprite_z__P2098, - "set/z": sprites_BaseSprite_z__P2099, - "__draw": sprites_BaseSprite___draw__P2100, + "x": Sprite_x__P25422, + "set/x": Sprite_x__P25423, + "y": Sprite_y__P25424, + "set/y": Sprite_y__P25425, + "vx": Sprite_vx__P25426, + "set/vx": Sprite_vx__P25427, + "vy": Sprite_vy__P25428, + "set/vy": Sprite_vy__P25429, + "ax": Sprite_ax__P25430, + "set/ax": Sprite_ax__P25431, + "ay": Sprite_ay__P25432, + "set/ay": Sprite_ay__P25433, + "fx": Sprite_fx__P25434, + "set/fx": Sprite_fx__P25435, + "fy": Sprite_fy__P25436, + "set/fy": Sprite_fy__P25437, + "sx": Sprite_sx__P25438, + "sy": Sprite_sy__P25440, + "data": Sprite_data__P25444, + "set/data": Sprite_data__P25445, + "image": Sprite_image__P25458, + "setImage": Sprite_setImage__P25459, + "calcDimensionalHash": Sprite_calcDimensionalHash__P25460, + "resetHitbox": Sprite_resetHitbox__P25461, + "setHitbox": Sprite_setHitbox__P25462, + "isStatic": Sprite_isStatic__P25463, + "__visible": Sprite___visible__P25464, + "recalcSize": Sprite_recalcSize__P27981, + "isScaled": Sprite_isScaled__P27982, + "width": Sprite_width__P25465, + "height": Sprite_height__P25466, + "left": Sprite_left__P25467, + "set/left": Sprite_left__P25468, + "right": Sprite_right__P25469, + "set/right": Sprite_right__P25470, + "top": Sprite_top__P25471, + "set/top": Sprite_top__P25472, + "bottom": Sprite_bottom__P25473, + "set/bottom": Sprite_bottom__P25474, + "kind": Sprite_kind__P25475, + "setKind": Sprite_setKind__P25476, + "isOutOfScreen": Sprite_isOutOfScreen__P25482, + "__drawCore": Sprite___drawCore__P25483, + "__update": Sprite___update__P25484, + "setFlag": Sprite_setFlag__P25487, + "overlapsWith": Sprite_overlapsWith__P25488, + "clearObstacles": Sprite_clearObstacles__P25493, + "registerObstacle": Sprite_registerObstacle__P25494, + "destroy": Sprite_destroy__P25496, + "_destroyCore": Sprite__destroyCore__P25497, + "toString": Sprite_toString__P25502, + "drawSay": Sprite_drawSay__P27983, + "drawDebug": Sprite_drawDebug__P27984, + "drawSprite": Sprite_drawSprite__P27985, + "z": sprites_BaseSprite_z__P25166, + "set/z": sprites_BaseSprite_z__P25167, + "__draw": sprites_BaseSprite___draw__P25168, }, - toStringMethod: Sprite_toString__P2434, + toStringMethod: Sprite_toString__P25502, }); -const tiles_TileMap__C2735_VT = mkVTable({ +const tiles_TileMap__C25803_VT = mkVTable({ name: "TileMap", numFields: 5, - classNo: 35, - lastSubtypeNo: 35, + classNo: 33, + lastSubtypeNo: 33, maxBgInstances: null, methods: { }, @@ -43707,29 +41589,29 @@ const tiles_TileMap__C2735_VT = mkVTable({ "set/renderable": null, "handlerState": null, "set/handlerState": null, - "scale": tiles_TileMap_scale__P2738, - "set/scale": tiles_TileMap_scale__P2739, - "data": tiles_TileMap_data__P2740, - "offsetX": tiles_TileMap_offsetX__P2741, - "offsetY": tiles_TileMap_offsetY__P2742, - "areaWidth": tiles_TileMap_areaWidth__P2743, - "areaHeight": tiles_TileMap_areaHeight__P2744, - "layer": tiles_TileMap_layer__P2745, - "enabled": tiles_TileMap_enabled__P2747, - "getTile": tiles_TileMap_getTile__P2749, - "getTileIndex": tiles_TileMap_getTileIndex__P2750, - "draw": tiles_TileMap_draw__P5029, - "isObstacle": tiles_TileMap_isObstacle__P2756, - "getObstacle": tiles_TileMap_getObstacle__P2757, - "isOnWall": tiles_TileMap_isOnWall__P2758, - "getTileImage": tiles_TileMap_getTileImage__P2759, + "scale": tiles_TileMap_scale__P25806, + "set/scale": tiles_TileMap_scale__P25807, + "data": tiles_TileMap_data__P25808, + "offsetX": tiles_TileMap_offsetX__P25809, + "offsetY": tiles_TileMap_offsetY__P25810, + "areaWidth": tiles_TileMap_areaWidth__P25811, + "areaHeight": tiles_TileMap_areaHeight__P25812, + "layer": tiles_TileMap_layer__P25813, + "enabled": tiles_TileMap_enabled__P25815, + "getTile": tiles_TileMap_getTile__P25817, + "getTileIndex": tiles_TileMap_getTileIndex__P25818, + "draw": tiles_TileMap_draw__P28102, + "isObstacle": tiles_TileMap_isObstacle__P25824, + "getObstacle": tiles_TileMap_getObstacle__P25825, + "isOnWall": tiles_TileMap_isOnWall__P25826, + "getTileImage": tiles_TileMap_getTileImage__P25827, }, }); -const tiles_TileMapData__C2717_VT = mkVTable({ +const tiles_TileMapData__C25785_VT = mkVTable({ name: "TileMapData", numFields: 7, - classNo: 36, - lastSubtypeNo: 36, + classNo: 34, + lastSubtypeNo: 34, maxBgInstances: null, methods: { }, @@ -43748,21 +41630,21 @@ const tiles_TileMapData__C2717_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P2719, - "height": tiles_TileMapData_height__P2720, - "scale": tiles_TileMapData_scale__P2721, - "set/scale": tiles_TileMapData_scale__P2722, - "getTile": tiles_TileMapData_getTile__P2723, - "getTileImage": tiles_TileMapData_getTileImage__P2726, - "isWall": tiles_TileMapData_isWall__P2728, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P2729, + "width": tiles_TileMapData_width__P25787, + "height": tiles_TileMapData_height__P25788, + "scale": tiles_TileMapData_scale__P25789, + "set/scale": tiles_TileMapData_scale__P25790, + "getTile": tiles_TileMapData_getTile__P25791, + "getTileImage": tiles_TileMapData_getTileImage__P25794, + "isWall": tiles_TileMapData_isWall__P25796, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P25797, }, }); -const control_FrameCallback__C392_VT = mkVTable({ +const control_FrameCallback__C23459_VT = mkVTable({ name: "FrameCallback", numFields: 2, - classNo: 37, - lastSubtypeNo: 37, + classNo: 35, + lastSubtypeNo: 35, maxBgInstances: null, methods: { }, @@ -43773,11 +41655,11 @@ const control_FrameCallback__C392_VT = mkVTable({ "set/handler": null, }, }); -const control_PollEvent__C4571_VT = mkVTable({ +const control_PollEvent__C27644_VT = mkVTable({ name: "PollEvent", numFields: 6, - classNo: 38, - lastSubtypeNo: 38, + classNo: 36, + lastSubtypeNo: 36, maxBgInstances: null, methods: { }, @@ -43796,18 +41678,18 @@ const control_PollEvent__C4571_VT = mkVTable({ "set/once": null, }, }); -const ArcadePhysicsEngine__C2527_VT = mkVTable({ +const ArcadePhysicsEngine__C25595_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, - classNo: 26, - lastSubtypeNo: 26, + classNo: 24, + lastSubtypeNo: 24, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P2536, - "removeSprite": ArcadePhysicsEngine_removeSprite__P2537, - "moveSprite": ArcadePhysicsEngine_moveSprite__P2541, - "draw": ArcadePhysicsEngine_draw__P2538, - "move": ArcadePhysicsEngine_move__P2539, + "addSprite": ArcadePhysicsEngine_addSprite__P25604, + "removeSprite": ArcadePhysicsEngine_removeSprite__P25605, + "moveSprite": ArcadePhysicsEngine_moveSprite__P25609, + "draw": ArcadePhysicsEngine_draw__P25606, + "move": ArcadePhysicsEngine_move__P25607, }, iface: { "sprites": null, @@ -43822,31 +41704,31 @@ const ArcadePhysicsEngine__C2527_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P2529, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P2530, - "minStep": ArcadePhysicsEngine_minStep__P2531, - "set/minStep": ArcadePhysicsEngine_minStep__P2532, - "maxStep": ArcadePhysicsEngine_maxStep__P2533, - "set/maxStep": ArcadePhysicsEngine_maxStep__P2534, - "addSprite": ArcadePhysicsEngine_addSprite__P2536, - "removeSprite": ArcadePhysicsEngine_removeSprite__P2537, - "draw": ArcadePhysicsEngine_draw__P2538, - "move": ArcadePhysicsEngine_move__P2539, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P4953, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P4954, - "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P4955, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P4956, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P4957, - "moveSprite": ArcadePhysicsEngine_moveSprite__P2541, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P4958, - "constrain": ArcadePhysicsEngine_constrain__P4959, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P25597, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P25598, + "minStep": ArcadePhysicsEngine_minStep__P25599, + "set/minStep": ArcadePhysicsEngine_minStep__P25600, + "maxStep": ArcadePhysicsEngine_maxStep__P25601, + "set/maxStep": ArcadePhysicsEngine_maxStep__P25602, + "addSprite": ArcadePhysicsEngine_addSprite__P25604, + "removeSprite": ArcadePhysicsEngine_removeSprite__P25605, + "draw": ArcadePhysicsEngine_draw__P25606, + "move": ArcadePhysicsEngine_move__P25607, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P28026, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P28027, + "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P28028, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P28029, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P28030, + "moveSprite": ArcadePhysicsEngine_moveSprite__P25609, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P28031, + "constrain": ArcadePhysicsEngine_constrain__P28032, }, }); -const sprites_SpriteMap__C2446_VT = mkVTable({ +const sprites_SpriteMap__C25514_VT = mkVTable({ name: "SpriteMap", numFields: 5, - classNo: 39, - lastSubtypeNo: 39, + classNo: 37, + lastSubtypeNo: 37, maxBgInstances: null, methods: { }, @@ -43861,24 +41743,24 @@ const sprites_SpriteMap__C2446_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P2448, - "overlaps": sprites_SpriteMap_overlaps__P2449, - "draw": sprites_SpriteMap_draw__P2450, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P2451, - "clear": sprites_SpriteMap_clear__P2452, - "key": sprites_SpriteMap_key__P4916, - "insertAtKey": sprites_SpriteMap_insertAtKey__P4917, - "insertAABB": sprites_SpriteMap_insertAABB__P2453, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P4918, - "toString": sprites_SpriteMap_toString__P2454, + "neighbors": sprites_SpriteMap_neighbors__P25516, + "overlaps": sprites_SpriteMap_overlaps__P25517, + "draw": sprites_SpriteMap_draw__P25518, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P25519, + "clear": sprites_SpriteMap_clear__P25520, + "key": sprites_SpriteMap_key__P27989, + "insertAtKey": sprites_SpriteMap_insertAtKey__P27990, + "insertAABB": sprites_SpriteMap_insertAABB__P25521, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P27991, + "toString": sprites_SpriteMap_toString__P25522, }, - toStringMethod: sprites_SpriteMap_toString__P2454, + toStringMethod: sprites_SpriteMap_toString__P25522, }); -const scene_systemMenu_PauseMenu__C3112_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C26180_VT = mkVTable({ name: "PauseMenu", numFields: 7, - classNo: 40, - lastSubtypeNo: 40, + classNo: 38, + lastSubtypeNo: 38, maxBgInstances: null, methods: { }, @@ -43897,19 +41779,19 @@ const scene_systemMenu_PauseMenu__C3112_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P3114, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P3115, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P3116, - "drawText": scene_systemMenu_PauseMenu_drawText__P3117, - "dispose": scene_systemMenu_PauseMenu_dispose__P3118, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P5356, + "show": scene_systemMenu_PauseMenu_show__P26182, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P26183, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P26184, + "drawText": scene_systemMenu_PauseMenu_drawText__P26185, + "dispose": scene_systemMenu_PauseMenu_dispose__P26186, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P28429, }, }); -const scene_systemMenu_MenuOption__C3104_VT = mkVTable({ +const scene_systemMenu_MenuOption__C26172_VT = mkVTable({ name: "MenuOption", numFields: 8, - classNo: 41, - lastSubtypeNo: 41, + classNo: 39, + lastSubtypeNo: 39, maxBgInstances: null, methods: { }, @@ -43930,20 +41812,20 @@ const scene_systemMenu_MenuOption__C3104_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P3106, - "position": scene_systemMenu_MenuOption_position__P3107, - "setOffset": scene_systemMenu_MenuOption_setOffset__P3108, - "setTheme": scene_systemMenu_MenuOption_setTheme__P3109, - "setState": scene_systemMenu_MenuOption_setState__P3110, - "dispose": scene_systemMenu_MenuOption_dispose__P3111, - "updateCard": scene_systemMenu_MenuOption_updateCard__P5355, + "show": scene_systemMenu_MenuOption_show__P26174, + "position": scene_systemMenu_MenuOption_position__P26175, + "setOffset": scene_systemMenu_MenuOption_setOffset__P26176, + "setTheme": scene_systemMenu_MenuOption_setTheme__P26177, + "setState": scene_systemMenu_MenuOption_setState__P26178, + "dispose": scene_systemMenu_MenuOption_dispose__P26179, + "updateCard": scene_systemMenu_MenuOption_updateCard__P28428, }, }); -const effects_ParticleEffect__C3279_VT = mkVTable({ +const effects_ParticleEffect__C26347_VT = mkVTable({ name: "ParticleEffect", numFields: 3, - classNo: 42, - lastSubtypeNo: 43, + classNo: 40, + lastSubtypeNo: 41, maxBgInstances: null, methods: { }, @@ -43954,15 +41836,15 @@ const effects_ParticleEffect__C3279_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P3281, - "destroy": effects_ParticleEffect_destroy__P3282, + "start": effects_ParticleEffect_start__P26349, + "destroy": effects_ParticleEffect_destroy__P26350, }, }); -const effects_ImageEffect__C3307_VT = mkVTable({ +const effects_ImageEffect__C26375_VT = mkVTable({ name: "ImageEffect", numFields: 4, - classNo: 44, - lastSubtypeNo: 44, + classNo: 42, + lastSubtypeNo: 42, maxBgInstances: null, methods: { }, @@ -43975,15 +41857,15 @@ const effects_ImageEffect__C3307_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P3309, - "change": effects_ImageEffect_change__P3310, + "applyTo": effects_ImageEffect_applyTo__P26377, + "change": effects_ImageEffect_change__P26378, }, }); -const game_Hitbox__C2208_VT = mkVTable({ +const game_Hitbox__C25276_VT = mkVTable({ name: "Hitbox", numFields: 6, - classNo: 45, - lastSubtypeNo: 45, + classNo: 43, + lastSubtypeNo: 43, maxBgInstances: null, methods: { }, @@ -44000,28 +41882,28 @@ const game_Hitbox__C2208_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P2216, - "top": game_Hitbox_top__P2217, - "right": game_Hitbox_right__P2218, - "bottom": game_Hitbox_bottom__P2219, - "isValid": game_Hitbox_isValid__P2220, - "contains": game_Hitbox_contains__P2221, - "updateIfInvalid": game_Hitbox_updateIfInvalid__P2222, - "overlapsWith": game_Hitbox_overlapsWith__P2223, + "left": game_Hitbox_left__P25284, + "top": game_Hitbox_top__P25285, + "right": game_Hitbox_right__P25286, + "bottom": game_Hitbox_bottom__P25287, + "isValid": game_Hitbox_isValid__P25288, + "contains": game_Hitbox_contains__P25289, + "updateIfInvalid": game_Hitbox_updateIfInvalid__P25290, + "overlapsWith": game_Hitbox_overlapsWith__P25291, }, }); -const particles_ParticleSource__C3168_VT = mkVTable({ +const particles_ParticleSource__C26236_VT = mkVTable({ name: "ParticleSource", numFields: 13, - classNo: 33, - lastSubtypeNo: 33, + classNo: 31, + lastSubtypeNo: 31, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P2097, - "__draw": particles_ParticleSource___draw__P3174, - "__drawCore": sprites_BaseSprite___drawCore__P2101, - "__update": sprites_BaseSprite___update__P2102, - "updateParticle": particles_ParticleSource_updateParticle__P5441, + "__visible": sprites_BaseSprite___visible__P25165, + "__draw": particles_ParticleSource___draw__P26242, + "__drawCore": sprites_BaseSprite___drawCore__P25169, + "__update": sprites_BaseSprite___update__P25170, + "updateParticle": particles_ParticleSource_updateParticle__P28514, }, iface: { "_z": null, @@ -44050,57 +41932,57 @@ const particles_ParticleSource__C3168_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P3174, - "_update": particles_ParticleSource__update__P3175, - "_prune": particles_ParticleSource__prune__P3176, - "setAcceleration": particles_ParticleSource_setAcceleration__P3177, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P3179, - "enabled": particles_ParticleSource_enabled__P3180, - "set/enabled": particles_ParticleSource_enabled__P3181, - "destroy": particles_ParticleSource_destroy__P3182, - "clear": particles_ParticleSource_clear__P3183, - "setAnchor": particles_ParticleSource_setAnchor__P3184, - "setRate": particles_ParticleSource_setRate__P3185, - "setFactory": particles_ParticleSource_setFactory__P3187, - "updateParticle": particles_ParticleSource_updateParticle__P5441, - "drawParticle": particles_ParticleSource_drawParticle__P5442, - "__visible": sprites_BaseSprite___visible__P2097, - "z": sprites_BaseSprite_z__P2098, - "set/z": sprites_BaseSprite_z__P2099, - "__drawCore": sprites_BaseSprite___drawCore__P2101, - "__update": sprites_BaseSprite___update__P2102, + "__draw": particles_ParticleSource___draw__P26242, + "_update": particles_ParticleSource__update__P26243, + "_prune": particles_ParticleSource__prune__P26244, + "setAcceleration": particles_ParticleSource_setAcceleration__P26245, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P26247, + "enabled": particles_ParticleSource_enabled__P26248, + "set/enabled": particles_ParticleSource_enabled__P26249, + "destroy": particles_ParticleSource_destroy__P26250, + "clear": particles_ParticleSource_clear__P26251, + "setAnchor": particles_ParticleSource_setAnchor__P26252, + "setRate": particles_ParticleSource_setRate__P26253, + "setFactory": particles_ParticleSource_setFactory__P26255, + "updateParticle": particles_ParticleSource_updateParticle__P28514, + "drawParticle": particles_ParticleSource_drawParticle__P28515, + "__visible": sprites_BaseSprite___visible__P25165, + "z": sprites_BaseSprite_z__P25166, + "set/z": sprites_BaseSprite_z__P25167, + "__drawCore": sprites_BaseSprite___drawCore__P25169, + "__update": sprites_BaseSprite___update__P25170, }, }); -const sprites_SpriteSet__C2463_VT = mkVTable({ +const sprites_SpriteSet__C25531_VT = mkVTable({ name: "SpriteSet", numFields: 1, - classNo: 46, - lastSubtypeNo: 46, + classNo: 44, + lastSubtypeNo: 44, maxBgInstances: null, methods: { }, iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P2466, - "add": sprites_SpriteSet_add__P2468, - "remove": sprites_SpriteSet_remove__P2470, - "contains": sprites_SpriteSet_contains__P2471, - "toString": sprites_SpriteSet_toString__P2474, + "length": sprites_SpriteSet_length__P25534, + "add": sprites_SpriteSet_add__P25536, + "remove": sprites_SpriteSet_remove__P25538, + "contains": sprites_SpriteSet_contains__P25539, + "toString": sprites_SpriteSet_toString__P25542, }, - toStringMethod: sprites_SpriteSet_toString__P2474, + toStringMethod: sprites_SpriteSet_toString__P25542, }); -const scene_Renderable__C2800_VT = mkVTable({ +const scene_Renderable__C25868_VT = mkVTable({ name: "Renderable", numFields: 4, - classNo: 34, - lastSubtypeNo: 34, + classNo: 32, + lastSubtypeNo: 32, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P2802, - "__draw": sprites_BaseSprite___draw__P2100, - "__drawCore": scene_Renderable___drawCore__P2803, - "__update": sprites_BaseSprite___update__P2102, + "__visible": scene_Renderable___visible__P25870, + "__draw": sprites_BaseSprite___draw__P25168, + "__drawCore": scene_Renderable___drawCore__P25871, + "__update": sprites_BaseSprite___update__P25170, }, iface: { "_z": null, @@ -44111,19 +41993,19 @@ const scene_Renderable__C2800_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P2802, - "__drawCore": scene_Renderable___drawCore__P2803, - "z": sprites_BaseSprite_z__P2098, - "set/z": sprites_BaseSprite_z__P2099, - "__draw": sprites_BaseSprite___draw__P2100, - "__update": sprites_BaseSprite___update__P2102, + "__visible": scene_Renderable___visible__P25870, + "__drawCore": scene_Renderable___drawCore__P25871, + "z": sprites_BaseSprite_z__P25166, + "set/z": sprites_BaseSprite_z__P25167, + "__draw": sprites_BaseSprite___draw__P25168, + "__update": sprites_BaseSprite___update__P25170, }, }); -const controller_ButtonHandler__C2183_VT = mkVTable({ +const controller_ButtonHandler__C25251_VT = mkVTable({ name: "ButtonHandler", numFields: 2, - classNo: 47, - lastSubtypeNo: 47, + classNo: 45, + lastSubtypeNo: 45, maxBgInstances: null, methods: { }, @@ -44134,11 +42016,11 @@ const controller_ButtonHandler__C2183_VT = mkVTable({ "set/callback": null, }, }); -const controller_ButtonEventHandlerState__C2185_VT = mkVTable({ +const controller_ButtonEventHandlerState__C25253_VT = mkVTable({ name: "ButtonEventHandlerState", numFields: 3, - classNo: 48, - lastSubtypeNo: 48, + classNo: 46, + lastSubtypeNo: 46, maxBgInstances: null, methods: { }, @@ -44151,11 +42033,11 @@ const controller_ButtonEventHandlerState__C2185_VT = mkVTable({ "set/system": null, }, }); -const effects_ScreenEffect__C3283_VT = mkVTable({ +const effects_ScreenEffect__C26351_VT = mkVTable({ name: "ScreenEffect", numFields: 5, - classNo: 43, - lastSubtypeNo: 43, + classNo: 41, + lastSubtypeNo: 41, maxBgInstances: null, methods: { }, @@ -44170,34 +42052,34 @@ const effects_ScreenEffect__C3283_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "start": effects_ParticleEffect_start__P3281, - "destroy": effects_ParticleEffect_destroy__P3282, + "start": effects_ParticleEffect_start__P26349, + "destroy": effects_ParticleEffect_destroy__P26350, }, }); -const particles_ParticleFactory__C3204_VT = mkVTable({ +const particles_ParticleFactory__C26272_VT = mkVTable({ name: "ParticleFactory", numFields: 0, - classNo: 49, - lastSubtypeNo: 53, + classNo: 47, + lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P3206, - "drawParticle": particles_ParticleFactory_drawParticle__P3207, + "createParticle": particles_ParticleFactory_createParticle__P26274, + "drawParticle": particles_ParticleFactory_drawParticle__P26275, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P3206, - "drawParticle": particles_ParticleFactory_drawParticle__P3207, + "createParticle": particles_ParticleFactory_createParticle__P26274, + "drawParticle": particles_ParticleFactory_drawParticle__P26275, }, }); -const particles_SprayFactory__C3208_VT = mkVTable({ +const particles_SprayFactory__C26276_VT = mkVTable({ name: "SprayFactory", numFields: 3, - classNo: 50, - lastSubtypeNo: 53, + classNo: 48, + lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P3210, - "drawParticle": particles_SprayFactory_drawParticle__P3211, + "createParticle": particles_SprayFactory_createParticle__P26278, + "drawParticle": particles_SprayFactory_drawParticle__P26279, }, iface: { "speed": null, @@ -44206,21 +42088,21 @@ const particles_SprayFactory__C3208_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P3210, - "drawParticle": particles_SprayFactory_drawParticle__P3211, - "setSpeed": particles_SprayFactory_setSpeed__P3212, - "setDirection": particles_SprayFactory_setDirection__P3213, + "createParticle": particles_SprayFactory_createParticle__P26278, + "drawParticle": particles_SprayFactory_drawParticle__P26279, + "setSpeed": particles_SprayFactory_setSpeed__P26280, + "setDirection": particles_SprayFactory_setDirection__P26281, }, }); -const particles_AreaFactory__C3214_VT = mkVTable({ +const particles_AreaFactory__C26282_VT = mkVTable({ name: "AreaFactory", numFields: 8, - classNo: 51, - lastSubtypeNo: 53, + classNo: 49, + lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P3220, - "drawParticle": particles_AreaFactory_drawParticle__P3221, + "createParticle": particles_AreaFactory_createParticle__P26288, + "drawParticle": particles_AreaFactory_drawParticle__P26289, }, iface: { "speed": null, @@ -44239,21 +42121,21 @@ const particles_AreaFactory__C3214_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P3220, - "drawParticle": particles_AreaFactory_drawParticle__P3221, - "setSpeed": particles_SprayFactory_setSpeed__P3212, - "setDirection": particles_SprayFactory_setDirection__P3213, + "createParticle": particles_AreaFactory_createParticle__P26288, + "drawParticle": particles_AreaFactory_drawParticle__P26289, + "setSpeed": particles_SprayFactory_setSpeed__P26280, + "setDirection": particles_SprayFactory_setDirection__P26281, }, }); -const particles_ShapeFactory__C3230_VT = mkVTable({ +const particles_ShapeFactory__C26298_VT = mkVTable({ name: "ShapeFactory", numFields: 11, - classNo: 52, - lastSubtypeNo: 53, + classNo: 50, + lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P3234, - "drawParticle": particles_ShapeFactory_drawParticle__P3233, + "createParticle": particles_ShapeFactory_createParticle__P26302, + "drawParticle": particles_ShapeFactory_drawParticle__P26301, }, iface: { "speed": null, @@ -44278,22 +42160,22 @@ const particles_ShapeFactory__C3230_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P3232, - "drawParticle": particles_ShapeFactory_drawParticle__P3233, - "createParticle": particles_ShapeFactory_createParticle__P3234, - "setSpeed": particles_SprayFactory_setSpeed__P3212, - "setDirection": particles_SprayFactory_setDirection__P3213, + "addShape": particles_ShapeFactory_addShape__P26300, + "drawParticle": particles_ShapeFactory_drawParticle__P26301, + "createParticle": particles_ShapeFactory_createParticle__P26302, + "setSpeed": particles_SprayFactory_setSpeed__P26280, + "setDirection": particles_SprayFactory_setDirection__P26281, }, }); -const particles_ConfettiFactory__C3235_VT = mkVTable({ +const particles_ConfettiFactory__C26303_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, - classNo: 53, - lastSubtypeNo: 53, + classNo: 51, + lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P3234, - "drawParticle": particles_ShapeFactory_drawParticle__P3233, + "createParticle": particles_ShapeFactory_createParticle__P26302, + "drawParticle": particles_ShapeFactory_drawParticle__P26301, }, iface: { "speed": null, @@ -44318,18 +42200,18 @@ const particles_ConfettiFactory__C3235_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P3232, - "drawParticle": particles_ShapeFactory_drawParticle__P3233, - "createParticle": particles_ShapeFactory_createParticle__P3234, - "setSpeed": particles_SprayFactory_setSpeed__P3212, - "setDirection": particles_SprayFactory_setDirection__P3213, + "addShape": particles_ShapeFactory_addShape__P26300, + "drawParticle": particles_ShapeFactory_drawParticle__P26301, + "createParticle": particles_ShapeFactory_createParticle__P26302, + "setSpeed": particles_SprayFactory_setSpeed__P26280, + "setDirection": particles_SprayFactory_setDirection__P26281, }, }); -const particles_Particle__C3149_VT = mkVTable({ +const particles_Particle__C26217_VT = mkVTable({ name: "Particle", numFields: 8, - classNo: 54, - lastSubtypeNo: 54, + classNo: 52, + lastSubtypeNo: 52, maxBgInstances: 200, methods: { }, @@ -44352,11 +42234,11 @@ const particles_Particle__C3149_VT = mkVTable({ "set/color": null, }, }); -const music_Playable__C1911_VT = mkVTable({ +const music_Playable__C24979_VT = mkVTable({ name: "Playable", numFields: 1, - classNo: 55, - lastSubtypeNo: 56, + classNo: 53, + lastSubtypeNo: 54, maxBgInstances: null, methods: { }, @@ -44365,11 +42247,11 @@ const music_Playable__C1911_VT = mkVTable({ "set/stopped": null, }, }); -const music_MelodyPlayable__C1916_VT = mkVTable({ +const music_MelodyPlayable__C24984_VT = mkVTable({ name: "MelodyPlayable", numFields: 2, - classNo: 56, - lastSubtypeNo: 56, + classNo: 54, + lastSubtypeNo: 54, maxBgInstances: null, methods: { }, @@ -44380,11 +42262,28 @@ const music_MelodyPlayable__C1916_VT = mkVTable({ "set/melody": null, }, }); -const MovingSprite__C2525_VT = mkVTable({ +const music_Melody__C24694_VT = mkVTable({ + name: "Melody", + numFields: 2, + classNo: 55, + lastSubtypeNo: 55, + maxBgInstances: null, + methods: { + }, + iface: { + "_text": null, + "set/_text": null, + "_player": null, + "set/_player": null, + "toString": music_Melody_toString__P24703, + }, + toStringMethod: music_Melody_toString__P24703, +}); +const MovingSprite__C25593_VT = mkVTable({ name: "MovingSprite", numFields: 7, - classNo: 57, - lastSubtypeNo: 57, + classNo: 56, + lastSubtypeNo: 56, maxBgInstances: null, methods: { }, @@ -44405,11 +42304,11 @@ const MovingSprite__C2525_VT = mkVTable({ "set/yStep": null, }, }); -const tiles_Location__C2693_VT = mkVTable({ +const tiles_Location__C25761_VT = mkVTable({ name: "Location", numFields: 2, - classNo: 58, - lastSubtypeNo: 58, + classNo: 57, + lastSubtypeNo: 57, maxBgInstances: null, methods: { }, @@ -44418,21 +42317,21 @@ const tiles_Location__C2693_VT = mkVTable({ "set/_row": null, "_col": null, "set/_col": null, - "tileMap": tiles_Location_tileMap__P2695, - "column": tiles_Location_column__P2696, - "row": tiles_Location_row__P2697, - "x": tiles_Location_x__P2698, - "y": tiles_Location_y__P2699, - "left": tiles_Location_left__P2700, - "top": tiles_Location_top__P2701, - "tileSet": tiles_Location_tileSet__P2704, + "tileMap": tiles_Location_tileMap__P25763, + "column": tiles_Location_column__P25764, + "row": tiles_Location_row__P25765, + "x": tiles_Location_x__P25766, + "y": tiles_Location_y__P25767, + "left": tiles_Location_left__P25768, + "top": tiles_Location_top__P25769, + "tileSet": tiles_Location_tileSet__P25772, }, }); -const sprites_StaticObstacle__C2498_VT = mkVTable({ +const sprites_StaticObstacle__C25566_VT = mkVTable({ name: "StaticObstacle", numFields: 5, - classNo: 59, - lastSubtypeNo: 59, + classNo: 58, + lastSubtypeNo: 58, maxBgInstances: null, methods: { }, @@ -44447,22 +42346,22 @@ const sprites_StaticObstacle__C2498_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P2505, - "y": sprites_StaticObstacle_y__P2506, - "height": sprites_StaticObstacle_height__P2507, - "width": sprites_StaticObstacle_width__P2508, + "x": sprites_StaticObstacle_x__P25573, + "y": sprites_StaticObstacle_y__P25574, + "height": sprites_StaticObstacle_height__P25575, + "width": sprites_StaticObstacle_width__P25576, }, }); -const sprites_BaseSpriteSayRenderer__C2259_VT = mkVTable({ +const sprites_BaseSpriteSayRenderer__C25327_VT = mkVTable({ name: "BaseSpriteSayRenderer", numFields: 3, - classNo: 60, - lastSubtypeNo: 60, + classNo: 59, + lastSubtypeNo: 59, maxBgInstances: null, methods: { - "draw": sprites_BaseSpriteSayRenderer_draw__P2261, - "update": sprites_BaseSpriteSayRenderer_update__P2262, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P2263, + "draw": sprites_BaseSpriteSayRenderer_draw__P25329, + "update": sprites_BaseSpriteSayRenderer_update__P25330, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P25331, }, iface: { "text": null, @@ -44471,13 +42370,13 @@ const sprites_BaseSpriteSayRenderer__C2259_VT = mkVTable({ "set/fgColor": null, "bgColor": null, "set/bgColor": null, - "draw": sprites_BaseSpriteSayRenderer_draw__P2261, - "update": sprites_BaseSpriteSayRenderer_update__P2262, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P2263, + "draw": sprites_BaseSpriteSayRenderer_draw__P25329, + "update": sprites_BaseSpriteSayRenderer_update__P25330, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P25331, }, }); const breakpoints = setupDebugger(1, []) -return _main___P27387 +return _main___P46069 }) diff --git a/assets/version.txt b/assets/version.txt index 6812f81..05b19b1 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -0.0.3 \ No newline at end of file +0.0.4 \ No newline at end of file diff --git a/pxt.json b/pxt.json index d786370..4e87d64 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "Menu Extension", - "version": "0.0.3", + "version": "0.0.4", "description": "", "dependencies": { "device": "*",