diff --git a/assets/js/binary.js b/assets/js/binary.js index e54a56d..149e939 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.12.18/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"4.0.0","target":"arcade","targetVersion":"1.12.18","repo":"raimonizard/salvem-el-bosc-makecode-arcade"} -// total=2574717 new=8.82% cached=86.32% other=4.85% +// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.12.21/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"4.0.1","target":"arcade","targetVersion":"1.12.21","repo":"raimonizard/salvem-el-bosc-makecode-arcade"} +// total=2584317 new=8.82% cached=86.32% other=4.87% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -694,7 +694,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P101803(s) { +function _main___P98177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -704,309 +704,309 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___4508 = (undefined); - globals._pollEventQueue___4517 = (undefined); - globals.minPriority___375 = (1); + globals._intervals___57521 = (undefined); + globals._pollEventQueue___57530 = (undefined); + globals.minPriority___53387 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P4520); - globals.listeners___4521 = (s.tmp_0); - globals.freqs___4570 = (_hex4569); - globals.globalVolume___4574 = (null); - globals.playToneID___4581 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1626_VT); + r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P57533); + globals.listeners___57534 = (s.tmp_0); + globals.freqs___57583 = (_hex57582); + globals.globalVolume___57587 = (null); + globals.playToneID___57594 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C54638_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P1629_mk(s); + s.tmp_1 = music_Melody_constructor__P54641_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = "~15 e3:3 r:1 d#:3 r:1 d:4 r:1 c#:8"; s.callLocIdx = 0; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - globals.wawawawaa___1647 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1626_VT); + globals.wawawawaa___54659 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C54638_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P1629_mk(s); + s.tmp_1 = music_Melody_constructor__P54641_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = "g4:1 c5 e g:2 e:1 g:3"; s.callLocIdx = 1; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - globals.powerUp___1650 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1626_VT); + globals.powerUp___54662 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C54638_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P1629_mk(s); + s.tmp_1 = music_Melody_constructor__P54641_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = "~4 @0,0,255,150 !300,1 !211,1"; s.callLocIdx = 2; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - globals.knock___1655 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1626_VT); + globals.knock___54667 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C54638_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P1629_mk(s); + s.tmp_1 = music_Melody_constructor__P54641_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = "~4 @0,0,255,150 !100,1"; s.callLocIdx = 3; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - globals.thump___1657 = (s.tmp_0); - globals.brightness___1934 = (100); + globals.thump___54669 = (s.tmp_0); + globals.brightness___54946 = (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", _hex11738); - globals.font8___1956 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex64767); + globals.font8___54968 = (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", _hex11740); - globals.font12___1957 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex64769); + globals.font12___54969 = (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", _hex22711); - globals.font5___1961 = (s.tmp_0); - globals.__updated___4667 = (false); - r0 = pxsim.control.runInParallel(control___screen_inline__P4670); - r0 = pxsim_pxtcore.setPalette(_hex4681); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex75740); + globals.font5___54973 = (s.tmp_0); + globals.__updated___57680 = (false); + r0 = pxsim.control.runInParallel(control___screen_inline__P57683); + r0 = pxsim_pxtcore.setPalette(_hex57694); 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___2013 = (r0); - s.tmp_0 = control___screen_setupUpdate__P1975_mk(s); - s.tmp_0.arg0 = _screen_internal_inline__P4690; + globals.screen___55025 = (r0); + s.tmp_0 = control___screen_setupUpdate__P54987_mk(s); + s.tmp_0.arg0 = _screen_internal_inline__P57703; s.callLocIdx = 8; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - globals.control_EventContext_onStats___398 = (_screen_internal_inline__P4695); - globals.RUN_KEY___4700 = ("#run"); - globals.SCOPE_KEY___4701 = ("#scope"); - s.tmp_0 = settings_initScopes__P4712_mk(s); + globals.control_EventContext_onStats___53410 = (_screen_internal_inline__P57708); + globals.RUN_KEY___57713 = ("#run"); + globals.SCOPE_KEY___57714 = ("#scope"); + s.tmp_0 = settings_initScopes__P57725_mk(s); s.callLocIdx = 9; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2170_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C55182_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2176_mk(s); + s.tmp_1 = controller_Button_constructor__P55188_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 5; s.tmp_1.arg2 = 4; s.callLocIdx = 10; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - globals.A___2094 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2170_VT); + globals.A___55106 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C55182_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2176_mk(s); + s.tmp_1 = controller_Button_constructor__P55188_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 6; s.tmp_1.arg2 = 5; s.callLocIdx = 11; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - globals.B___2095 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2170_VT); + globals.B___55107 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C55182_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2176_mk(s); + s.tmp_1 = controller_Button_constructor__P55188_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.tmp_1.arg2 = 47; s.callLocIdx = 12; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - globals.left___2096 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2170_VT); + globals.left___55108 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C55182_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2176_mk(s); + s.tmp_1 = controller_Button_constructor__P55188_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = 49; s.callLocIdx = 13; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - globals.up___2097 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2170_VT); + globals.up___55109 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C55182_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2176_mk(s); + s.tmp_1 = controller_Button_constructor__P55188_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = 48; s.callLocIdx = 14; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - globals.right___2098 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2170_VT); + globals.right___55110 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C55182_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2176_mk(s); + s.tmp_1 = controller_Button_constructor__P55188_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = 50; s.callLocIdx = 15; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - globals.down___2099 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2170_VT); + globals.down___55111 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C55182_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2176_mk(s); + s.tmp_1 = controller_Button_constructor__P55188_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 7; s.tmp_1.arg2 = 51; s.callLocIdx = 16; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - globals.menu___2100 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C2115_VT); + globals.menu___55112 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C55127_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P2119_mk(s); + s.tmp_1 = controller_Controller_constructor__P55131_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = undefined; s.callLocIdx = 17; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - globals.player2___2101 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C2115_VT); + globals.player2___55113 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C55127_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P2119_mk(s); + s.tmp_1 = controller_Controller_constructor__P55131_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; s.callLocIdx = 18; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - globals.player3___2102 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C2115_VT); + globals.player3___55114 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C55127_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P2119_mk(s); + s.tmp_1 = controller_Controller_constructor__P55131_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = undefined; s.callLocIdx = 19; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - globals.player4___2103 = (s.tmp_0); - s.tmp_0 = controller__player1__P2109_mk(s); + globals.player4___55115 = (s.tmp_0); + s.tmp_0 = controller__player1__P55121_mk(s); s.callLocIdx = 20; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - globals.player1___2104 = (r0); - s.tmp_0 = game_addScenePopHandler__P3000_mk(s); - s.tmp_0.arg0 = controller_inline__P4740; + globals.player1___55116 = (r0); + s.tmp_0 = game_addScenePopHandler__P56012_mk(s); + s.tmp_0.arg0 = controller_inline__P57753; s.callLocIdx = 25; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = game_addScenePushHandler__P2998_mk(s); - s.tmp_0.arg0 = controller_inline__P4780; + s.tmp_0 = game_addScenePushHandler__P56010_mk(s); + s.tmp_0.arg0 = controller_inline__P57793; s.callLocIdx = 27; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C4804_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C57817_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P2176_mk(s); + s.tmp_1 = controller_Button_constructor__P55188_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = -1; s.callLocIdx = 28; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - globals.anyButton___2151 = (s.tmp_0); - globals._userEventsEnabled___4818 = (true); - globals.defaultRepeatDelay___4820 = (500); - globals.defaultRepeatInterval___4822 = (30); - s.tmp_0 = SpriteKind_create__P2459_mk(s); + globals.anyButton___55163 = (s.tmp_0); + globals._userEventsEnabled___57831 = (true); + globals.defaultRepeatDelay___57833 = (500); + globals.defaultRepeatInterval___57835 = (30); + s.tmp_0 = SpriteKind_create__P55471_mk(s); s.callLocIdx = 29; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - globals.Player___2460 = (r0); - s.tmp_0 = SpriteKind_create__P2459_mk(s); + globals.Player___55472 = (r0); + s.tmp_0 = SpriteKind_create__P55471_mk(s); s.callLocIdx = 30; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - globals.Food___2462 = (r0); - s.tmp_0 = SpriteKind_create__P2459_mk(s); + globals.Food___55474 = (r0); + s.tmp_0 = SpriteKind_create__P55471_mk(s); s.callLocIdx = 31; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - globals.Enemy___2463 = (r0); + globals.Enemy___55475 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___2501 = (r0); - globals.infoState___4887 = (undefined); - s.tmp_0 = game_addScenePushHandler__P2998_mk(s); - s.tmp_0.arg0 = info_inline__P4891; + globals.MIN_MOVE_GAP___55513 = (r0); + globals.infoState___57900 = (undefined); + s.tmp_0 = game_addScenePushHandler__P56010_mk(s); + s.tmp_0.arg0 = info_inline__P57904; s.callLocIdx = 33; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P3000_mk(s); - s.tmp_0.arg0 = info_inline__P4906; + s.tmp_0 = game_addScenePopHandler__P56012_mk(s); + s.tmp_0.arg0 = info_inline__P57919; s.callLocIdx = 37; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(info_PlayerInfo__C2597_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_PlayerInfo__C55609_VT); s.tmp_0 = r0; - s.tmp_1 = info_PlayerInfo_constructor__P2599_mk(s); + s.tmp_1 = info_PlayerInfo_constructor__P55611_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.callLocIdx = 38; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; - globals.player1___2641 = (s.tmp_0); + globals.player1___55653 = (s.tmp_0); r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___2845 = (r0); - r0 = pxsim.image.ofBuffer(_hex4996); - globals.img_trophy_sm___4997 = (r0); - r0 = pxsim.image.ofBuffer(_hex4999); - globals.img_trophy_lg___5000 = (r0); - r0 = pxsim.image.ofBuffer(_hex5002); - globals.img_sleepy_sim___5003 = (r0); - globals.debug___2947 = (false); - globals.stats___2948 = (false); - globals.gameOverConfig___2978 = (gameOverConfig_inline__P5015); - globals.__isOver___5029 = (false); - s.tmp_0 = scene_systemMenu_initVolume__P5289_mk(s); + globals.scene_Scene_initializers___55857 = (r0); + r0 = pxsim.image.ofBuffer(_hex58009); + globals.img_trophy_sm___58010 = (r0); + r0 = pxsim.image.ofBuffer(_hex58012); + globals.img_trophy_lg___58013 = (r0); + r0 = pxsim.image.ofBuffer(_hex58015); + globals.img_sleepy_sim___58016 = (r0); + globals.debug___55959 = (false); + globals.stats___55960 = (false); + globals.gameOverConfig___55990 = (gameOverConfig_inline__P58028); + globals.__isOver___58042 = (false); + s.tmp_0 = scene_systemMenu_initVolume__P58302_mk(s); s.callLocIdx = 40; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P5290_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P58303_mk(s); s.callLocIdx = 41; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - r0 = pxsim_Array__push(globals.scene_Scene_initializers___2845, scene_systemMenu_register__P3086); - r0 = pxsim.image.ofBuffer(_hex5297); - globals.CARD_NORMAL___3091 = (r0); - r0 = pxsim.image.ofBuffer(_hex5299); - globals.CARD_SELECTED___3092 = (r0); - r0 = pxsim.image.ofBuffer(_hex5301); - globals.CARD_ACTIVE___3093 = (r0); - r0 = pxsim.image.ofBuffer(_hex5303); - globals.VOLUME_UP_ICON___3094 = (r0); - r0 = pxsim.image.ofBuffer(_hex5305); - globals.BRIGHTNESS_DOWN_ICON___3095 = (r0); - r0 = pxsim.image.ofBuffer(_hex5307); - globals.CLOSE_MENU_ICON___3096 = (r0); - r0 = pxsim.image.ofBuffer(_hex5309); - globals.VOLUME_DOWN_ICON___3097 = (r0); - r0 = pxsim.image.ofBuffer(_hex5311); - globals.SLEEP_ICON___3098 = (r0); - r0 = pxsim.image.ofBuffer(_hex5313); - globals.CONSOLE_ICON___3099 = (r0); - r0 = pxsim.image.ofBuffer(_hex5315); - globals.BRIGHTNESS_UP_ICON___3100 = (r0); - r0 = pxsim.image.ofBuffer(_hex5317); - globals.STATS_ICON___3101 = (r0); - globals.consoleColor___5320 = (1); - globals.tabSize___5323 = (8); - globals.consoleFont___5329 = (globals.font5___1961); - r0 = pxsim_ImageMethods.height(globals.screen___2013); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___55857, scene_systemMenu_register__P56098); + r0 = pxsim.image.ofBuffer(_hex58310); + globals.CARD_NORMAL___56103 = (r0); + r0 = pxsim.image.ofBuffer(_hex58312); + globals.CARD_SELECTED___56104 = (r0); + r0 = pxsim.image.ofBuffer(_hex58314); + globals.CARD_ACTIVE___56105 = (r0); + r0 = pxsim.image.ofBuffer(_hex58316); + globals.VOLUME_UP_ICON___56106 = (r0); + r0 = pxsim.image.ofBuffer(_hex58318); + globals.BRIGHTNESS_DOWN_ICON___56107 = (r0); + r0 = pxsim.image.ofBuffer(_hex58320); + globals.CLOSE_MENU_ICON___56108 = (r0); + r0 = pxsim.image.ofBuffer(_hex58322); + globals.VOLUME_DOWN_ICON___56109 = (r0); + r0 = pxsim.image.ofBuffer(_hex58324); + globals.SLEEP_ICON___56110 = (r0); + r0 = pxsim.image.ofBuffer(_hex58326); + globals.CONSOLE_ICON___56111 = (r0); + r0 = pxsim.image.ofBuffer(_hex58328); + globals.BRIGHTNESS_UP_ICON___56112 = (r0); + r0 = pxsim.image.ofBuffer(_hex58330); + globals.STATS_ICON___56113 = (r0); + globals.consoleColor___58333 = (1); + globals.tabSize___58336 = (8); + globals.consoleFont___58342 = (globals.font5___54973); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___5329; + s.tmp_5.arg0 = globals.consoleFont___58342; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { @@ -1025,13 +1025,13 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___5334 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___2013); + globals.consoleLines___58347 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___55025); 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___5329; + s.tmp_4.arg0 = globals.consoleFont___58342; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -1046,22 +1046,22 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___5344 = (r0); - s.tmp_0 = console_addListener__P383_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P5356; + globals.consoleColumns___58357 = (r0); + s.tmp_0 = console_addListener__P53395_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P58369; s.callLocIdx = 44; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = MAX_SOURCES_inline__P9467; + s.tmp_0.argL = MAX_SOURCES_inline__P62495; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 46; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - globals.MAX_SOURCES___5358 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C3171_VT); + globals.MAX_SOURCES___58371 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C56183_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P3172_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P56184_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; @@ -1069,408 +1069,408 @@ switch (step) { s.callLocIdx = 47; s.pc = 33; return s.tmp_1; case 33: r0 = s.retval; - globals.defaultFactory___3151 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C3039_VT); + globals.defaultFactory___56163 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C56051_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P3041_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P56053_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 48; s.pc = 34; return s.tmp_1; case 34: r0 = s.retval; - globals.galois___5378 = (s.tmp_0); - globals.angleSlice___5386 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C3246_VT); + globals.galois___58391 = (s.tmp_0); + globals.angleSlice___58399 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C56258_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P3247_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P56259_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__P16951; + s.tmp_1.arg4 = confetti_inline__P69980; s.callLocIdx = 54; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - globals.confetti___3254 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ParticleEffect__C3242_VT); + globals.confetti___56266 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ParticleEffect__C56254_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ParticleEffect_constructor__P3243_mk(s); + s.tmp_1 = effects_ParticleEffect_constructor__P56255_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 50; s.tmp_1.arg2 = 5000; - s.tmp_1.arg3 = fire_inline__P18143; + s.tmp_1.arg3 = fire_inline__P71172; s.callLocIdx = 58; s.pc = 36; return s.tmp_1; case 36: r0 = s.retval; - globals.fire___3258 = (s.tmp_0); - s.tmp_0 = effects_createEffect__P5413_mk(s); + globals.fire___56270 = (s.tmp_0); + s.tmp_0 = effects_createEffect__P58426_mk(s); s.tmp_0.arg0 = 70; s.tmp_0.arg1 = 3000; - s.tmp_0.arg2 = halo_inline__P8938; + s.tmp_0.arg2 = halo_inline__P61966; s.callLocIdx = 60; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - globals.halo___3261 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ParticleEffect__C3242_VT); + globals.halo___56273 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ParticleEffect__C56254_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ParticleEffect_constructor__P3243_mk(s); + s.tmp_1 = effects_ParticleEffect_constructor__P56255_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 60; s.tmp_1.arg2 = 2000; - s.tmp_1.arg3 = ashes_inline__P9964; + s.tmp_1.arg3 = ashes_inline__P62992; s.callLocIdx = 64; s.pc = 38; return s.tmp_1; case 38: r0 = s.retval; - globals.ashes___3262 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C3246_VT); + globals.ashes___56274 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C56258_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P3247_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P56259_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 15; s.tmp_1.arg2 = 50; s.tmp_1.arg3 = 3000; - s.tmp_1.arg4 = blizzard_inline__P16738; + s.tmp_1.arg4 = blizzard_inline__P69767; s.callLocIdx = 72; s.pc = 39; return s.tmp_1; case 39: r0 = s.retval; - globals.blizzard___3264 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C3270_VT); + globals.blizzard___56276 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C56282_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P3271_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P56283_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = dissolve_inline__P10674; + s.tmp_1.arg2 = dissolve_inline__P63702; s.callLocIdx = 78; s.pc = 40; return s.tmp_1; case 40: r0 = s.retval; - globals.dissolve___3275 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C3270_VT); + globals.dissolve___56287 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C56282_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P3271_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P56283_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = melt_inline__P23813; + s.tmp_1.arg2 = melt_inline__P76842; s.callLocIdx = 81; s.pc = 41; return s.tmp_1; case 41: r0 = s.retval; - globals.melt___3276 = (s.tmp_0); - globals.stateNamespace___5442 = ("__animation"); - r0 = pxsim.image.ofBuffer(_hex5730); - globals.saplingOak___3627 = (r0); - r0 = pxsim.image.ofBuffer(_hex5732); - globals.saplingPine___3628 = (r0); - r0 = pxsim.image.ofBuffer(_hex5768); - globals.tileGrass2___3646 = (r0); - r0 = pxsim.image.ofBuffer(_hex5770); - globals.tilePath1___3647 = (r0); - r0 = pxsim.image.ofBuffer(_hex5772); - globals.tilePath2___3648 = (r0); - r0 = pxsim.image.ofBuffer(_hex5774); - globals.tilePath3___3649 = (r0); - r0 = pxsim.image.ofBuffer(_hex5776); - globals.tileGrass1___3650 = (r0); - r0 = pxsim.image.ofBuffer(_hex5778); - globals.tilePath4___3651 = (r0); - r0 = pxsim.image.ofBuffer(_hex5782); - globals.tilePath6___3653 = (r0); - r0 = pxsim.image.ofBuffer(_hex5784); - globals.tileGrass3___3654 = (r0); - r0 = pxsim.image.ofBuffer(_hex5786); - globals.tilePath7___3655 = (r0); - r0 = pxsim.image.ofBuffer(_hex5788); - globals.tilePath8___3656 = (r0); - r0 = pxsim.image.ofBuffer(_hex5790); - globals.tilePath9___3657 = (r0); - r0 = pxsim.image.ofBuffer(_hex5792); - globals.tileDarkGrass1___3658 = (r0); - r0 = pxsim.image.ofBuffer(_hex5794); - globals.tileDarkGrass2___3659 = (r0); - r0 = pxsim.image.ofBuffer(_hex5796); - globals.tileDarkGrass3___3660 = (r0); - r0 = pxsim.image.ofBuffer(_hex6698); - globals.roadHorizontal___4121 = (r0); - r0 = pxsim.image.ofBuffer(_hex6970); - globals.islandTile3___4265 = (r0); - r0 = pxsim.image.ofBuffer(_hex6972); - globals.islandTile4___4266 = (r0); - r0 = pxsim.image.ofBuffer(_hex6974); - globals.islandTile5___4267 = (r0); - r0 = pxsim.image.ofBuffer(_hex6976); - globals.islandTile6___4268 = (r0); - r0 = pxsim.image.ofBuffer(_hex6978); - globals.islandTile7___4269 = (r0); - r0 = pxsim.image.ofBuffer(_hex6980); - globals.islandTile8___4270 = (r0); - s.tmp_0 = game_setWaitAnyButton__P2980_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P2186; + globals.melt___56288 = (s.tmp_0); + globals.stateNamespace___58455 = ("__animation"); + r0 = pxsim.image.ofBuffer(_hex58743); + globals.saplingOak___56640 = (r0); + r0 = pxsim.image.ofBuffer(_hex58745); + globals.saplingPine___56641 = (r0); + r0 = pxsim.image.ofBuffer(_hex58781); + globals.tileGrass2___56659 = (r0); + r0 = pxsim.image.ofBuffer(_hex58783); + globals.tilePath1___56660 = (r0); + r0 = pxsim.image.ofBuffer(_hex58785); + globals.tilePath2___56661 = (r0); + r0 = pxsim.image.ofBuffer(_hex58787); + globals.tilePath3___56662 = (r0); + r0 = pxsim.image.ofBuffer(_hex58789); + globals.tileGrass1___56663 = (r0); + r0 = pxsim.image.ofBuffer(_hex58791); + globals.tilePath4___56664 = (r0); + r0 = pxsim.image.ofBuffer(_hex58795); + globals.tilePath6___56666 = (r0); + r0 = pxsim.image.ofBuffer(_hex58797); + globals.tileGrass3___56667 = (r0); + r0 = pxsim.image.ofBuffer(_hex58799); + globals.tilePath7___56668 = (r0); + r0 = pxsim.image.ofBuffer(_hex58801); + globals.tilePath8___56669 = (r0); + r0 = pxsim.image.ofBuffer(_hex58803); + globals.tilePath9___56670 = (r0); + r0 = pxsim.image.ofBuffer(_hex58805); + globals.tileDarkGrass1___56671 = (r0); + r0 = pxsim.image.ofBuffer(_hex58807); + globals.tileDarkGrass2___56672 = (r0); + r0 = pxsim.image.ofBuffer(_hex58809); + globals.tileDarkGrass3___56673 = (r0); + r0 = pxsim.image.ofBuffer(_hex59711); + globals.roadHorizontal___57134 = (r0); + r0 = pxsim.image.ofBuffer(_hex59983); + globals.islandTile3___57278 = (r0); + r0 = pxsim.image.ofBuffer(_hex59985); + globals.islandTile4___57279 = (r0); + r0 = pxsim.image.ofBuffer(_hex59987); + globals.islandTile5___57280 = (r0); + r0 = pxsim.image.ofBuffer(_hex59989); + globals.islandTile6___57281 = (r0); + r0 = pxsim.image.ofBuffer(_hex59991); + globals.islandTile7___57282 = (r0); + r0 = pxsim.image.ofBuffer(_hex59993); + globals.islandTile8___57283 = (r0); + s.tmp_0 = game_setWaitAnyButton__P55992_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P55198; s.callLocIdx = 82; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - s.tmp_0 = game_eventContext__P2982_mk(s); + s.tmp_0 = game_eventContext__P55994_mk(s); s.callLocIdx = 83; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.tmp_0 = SpriteKind_create__P2459_mk(s); + s.tmp_0 = SpriteKind_create__P55471_mk(s); s.callLocIdx = 84; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; - globals.StatusBar___4320 = (r0); - s.tmp_0 = StatusBarKind_create__P4323_mk(s); + globals.StatusBar___57333 = (r0); + s.tmp_0 = StatusBarKind_create__P57336_mk(s); s.callLocIdx = 85; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; - globals.Health___4324 = (r0); - s.tmp_0 = StatusBarKind_create__P4323_mk(s); + globals.Health___57337 = (r0); + s.tmp_0 = StatusBarKind_create__P57336_mk(s); s.callLocIdx = 86; s.pc = 46; return s.tmp_0; case 46: r0 = s.retval; - globals.Energy___4325 = (r0); - s.tmp_0 = StatusBarKind_create__P4323_mk(s); + globals.Energy___57338 = (r0); + s.tmp_0 = StatusBarKind_create__P57336_mk(s); s.callLocIdx = 87; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; - globals.Magic___4326 = (r0); - s.tmp_0 = StatusBarKind_create__P4323_mk(s); + globals.Magic___57339 = (r0); + s.tmp_0 = StatusBarKind_create__P57336_mk(s); s.callLocIdx = 88; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - globals.EnemyHealth___4327 = (r0); - globals.STATUS_BAR_DATA_KEY___7073 = ("STATUS_BAR_DATA_KEY"); - if ((globals.STATUS_BAR_DATA_KEY___7073) && (globals.STATUS_BAR_DATA_KEY___7073).vtable) { + globals.EnemyHealth___57340 = (r0); + globals.STATUS_BAR_DATA_KEY___60086 = ("STATUS_BAR_DATA_KEY"); + if ((globals.STATUS_BAR_DATA_KEY___60086) && (globals.STATUS_BAR_DATA_KEY___60086).vtable) { setupResume(s, 49); - pxsim_String__stringConv(globals.STATUS_BAR_DATA_KEY___7073); + pxsim_String__stringConv(globals.STATUS_BAR_DATA_KEY___60086); checkResumeConsumed(); return; - } else { s.retval = (globals.STATUS_BAR_DATA_KEY___7073) + ""; } + } else { s.retval = (globals.STATUS_BAR_DATA_KEY___60086) + ""; } case 49: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "_SPRITES"); - globals.MANAGED_SPRITES_KEY___7077 = (r0); - if ((globals.STATUS_BAR_DATA_KEY___7073) && (globals.STATUS_BAR_DATA_KEY___7073).vtable) { + globals.MANAGED_SPRITES_KEY___60090 = (r0); + if ((globals.STATUS_BAR_DATA_KEY___60086) && (globals.STATUS_BAR_DATA_KEY___60086).vtable) { setupResume(s, 50); - pxsim_String__stringConv(globals.STATUS_BAR_DATA_KEY___7073); + pxsim_String__stringConv(globals.STATUS_BAR_DATA_KEY___60086); checkResumeConsumed(); return; - } else { s.retval = (globals.STATUS_BAR_DATA_KEY___7073) + ""; } + } else { s.retval = (globals.STATUS_BAR_DATA_KEY___60086) + ""; } case 50: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "_ON_ZERO"); - globals.ZERO_HANDLERS_KEY___7083 = (r0); - if ((globals.STATUS_BAR_DATA_KEY___7073) && (globals.STATUS_BAR_DATA_KEY___7073).vtable) { + globals.ZERO_HANDLERS_KEY___60096 = (r0); + if ((globals.STATUS_BAR_DATA_KEY___60086) && (globals.STATUS_BAR_DATA_KEY___60086).vtable) { setupResume(s, 51); - pxsim_String__stringConv(globals.STATUS_BAR_DATA_KEY___7073); + pxsim_String__stringConv(globals.STATUS_BAR_DATA_KEY___60086); checkResumeConsumed(); return; - } else { s.retval = (globals.STATUS_BAR_DATA_KEY___7073) + ""; } + } else { s.retval = (globals.STATUS_BAR_DATA_KEY___60086) + ""; } case 51: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "_ON_STATUS_REACHED"); - globals.STATUS_HANDLERS_KEY___7089 = (r0); - if ((globals.STATUS_BAR_DATA_KEY___7073) && (globals.STATUS_BAR_DATA_KEY___7073).vtable) { + globals.STATUS_HANDLERS_KEY___60102 = (r0); + if ((globals.STATUS_BAR_DATA_KEY___60086) && (globals.STATUS_BAR_DATA_KEY___60086).vtable) { setupResume(s, 52); - pxsim_String__stringConv(globals.STATUS_BAR_DATA_KEY___7073); + pxsim_String__stringConv(globals.STATUS_BAR_DATA_KEY___60086); checkResumeConsumed(); return; - } else { s.retval = (globals.STATUS_BAR_DATA_KEY___7073) + ""; } + } else { s.retval = (globals.STATUS_BAR_DATA_KEY___60086) + ""; } case 52: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "_ON_DISPLAY_UPDATE"); - globals.POST_PROCESS_HANDLERS_KEY___7095 = (r0); - globals.burnedColor___7115 = (2); - globals.healthyColor___7117 = (3); - globals.drawForestHealth___7119 = (false); - globals.drawFireNumber___7121 = (false); - globals.drawFireDanger___7123 = (false); - globals.forestHealthText___7124 = ("Healthy Forest"); - globals.fireNumberText___7125 = ("Fires:"); - globals.fireNumber___7127 = (0); - globals.fireDangerText___7128 = ("Fire Danger:"); - globals.fireDangerColor___7130 = (7); - s.tmp_0 = statusbars_create__P4384_mk(s); + globals.POST_PROCESS_HANDLERS_KEY___60108 = (r0); + globals.burnedColor___60128 = (2); + globals.healthyColor___60130 = (3); + globals.drawForestHealth___60132 = (false); + globals.drawFireNumber___60134 = (false); + globals.drawFireDanger___60136 = (false); + globals.forestHealthText___60137 = ("Healthy Forest"); + globals.fireNumberText___60138 = ("Fires:"); + globals.fireNumber___60140 = (0); + globals.fireDangerText___60141 = ("Fire Danger:"); + globals.fireDangerColor___60143 = (7); + s.tmp_0 = statusbars_create__P57397_mk(s); s.tmp_0.arg0 = 82; s.tmp_0.arg1 = 4; - s.tmp_0.arg2 = globals.Health___4324; + s.tmp_0.arg2 = globals.Health___57337; s.callLocIdx = 89; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - globals.forestHealthBar___7132 = (r0); - s.tmp_0 = hud_createHUD__P7135_mk(s); + globals.forestHealthBar___60145 = (r0); + s.tmp_0 = hud_createHUD__P60148_mk(s); s.callLocIdx = 90; s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.tmp_0 = SpriteKind_create__P2459_mk(s); + s.tmp_0 = SpriteKind_create__P55471_mk(s); s.callLocIdx = 91; s.pc = 55; return s.tmp_0; case 55: r0 = s.retval; - globals.Water___4406 = (r0); - globals.facing___7141 = (0); - globals.hoseDirection___7143 = (0); - globals.changeRate___7145 = (10); - r0 = pxsim_pxtcore_mkClassInstance(forestFire_FireState__C7146_VT); + globals.Water___57419 = (r0); + globals.facing___60154 = (0); + globals.hoseDirection___60156 = (0); + globals.changeRate___60158 = (10); + r0 = pxsim_pxtcore_mkClassInstance(forestFire_FireState__C60159_VT); s.tmp_0 = r0; - s.tmp_1 = forestFire_FireState_constructor__P7159_mk(s); + s.tmp_1 = forestFire_FireState_constructor__P60172_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 92; s.pc = 56; return s.tmp_1; case 56: r0 = s.retval; - globals.state___7161 = (s.tmp_0); - r0 = pxsim.image.ofBuffer(_hex7164); - globals.transparency16___4449 = (r0); - r0 = pxsim.image.ofBuffer(_hex7168); - globals.tile3___4450 = (r0); - r0 = pxsim.image.ofBuffer(_hex7172); - globals.tile2___4451 = (r0); - r0 = pxsim.image.ofBuffer(_hex7176); - globals.tile8___4452 = (r0); - r0 = pxsim.image.ofBuffer(_hex7180); - globals.tile4___4453 = (r0); - r0 = pxsim.image.ofBuffer(_hex7184); - globals.tile1___4454 = (r0); - s.tmp_0 = helpers__registerFactory__P3312_mk(s); + globals.state___60174 = (s.tmp_0); + r0 = pxsim.image.ofBuffer(_hex60177); + globals.transparency16___57462 = (r0); + r0 = pxsim.image.ofBuffer(_hex60181); + globals.tile3___57463 = (r0); + r0 = pxsim.image.ofBuffer(_hex60185); + globals.tile2___57464 = (r0); + r0 = pxsim.image.ofBuffer(_hex60189); + globals.tile8___57465 = (r0); + r0 = pxsim.image.ofBuffer(_hex60193); + globals.tile4___57466 = (r0); + r0 = pxsim.image.ofBuffer(_hex60197); + globals.tile1___57467 = (r0); + s.tmp_0 = helpers__registerFactory__P56324_mk(s); s.tmp_0.arg0 = "tilemap"; - s.tmp_0.arg1 = myTiles_inline__P7188; + s.tmp_0.arg1 = myTiles_inline__P60201; s.callLocIdx = 97; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; - s.tmp_0 = helpers__registerFactory__P3312_mk(s); + s.tmp_0 = helpers__registerFactory__P56324_mk(s); s.tmp_0.arg0 = "tile"; - s.tmp_0.arg1 = myTiles_inline__P7250; + s.tmp_0.arg1 = myTiles_inline__P60263; s.callLocIdx = 99; s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; - s.tmp_0 = helpers__registerFactory__P3312_mk(s); + s.tmp_0 = helpers__registerFactory__P56324_mk(s); s.tmp_0.arg0 = "image"; - s.tmp_0.arg1 = myImages_inline__P7263; + s.tmp_0.arg1 = myImages_inline__P97738; s.callLocIdx = 101; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.tmp_0 = helpers__registerFactory__P3312_mk(s); + s.tmp_0 = helpers__registerFactory__P56324_mk(s); s.tmp_0.arg0 = "animation"; - s.tmp_0.arg1 = myImages_inline__P7302; + s.tmp_0.arg1 = myImages_inline__P97777; s.callLocIdx = 103; s.pc = 60; return s.tmp_0; case 60: r0 = s.retval; - s.tmp_0 = helpers__registerFactory__P3312_mk(s); + s.tmp_0 = helpers__registerFactory__P56324_mk(s); s.tmp_0.arg0 = "song"; - s.tmp_0.arg1 = myImages_inline__P7407; + s.tmp_0.arg1 = myImages_inline__P97882; s.callLocIdx = 105; s.pc = 61; return s.tmp_0; case 61: r0 = s.retval; - s.tmp_0 = SpriteKind_create__P2459_mk(s); + s.tmp_0 = SpriteKind_create__P55471_mk(s); s.callLocIdx = 106; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; - globals.button___101085 = (r0); - s.tmp_0 = SpriteKind_create__P2459_mk(s); + globals.button___97082 = (r0); + s.tmp_0 = SpriteKind_create__P55471_mk(s); s.callLocIdx = 107; s.pc = 63; return s.tmp_0; case 63: r0 = s.retval; - globals.monkey_type___101088 = (r0); - s.tmp_0 = controller_Button_onEvent__P2177_mk(s); - s.tmp_0.arg0 = globals.B___2095; + globals.monkey_type___97085 = (r0); + s.tmp_0 = controller_Button_onEvent__P55189_mk(s); + s.tmp_0.arg0 = globals.B___55107; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = on_b_repeated__P101093; + s.tmp_0.arg2 = on_b_pressed__P97090; s.callLocIdx = 110; s.pc = 64; return s.tmp_0; case 64: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P2177_mk(s); - s.tmp_0.arg0 = globals.B___2095; + s.tmp_0 = controller_Button_onEvent__P55189_mk(s); + s.tmp_0.arg0 = globals.B___55107; s.tmp_0.arg1 = 2048; - s.tmp_0.arg2 = on_b_released__P101107; + s.tmp_0.arg2 = on_b_released__P97104; s.callLocIdx = 112; s.pc = 65; return s.tmp_0; case 65: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P2177_mk(s); - s.tmp_0.arg0 = globals.A___2094; + s.tmp_0 = controller_Button_onEvent__P55189_mk(s); + s.tmp_0.arg0 = globals.A___55106; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = on_a_pressed__P101174; + s.tmp_0.arg2 = on_a_pressed__P97171; s.callLocIdx = 138; s.pc = 66; return s.tmp_0; case 66: r0 = s.retval; - s.tmp_0 = sprites_on_fire_created__P4418_mk(s); - s.tmp_0.arg0 = on_fire_created__P101229; + s.tmp_0 = sprites_on_fire_created__P57431_mk(s); + s.tmp_0.arg0 = on_fire_created__P97226; s.callLocIdx = 162; s.pc = 67; return s.tmp_0; case 67: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P2177_mk(s); - s.tmp_0.arg0 = globals.left___2096; + s.tmp_0 = controller_Button_onEvent__P55189_mk(s); + s.tmp_0.arg0 = globals.left___55108; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = on_left_pressed__P101244; + s.tmp_0.arg2 = on_left_pressed__P97241; s.callLocIdx = 173; s.pc = 68; return s.tmp_0; case 68: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P2177_mk(s); - s.tmp_0.arg0 = globals.right___2098; + s.tmp_0 = controller_Button_onEvent__P55189_mk(s); + s.tmp_0.arg0 = globals.right___55110; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = on_right_pressed__P101317; + s.tmp_0.arg2 = on_right_pressed__P97314; s.callLocIdx = 195; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; - s.tmp_0 = sprites_onOverlap__P2438_mk(s); - s.tmp_0.arg0 = globals.monkey_type___101088; - s.tmp_0.arg1 = globals.button___101085; - s.tmp_0.arg2 = on_on_overlap__P101351; + s.tmp_0 = sprites_onOverlap__P55450_mk(s); + s.tmp_0.arg0 = globals.monkey_type___97085; + s.tmp_0.arg1 = globals.button___97082; + s.tmp_0.arg2 = on_on_overlap_plane__P97348; s.callLocIdx = 218; s.pc = 70; return s.tmp_0; case 70: r0 = s.retval; - s.tmp_0 = sprites_on_fire_destroyed__P4417_mk(s); - s.tmp_0.arg0 = on_fire_destroyed__P101531; + s.tmp_0 = sprites_on_fire_destroyed__P57430_mk(s); + s.tmp_0.arg0 = on_fire_destroyed__P97528; s.callLocIdx = 261; s.pc = 71; return s.tmp_0; case 71: r0 = s.retval; - s.tmp_0 = info_onLifeZero__P2558_mk(s); - s.tmp_0.arg0 = on_life_zero__P101542; + s.tmp_0 = info_onLifeZero__P55570_mk(s); + s.tmp_0.arg0 = on_life_zero__P97539; s.callLocIdx = 264; s.pc = 72; return s.tmp_0; case 72: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P2177_mk(s); - s.tmp_0.arg0 = globals.A___2094; + s.tmp_0 = controller_Button_onEvent__P55189_mk(s); + s.tmp_0.arg0 = globals.A___55106; s.tmp_0.arg1 = 2054; - s.tmp_0.arg2 = on_a_repeated__P101548; + s.tmp_0.arg2 = on_a_repeated__P97545; s.callLocIdx = 269; s.pc = 73; return s.tmp_0; case 73: r0 = s.retval; - s.tmp_0 = scene_onOverlapTile__P2440_mk(s); - s.tmp_0.arg0 = globals.Water___4406; - s.tmp_1 = helpers_getTileByName__P3318_mk(s); + s.tmp_0 = scene_onOverlapTile__P55452_mk(s); + s.tmp_0.arg0 = globals.Water___57419; + s.tmp_1 = helpers_getTileByName__P56330_mk(s); s.tmp_1.arg0 = "\n tree fire\n "; s.callLocIdx = 270; s.pc = 75; return s.tmp_1; case 75: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = on_overlap_tile__P101565; + s.tmp_0.arg2 = on_overlap_tile__P97562; s.callLocIdx = 273; s.pc = 74; return s.tmp_0; case 74: r0 = s.retval; - s.tmp_0 = sprites_onOverlap__P2438_mk(s); - s.tmp_0.arg0 = globals.Player___2460; - s.tmp_0.arg1 = globals.button___101085; - s.tmp_0.arg2 = on_on_overlap2__P101578; + s.tmp_0 = sprites_onOverlap__P55450_mk(s); + s.tmp_0.arg0 = globals.Player___55472; + s.tmp_0.arg1 = globals.button___97082; + s.tmp_0.arg2 = on_on_overlap_level__P97575; s.callLocIdx = 280; s.pc = 76; return s.tmp_0; case 76: r0 = s.retval; - globals.red_plane___101363 = (null); - globals.ryanair_plane___101384 = (null); - globals.vueling_plane___101404 = (null); - globals.aalines_plane___101424 = (null); - globals.chosen_plane___101257 = (0); - globals.monkey___101251 = (null); - globals.forest_a___101132 = (null); - globals.forest_b___101139 = (null); - globals.chosen_level___101124 = (0); - globals.fire_plane___101100 = (null); - globals.setting_plane___101247 = (1); - globals.setting_level___101096 = (1); - s.tmp_0 = choose_plane__P101379_mk(s); + globals.red_plane___97360 = (null); + globals.ryanair_plane___97381 = (null); + globals.vueling_plane___97401 = (null); + globals.aalines_plane___97421 = (null); + globals.chosen_plane___97254 = (0); + globals.monkey___97248 = (null); + globals.forest_a___97129 = (null); + globals.forest_b___97136 = (null); + globals.chosen_level___97121 = (0); + globals.fire_plane___97097 = (null); + globals.setting_plane___97244 = (1); + globals.setting_level___97093 = (1); + s.tmp_0 = choose_plane__P97376_mk(s); s.callLocIdx = 281; s.pc = 77; return s.tmp_0; case 77: r0 = s.retval; - s.tmp_0 = game_onUpdate__P3003_mk(s); - s.tmp_0.arg0 = on_on_update__P101610; + s.tmp_0 = game_onUpdate__P56015_mk(s); + s.tmp_0.arg0 = on_on_update__P97607; s.callLocIdx = 283; s.pc = 78; return s.tmp_0; case 78: r0 = s.retval; @@ -1478,13 +1478,13 @@ switch (step) { return leave(s, r0) default: oops() } } } -_main___P101803.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/pxt-arcade-forest-fire/main.ts","functionName":"
","argumentNames":[]} -_main___P101803.continuations = [ 49,50,51,52 ] +_main___P98177.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/pxt-arcade-forest-fire/main.ts","functionName":"
","argumentNames":[]} +_main___P98177.continuations = [ 49,50,51,52 ] -function _main___P101803_mk(s) { +function _main___P98177_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P101803, depth: s.depth + 1, + parent: s, fn: _main___P98177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1494,59 +1494,59 @@ function _main___P101803_mk(s) { tmp_5: undefined, } } -const _hex4569 = pxsim.BufferMethods.createBufferFromHex("1f00210023002500270029002c002e003100340037003a003e004100450049004e00520057005c00620068006e0075007b0083008b0093009c00a500af00b900c400d000dc00e900f70006011501260137014a015d01720188019f01b801d201ee010b022a024b026e029302ba02e40210033f037003a403dc03170455049704dd0427057505c80520067d06e0064907b8072d08a9082d09b9094d0aea0a900b400cfa0cc00d910e6f0f5a1053115b1272139a14d41520178018f519801b231dde1e") -const _hex11738 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex11740 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000f3000000c0012002140412042102c00100000000000000000000") -const _hex22711 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex4681 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") -const _hex4996 = pxsim.BufferMethods.createBufferFromHex("870407000800000000000000404400005055040450555505505501011011000000000000") -const _hex4999 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000050050000000000000550000000005045444404000000455544444400040045555555550404004555555555450500455555555511050045555555150101004555111111000100501511110100000000000550000000000000500500000000000000000000000000000000000000") -const _hex5002 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000006666666666060060ffffff666f660060fffffff6ff660060fff1ff666f660060fff1ff6666660060fffff16666660060fffff16666660060fff1ff6666660060fff1ff66f6660060ffffff6666660060fffffff6666600006666666666060000000000000000000000000000000000") -const _hex5297 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex5299 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex5301 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex5303 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5305 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5307 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5309 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5311 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5313 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5315 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5317 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex5730 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000cc0c0000000000ccc6cc0c000000c06666cccc000000c066676cc60000006c766766f60c00006c777667fc4f00c06677676766fc0ec0675777c666fceec077776767ccfceec055676667f6cf006055776767fc0ce00076756766c6ef0400c6765667c60f0000c06c76c6fc00000000cc66c60c00000000c0cccc000000") -const _hex5732 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000cc00000000000060c7cc0c000000006cc77c0c000000606c67770c0000c0ccc76666cc000ec0c6676c6677e60ec07c77c776c7ef006c55776c66f6eeee5c55776666ffeeeec07c756777c7ee0060c767667777ec0e6066c77767cc000e0060cc77770c0000000066677c0c000000006067c60c00000000006600000000") -const _hex5768 = pxsim.BufferMethods.createBufferFromHex("870410001000000075777777777777777777d176771776777537116377717157771176d177177677771176d17777777777371163777777777777d176177677777777777771717777777777771776777777576577777777777777775775176d777777775576133176776177671761177d171777771761177d77617777771331767777777777176d77") -const _hex5770 = pxsim.BufferMethods.createBufferFromHex("870410001000000077777777777777777767766776d67666777766dd6ddd6ddd77d6dddddddddddd67dddddddddddddb77d6dddddddddddd77d6ddbddbdddddd67d6ddbddbdddddd67dddddddddddddd67dddddddddddddd77d6dddddd1dd1dd67ddddddd11dd1dd77d6dddddddddddd77dddbdddddddddd67d7ddddddd1dddd77d6dddddddddddb") -const _hex5772 = pxsim.BufferMethods.createBufferFromHex("870410001000000067dddddddddddddd67dd1dd1dddddddd77d61dd1ddbddddd67d7dddddddddddd77d71ddddddddddd67d6dddddddddddd7767ddddbddddddd67ddddddddddddd167ddddddddddddddd7dddddddddddddd67d71ddddddddddd77d6ddddddbddbdd77ddddddddbddbdd67d6dddddddddddd7767dddd1ddddd1d77d6dddddddddddd") -const _hex5774 = pxsim.BufferMethods.createBufferFromHex("8704100010000000d7ddddd1dddddddd67dddddddddddddd77d6dddddddddddd67d6ddddbddbdddd67dddbddbddbdddd77dddddddddddddb77d6dddddddddddd77d6dddddddddddd67d6ddd1ddddddddd7dddddddbdddddd67dd11ddddddd1dd77d611dddddddddd67ddddddd6dddddd77d66ddd67dd66dd776776667766676d7777777777777777") -const _hex5776 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777777777777777677777777777757657777777777777755767777557677557777777777777757757777777777777757757777777777775576777777777777657777777777777777777777777777777777777777777777777777777777777777576577777777777777777777577777777777777777777777777777777777") -const _hex5778 = pxsim.BufferMethods.createBufferFromHex("870410001000000077777777777777776767776776d67676666766dd6ddd6dd6ddd6d6ddddbdddd6dddddddddddddddddddddddddddddddd11dddddddddddddd11ddbddddddddddddddddddddd1ddddbdddddddddd11d1ddddd1dddddd1dddddddddddddddddddddddddddddbbddddddddddddddbbddddddddddddddddddddddddddddd1dddddd1d") -const _hex5782 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ddddddddd1dddddddd1ddddddddddddddd11d1ddddddddd1dd1dddddddddddddddddddddbddbddddddddddddbddbddddddddddddddddddddddddddddddddddddddbddddddddddddddddddddddddddddddddddddddddddbddddddddd1dddddddddddddddd6dddddddddd6dd667dd66dd666676d6776766d677777777777777777") -const _hex5784 = pxsim.BufferMethods.createBufferFromHex("87041000100000007577777777777777777777777777777775776777577777577777557677777777777757657777777777577577777777777777557777777777777777557777777777775765777775777777577677775577777777777757577777777777775576777777757777657777777777777777777777777777777777777777777777777755") -const _hex5786 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777777777777d676667766677677dd66dd76ddd66d77dddddd6ddddddd76ddddddddbddb6d77ddddddddbddbdd76dd1ddddddddddd7ddddddddddddd6d76dddddddddddd6d77dddddddddddd6d77dd11dddddddddd77dd11dddddbdddd76dddddddddddd6d76dddddddddd116d77dddddddddd11dd76dddddddbdddddd7d") -const _hex5788 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddddd6d77d1ddddd1dddd7677dddddddddddd6d76dddddddddddbdd77dddddddddddd6d77ddddddbbdddd7d76dddbddbbdddddd7ddddddddddddddd76dddddddddddddd76dddddddddddd7677dddddddddddd6d76ddddddddddd17d77dd11dddddddd7d76dd11dddddddd6d77ddddddbddddddd76dddddddddddddd76") -const _hex5790 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bddddddddddd6d77dddddd1dd1dd7d76dddddd1dd1bddd77dddddddddddd6d77dddddddddddddd76ddd1dddddddd6d77dddddddddddddd76ddddddddd1dddd76dddddddddddd6d76ddddbbdddddd6d77ddddbbdddddd6d77dddddddddd1ddd76dddddddddddd6d77ddd6ddd6dd66777766676d67766776777777777777777777") -const _hex5792 = pxsim.BufferMethods.createBufferFromHex("87041000100000006766666666666666666666666666666667668666766666766666776866666666666676876666666666766766666666666666776666666666666666776666666666667687666667666666766866667766666666666676766666666666667768666666676666876666666666666666666666666666666666666666666666666677") -const _hex5794 = pxsim.BufferMethods.createBufferFromHex("870410001000000067666666666666666666d168661668666736118366616176661168d166166866661168d16666666666361183666666666666d168166866666666666661616666666666661668666666768766666666666666667667168d666666667768133168668166861681166d161666661681166d66816666661331686666666666168d66") -const _hex5796 = pxsim.BufferMethods.createBufferFromHex("87041000100000006666666666666666666866666666666676876666666666666677686666776866776666666666666676676666666666666676676666666666667768666666666666876666666666666666666666666666666666666666666666666666666666666666768766666666666666666666766666666666666666666666666666666666") -const _hex6698 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bcbdbbbbbbbbdbcbbcbdbb1bbdbbdbcbbcbdbb1bb1bbdbcbbcbdbb1bb1bbdbcbbcbdbb1bb1bbdbcbbcbdbbdbb1bbdbcbbcbdbbbbbbbbdbcbbcbdbbbbbbbbdbcbbcbdbbbbbbbbdbcbbcbdbb1bbdbbdbcbbcbdbb1bb1bbdbcbbcbdbb1bb1bbdbcbbcbdbb1bb1bbdbcbbcbdbbdbb1bbdbcbbcbdbbbbbbbbdbcbbcbdbbbbbbbbdbcb") -const _hex6970 = pxsim.BufferMethods.createBufferFromHex("87041000100000006666666666666666777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777") -const _hex6972 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777") -const _hex6974 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777776666666666666666") -const _hex6976 = pxsim.BufferMethods.createBufferFromHex("870410001000000066ccccccbcbb000077776766b6bb0b007777776666bdbb007777776766ddbd0077777767dddd1d007777777766dd1d017777777767d6dd017777777767d6dd1d77777777d6dddd1d7777777767dddd1d7777777767d6dd1d7777777766d6dd117777776766d61d017777777777d61d017777777766d61d007777777767d61d00") -const _hex6978 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777767d61d0077777767d6dd1d017777777766dd1d017777777767d6dd117777777767d6dd1d7777777767d6dd1d7777777766dddd1d7777777767d6dd1d7777777767d6dd1d7777777767d6dd1d7777777767dddd1177777777d6dd1d017777776766d61d017777777767d61d007777777766d61d007777777767d61d00") -const _hex6980 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777767d61d007777777766d61d007777777777d61d017777776766d61d017777777766d6dd117777777767d6dd1d7777777767dddd1d77777777d6dddd1d7777777767d6dd1d7777777767d6dd017777777766dd1d0177777767dddd1d007777776766ddbd007777776666bdbb0077776766b6bb0b0066ccccccbcbb0000") -const _hex7164 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex7168 = pxsim.BufferMethods.createBufferFromHex("87041000100000006666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666") -const _hex7172 = pxsim.BufferMethods.createBufferFromHex("8704100010000000666666bccc6c66666666c6cbbb6c66666666b6ebcccc6c666666c5ecc6bb6c666666cc44c2cb6c666666cbeec4cc66666665c64ecebccc6666664ce4e4bccb666666bc54e4cccc666666bc2ececb6c666666cb4ec2cb6c6666664be4c6cc6c666666c6e5bccc66666666c6cbbccc6666666666cccb666666666666bc6c666666") -const _hex7176 = pxsim.BufferMethods.createBufferFromHex("870410001000000066e666666666fe6e6666666666e6ee6e6666ff6666f6bbfef666bf6f66bebbfb6666f6fb66bdfbfb66ffffff6fbcbceff6bbeebefcfffffe66ffffebbeeceebef66666bfeeeeeeff666666f6effefffe66d666effeffbbef6666f6fe6fbecbfb6666f66f66febbfb666f66c666e6bbfe66ee6f6666e6eefe66e666666666e66e") -const _hex7180 = pxsim.BufferMethods.createBufferFromHex("8704100010000000666666666666666666666646886666666666865574686466664675464f4766f6666674e47e4465fb66e66e7ee74564fb6666ee764754b6ef465efe744455fffe6677e4754754e6be66744674e54466ff666676774f5764fe6665786e7e4465ef66668648745865fb66664654854666f666666646656666666666666666666666") -const _hex7184 = pxsim.BufferMethods.createBufferFromHex("870410001000000066666666666666666666668688666666666686787768666666667766766766666686767766676666667866776777666c667767766777c66c767767766777ee6c667767766777c66e667866776777666c668676776667666666667866766766666666867877686666666666868866666666666666666666666666666666666666") +const _hex57582 = pxsim.BufferMethods.createBufferFromHex("1f00210023002500270029002c002e003100340037003a003e004100450049004e00520057005c00620068006e0075007b0083008b0093009c00a500af00b900c400d000dc00e900f70006011501260137014a015d01720188019f01b801d201ee010b022a024b026e029302ba02e40210033f037003a403dc03170455049704dd0427057505c80520067d06e0064907b8072d08a9082d09b9094d0aea0a900b400cfa0cc00d910e6f0f5a1053115b1272139a14d41520178018f519801b231dde1e") +const _hex64767 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex64769 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000f3000000c0012002140412042102c00100000000000000000000") +const _hex75740 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex57694 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca378dc52003fad87f2ff8e2ec4a4839f5c406ce5cdc491463d000000") +const _hex58009 = pxsim.BufferMethods.createBufferFromHex("870407000800000000000000404400005055040450555505505501011011000000000000") +const _hex58012 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000050050000000000000550000000005045444404000000455544444400040045555555550404004555555555450500455555555511050045555555150101004555111111000100501511110100000000000550000000000000500500000000000000000000000000000000000000") +const _hex58015 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000006666666666060060ffffff666f660060fffffff6ff660060fff1ff666f660060fff1ff6666660060fffff16666660060fffff16666660060fff1ff6666660060fff1ff66f6660060ffffff6666660060fffffff6666600006666666666060000000000000000000000000000000000") +const _hex58310 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex58312 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex58314 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex58316 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex58318 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex58320 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex58322 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex58324 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex58326 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex58328 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex58330 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex58743 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000cc0c0000000000ccc6cc0c000000c06666cccc000000c066676cc60000006c766766f60c00006c777667fc4f00c06677676766fc0ec0675777c666fceec077776767ccfceec055676667f6cf006055776767fc0ce00076756766c6ef0400c6765667c60f0000c06c76c6fc00000000cc66c60c00000000c0cccc000000") +const _hex58745 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000cc00000000000060c7cc0c000000006cc77c0c000000606c67770c0000c0ccc76666cc000ec0c6676c6677e60ec07c77c776c7ef006c55776c66f6eeee5c55776666ffeeeec07c756777c7ee0060c767667777ec0e6066c77767cc000e0060cc77770c0000000066677c0c000000006067c60c00000000006600000000") +const _hex58781 = pxsim.BufferMethods.createBufferFromHex("870410001000000075777777777777777777d176771776777537116377717157771176d177177677771176d17777777777371163777777777777d176177677777777777771717777777777771776777777576577777777777777775775176d777777775576133176776177671761177d171777771761177d77617777771331767777777777176d77") +const _hex58783 = pxsim.BufferMethods.createBufferFromHex("870410001000000077777777777777777767766776d67666777766dd6ddd6ddd77d6dddddddddddd67dddddddddddddb77d6dddddddddddd77d6ddbddbdddddd67d6ddbddbdddddd67dddddddddddddd67dddddddddddddd77d6dddddd1dd1dd67ddddddd11dd1dd77d6dddddddddddd77dddbdddddddddd67d7ddddddd1dddd77d6dddddddddddb") +const _hex58785 = pxsim.BufferMethods.createBufferFromHex("870410001000000067dddddddddddddd67dd1dd1dddddddd77d61dd1ddbddddd67d7dddddddddddd77d71ddddddddddd67d6dddddddddddd7767ddddbddddddd67ddddddddddddd167ddddddddddddddd7dddddddddddddd67d71ddddddddddd77d6ddddddbddbdd77ddddddddbddbdd67d6dddddddddddd7767dddd1ddddd1d77d6dddddddddddd") +const _hex58787 = pxsim.BufferMethods.createBufferFromHex("8704100010000000d7ddddd1dddddddd67dddddddddddddd77d6dddddddddddd67d6ddddbddbdddd67dddbddbddbdddd77dddddddddddddb77d6dddddddddddd77d6dddddddddddd67d6ddd1ddddddddd7dddddddbdddddd67dd11ddddddd1dd77d611dddddddddd67ddddddd6dddddd77d66ddd67dd66dd776776667766676d7777777777777777") +const _hex58789 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777777777777777677777777777757657777777777777755767777557677557777777777777757757777777777777757757777777777775576777777777777657777777777777777777777777777777777777777777777777777777777777777576577777777777777777777577777777777777777777777777777777777") +const _hex58791 = pxsim.BufferMethods.createBufferFromHex("870410001000000077777777777777776767776776d67676666766dd6ddd6dd6ddd6d6ddddbdddd6dddddddddddddddddddddddddddddddd11dddddddddddddd11ddbddddddddddddddddddddd1ddddbdddddddddd11d1ddddd1dddddd1dddddddddddddddddddddddddddddbbddddddddddddddbbddddddddddddddddddddddddddddd1dddddd1d") +const _hex58795 = pxsim.BufferMethods.createBufferFromHex("8704100010000000ddddddddd1dddddddd1ddddddddddddddd11d1ddddddddd1dd1dddddddddddddddddddddbddbddddddddddddbddbddddddddddddddddddddddddddddddddddddddbddddddddddddddddddddddddddddddddddddddddddbddddddddd1dddddddddddddddd6dddddddddd6dd667dd66dd666676d6776766d677777777777777777") +const _hex58797 = pxsim.BufferMethods.createBufferFromHex("87041000100000007577777777777777777777777777777775776777577777577777557677777777777757657777777777577577777777777777557777777777777777557777777777775765777775777777577677775577777777777757577777777777775576777777757777657777777777777777777777777777777777777777777777777755") +const _hex58799 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777777777777d676667766677677dd66dd76ddd66d77dddddd6ddddddd76ddddddddbddb6d77ddddddddbddbdd76dd1ddddddddddd7ddddddddddddd6d76dddddddddddd6d77dddddddddddd6d77dd11dddddddddd77dd11dddddbdddd76dddddddddddd6d76dddddddddd116d77dddddddddd11dd76dddddddbdddddd7d") +const _hex58801 = pxsim.BufferMethods.createBufferFromHex("8704100010000000dddddddddddd6d77d1ddddd1dddd7677dddddddddddd6d76dddddddddddbdd77dddddddddddd6d77ddddddbbdddd7d76dddbddbbdddddd7ddddddddddddddd76dddddddddddddd76dddddddddddd7677dddddddddddd6d76ddddddddddd17d77dd11dddddddd7d76dd11dddddddd6d77ddddddbddddddd76dddddddddddddd76") +const _hex58803 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bddddddddddd6d77dddddd1dd1dd7d76dddddd1dd1bddd77dddddddddddd6d77dddddddddddddd76ddd1dddddddd6d77dddddddddddddd76ddddddddd1dddd76dddddddddddd6d76ddddbbdddddd6d77ddddbbdddddd6d77dddddddddd1ddd76dddddddddddd6d77ddd6ddd6dd66777766676d67766776777777777777777777") +const _hex58805 = pxsim.BufferMethods.createBufferFromHex("87041000100000006766666666666666666666666666666667668666766666766666776866666666666676876666666666766766666666666666776666666666666666776666666666667687666667666666766866667766666666666676766666666666667768666666676666876666666666666666666666666666666666666666666666666677") +const _hex58807 = pxsim.BufferMethods.createBufferFromHex("870410001000000067666666666666666666d168661668666736118366616176661168d166166866661168d16666666666361183666666666666d168166866666666666661616666666666661668666666768766666666666666667667168d666666667768133168668166861681166d161666661681166d66816666661331686666666666168d66") +const _hex58809 = pxsim.BufferMethods.createBufferFromHex("87041000100000006666666666666666666866666666666676876666666666666677686666776866776666666666666676676666666666666676676666666666667768666666666666876666666666666666666666666666666666666666666666666666666666666666768766666666666666666666766666666666666666666666666666666666") +const _hex59711 = pxsim.BufferMethods.createBufferFromHex("8704100010000000bcbdbbbbbbbbdbcbbcbdbb1bbdbbdbcbbcbdbb1bb1bbdbcbbcbdbb1bb1bbdbcbbcbdbb1bb1bbdbcbbcbdbbdbb1bbdbcbbcbdbbbbbbbbdbcbbcbdbbbbbbbbdbcbbcbdbbbbbbbbdbcbbcbdbb1bbdbbdbcbbcbdbb1bb1bbdbcbbcbdbb1bb1bbdbcbbcbdbb1bb1bbdbcbbcbdbbdbb1bbdbcbbcbdbbbbbbbbdbcbbcbdbbbbbbbbdbcb") +const _hex59983 = pxsim.BufferMethods.createBufferFromHex("87041000100000006666666666666666777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777") +const _hex59985 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777") +const _hex59987 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777776666666666666666") +const _hex59989 = pxsim.BufferMethods.createBufferFromHex("870410001000000066ccccccbcbb000077776766b6bb0b007777776666bdbb007777776766ddbd0077777767dddd1d007777777766dd1d017777777767d6dd017777777767d6dd1d77777777d6dddd1d7777777767dddd1d7777777767d6dd1d7777777766d6dd117777776766d61d017777777777d61d017777777766d61d007777777767d61d00") +const _hex59991 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777767d61d0077777767d6dd1d017777777766dd1d017777777767d6dd117777777767d6dd1d7777777767d6dd1d7777777766dddd1d7777777767d6dd1d7777777767d6dd1d7777777767d6dd1d7777777767dddd1177777777d6dd1d017777776766d61d017777777767d61d007777777766d61d007777777767d61d00") +const _hex59993 = pxsim.BufferMethods.createBufferFromHex("87041000100000007777777767d61d007777777766d61d007777777777d61d017777776766d61d017777777766d6dd117777777767d6dd1d7777777767dddd1d77777777d6dddd1d7777777767d6dd1d7777777767d6dd017777777766dd1d0177777767dddd1d007777776766ddbd007777776666bdbb0077776766b6bb0b0066ccccccbcbb0000") +const _hex60177 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex60181 = pxsim.BufferMethods.createBufferFromHex("87041000100000006666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666") +const _hex60185 = pxsim.BufferMethods.createBufferFromHex("8704100010000000666666bccc6c66666666c6cbbb6c66666666b6ebcccc6c666666c5ecc6bb6c666666cc44c2cb6c666666cbeec4cc66666665c64ecebccc6666664ce4e4bccb666666bc54e4cccc666666bc2ececb6c666666cb4ec2cb6c6666664be4c6cc6c666666c6e5bccc66666666c6cbbccc6666666666cccb666666666666bc6c666666") +const _hex60189 = pxsim.BufferMethods.createBufferFromHex("870410001000000066e666666666fe6e6666666666e6ee6e6666ff6666f6bbfef666bf6f66bebbfb6666f6fb66bdfbfb66ffffff6fbcbceff6bbeebefcfffffe66ffffebbeeceebef66666bfeeeeeeff666666f6effefffe66d666effeffbbef6666f6fe6fbecbfb6666f66f66febbfb666f66c666e6bbfe66ee6f6666e6eefe66e666666666e66e") +const _hex60193 = pxsim.BufferMethods.createBufferFromHex("8704100010000000666666666666666666666646886666666666865574686466664675464f4766f6666674e47e4465fb66e66e7ee74564fb6666ee764754b6ef465efe744455fffe6677e4754754e6be66744674e54466ff666676774f5764fe6665786e7e4465ef66668648745865fb66664654854666f666666646656666666666666666666666") +const _hex60197 = pxsim.BufferMethods.createBufferFromHex("870410001000000066666666666666666666668688666666666686787768666666667766766766666686767766676666667866776777666c667767766777c66c767767766777ee6c667767766777c66e667866776777666c668676776667666666667866766766666666867877686666666666868866666666666666666666666666666666666666") -function control___screen_inline__P4670(s) { +function control___screen_inline__P57683(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1559,23 +1559,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___4667 = (false); - s.tmp_0 = pause__P413_mk(s); + globals.__updated___57680 = (false); + s.tmp_0 = pause__P53425_mk(s); s.tmp_0.arg0 = 200; s.callLocIdx = 4; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.__updated___4667); + r0 = pxsim_numops_toBoolDecr(globals.__updated___57680); 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__P1974_mk(s); + s.tmp_2 = control___screen_update__P54986_mk(s); s.callLocIdx = 5; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___4667 = (true); + globals.__updated___57680 = (true); case 2: case 3: { step = 1; continue; } @@ -1584,12 +1584,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_inline__P4670.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__P57683.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__P4670_mk(s) { +function control___screen_inline__P57683_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_inline__P4670, depth: s.depth + 1, + parent: s, fn: control___screen_inline__P57683, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1600,7 +1600,7 @@ function control___screen_inline__P4670_mk(s) { -function _screen_internal_inline__P4690(s) { +function _screen_internal_inline__P57703(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1610,17 +1610,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___2013); + r0 = pxsim_pxtcore.updateScreen(globals.screen___55025); r0 = undefined; return leave(s, r0) default: oops() } } } -_screen_internal_inline__P4690.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__P57703.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__P4690_mk(s) { +function _screen_internal_inline__P57703_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P4690, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P57703, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -1628,7 +1628,7 @@ function _screen_internal_inline__P4690_mk(s) { -function _screen_internal_inline__P4695(s) { +function _screen_internal_inline__P57708(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1647,12 +1647,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_inline__P4695.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__P57708.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__P4695_mk(s) { +function _screen_internal_inline__P57708_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P4695, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P57708, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -1661,7 +1661,7 @@ function _screen_internal_inline__P4695_mk(s) { -function controller_inline__P4740(s) { +function controller_inline__P57753(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1671,16 +1671,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.stateWhenPushed___4741 = undefined; - s.i___4747 = undefined; - s.p___4753 = undefined; - s.tmp_0 = game_currentScene__P2979_mk(s); + s.stateWhenPushed___57754 = undefined; + s.i___57760 = undefined; + s.p___57766 = undefined; + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 21; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = r0.fields["controllerConnectionState"]; - s.stateWhenPushed___4741 = (r0); - r0 = pxsim_numops_toBoolDecr(s.stateWhenPushed___4741); + s.stateWhenPushed___57754 = (r0); + r0 = pxsim_numops_toBoolDecr(s.stateWhenPushed___57754); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -1689,24 +1689,24 @@ switch (step) { { step = 11; continue; } case 1: case 2: - s.i___4747 = (0); + s.i___57760 = (0); case 3: - s.tmp_1 = r0 = s.i___4747; - r0 = pxsim_Array__length(s.stateWhenPushed___4741); + s.tmp_1 = r0 = s.i___57760; + r0 = pxsim_Array__length(s.stateWhenPushed___57754); 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___4738, s.i___4747); - s.p___4753 = (r0); - s.tmp_0 = r0 = s.p___4753; + r0 = pxsim_Array__getAt(globals._players___57751, s.i___57760); + s.p___57766 = (r0); + s.tmp_0 = r0 = s.p___57766; 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___4741, s.i___4747); + r0 = pxsim_Array__getAt(s.stateWhenPushed___57754, s.i___57760); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); s.tmp_4 = r0; @@ -1716,7 +1716,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; - r0 = s.p___4753.fields["_connected"]; + r0 = s.p___57766.fields["_connected"]; s.tmp_10 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_10); s.tmp_9 = r0; @@ -1732,7 +1732,7 @@ switch (step) { s.tmp_11 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_11); if (!r0) { step = 8; continue; } - r0 = s.p___4753.fields["_connected"]; + r0 = s.p___57766.fields["_connected"]; s.tmp_12 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_12); if (!r0) { step = 6; continue; } @@ -1743,13 +1743,13 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_13 = r0; - r0 = s.p___4753.fields["_id"]; + r0 = s.p___57766.fields["_id"]; s.tmp_14 = r0; r0 = pxsim.control.raiseEvent(s.tmp_14, s.tmp_13); case 8: case 9: - r0 = (s.i___4747 + 1); - s.i___4747 = (r0); + r0 = (s.i___57760 + 1); + s.i___57760 = (r0); { step = 3; continue; } case 10: case 11: @@ -1757,12 +1757,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_inline__P4740.info = {"start":344,"length":582,"line":15,"column":28,"endLine":30,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +controller_inline__P57753.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__P4740_mk(s) { +function controller_inline__P57753_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_inline__P4740, depth: s.depth + 1, + parent: s, fn: controller_inline__P57753, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1779,16 +1779,16 @@ function controller_inline__P4740_mk(s) { tmp_12: undefined, tmp_13: undefined, tmp_14: undefined, - stateWhenPushed___4741: undefined, - i___4747: undefined, - p___4753: undefined, + stateWhenPushed___57754: undefined, + i___57760: undefined, + p___57766: undefined, } } -function controller_inline__P4780(s) { +function controller_inline__P57793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1798,7 +1798,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___4785 = undefined; + s.i___57798 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -1807,43 +1807,43 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["controllerConnectionState"] = (s.tmp_1); - s.i___4785 = (0); + s.i___57798 = (0); case 1: - s.tmp_1 = r0 = s.i___4785; - r0 = pxsim_Array__length(globals._players___4738); + s.tmp_1 = r0 = s.i___57798; + r0 = pxsim_Array__length(globals._players___57751); 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___4738, s.i___4785); + r0 = pxsim_Array__getAt(globals._players___57751, s.i___57798); 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___4785; - r0 = pxsim_Array__getAt(globals._players___4738, s.i___4785); + s.tmp_5 = r0 = s.i___57798; + r0 = pxsim_Array__getAt(globals._players___57751, s.i___57798); 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___4785 + 1); - s.i___4785 = (r0); + r0 = (s.i___57798 + 1); + s.i___57798 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -controller_inline__P4780.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__P57793.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__P4780_mk(s) { +function controller_inline__P57793_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_inline__P4780, depth: s.depth + 1, + parent: s, fn: controller_inline__P57793, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1853,7 +1853,7 @@ function controller_inline__P4780_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___4785: undefined, + i___57798: undefined, arg0: undefined, } } @@ -1861,7 +1861,7 @@ function controller_inline__P4780_mk(s) { -function info_inline__P4891(s) { +function info_inline__P57904(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1875,36 +1875,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___4887); + r0 = pxsim_numops_toBoolDecr(globals.infoState___57900); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___4889); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___57902); 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___4889 = (r0); + globals.infoStateStack___57902 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___4887); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___57900); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___4889, s.tmp_0); - globals.infoState___4887 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___57902, s.tmp_0); + globals.infoState___57900 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -info_inline__P4891.info = {"start":2571,"length":259,"line":93,"column":29,"endLine":102,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +info_inline__P57904.info = {"start":2571,"length":259,"line":93,"column":29,"endLine":102,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} -function info_inline__P4891_mk(s) { +function info_inline__P57904_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P4891, depth: s.depth + 1, + parent: s, fn: info_inline__P57904, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1915,7 +1915,7 @@ function info_inline__P4891_mk(s) { -function info_inline__P4906(s) { +function info_inline__P57919(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1925,30 +1925,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___4907 = undefined; - s.nextState___4916 = undefined; - s.tmp_0 = game_currentScene__P2979_mk(s); + s.scene___57920 = undefined; + s.nextState___57929 = undefined; + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 34; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___4907 = (r0); - globals.infoState___4887 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___4889; + s.scene___57920 = (r0); + globals.infoState___57900 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___57902; 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___4889); + r0 = pxsim_Array__length(globals.infoStateStack___57902); 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___4889); - s.nextState___4916 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___57902); + s.nextState___57929 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___4916; + s.tmp_2.arg0 = s.nextState___57929; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -1960,12 +1960,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___4907); + r0 = (s.tmp_1 == s.scene___57920); 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___4916; + s.tmp_3.arg0 = s.nextState___57929; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1976,10 +1976,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___4887 = (r0); + globals.infoState___57900 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___4889, s.nextState___4916); + r0 = pxsim_Array__push(globals.infoStateStack___57902, s.nextState___57929); case 4: case 5: case 6: @@ -1987,26 +1987,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_inline__P4906.info = {"start":2862,"length":376,"line":104,"column":28,"endLine":115,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +info_inline__P57919.info = {"start":2862,"length":376,"line":104,"column":28,"endLine":115,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function info_inline__P4906_mk(s) { +function info_inline__P57919_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P4906, depth: s.depth + 1, + parent: s, fn: info_inline__P57919, 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___4907: undefined, - nextState___4916: undefined, + scene___57920: undefined, + nextState___57929: undefined, } } -function gameOverConfig_inline__P5015(s) { +function gameOverConfig_inline__P58028(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2016,32 +2016,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._gameOverConfig___5014); + r0 = pxsim_numops_toBoolDecr(globals._gameOverConfig___58027); 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__C2953_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_GameOverConfig__C55965_VT); s.tmp_2 = r0; - s.tmp_3 = game_GameOverConfig_constructor__P2968_mk(s); + s.tmp_3 = game_GameOverConfig_constructor__P55980_mk(s); s.tmp_3.arg0 = s.tmp_2; s.callLocIdx = 39; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - globals._gameOverConfig___5014 = (s.tmp_2); + globals._gameOverConfig___58027 = (s.tmp_2); case 1: case 2: - r0 = globals._gameOverConfig___5014; + r0 = globals._gameOverConfig___58027; return leave(s, r0) default: oops() } } } -gameOverConfig_inline__P5015.info = {"start":3714,"length":115,"line":107,"column":34,"endLine":110,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +gameOverConfig_inline__P58028.info = {"start":3714,"length":115,"line":107,"column":34,"endLine":110,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} -function gameOverConfig_inline__P5015_mk(s) { +function gameOverConfig_inline__P58028_mk(s) { checkStack(s.depth); return { - parent: s, fn: gameOverConfig_inline__P5015, depth: s.depth + 1, + parent: s, fn: gameOverConfig_inline__P58028, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2053,7 +2053,7 @@ function gameOverConfig_inline__P5015_mk(s) { -function myTiles_inline__P7188(s) { +function myTiles_inline__P60201(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2067,7 +2067,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = helpers_stringTrim__P123_mk(s); + s.tmp_1 = helpers_stringTrim__P53135_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 93; s.pc = 9; return s.tmp_1; case 9: @@ -2091,13 +2091,13 @@ switch (step) { case 2: r0 = pxsim_Array__mk(); s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, globals.transparency16___4449); - r0 = pxsim_Array__push(s.tmp_2, globals.tile1___4454); - r0 = pxsim_Array__push(s.tmp_2, globals.tile2___4451); - r0 = pxsim_Array__push(s.tmp_2, globals.tile3___4450); - s.tmp_3 = tiles_createTilemap__P2742_mk(s); - s.tmp_3.arg0 = _hex7195; - r0 = pxsim.image.ofBuffer(_hex7197); + r0 = pxsim_Array__push(s.tmp_2, globals.transparency16___57462); + r0 = pxsim_Array__push(s.tmp_2, globals.tile1___57467); + r0 = pxsim_Array__push(s.tmp_2, globals.tile2___57464); + r0 = pxsim_Array__push(s.tmp_2, globals.tile3___57463); + s.tmp_3 = tiles_createTilemap__P55754_mk(s); + s.tmp_3.arg0 = _hex60208; + r0 = pxsim.image.ofBuffer(_hex60210); s.tmp_3.arg1 = r0; s.tmp_3.arg2 = s.tmp_2; s.tmp_3.arg3 = 4; @@ -2109,26 +2109,26 @@ switch (step) { case 4: r0 = pxsim_Array__mk(); s.tmp_4 = r0; - r0 = pxsim_Array__push(s.tmp_4, globals.transparency16___4449); - r0 = pxsim_Array__push(s.tmp_4, globals.tile1___4454); - r0 = pxsim_Array__push(s.tmp_4, globals.tile2___4451); - r0 = pxsim_Array__push(s.tmp_4, globals.tile8___4452); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath1___3647); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath4___3651); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath7___3655); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath8___3656); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath9___3657); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath6___3653); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath3___3649); - r0 = pxsim_Array__push(s.tmp_4, globals.tilePath2___3648); - r0 = pxsim_Array__push(s.tmp_4, globals.tileGrass2___3646); - r0 = pxsim_Array__push(s.tmp_4, globals.tileDarkGrass2___3659); - r0 = pxsim_Array__push(s.tmp_4, globals.tileDarkGrass3___3660); - r0 = pxsim_Array__push(s.tmp_4, globals.tileDarkGrass1___3658); - r0 = pxsim_Array__push(s.tmp_4, globals.tile3___4450); - s.tmp_5 = tiles_createTilemap__P2742_mk(s); - s.tmp_5.arg0 = _hex7206; - r0 = pxsim.image.ofBuffer(_hex7208); + r0 = pxsim_Array__push(s.tmp_4, globals.transparency16___57462); + r0 = pxsim_Array__push(s.tmp_4, globals.tile1___57467); + r0 = pxsim_Array__push(s.tmp_4, globals.tile2___57464); + r0 = pxsim_Array__push(s.tmp_4, globals.tile8___57465); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath1___56660); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath4___56664); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath7___56668); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath8___56669); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath9___56670); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath6___56666); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath3___56662); + r0 = pxsim_Array__push(s.tmp_4, globals.tilePath2___56661); + r0 = pxsim_Array__push(s.tmp_4, globals.tileGrass2___56659); + r0 = pxsim_Array__push(s.tmp_4, globals.tileDarkGrass2___56672); + r0 = pxsim_Array__push(s.tmp_4, globals.tileDarkGrass3___56673); + r0 = pxsim_Array__push(s.tmp_4, globals.tileDarkGrass1___56671); + r0 = pxsim_Array__push(s.tmp_4, globals.tile3___57463); + s.tmp_5 = tiles_createTilemap__P55754_mk(s); + s.tmp_5.arg0 = _hex60219; + r0 = pxsim.image.ofBuffer(_hex60221); s.tmp_5.arg1 = r0; s.tmp_5.arg2 = s.tmp_4; s.tmp_5.arg3 = 4; @@ -2140,22 +2140,22 @@ switch (step) { case 6: r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.transparency16___4449); - r0 = pxsim_Array__push(s.tmp_6, globals.tileGrass2___3646); - r0 = pxsim_Array__push(s.tmp_6, globals.roadHorizontal___4121); - r0 = pxsim_Array__push(s.tmp_6, globals.islandTile8___4270); - r0 = pxsim_Array__push(s.tmp_6, globals.islandTile7___4269); - r0 = pxsim_Array__push(s.tmp_6, globals.islandTile6___4268); - r0 = pxsim_Array__push(s.tmp_6, globals.islandTile4___4266); - r0 = pxsim_Array__push(s.tmp_6, globals.islandTile5___4267); - r0 = pxsim_Array__push(s.tmp_6, globals.islandTile3___4265); - r0 = pxsim_Array__push(s.tmp_6, globals.tileGrass1___3650); - r0 = pxsim_Array__push(s.tmp_6, globals.tileGrass3___3654); - r0 = pxsim_Array__push(s.tmp_6, globals.saplingOak___3627); - r0 = pxsim_Array__push(s.tmp_6, globals.saplingPine___3628); - s.tmp_7 = tiles_createTilemap__P2742_mk(s); - s.tmp_7.arg0 = _hex7230; - r0 = pxsim.image.ofBuffer(_hex7232); + r0 = pxsim_Array__push(s.tmp_6, globals.transparency16___57462); + r0 = pxsim_Array__push(s.tmp_6, globals.tileGrass2___56659); + r0 = pxsim_Array__push(s.tmp_6, globals.roadHorizontal___57134); + r0 = pxsim_Array__push(s.tmp_6, globals.islandTile8___57283); + r0 = pxsim_Array__push(s.tmp_6, globals.islandTile7___57282); + r0 = pxsim_Array__push(s.tmp_6, globals.islandTile6___57281); + r0 = pxsim_Array__push(s.tmp_6, globals.islandTile4___57279); + r0 = pxsim_Array__push(s.tmp_6, globals.islandTile5___57280); + r0 = pxsim_Array__push(s.tmp_6, globals.islandTile3___57278); + r0 = pxsim_Array__push(s.tmp_6, globals.tileGrass1___56663); + r0 = pxsim_Array__push(s.tmp_6, globals.tileGrass3___56667); + r0 = pxsim_Array__push(s.tmp_6, globals.saplingOak___56640); + r0 = pxsim_Array__push(s.tmp_6, globals.saplingPine___56641); + s.tmp_7 = tiles_createTilemap__P55754_mk(s); + s.tmp_7.arg0 = _hex60243; + r0 = pxsim.image.ofBuffer(_hex60245); s.tmp_7.arg1 = r0; s.tmp_7.arg2 = s.tmp_6; s.tmp_7.arg3 = 4; @@ -2169,12 +2169,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -myTiles_inline__P7188.info = {"start":719,"length":5610,"line":15,"column":40,"endLine":85,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} +myTiles_inline__P60201.info = {"start":719,"length":5610,"line":15,"column":40,"endLine":85,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} -function myTiles_inline__P7188_mk(s) { +function myTiles_inline__P60201_mk(s) { checkStack(s.depth); return { - parent: s, fn: myTiles_inline__P7188, depth: s.depth + 1, + parent: s, fn: myTiles_inline__P60201, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2187,17 +2187,17 @@ function myTiles_inline__P7188_mk(s) { arg0: undefined, } } -const _hex7195 = pxsim.BufferMethods.createBufferFromHex("12001200030303030303030303030303030303030303030101010101010101010101010101010103030101010101010101010101010101010103030102010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030303030303030303030303030303030303") -const _hex7197 = pxsim.BufferMethods.createBufferFromHex("8704120012000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex7206 = pxsim.BufferMethods.createBufferFromHex("1e001e001010101010101010101010101010101010101010101010101010101010101001010101010101010101010101010101010101010101010101010101101001010101010101010101010101010101010101010101010101010101101001020101010101010101010101010101010101010f0f0f01010101011010010101010f0f010101010101010101010101010f0f0101010101010110100101010f0f01010101010101010e0e0101010101010101010101010110100101010f01010101010e0e0e0e0101010101040b0b0b0b0b0b0b0a0110100101010f010101010e010101010101010101050d0d0d0d0d0d0d090110100101010f0101010101010101010101010101050d0d0c0c0c0c0d09011010010101010101010101010f01010101010101050d0d0c01010c0d0901101001010101010101010101010f010101010101050d0d0c0c0c0c0d0901101001010101010101010d01010f010101010101050d0d0d0d0d0d0d090110100101010101010101010101010f01010101010607070707070707080110100101010101010e0101010101010f010101010101010101010101010110100101010101010e0101010d010d01010101010101010101010101010110100101010101010e0101010d01010d0d01010101010101010101010101101001010f010101010e01010101010d0d0101010101010f0f0101010101101001010f010101010e0e0101010d0101010f0f0f0f0f0f010f0f01010110100101010f010101010e0101010101010101010101010f01010101010110100101010f01010101010e01010101010101010101010101010101010110100101010f01010101010101010101010101010101010101010101010110100101010f0d01010101010101010101010101010101010101010101011010010101010d01010101010101010101010101010101010101010101011010010101010d0d0101010101010101010f0f0101010101030301010101101001010f01010d0d0d0d0d0d0101010101010f0f0f01010103030101011010010101010101010101010d0d010101010101010f0f01030301010101101001010101010101010101010101010101010101010f0f010101010101101001010f0101010101010101010101010101010101010f0f010101010110101010100101010101010101010101010101010101011010101010100110101010101010101010101010101010101010101010101010101010101010") -const _hex7208 = pxsim.BufferMethods.createBufferFromHex("87041e001e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex7230 = pxsim.BufferMethods.createBufferFromHex("100009000b0c0b0c0b0c0b0c0b0c0b0c0b0c0b0c08020202020202020202020202020207080909090909010909010909090909070802020202020202020202020202020708010a0a010a0a01010a09010a010a070802020202020202020202020202020708060a01060a010a0101060a060601070802020202020202020202020202020705040404040404040404040404040403") -const _hex7232 = pxsim.BufferMethods.createBufferFromHex("87041000090000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex60208 = pxsim.BufferMethods.createBufferFromHex("12001200030303030303030303030303030303030303030101010101010101010101010101010103030101010101010101010101010101010103030102010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030101010101010101010101010101010103030303030303030303030303030303030303") +const _hex60210 = pxsim.BufferMethods.createBufferFromHex("8704120012000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex60219 = pxsim.BufferMethods.createBufferFromHex("1e001e001010101010101010101010101010101010101010101010101010101010101001010101010101010101010101010101010101010101010101010101101001010101010101010101010101010101010101010101010101010101101001020101010101010101010101010101010101010f0f0f01010101011010010101010f0f010101010101010101010101010f0f0101010101010110100101010f0f01010101010101010e0e0101010101010101010101010110100101010f01010101010e0e0e0e0101010101040b0b0b0b0b0b0b0a0110100101010f010101010e010101010101010101050d0d0d0d0d0d0d090110100101010f0101010101010101010101010101050d0d0c0c0c0c0d09011010010101010101010101010f01010101010101050d0d0c01010c0d0901101001010101010101010101010f010101010101050d0d0c0c0c0c0d0901101001010101010101010d01010f010101010101050d0d0d0d0d0d0d090110100101010101010101010101010f01010101010607070707070707080110100101010101010e0101010101010f010101010101010101010101010110100101010101010e0101010d010d01010101010101010101010101010110100101010101010e0101010d01010d0d01010101010101010101010101101001010f010101010e01010101010d0d0101010101010f0f0101010101101001010f010101010e0e0101010d0101010f0f0f0f0f0f010f0f01010110100101010f010101010e0101010101010101010101010f01010101010110100101010f01010101010e01010101010101010101010101010101010110100101010f01010101010101010101010101010101010101010101010110100101010f0d01010101010101010101010101010101010101010101011010010101010d01010101010101010101010101010101010101010101011010010101010d0d0101010101010101010f0f0101010101030301010101101001010f01010d0d0d0d0d0d0101010101010f0f0f01010103030101011010010101010101010101010d0d010101010101010f0f01030301010101101001010101010101010101010101010101010101010f0f010101010101101001010f0101010101010101010101010101010101010f0f010101010110101010100101010101010101010101010101010101011010101010100110101010101010101010101010101010101010101010101010101010101010") +const _hex60221 = pxsim.BufferMethods.createBufferFromHex("87041e001e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex60243 = pxsim.BufferMethods.createBufferFromHex("100009000b0c0b0c0b0c0b0c0b0c0b0c0b0c0b0c08020202020202020202020202020207080909090909010909010909090909070802020202020202020202020202020708010a0a010a0a01010a09010a010a070802020202020202020202020202020708060a01060a010a0101060a060601070802020202020202020202020202020705040404040404040404040404040403") +const _hex60245 = pxsim.BufferMethods.createBufferFromHex("87041000090000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function myTiles_inline__P7250(s) { +function myTiles_inline__P60263(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2211,7 +2211,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = helpers_stringTrim__P123_mk(s); + s.tmp_1 = helpers_stringTrim__P53135_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 98; s.pc = 14; return s.tmp_1; case 14: @@ -2242,27 +2242,27 @@ switch (step) { r0 = s.tmp_0; { step = 12; continue; } case 1: - r0 = globals.transparency16___4449; + r0 = globals.transparency16___57462; { step = 13; continue; } case 2: case 3: - r0 = globals.tile3___4450; + r0 = globals.tile3___57463; { step = 13; continue; } case 4: case 5: - r0 = globals.tile2___4451; + r0 = globals.tile2___57464; { step = 13; continue; } case 6: case 7: - r0 = globals.tile8___4452; + r0 = globals.tile8___57465; { step = 13; continue; } case 8: case 9: - r0 = globals.tile4___4453; + r0 = globals.tile4___57466; { step = 13; continue; } case 10: case 11: - r0 = globals.tile1___4454; + r0 = globals.tile1___57467; { step = 13; continue; } case 12: r0 = null; @@ -2270,12 +2270,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -myTiles_inline__P7250.info = {"start":6369,"length":495,"line":87,"column":37,"endLine":102,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} +myTiles_inline__P60263.info = {"start":6369,"length":495,"line":87,"column":37,"endLine":102,"endColumn":5,"fileName":"tilemap.g.ts","functionName":"inline","argumentNames":["name"]} -function myTiles_inline__P7250_mk(s) { +function myTiles_inline__P60263_mk(s) { checkStack(s.depth); return { - parent: s, fn: myTiles_inline__P7250, depth: s.depth + 1, + parent: s, fn: myTiles_inline__P60263, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2286,7 +2286,7 @@ function myTiles_inline__P7250_mk(s) { -function myImages_inline__P7263(s) { +function myImages_inline__P97738(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2300,7 +2300,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = helpers_stringTrim__P123_mk(s); + s.tmp_1 = helpers_stringTrim__P53135_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 100; s.pc = 35; return s.tmp_1; case 35: @@ -2374,67 +2374,67 @@ switch (step) { { step = 33; continue; } case 1: case 2: - r0 = pxsim.image.ofBuffer(_hex7269); + r0 = pxsim.image.ofBuffer(_hex97744); { step = 34; continue; } case 3: case 4: - r0 = pxsim.image.ofBuffer(_hex7271); + r0 = pxsim.image.ofBuffer(_hex97746); { step = 34; continue; } case 5: case 6: - r0 = pxsim.image.ofBuffer(_hex7273); + r0 = pxsim.image.ofBuffer(_hex97748); { step = 34; continue; } case 7: case 8: - r0 = pxsim.image.ofBuffer(_hex7275); + r0 = pxsim.image.ofBuffer(_hex97750); { step = 34; continue; } case 9: case 10: - r0 = pxsim.image.ofBuffer(_hex7277); + r0 = pxsim.image.ofBuffer(_hex97752); { step = 34; continue; } case 11: case 12: - r0 = pxsim.image.ofBuffer(_hex7279); + r0 = pxsim.image.ofBuffer(_hex97754); { step = 34; continue; } case 13: case 14: - r0 = pxsim.image.ofBuffer(_hex7281); + r0 = pxsim.image.ofBuffer(_hex97756); { step = 34; continue; } case 15: case 16: - r0 = pxsim.image.ofBuffer(_hex7283); + r0 = pxsim.image.ofBuffer(_hex97758); { step = 34; continue; } case 17: case 18: - r0 = pxsim.image.ofBuffer(_hex7285); + r0 = pxsim.image.ofBuffer(_hex97760); { step = 34; continue; } case 19: case 20: - r0 = pxsim.image.ofBuffer(_hex7287); + r0 = pxsim.image.ofBuffer(_hex97762); { step = 34; continue; } case 21: case 22: - r0 = pxsim.image.ofBuffer(_hex7289); + r0 = pxsim.image.ofBuffer(_hex97764); { step = 34; continue; } case 23: case 24: - r0 = pxsim.image.ofBuffer(_hex7291); + r0 = pxsim.image.ofBuffer(_hex97766); { step = 34; continue; } case 25: case 26: - r0 = pxsim.image.ofBuffer(_hex7293); + r0 = pxsim.image.ofBuffer(_hex97768); { step = 34; continue; } case 27: case 28: - r0 = pxsim.image.ofBuffer(_hex7295); + r0 = pxsim.image.ofBuffer(_hex97770); { step = 34; continue; } case 29: case 30: - r0 = pxsim.image.ofBuffer(_hex7297); + r0 = pxsim.image.ofBuffer(_hex97772); { step = 34; continue; } case 31: case 32: - r0 = pxsim.image.ofBuffer(_hex7299); + r0 = pxsim.image.ofBuffer(_hex97774); { step = 34; continue; } case 33: r0 = null; @@ -2442,39 +2442,39 @@ switch (step) { return leave(s, r0) default: oops() } } } -myImages_inline__P7263.info = {"start":97,"length":10303,"line":3,"column":38,"endLine":346,"endColumn":5,"fileName":"images.g.ts","functionName":"inline","argumentNames":["name"]} +myImages_inline__P97738.info = {"start":97,"length":10303,"line":3,"column":38,"endLine":346,"endColumn":5,"fileName":"images.g.ts","functionName":"inline","argumentNames":["name"]} -function myImages_inline__P7263_mk(s) { +function myImages_inline__P97738_mk(s) { checkStack(s.depth); return { - parent: s, fn: myImages_inline__P7263, depth: s.depth + 1, + parent: s, fn: myImages_inline__P97738, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, arg0: undefined, } } -const _hex7269 = pxsim.BufferMethods.createBufferFromHex("870404000400000090090000999900009999000090090000") -const _hex7271 = pxsim.BufferMethods.createBufferFromHex("870418000c0000000000f00f000000000000f0fb000000000000bf8b0f0000000000bfbb0f000000ff001fbbf80000009f8fbfbdf8000000bfffbbbdf8000000bffbbbbdf8000000bffbbbb9f80c0000bffbbbb9f80f0000f08bbbbbf8000000008fbbbbfb0c0000008fb88bff0f000000f0b88bf800000000f0b8bb880f00000000b8bb8bf900000000b8bbbbf80000000088bbbbf80000008088fbbbf8000000888b0fbff8000080b88b0fb0fb0000f0ff8f0f000000000000800f000000000000f00f00000000") -const _hex7273 = pxsim.BufferMethods.createBufferFromHex("8704240014000000000000000000000000000000010000000000000000000000010000000000000000000000d10000000000000000000000d10000000000000000000000d1000000ffff0f0000000000d10000f06688f800f00f0000d100006f8688880ff00f0000d100f096698886fff00f0000d1006f99996888f8000f0000d0f0969d998888f8ff0f0000d0f0999999f888f8000f0000d0d0d99999868ff8000f0000d0f099999988f8f8000f00001ddd99998986f8f8000f0000ddfd969ffff8fff8000f000010606666868888f8000f000010f06666668688f8000f000010606666668881f8000f000010f08668818688f8ff0f0000100d6f18168888f8000f0000100df066618881ff000f0000100d006f868888ff000f0000100d00f06686f8ff000f0000100d0000ff8fff0f00000000100d000000ffff0f00000000100d000000ffff0000000000000d000000f0ff0000000000000d000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") -const _hex7275 = pxsim.BufferMethods.createBufferFromHex("870418000c0000000000f00f000000000000800f00000000f0ff8f0f0000000080b8810fb0fb00000088810fbff80000008088fbbbf80000000088bbbbf800000000b8bbbbf800000000b8bb8bf9000000f0b8bb880f000000f0b88bf8000000008fb88bff0f0000008fbbbbfb0c0000f08bbbbbf8000000bffbbbb9f80f0000bffbbbb9f80c0000bffbbbbdf8000000bfffbbbdf80000009f8fbfbdf8000000ff001fbbf80000000000bfbb0f0000000000bf8b0f0000000000f0f1000000000000f00f00000000") -const _hex7277 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f0000000000000d000000f00f0000000000000d000000f0ff0000000000100d000000ffff0000000000100d000000ffff0f00000000100d0000ff8fff0f00000000100d00f06686f8ff000f0000100d006f868888ff000f0000100df066618881ff000f0000100d6f18168888f8000f000010f08668818688f8ff0f000010606666668881f8000f000010f06666668688f8000f000010606666868888f8000f0000ddfd969ffff8fff8000f00001ddd99998986f8f8000f0000d0f099999988f8f8000f0000d0d0d99999868ff8000f0000d0f0999999f888f8000f0000d0f0969d998888f8ff0f0000d1006f99996888f8000f0000d100f096698886fff00f0000d100006f8688880ff00f0000d10000f06688f800f00f0000d1000000ffff0f0000000000d10000000000000000000000d10000000000000000000000010000000000000000000000010000000000000000000000000000000000000000000000") -const _hex7279 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000100000000000011010000000000101101000000001011110100000000111111010000001011111101000000001111110100000000001111010000000000101101000000000000100100000000000000010000000000000000000000000000000000000000000000000000") -const _hex7281 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000c00f0000000000002cf20000000000c022220f0000ff009c2b220f0000ffcf992b22f200002fcf992122f200002f2f1b2122f20000cf4c122122f20000cf4c122922f20000f04cb22922f2ff00f02c222222f2c20f002f222222cccc0f002f22c224ff220f002f222c44ffff0f00c0222c42fcff0f00c0222c42f4ff0f00c02ccc22c4ff00004c2ccc22c20000c04422cc2cc200004c2422fc2cc200004c222ff2cc0c0000fcff2cf2000000000000c0f200000000000000ff00000000") -const _hex7283 = pxsim.BufferMethods.createBufferFromHex("87041e001e000000111111111111111111111111111111001111111111111111111111111111110011111111111111111111111111111100110100000000000000000000001011001101000000000000000000000010110011010000000000000000000000101100110100000000000000000000001011001101000000000000000000000010110011717777777777777777777777171100117177777777777777777777771711001171777777777777777777777717110011717700000070770000000077171100117177000000707700000000771711001171770000007077000000007717110011717700000070770000000077171100117177000000707700000000771711001171770000007077000000007717110011717700000070770000000077171100117177777777777700000000771711001171777777777777000000007717110011017777777777777777777777171100110100000000707777777777771711001101000000000077777777777717110011010000000000000000000000101100110100000000000000000000001011001101000000000000000000000010110011010000000000000000000000101100111111111111111111111111111111001111111111111111111111111111110011111111111111111111111111111100") -const _hex7285 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000bbabaa00000000bb3333a30e0000b033333333ea0000db3d333333ea0eb0dd33333333ba0eb03d33b333d3ba0edb3d33aa33d34a0edb33a33a33d34a0edb33a33333ad440e3b333b3333ad440e3a333333d34ab40e3a333333ad44e400a03333dd4a44ee00a03a33aa44e40e0000aaaa4444ee00000000bbbbee000000") -const _hex7287 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000ff000000000000c0f800000000fcff8cf8000000005c888ff8cc0c00005c8588fc8cc80000c05588cc8cc80000005c8ccc88c8000000c08ccc88c5ff0000c0888c58f5ff0f00c0888c58fcff0f008f888c55ffff0f008f88c885ff880f008f888888cccc0ff08c888888f8c80ff05cb88988f8ff00cf5c188988f80000cf5c188188f800008f8f1b8188f800008fcf998188f80000ffcf998b88f80000ff009c8b880f00000000c088880f00000000008cf8000000000000c00f000000") -const _hex7289 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000ff000000000000c0f100000000fcff1cf1000000005c111ff1cc0c00005c1511fc1cc10000c05511cc1cc10000005c1ccc11c1000000c01ccc11c5ff0000c0111c51f5ff0f00c0111c51fcff0f001f111c55ffff0f001f11c115ff110f001f111111cccc0ff01c111111f1c10ff05cb11911f1ff00cf5c111911f10000cf5c111111f100001f1f1b1111f100001fcf991111f10000ffcf991b11f10000ff009c1b110f00000000c011110f00000000001cf1000000000000c00f000000") -const _hex7291 = pxsim.BufferMethods.createBufferFromHex("8704180028000000000000000000000000000000f00f00ff00000000000000000000000000f0ff008ffffff6000000000000000000000000006f8fff888f6ff60f0000000000000000000000f066888ff8ff66680f0000000000000000fff0ff6f6668f6fff88f660f00000000000000f0f88ff8688666f68ff8ff66ff000000000000808ff888ff66666688f8ff6ff6880f00000000006888ffff8ff8688688fff86f68f60f00000000f066688ff88fff6666f68ff88f66ff0f00ff00008f866688ffff8f6666f888ff688668f8ffee0088666686f88ff8ff6886ffffffff8f66ffeefe8066666666f688ff8f666688f8ffff66f6efeeee8066666666f8ffff68668688ffff686686efeeff008866668688ffffff8f66fff8ff6f6688f8eefe00008f86668ff8ff8f6666f688ffff6888f8ffee0000f06668ffff8fff6666868ff86666f60f00ff00000068888ff88ff86886f8ffff6f68f60f0000000000808ff888ff66666688ff886ff6880f000000000000f0f8ffff68866688f88f8866ff0f00000000000000ff00ff8f6668f6ffff8f660f0000000000000000000000006886f88ff866680f00000000000000000000000080f688ff886ff60f00000000000000000000000000ff8f0ffffff6000000000000000000000000000000f00f00f00f00000000") -const _hex7293 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000ff000000000000c0f200000000fcff2cf2000000004c222ff2cc0c00004c2422fc2cc20000c04422cc2cc20000004c2ccc22c2000000c02ccc22c4ff0000c0222c42f4ff0f00c0222c42fcff0f002f222c44ffff0f002f22c224ff220f002f222222cccc0ff02c222222f2c20ff04cb22922f2ff00cf4c122922f20000cf4c122122f200002f2f1b2122f200002fcf992122f20000ffcf992b22f20000ff009c2b220f00000000c022220f00000000002cf2000000000000c00f000000") -const _hex7295 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000000000c0dccd0f00000000dfedcdfd000000f0fdefcdfdf0ff0fefddddcdfdefdefdefdddddcfdfebffdeffddfddfdfefffcefdeddddeeeedefdefeeeeeeeefebffdf0eeeeeeefeefefb00ffbdfbefeefefb00f0ddcdf0eeeefd0000cf0c00effeff000000f0ffff0f00000000efeefe0000000000ffff0f0000") -const _hex7297 = pxsim.BufferMethods.createBufferFromHex("870414001d000000000000000000000000f000ff00000000000000000000000000fffff600000000000000000000f0f8fff8f8f60000000000000000000080888ff86f880f000000000000f00fff8f66f68fff660f0000000000008f8ff8686668f866f6f800000000008088ff6ff886868fff68ff00000000006f68668fff68f68f6f66ff000f0000f06866f8ff8f86f8f88f8686ff0e00006f6688fff8ff68ff6ff68ff6ef0e0080666868fff6686688ff8f66f6ee0f00006f6686f866ff66fff8666686ef0e0000f0686688ff8f88f6f8ff6886ff0e0000006f66ff6ff666868f6f86ff000f0000008068888f6668f8ffff68ff000000000000ffffff686666f68886ff000000000000000ff06f86f6ffff660f000000000000000000f066f88f6f680f000000000000000000006f666ff8f60000000000000000000000008ffffff600000000") -const _hex7299 = pxsim.BufferMethods.createBufferFromHex("870418000c0000000000f00f000000000000800f00000000f0ff8f0f000000008018820fb0fb00000088820fbff80000008088fbbbf80000000088bbbbf800000000b8bbbbf800000000b8bb8bf9000000f0b8bb880f000000f0b882f8000000008f188bff0f0000008fbbbbfb0c0000f08bbbbbf8000000bffbbbb9f80f0000bffbbbb9f80c0000bffbbbbdf8000000bfffbbbdf80000009f8fbfbdf8000000ff001fbbf80000000000bfbb0f0000000000bf8b0f0000000000f0fb000000000000f00f00000000") +const _hex97744 = pxsim.BufferMethods.createBufferFromHex("870404000400000090090000999900009999000090090000") +const _hex97746 = pxsim.BufferMethods.createBufferFromHex("870418000c0000000000f00f000000000000f0fb000000000000bf8b0f0000000000bfbb0f000000ff001fbbf80000009f8fbfbdf8000000bfffbbbdf8000000bffbbbbdf8000000bffbbbb9f80c0000bffbbbb9f80f0000f08bbbbbf8000000008fbbbbfb0c0000008fb88bff0f000000f0b88bf800000000f0b8bb880f00000000b8bb8bf900000000b8bbbbf80000000088bbbbf80000008088fbbbf8000000888b0fbff8000080b88b0fb0fb0000f0ff8f0f000000000000800f000000000000f00f00000000") +const _hex97748 = pxsim.BufferMethods.createBufferFromHex("8704240014000000000000000000000000000000010000000000000000000000010000000000000000000000d10000000000000000000000d10000000000000000000000d1000000ffff0f0000000000d10000f06688f800f00f0000d100006f8688880ff00f0000d100f096698886fff00f0000d1006f99996888f8000f0000d0f0969d998888f8ff0f0000d0f0999999f888f8000f0000d0d0d99999868ff8000f0000d0f099999988f8f8000f00001ddd99998986f8f8000f0000ddfd969ffff8fff8000f000010606666868888f8000f000010f06666668688f8000f000010606666668881f8000f000010f08668818688f8ff0f0000100d6f18168888f8000f0000100df066618881ff000f0000100d006f868888ff000f0000100d00f06686f8ff000f0000100d0000ff8fff0f00000000100d000000ffff0f00000000100d000000ffff0000000000000d000000f0ff0000000000000d000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") +const _hex97750 = pxsim.BufferMethods.createBufferFromHex("870418000c0000000000f00f000000000000800f00000000f0ff8f0f0000000080b8810fb0fb00000088810fbff80000008088fbbbf80000000088bbbbf800000000b8bbbbf800000000b8bb8bf9000000f0b8bb880f000000f0b88bf8000000008fb88bff0f0000008fbbbbfb0c0000f08bbbbbf8000000bffbbbb9f80f0000bffbbbb9f80c0000bffbbbbdf8000000bfffbbbdf80000009f8fbfbdf8000000ff001fbbf80000000000bfbb0f0000000000bf8b0f0000000000f0f1000000000000f00f00000000") +const _hex97752 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f0000000000000d000000f00f0000000000000d000000f0ff0000000000100d000000ffff0000000000100d000000ffff0f00000000100d0000ff8fff0f00000000100d00f06686f8ff000f0000100d006f868888ff000f0000100df066618881ff000f0000100d6f18168888f8000f000010f08668818688f8ff0f000010606666668881f8000f000010f06666668688f8000f000010606666868888f8000f0000ddfd969ffff8fff8000f00001ddd99998986f8f8000f0000d0f099999988f8f8000f0000d0d0d99999868ff8000f0000d0f0999999f888f8000f0000d0f0969d998888f8ff0f0000d1006f99996888f8000f0000d100f096698886fff00f0000d100006f8688880ff00f0000d10000f06688f800f00f0000d1000000ffff0f0000000000d10000000000000000000000d10000000000000000000000010000000000000000000000010000000000000000000000000000000000000000000000") +const _hex97754 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000000000100000000000011010000000000101101000000001011110100000000111111010000001011111101000000001111110100000000001111010000000000101101000000000000100100000000000000010000000000000000000000000000000000000000000000000000") +const _hex97756 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000c00f0000000000002cf20000000000c022220f0000ff009c2b220f0000ffcf992b22f200002fcf992122f200002f2f1b2122f20000cf4c122122f20000cf4c122922f20000f04cb22922f2ff00f02c222222f2c20f002f222222cccc0f002f22c224ff220f002f222c44ffff0f00c0222c42fcff0f00c0222c42f4ff0f00c02ccc22c4ff00004c2ccc22c20000c04422cc2cc200004c2422fc2cc200004c222ff2cc0c0000fcff2cf2000000000000c0f200000000000000ff00000000") +const _hex97758 = pxsim.BufferMethods.createBufferFromHex("87041e001e000000111111111111111111111111111111001111111111111111111111111111110011111111111111111111111111111100110100000000000000000000001011001101000000000000000000000010110011010000000000000000000000101100110100000000000000000000001011001101000000000000000000000010110011717777777777777777777777171100117177777777777777777777771711001171777777777777777777777717110011717700000070770000000077171100117177000000707700000000771711001171770000007077000000007717110011717700000070770000000077171100117177000000707700000000771711001171770000007077000000007717110011717700000070770000000077171100117177777777777700000000771711001171777777777777000000007717110011017777777777777777777777171100110100000000707777777777771711001101000000000077777777777717110011010000000000000000000000101100110100000000000000000000001011001101000000000000000000000010110011010000000000000000000000101100111111111111111111111111111111001111111111111111111111111111110011111111111111111111111111111100") +const _hex97760 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000bbabaa00000000bb3333a30e0000b033333333ea0000db3d333333ea0eb0dd33333333ba0eb03d33b333d3ba0edb3d33aa33d34a0edb33a33a33d34a0edb33a33333ad440e3b333b3333ad440e3a333333d34ab40e3a333333ad44e400a03333dd4a44ee00a03a33aa44e40e0000aaaa4444ee00000000bbbbee000000") +const _hex97762 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000ff000000000000c0f800000000fcff8cf8000000005c888ff8cc0c00005c8588fc8cc80000c05588cc8cc80000005c8ccc88c8000000c08ccc88c5ff0000c0888c58f5ff0f00c0888c58fcff0f008f888c55ffff0f008f88c885ff880f008f888888cccc0ff08c888888f8c80ff05cb88988f8ff00cf5c188988f80000cf5c188188f800008f8f1b8188f800008fcf998188f80000ffcf998b88f80000ff009c8b880f00000000c088880f00000000008cf8000000000000c00f000000") +const _hex97764 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000ff000000000000c0f100000000fcff1cf1000000005c111ff1cc0c00005c1511fc1cc10000c05511cc1cc10000005c1ccc11c1000000c01ccc11c5ff0000c0111c51f5ff0f00c0111c51fcff0f001f111c55ffff0f001f11c115ff110f001f111111cccc0ff01c111111f1c10ff05cb11911f1ff00cf5c111911f10000cf5c111111f100001f1f1b1111f100001fcf991111f10000ffcf991b11f10000ff009c1b110f00000000c011110f00000000001cf1000000000000c00f000000") +const _hex97766 = pxsim.BufferMethods.createBufferFromHex("8704180028000000000000000000000000000000f00f00ff00000000000000000000000000f0ff008ffffff6000000000000000000000000006f8fff888f6ff60f0000000000000000000000f066888ff8ff66680f0000000000000000fff0ff6f6668f6fff88f660f00000000000000f0f88ff8688666f68ff8ff66ff000000000000808ff888ff66666688f8ff6ff6880f00000000006888ffff8ff8688688fff86f68f60f00000000f066688ff88fff6666f68ff88f66ff0f00ff00008f866688ffff8f6666f888ff688668f8ffee0088666686f88ff8ff6886ffffffff8f66ffeefe8066666666f688ff8f666688f8ffff66f6efeeee8066666666f8ffff68668688ffff686686efeeff008866668688ffffff8f66fff8ff6f6688f8eefe00008f86668ff8ff8f6666f688ffff6888f8ffee0000f06668ffff8fff6666868ff86666f60f00ff00000068888ff88ff86886f8ffff6f68f60f0000000000808ff888ff66666688ff886ff6880f000000000000f0f8ffff68866688f88f8866ff0f00000000000000ff00ff8f6668f6ffff8f660f0000000000000000000000006886f88ff866680f00000000000000000000000080f688ff886ff60f00000000000000000000000000ff8f0ffffff6000000000000000000000000000000f00f00f00f00000000") +const _hex97768 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000ff000000000000c0f200000000fcff2cf2000000004c222ff2cc0c00004c2422fc2cc20000c04422cc2cc20000004c2ccc22c2000000c02ccc22c4ff0000c0222c42f4ff0f00c0222c42fcff0f002f222c44ffff0f002f22c224ff220f002f222222cccc0ff02c222222f2c20ff04cb22922f2ff00cf4c122922f20000cf4c122122f200002f2f1b2122f200002fcf992122f20000ffcf992b22f20000ff009c2b220f00000000c022220f00000000002cf2000000000000c00f000000") +const _hex97770 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000000000c0dccd0f00000000dfedcdfd000000f0fdefcdfdf0ff0fefddddcdfdefdefdefdddddcfdfebffdeffddfddfdfefffcefdeddddeeeedefdefeeeeeeeefebffdf0eeeeeeefeefefb00ffbdfbefeefefb00f0ddcdf0eeeefd0000cf0c00effeff000000f0ffff0f00000000efeefe0000000000ffff0f0000") +const _hex97772 = pxsim.BufferMethods.createBufferFromHex("870414001d000000000000000000000000f000ff00000000000000000000000000fffff600000000000000000000f0f8fff8f8f60000000000000000000080888ff86f880f000000000000f00fff8f66f68fff660f0000000000008f8ff8686668f866f6f800000000008088ff6ff886868fff68ff00000000006f68668fff68f68f6f66ff000f0000f06866f8ff8f86f8f88f8686ff0e00006f6688fff8ff68ff6ff68ff6ef0e0080666868fff6686688ff8f66f6ee0f00006f6686f866ff66fff8666686ef0e0000f0686688ff8f88f6f8ff6886ff0e0000006f66ff6ff666868f6f86ff000f0000008068888f6668f8ffff68ff000000000000ffffff686666f68886ff000000000000000ff06f86f6ffff660f000000000000000000f066f88f6f680f000000000000000000006f666ff8f60000000000000000000000008ffffff600000000") +const _hex97774 = pxsim.BufferMethods.createBufferFromHex("870418000c0000000000f00f000000000000800f00000000f0ff8f0f000000008018820fb0fb00000088820fbff80000008088fbbbf80000000088bbbbf800000000b8bbbbf800000000b8bb8bf9000000f0b8bb880f000000f0b882f8000000008f188bff0f0000008fbbbbfb0c0000f08bbbbbf8000000bffbbbb9f80f0000bffbbbb9f80c0000bffbbbbdf8000000bfffbbbdf80000009f8fbfbdf8000000ff001fbbf80000000000bfbb0f0000000000bf8b0f0000000000f0fb000000000000f00f00000000") -function myImages_inline__P7302(s) { +function myImages_inline__P97777(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2488,7 +2488,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = helpers_stringTrim__P123_mk(s); + s.tmp_1 = helpers_stringTrim__P53135_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 102; s.pc = 27; return s.tmp_1; case 27: @@ -2510,37 +2510,37 @@ switch (step) { if (r0) { step = 7; continue; } r0 = pxsim_pxtcore.switch_eq("anim8", s.tmp_0); if (r0) { step = 8; continue; } - r0 = pxsim_pxtcore.switch_eq("vueling_right", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("ryanair_right", s.tmp_0); if (r0) { step = 9; continue; } - r0 = pxsim_pxtcore.switch_eq("anim9", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("anim11", s.tmp_0); if (r0) { step = 10; continue; } - r0 = pxsim_pxtcore.switch_eq("vueling_left", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("ryanair_left", s.tmp_0); if (r0) { step = 11; continue; } - r0 = pxsim_pxtcore.switch_eq("anim10", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("anim12", s.tmp_0); if (r0) { step = 12; continue; } - r0 = pxsim_pxtcore.switch_eq("ryanair_right", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("vueling_left", s.tmp_0); if (r0) { step = 13; continue; } - r0 = pxsim_pxtcore.switch_eq("anim11", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("anim10", s.tmp_0); if (r0) { step = 14; continue; } - r0 = pxsim_pxtcore.switch_eq("ryanair_left", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("vueling_right", s.tmp_0); if (r0) { step = 15; continue; } - r0 = pxsim_pxtcore.switch_eq("anim12", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("anim9", s.tmp_0); if (r0) { step = 16; continue; } - r0 = pxsim_pxtcore.switch_eq("aalines_left", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("red_plane_left", s.tmp_0); if (r0) { step = 17; continue; } - r0 = pxsim_pxtcore.switch_eq("anim1", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("anim7", s.tmp_0); if (r0) { step = 18; continue; } - r0 = pxsim_pxtcore.switch_eq("aalines_right", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("red_plane_right", s.tmp_0); if (r0) { step = 19; continue; } - r0 = pxsim_pxtcore.switch_eq("anim2", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("anim3", s.tmp_0); if (r0) { step = 20; continue; } - r0 = pxsim_pxtcore.switch_eq("red_plane_right", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("aalines_right", s.tmp_0); if (r0) { step = 21; continue; } - r0 = pxsim_pxtcore.switch_eq("anim3", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("anim2", s.tmp_0); if (r0) { step = 22; continue; } - r0 = pxsim_pxtcore.switch_eq("red_plane_left", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("aalines_left", s.tmp_0); if (r0) { step = 23; continue; } - r0 = pxsim_pxtcore.switch_eq("anim7", s.tmp_0); + r0 = pxsim_pxtcore.switch_eq("anim1", s.tmp_0); if (r0) { step = 24; continue; } r0 = s.tmp_0; { step = 25; continue; } @@ -2548,31 +2548,31 @@ switch (step) { case 2: r0 = pxsim_Array__mk(); s.tmp_2 = r0; - r0 = pxsim.image.ofBuffer(_hex7309); + r0 = pxsim.image.ofBuffer(_hex97784); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex7311); + r0 = pxsim.image.ofBuffer(_hex97786); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex7313); + r0 = pxsim.image.ofBuffer(_hex97788); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_5); - r0 = pxsim.image.ofBuffer(_hex7315); + r0 = pxsim.image.ofBuffer(_hex97790); s.tmp_6 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_6); - r0 = pxsim.image.ofBuffer(_hex7317); + r0 = pxsim.image.ofBuffer(_hex97792); s.tmp_7 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_7); - r0 = pxsim.image.ofBuffer(_hex7319); + r0 = pxsim.image.ofBuffer(_hex97794); s.tmp_8 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_8); - r0 = pxsim.image.ofBuffer(_hex7321); + r0 = pxsim.image.ofBuffer(_hex97796); s.tmp_9 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_9); - r0 = pxsim.image.ofBuffer(_hex7323); + r0 = pxsim.image.ofBuffer(_hex97798); s.tmp_10 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_10); - r0 = pxsim.image.ofBuffer(_hex7325); + r0 = pxsim.image.ofBuffer(_hex97800); s.tmp_11 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_11); r0 = s.tmp_2; @@ -2581,28 +2581,28 @@ switch (step) { case 4: r0 = pxsim_Array__mk(); s.tmp_12 = r0; - r0 = pxsim.image.ofBuffer(_hex7328); + r0 = pxsim.image.ofBuffer(_hex97803); s.tmp_13 = r0; r0 = pxsim_Array__push(s.tmp_12, s.tmp_13); - r0 = pxsim.image.ofBuffer(_hex7330); + r0 = pxsim.image.ofBuffer(_hex97805); s.tmp_14 = r0; r0 = pxsim_Array__push(s.tmp_12, s.tmp_14); - r0 = pxsim.image.ofBuffer(_hex7332); + r0 = pxsim.image.ofBuffer(_hex97807); s.tmp_15 = r0; r0 = pxsim_Array__push(s.tmp_12, s.tmp_15); - r0 = pxsim.image.ofBuffer(_hex7334); + r0 = pxsim.image.ofBuffer(_hex97809); s.tmp_16 = r0; r0 = pxsim_Array__push(s.tmp_12, s.tmp_16); - r0 = pxsim.image.ofBuffer(_hex7336); + r0 = pxsim.image.ofBuffer(_hex97811); s.tmp_17 = r0; r0 = pxsim_Array__push(s.tmp_12, s.tmp_17); - r0 = pxsim.image.ofBuffer(_hex7338); + r0 = pxsim.image.ofBuffer(_hex97813); s.tmp_18 = r0; r0 = pxsim_Array__push(s.tmp_12, s.tmp_18); - r0 = pxsim.image.ofBuffer(_hex7340); + r0 = pxsim.image.ofBuffer(_hex97815); s.tmp_19 = r0; r0 = pxsim_Array__push(s.tmp_12, s.tmp_19); - r0 = pxsim.image.ofBuffer(_hex7342); + r0 = pxsim.image.ofBuffer(_hex97817); s.tmp_20 = r0; r0 = pxsim_Array__push(s.tmp_12, s.tmp_20); r0 = s.tmp_12; @@ -2611,19 +2611,19 @@ switch (step) { case 6: r0 = pxsim_Array__mk(); s.tmp_21 = r0; - r0 = pxsim.image.ofBuffer(_hex7345); + r0 = pxsim.image.ofBuffer(_hex97820); s.tmp_22 = r0; r0 = pxsim_Array__push(s.tmp_21, s.tmp_22); - r0 = pxsim.image.ofBuffer(_hex7347); + r0 = pxsim.image.ofBuffer(_hex97822); s.tmp_23 = r0; r0 = pxsim_Array__push(s.tmp_21, s.tmp_23); - r0 = pxsim.image.ofBuffer(_hex7349); + r0 = pxsim.image.ofBuffer(_hex97824); s.tmp_24 = r0; r0 = pxsim_Array__push(s.tmp_21, s.tmp_24); - r0 = pxsim.image.ofBuffer(_hex7351); + r0 = pxsim.image.ofBuffer(_hex97826); s.tmp_25 = r0; r0 = pxsim_Array__push(s.tmp_21, s.tmp_25); - r0 = pxsim.image.ofBuffer(_hex7353); + r0 = pxsim.image.ofBuffer(_hex97828); s.tmp_26 = r0; r0 = pxsim_Array__push(s.tmp_21, s.tmp_26); r0 = s.tmp_21; @@ -2632,19 +2632,19 @@ switch (step) { case 8: r0 = pxsim_Array__mk(); s.tmp_27 = r0; - r0 = pxsim.image.ofBuffer(_hex7356); + r0 = pxsim.image.ofBuffer(_hex97831); s.tmp_28 = r0; r0 = pxsim_Array__push(s.tmp_27, s.tmp_28); - r0 = pxsim.image.ofBuffer(_hex7358); + r0 = pxsim.image.ofBuffer(_hex97833); s.tmp_29 = r0; r0 = pxsim_Array__push(s.tmp_27, s.tmp_29); - r0 = pxsim.image.ofBuffer(_hex7360); + r0 = pxsim.image.ofBuffer(_hex97835); s.tmp_30 = r0; r0 = pxsim_Array__push(s.tmp_27, s.tmp_30); - r0 = pxsim.image.ofBuffer(_hex7362); + r0 = pxsim.image.ofBuffer(_hex97837); s.tmp_31 = r0; r0 = pxsim_Array__push(s.tmp_27, s.tmp_31); - r0 = pxsim.image.ofBuffer(_hex7364); + r0 = pxsim.image.ofBuffer(_hex97839); s.tmp_32 = r0; r0 = pxsim_Array__push(s.tmp_27, s.tmp_32); r0 = s.tmp_27; @@ -2653,10 +2653,10 @@ switch (step) { case 10: r0 = pxsim_Array__mk(); s.tmp_33 = r0; - r0 = pxsim.image.ofBuffer(_hex7367); + r0 = pxsim.image.ofBuffer(_hex97842); s.tmp_34 = r0; r0 = pxsim_Array__push(s.tmp_33, s.tmp_34); - r0 = pxsim.image.ofBuffer(_hex7369); + r0 = pxsim.image.ofBuffer(_hex97844); s.tmp_35 = r0; r0 = pxsim_Array__push(s.tmp_33, s.tmp_35); r0 = s.tmp_33; @@ -2665,10 +2665,10 @@ switch (step) { case 12: r0 = pxsim_Array__mk(); s.tmp_36 = r0; - r0 = pxsim.image.ofBuffer(_hex7372); + r0 = pxsim.image.ofBuffer(_hex97847); s.tmp_37 = r0; r0 = pxsim_Array__push(s.tmp_36, s.tmp_37); - r0 = pxsim.image.ofBuffer(_hex7374); + r0 = pxsim.image.ofBuffer(_hex97849); s.tmp_38 = r0; r0 = pxsim_Array__push(s.tmp_36, s.tmp_38); r0 = s.tmp_36; @@ -2677,10 +2677,10 @@ switch (step) { case 14: r0 = pxsim_Array__mk(); s.tmp_39 = r0; - r0 = pxsim.image.ofBuffer(_hex7377); + r0 = pxsim.image.ofBuffer(_hex97852); s.tmp_40 = r0; r0 = pxsim_Array__push(s.tmp_39, s.tmp_40); - r0 = pxsim.image.ofBuffer(_hex7379); + r0 = pxsim.image.ofBuffer(_hex97854); s.tmp_41 = r0; r0 = pxsim_Array__push(s.tmp_39, s.tmp_41); r0 = s.tmp_39; @@ -2689,10 +2689,10 @@ switch (step) { case 16: r0 = pxsim_Array__mk(); s.tmp_42 = r0; - r0 = pxsim.image.ofBuffer(_hex7382); + r0 = pxsim.image.ofBuffer(_hex97857); s.tmp_43 = r0; r0 = pxsim_Array__push(s.tmp_42, s.tmp_43); - r0 = pxsim.image.ofBuffer(_hex7384); + r0 = pxsim.image.ofBuffer(_hex97859); s.tmp_44 = r0; r0 = pxsim_Array__push(s.tmp_42, s.tmp_44); r0 = s.tmp_42; @@ -2701,10 +2701,10 @@ switch (step) { case 18: r0 = pxsim_Array__mk(); s.tmp_45 = r0; - r0 = pxsim.image.ofBuffer(_hex7387); + r0 = pxsim.image.ofBuffer(_hex97862); s.tmp_46 = r0; r0 = pxsim_Array__push(s.tmp_45, s.tmp_46); - r0 = pxsim.image.ofBuffer(_hex7389); + r0 = pxsim.image.ofBuffer(_hex97864); s.tmp_47 = r0; r0 = pxsim_Array__push(s.tmp_45, s.tmp_47); r0 = s.tmp_45; @@ -2713,10 +2713,10 @@ switch (step) { case 20: r0 = pxsim_Array__mk(); s.tmp_48 = r0; - r0 = pxsim.image.ofBuffer(_hex7392); + r0 = pxsim.image.ofBuffer(_hex97867); s.tmp_49 = r0; r0 = pxsim_Array__push(s.tmp_48, s.tmp_49); - r0 = pxsim.image.ofBuffer(_hex7394); + r0 = pxsim.image.ofBuffer(_hex97869); s.tmp_50 = r0; r0 = pxsim_Array__push(s.tmp_48, s.tmp_50); r0 = s.tmp_48; @@ -2725,10 +2725,10 @@ switch (step) { case 22: r0 = pxsim_Array__mk(); s.tmp_51 = r0; - r0 = pxsim.image.ofBuffer(_hex7397); + r0 = pxsim.image.ofBuffer(_hex97872); s.tmp_52 = r0; r0 = pxsim_Array__push(s.tmp_51, s.tmp_52); - r0 = pxsim.image.ofBuffer(_hex7399); + r0 = pxsim.image.ofBuffer(_hex97874); s.tmp_53 = r0; r0 = pxsim_Array__push(s.tmp_51, s.tmp_53); r0 = s.tmp_51; @@ -2737,10 +2737,10 @@ switch (step) { case 24: r0 = pxsim_Array__mk(); s.tmp_54 = r0; - r0 = pxsim.image.ofBuffer(_hex7402); + r0 = pxsim.image.ofBuffer(_hex97877); s.tmp_55 = r0; r0 = pxsim_Array__push(s.tmp_54, s.tmp_55); - r0 = pxsim.image.ofBuffer(_hex7404); + r0 = pxsim.image.ofBuffer(_hex97879); s.tmp_56 = r0; r0 = pxsim_Array__push(s.tmp_54, s.tmp_56); r0 = s.tmp_54; @@ -2751,12 +2751,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -myImages_inline__P7302.info = {"start":10445,"length":25559,"line":348,"column":42,"endLine":1175,"endColumn":5,"fileName":"images.g.ts","functionName":"inline","argumentNames":["name"]} +myImages_inline__P97777.info = {"start":10445,"length":25559,"line":348,"column":42,"endLine":1175,"endColumn":5,"fileName":"images.g.ts","functionName":"inline","argumentNames":["name"]} -function myImages_inline__P7302_mk(s) { +function myImages_inline__P97777_mk(s) { checkStack(s.depth); return { - parent: s, fn: myImages_inline__P7302, depth: s.depth + 1, + parent: s, fn: myImages_inline__P97777, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2818,54 +2818,54 @@ function myImages_inline__P7302_mk(s) { arg0: undefined, } } -const _hex7309 = pxsim.BufferMethods.createBufferFromHex("8704240014000000000000000000000000000000010000000000000000000000010000000000000000000000d10000000000000000000000d10000000000000000000000d1000000ffff8f0000000000d10000f06688f800f00f0000d100006f8688880ff00f0000d100f096698886fff00f0000d1006f99996888f8000f0000d0f0969d998888f8ff0f0000d0f0999999f888f8000f0000d0d0d99999868ff8000f0000d0f099999988f8f8000f00001ddd99998986f8f8000f0000ddfdf6f9fff8fff8000f000010606666868888f8000f000010f06666668688f8000f000010606666668881f8000f000010f08668818688f8ff0f0000100d6f18168888f8000f0000100df066618881ff000f0000100d006f868888ff000f0000100d00f06686f8ff000f0000100d0000ff8fff0f00000000100d000000ffff0f00000000100d000000ffff0000000000000d000000f0ff0000000000000d000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") -const _hex7311 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff8f0000000000000000f06688f800f00f00000000006f8688880ff00f00000100f096698886fff00f0000d1006f99996888f8000f0000d1f0969d998888f8ff0f0000d1f0999999f888f8000f0000d1d0d99999868ff8000f0000d1f099999988f8f8000f00001ddd99998986f8f8000f0000ddfd969ffff8fff8000f0000106d6666868888f8000f000010fd6666668688f8000f0000106d6666668881f8000f000010fd8668818688f8ff0f0000100d6f18168888f8000f0000100df066618881ff000f0000000d006f868888ff000f0000000000f06686f8ff000f000000000000ff8fff0f000000000000000000ffff0f000000000000000000ffff00000000000000000000f0ff00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") -const _hex7313 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff8f0000000000000000f06688f800f00f00000000006f8688880ff00f00000000f096698886fff00f000000006f99996888f8000f000000f0969d998888f8ff0f000000f0999999f888f8000f0000008dd99999868ff8000f0000d0fd99999988f8f8000f00001d8d99998986f8f8000f0000ddfd969ffff8fff8000f0000d08d6666868888f8000f0000d0f06666668688f8000f000000606666668881f8000f000000f08668818688f8ff0f000000006f18168888f8000f00000000f066618881ff000f00000000006f868888ff000f0000000000f06686f8ff000f000000000000ff8fff0f000000000000000000ffff0f000000000000000000ffff00000000000000000000f0ff00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") -const _hex7315 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff8f0000000000000000f06688f800f00f0000000d006f8688880ff00f0000100df096698886fff00f0000100d6f99996888f8000f000010fd969d998888f8ff0f000010fd999999f888f8000f000010ddd99999868ff8000f000010fd99999988f8f8000f00001ddd99998986f8f8000f0000ddfd969ffff8fff8000f0000d1606666868888f8000f0000d1f06666668688f8000f0000d1606666668881f8000f0000d1f08668818688f8ff0f0000d1006f18168888f8000f00000100f066618881ff000f00000000006f868888ff000f0000000000f06686f8ff000f000000000000ff8fff0f000000000000000000ffff0f000000000000000000ffff00000000000000000000f0ff00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") -const _hex7317 = pxsim.BufferMethods.createBufferFromHex("8704240014000000000000000000000000000000000d00000000000000000000000d00000000000000000000100d00000000000000000000100d00000000000000000000100d0000ffff8f0000000000100d00f06688f800f00f0000100d006f8688880ff00f0000100df096698886fff00f0000100d6f99996888f8000f000010f0969d998888f8ff0f000010f0999999f888f8000f000010d0d99999868ff8000f000010f099999988f8f8000f00001ddd99998986f8f8000f0000ddfd969ffff8fff8000f0000d0606666868888f8000f0000d0f06666668688f8000f0000d0606666668881f8000f0000d0f08668818688f8ff0f0000d1006f18168888f8000f0000d100f066618881ff000f0000d100006f868888ff000f0000d10000f06686f8ff000f0000d1000000ff8fff0f00000000d100000000ffff0f00000000d100000000ffff00000000000100000000f0ff00000000000100000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") -const _hex7319 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff8f0000000000000000f06688f800f00f0000000d006f8688880ff00f0000100df096698886fff00f0000100d6f99996888f8000f000010fd969d998888f8ff0f000010fd999999f888f8000f000010ddd99999868ff8000f000010fd99999988f8f8000f00001ddd99998986f8f8000f0000ddfd969ffff8fff8000f0000d1606666868888f8000f0000d1f06666668688f8000f0000d1606666668881f8000f0000d1f08668818688f8ff0f0000d1006f18168888f8000f00000100f066618881ff000f00000000006f868888ff000f0000000000f06686f8ff000f000000000000ff8fff0f000000000000000000ffff0f000000000000000000ffff00000000000000000000f0ff00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") -const _hex7321 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff8f0000000000000000f06688f800f00f0000000d006f8688880ff00f0000100df096698886fff00f0000100d6f99996888f8000f000010fd969d998888f8ff0f000010fd999999f888f8000f000010ddd99999868ff8000f000010fd99999988f8f8000f00001ddd99998986f8f8000f0000ddfd96fffff8fff8000f0000d1606666868888f8000f0000d1f06666668688f8000f0000d1606666668881f8000f0000d1f08668818688f8ff0f0000d1006f18168888f8000f00000100f066618881ff000f00000000006f868888ff000f0000000000f06686f8ff000f000000000000ff8fff0f000000000000000000ffff0f000000000000000000ffff00000000000000000000f0ff00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") -const _hex7323 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff8f0000000000000000f06688f800f00f00000000006f8688880ff00f00000000f096698886fff00f000000006f99996888f8000f000000f0969d998888f8ff0f000000f0999999f888f8000f0000008dd99999868ff8000f0000d0fd99999988f8f8000f00001d8d99998986f8f8000f0000ddfd969ffff8fff8000f0000d08d6666868888f8000f0000d0f06666668688f8000f000000606666668881f8000f000000f08668818688f8ff0f000000006f18168888f8000f00000000f066618881ff000f00000000006f868888ff000f0000000000f06686f8ff000f000000000000ff8fff0f000000000000000000ffff0f000000000000000000ffff00000000000000000000f0ff00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") -const _hex7325 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff8f0000000000000000f06688f800f00f00000000006f8688880ff00f00000100f096698886fff00f0000d1006f99996888f8000f0000d1f0969d998888f8ff0f0000d1f0999999f888f8000f0000d1d0d99999868ff8000f0000d1f099999988f8f8000f00001ddd99998986f8f8000f0000ddfd96f9fff8fff8000f0000106d6666868888f8000f000010fd6666668688f8000f0000106d6666668881f8000f000010fd8668818688f8ff0f0000100d6f18168888f8000f0000100df066618881ff000f0000000d006f868888ff000f0000000000f06686f8ff000f000000000000ff8fff0f000000000000000000ffff0f000000000000000000ffff00000000000000000000f0ff00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") -const _hex7328 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f0000000000000d000000f00f0000000000000d000000f0ff0000000000100d000000ffff0000000000100d000000ffff0f00000000100d0000ff8fff0f00000000100d00f06686f8ff000f0000100d006f868888ff000f0000100df066618881ff000f0000100d6f18168888f8000f000010f08668818688f8ff0f000010606666668881f8000f000010f06666668688f8000f000010606666868888f8000f0000ddfd96f9fff8fff8000f00001ddd99998986f8f8000f0000d0f099999988f8f8000f0000d0d0d99999868ff8000f0000d0f0999999f888f8000f0000d0f0969d998888f8ff0f0000d1006f99996888f8000f0000d100f096698886fff00f0000d100006f8688880ff00f0000d10000f06688f800f00f0000d1000000ffff8f0000000000d10000000000000000000000d10000000000000000000000010000000000000000000000010000000000000000000000000000000000000000000000") -const _hex7330 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f0ff00000000000000000000ffff00000000000000000000ffff0f0000000000000000ff8fff0f00000000000000f06686f8ff000f0000000d006f868888ff000f0000100df066618881ff000f0000100d6f18168888f8000f000010fd8668818688f8ff0f0000106d6666668881f8000f000010fd6666668688f8000f0000106d6666868888f8000f0000ddfd969ffff8fff8000f00001ddd99998986f8f8000f0000d1f099999988f8f8000f0000d1d0d99999868ff8000f0000d1f0999999f888f8000f0000d1f0969d998888f8ff0f0000d1006f99996888f8000f00000100f096698886fff00f00000000006f8688880ff00f0000000000f06688f800f00f000000000000ffff8f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex7332 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f0ff00000000000000000000ffff00000000000000000000ffff0f0000000000000000ff8fff0f00000000000000f06686f8ff000f00000000006f868888ff000f00000000f066618881ff000f000000006f18168888f8000f000000f08668818688f8ff0f000000606666668881f8000f0000d0f06666668688f8000f0000d08d6666868888f8000f0000ddfd969ffff8fff8000f00001d8d99998986f8f8000f0000d0fd99999988f8f8000f0000008dd99999868ff8000f000000f0999999f888f8000f000000f0969d998888f8ff0f000000006f99996888f8000f00000000f096698886fff00f00000000006f8688880ff00f0000000000f06688f800f00f000000000000ffff8f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex7334 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f0ff00000000000000000000ffff00000000000000000000ffff0f0000000000000000ff8fff0f00000000000000f06686f8ff000f00000000006f868888ff000f00000100f066618881ff000f0000d1006f18168888f8000f0000d1f08668818688f8ff0f0000d1606666668881f8000f0000d1f06666668688f8000f0000d1606666868888f8000f0000ddfd96fff9f8fff8000f00001ddd99998986f8f8000f000010fd99999988f8f8000f000010ddd99999868ff8000f000010fd999999f888f8000f000010fd969d998888f8ff0f0000100d6f99996888f8000f0000100df096698886fff00f0000000d006f8688880ff00f0000000000f06688f800f00f000000000000ffff8f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex7336 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000100000000f00f00000000000100000000f0ff0000000000d100000000ffff0000000000d100000000ffff0f00000000d1000000ff8fff0f00000000d10000f06686f8ff000f0000d100006f868888ff000f0000d100f066618881ff000f0000d1006f18168888f8000f0000d0f08668818688f8ff0f0000d0606666668881f8000f0000d0f06666668688f8000f0000d0606666868888f8000f0000ddfd96f9fff8fff8000f00001ddd99998986f8f8000f000010f099999988f8f8000f000010d0d99999868ff8000f000010f0999999f888f8000f000010f0969d998888f8ff0f0000100d6f99996888f8000f0000100df096698886fff00f0000100d006f8688880ff00f0000100d00f06688f800f00f0000100d0000ffff8f0000000000100d00000000000000000000100d00000000000000000000000d00000000000000000000000d00000000000000000000000000000000000000000000") -const _hex7338 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f0ff00000000000000000000ffff00000000000000000000ffff0f0000000000000000ff8fff0f00000000000000f06686f8ff000f00000000006f868888ff000f00000100f066618881ff000f0000d1006f18168888f8000f0000d1f08668818688f8ff0f0000d1606666668881f8000f0000d1f06666668688f8000f0000d1606666868888f8000f0000ddfd969ffff8fff8000f00001ddd99998986f8f8000f000010fd99999988f8f8000f000010ddd99999868ff8000f000010fd999999f888f8000f000010fd969d998888f8ff0f0000100d6f99996888f8000f0000100df096698886fff00f0000000d006f8688880ff00f0000000000f06688f800f00f000000000000ffff8f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex7340 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f0ff00000000000000000000ffff00000000000000000000ffff0f0000000000000000ff8fff0f00000000000000f06686f8ff000f00000000006f868888ff000f00000000f066618881ff000f000000006f18168888f8000f000000f08668818688f8ff0f000000606666668881f8000f0000d0f06666668688f8000f0000d08d6666868888f8000f0000ddfd96f9fff8fff8000f00001d8d99998986f8f8000f0000d0fd99999988f8f8000f0000008dd99999868ff8000f000000f0999999f888f8000f000000f0969d998888f8ff0f000000006f99996888f8000f00000000f096698886fff00f00000000006f8688880ff00f0000000000f06688f800f00f000000000000ffff8f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex7342 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f0ff00000000000000000000ffff00000000000000000000ffff0f0000000000000000ff8fff0f00000000000000f06686f8ff000f0000000d006f868888ff000f0000100df066618881ff000f0000100d6f18168888f8000f000010fd8668818688f8ff0f0000106d6666668881f8000f000010fd6666668688f8000f0000106d6666868888f8000f0000ddfd969ffff8fff8000f00001ddd99998986f8f8000f0000d1f099999988f8f8000f0000d1d0d99999868ff8000f0000d1f0999999f888f8000f0000d1f0969d998888f8ff0f0000d1006f99996888f8000f00000100f096698886fff00f00000000006f8688880ff00f0000000000f06688f800f00f000000000000ffff8f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex7345 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000ffff0f0000000000efeefe0000000000f0ffff0f000000cf0c00effeff00f0ddcdf0eeeefd00ffbdfbefeefefbf0eeeeeeefeefefbefeeeeeeeefebffdefdeddddeeeedefdeffddfddfdfefffcefdddddcfdfebffdefddddcdfdefdefdf0fdefcdfdf0ff0f00dfedcdfd00000000c0dccd0f0000000000c0cc00000000") -const _hex7347 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000f0ff0f0000000000f0eefe000000000000ffffffff0000f0cc00efeefd0000dfddfceefefd00ffdfbbefeefefcf0eeeeeeefeefe0fefeeeeeeeefeff00efdeddedeeeefe00effddfddfefeff00efdddddcfddefb00efddddcdfddffd00f0fdefcdfdffff0000dfedcdfddffb0000c0dccdffdffd000000c0cc00f0ff00") -const _hex7349 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000f0ffff0000000000f0eeee0ff00f000000ffffffbffd00f0cc0000effefd00dfdd0cf0eefefc00dfbbffefeefe0ff0eeeeeeefeeff00efeeeeeeeefeff00efdeddedeeeeffffefddffddfeeecefdefddddcdfdfedefdefddddddfcefdffdf0ddffdefcf0bffc00dfdddefcf0defd00c0dcdd0f00dffd0000c0cc0000f00f") -const _hex7351 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000ffff0000000000f0eeee0f00000000f0ffffff0f0000cf0c0000ff0f00f0ddcd00f0befd00f0bdfbffefeefd0ff0eeeeeeefeefcffefeeeeeeeeeecefdefeeddddeeeedefdefdefddfedeedffdefdddddddcfebffcefddddddfdffdefdf0ddfdeffd00dffd00dfddedfd00f00f00c0dcdd0f0000000000c0cc00000000") -const _hex7353 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000ffff0f0000000000efeeff000000000000f0ff0000cf0c00ffffff00f0ddcdf0eeeefe00ffbdfbefeefefbf0eeeeeeeffebefdefeeeeeeeeeebffdefdeddedeeeefeffeffddfddfefebefdefdddddcfdefdffdefddddcdfdeffefff0fdefcdfdf0defd00dfedcdfd00bffd00c0dccd0f00f00f0000c0cc00000000") -const _hex7356 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000000000c0dccd0f00000000dfedcdfd000000f0fdefcdfdf0ff0fefddddcdfdefdefdefdddddcfdfebffdeffddfddfdfefffcefdeddddeeeedefdefeeeeeeeefebffdf0eeeeeeefeefefb00ffbdfbefeefefb00f0ddcdf0eeeefd0000cf0c00effeff000000f0ffff0f00000000efeefe0000000000ffff0f0000") -const _hex7358 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc00f0ff0000c0dccdffdffd0000dfedcdfddffb00f0fdefcdfdffff00efddddcdfddffd00efdddddcfddefb00effddfddfefeff00efdeddedeeeefe00efeeeeeeeefeff00f0eeeeeeefeefe0f00ffdfbbefeefefc0000dfddfceefefd0000f0cc00efeefd00000000ffffffff000000f0eefe0000000000f0ff0f0000") -const _hex7360 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000f00f00c0dcdd0f00dffd00dfdddefcf0defdf0ddffdefcf0bffcefddddddfcefdffdefddddcdfdfedefdefddffddfeeecefdefdeddedeeeeffffefeeeeeeeefeff00f0eeeeeeefeeff0000dfbbffefeefe0f00dfdd0cf0eefefc00f0cc0000effefd000000ffffffbffd0000f0eeee0ff00f0000f0ffff000000") -const _hex7362 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000000000c0dcdd0f00000000dfddedfd00f00ff0ddfdeffd00dffdefddddddfdffdefdefdddddddcfebffcefdefddfedeedffdefeeddddeeeedefdefeeeeeeeeeecefdf0eeeeeeefeefcfff0bdfbffefeefd0ff0ddcd00f0befd0000cf0c0000ff0f000000f0ffffff0f000000f0eeee0f0000000000ffff000000") -const _hex7364 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000000000c0dccd0f00f00f00dfedcdfd00bffdf0fdefcdfdf0defdefddddcdfdeffeffefdddddcfdefdffdeffddfddfefebefdefdeddedeeeefeffefeeeeeeeeeebffdf0eeeeeeeffebefd00ffbdfbefeefefb00f0ddcdf0eeeefe0000cf0c00ffffff000000000000f0ff0000000000efeeff0000000000ffff0f") -const _hex7367 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000f00f0000000000001c0f000000fcffcf110f0000005c15f1c10fc0fc00cc5511cc0f1ff100c05c15c1fc11f10000cc1cc11c11f10000c01cc11111f10f00c011c11151fcff00c011c11155ffff001f11115cf5ffff001f111151ff1ff1001f111111fcccfcf01c111111f1c10fcf5c119b11f1ff00cf5c119111f100001f5c151111f100001f1fb51111f10000ffcf9b1911f10000ffc099b911f1000000009c1b110f00000000c011110f00000000001cf1000000000000c00f000000") -const _hex7369 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000ff000000000000c0f100000000fcff1cf1000000005c111ff1cc0c00005c1511fc1cc10000c05511cc1cc10000005c1ccc11c1000000c01ccc11c5ff0000c0111c51f5ff0f00c0111c51fcff0f001f111c55ffff0f001f11c115ff110f001f111111cccc0ff01c111111f1c10ff05cb11911f1ff00cf5c111911f10000cf5c111111f100001f1f1b1111f100001fcf991111f10000ffcf991b11f10000ff009c1b110f00000000c011110f00000000001cf1000000000000c00f000000") -const _hex7372 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000c00f0000000000001cf10000000000c011110f000000009c1b110f0000ffc099b911f100004fcf9b1911f100001f1fb51111f100001f5c151111f10000cf5c119111f10000cf5c119b11f1ff00f01c111111f1c10f001f111111fcccfc001f111151ff1ff1001f11115cf5ffff00c011c11155ffff00c011c11151f4ff00c01cc11111f10f00cc1cc11c11f100c05c15c1fc11f100cc5511cc0f1ff1005c15f1c10fc0fc00fcffcf110f0000000000001c0f000000000000f00f000000") -const _hex7374 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000c00f0000000000001cf10000000000c011110f0000ff009c1b110f0000ffcf991b11f100001fcf991111f100001f1f1b1111f10000cf5c111111f10000cf5c111911f10000f05cb11911f1ff00f01c111111f1c10f001f111111cccc0f001f11c115ff110f001f111c55ffff0f00c0111c51fcff0f00c0111c51f5ff0f00c01ccc11c5ff00005c1ccc11c10000c05511cc1cc100005c1511fc1cc100005c111ff1cc0c0000fcff1cf1000000000000c0f100000000000000ff00000000") -const _hex7377 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000f00f0000000000008c0f000000fcffcf880f0000005c85f8c80fc0fc00cc5588cc0f8ff800c05c85c8fc88f80000cc8cc88c88f80000c08cc88888f80f00c088c88858fcff00c088c88855ffff008f88885cf5ffff008f888858ff8ff8008f888888fcccfcf08c888888f8c80fcf5c889b88f8ff00cf5c889888f800008f5c858888f800008f8fb58888f80000ffcf9b8988f80000ffc099b988f8000000009c8b880f00000000c088880f00000000008cf8000000000000c00f000000") -const _hex7379 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000ff000000000000c0f800000000fcff8cf8000000005c888ff8cc0c00005c8588fc8cc80000c05588cc8cc80000005c8ccc88c8000000c08ccc8855ff0000c0888c58f5ff0f00c0888c58fcff0f008f888c55ffff0f008f88c885ff880f008f888888cccc0ff08c888888f8c80ff05cb88988f8ff00cf5c888988f80000cf5c888888f800008f8f8b8888f800008fcf998888f80000ffcf998b88f80000f5009c8b880f00000000c088880f00000000005cf8000000000000c00f000000") -const _hex7382 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000c00f0000000000008cf80000000000c088880f000000009c8b880f0000ffc099b988f80000ffcf9b8988f800008f8fb58888f800008f5c858888f80000cf5c889888f80000cf5c889b88f8ff00f08c888888f8c80f008f888888fcccfc008f888858ff8ff8008f88885cf5ffff00c088c88855ffff00c088c88858fcff00c08cc88888f80f00cc8cc88c88f800c05c85c8fc88f800cc5588cc0f8ff8005c85f8c80fc0fc00fcffcf880f0000000000008c0f000000000000f00f000000") -const _hex7384 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000c00f0000000000005cf80000000000c088880f0000f5009c8b880f0000ffcf998b88f800008fcf998888f800008f8f8b8888f80000cf5c888888f80000cf5c888988f80000f05cb88988f8ff00f08c888888f8c80f008f888888cccc0f008f88c885ff880f008f888c55ffff0f00c0888c58fcff0f00c0888c58f5ff0f00c08ccc8855ff00005c8ccc88c80000c05588cc8cc800005c8588fc8cc800005c888ff8cc0c0000fcff8cf8000000000000c0f800000000000000ff00000000") -const _hex7387 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000f00f000000000000f0fb000000000000bf8b0f0000000000bfbb0f000000ff001fbbf80000009f8fbfbdf8000000bfffbbbdf8000000bffbbbbdf8000000bffbbbb9f80c0000bffbbbb9f80f0000f08bbbbbf8000000008fbbbbfb0c0000008f188bff0f000000f0b882f800000000f0b8bb880f00000000b8bb8bf900000000b8bbbbf80000000088bbbbf80000008088fbbbf800000088820fbff800008018820fb0fb0000f0ff8f0f000000000000800f000000000000f00f000000") -const _hex7389 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000f00f000000000000f0fb000000000000bf8b0f0000000000bfbb0f000000f00fbfbbf8000000f089dfbbf8000000f0fb9bbbf8000000f0fb9bbbf8000000f0fb9bbbf80c0000f0fb9bbbf80f000000ffbbbbf800000000ffbbbbfb0c000000f01f8bff0f00000000bf82f80000000000b88bf80000000000b8bb980f00000000b8bb8b0f0000000088bb8b0f0000008088bb8b0f0000008882ff8b0f00008018820fbb0f0000f0ff8f0f000000000000800f000000000000f00f000000") -const _hex7392 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000f00f000000000000800f00000000f0ff8f0f000000008018820fb0fb00000088820fbff80000008088fbbbf80000000088bbbbf800000000b8bbbbf800000000b8bb8bf9000000f0b8bb880f000000f0b882f8000000008f188bff0f0000008fbbbbfb0c0000f08bbbbbf8000000bffbbbb9f80f0000bffbbbb9f80c0000bffbbbbdf8000000bfffbbbdf80000009f8fbfbdf8000000ff001fbbf80000000000bfbb0f0000000000bf8b0f0000000000f0fb000000000000f00f000000") -const _hex7394 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000f00f000000000000800f00000000f0ff8f0f000000008018820fbb0f0000008882ff8b0f0000008088bb8b0f0000000088bb8b0f00000000b8bb8b0f00000000b8bb980f00000000b88bf80000000000bf82f800000000f01f8bff0f000000ffbbbbfb0c000000ffbbbbf8000000f0fb9bbbf80f0000f0fb9bbbf80c0000f0fb9bbbf8000000f0fb9bbbf8000000f089dfbbf8000000f00fbfbbf80000000000bfbb0f0000000000bf8b0f0000000000f0fb000000000000f00f000000") -const _hex7397 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000f00f0000000000002c0f000000fcffcf220f0000004c24f2c20fc0fc00cc4422cc0f2ff200c04c24c2fc22f20000cc2cc22c22f20000c02cc22222f20f00c022c22242f5ff00c022c22244ffff002f22224cf4ffff002f222242ff2ff2002f222222fcccfcf02c222222f2c20fcf4c229b22f2ff00cf4c229122f200002f4c241122f200002f2fb41122f200005fcf9b1922f20000ffc099b922f2000000009c2b220f00000000c022220f00000000002cf5000000000000c00f000000") -const _hex7399 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000ff000000000000c0f200000000fcff2cf2000000004c222ff2cc0c00004c2422fc2cc20000c04422cc2cc20000004c2ccc22c2000000c02ccc22c4ff0000c0222c42f4ff0f00c0222c42fcff0f002f222c44ffff0f002f22c224ff220f002f222222cccc0ff02c222222f2c20ff04cb22922f2ff00cf4c122922f20000cf4c122122f200002f2f1b2122f200002fcf992122f20000ffcf992b22f20000ff009c2b220f00000000c022220f00000000002cf2000000000000c00f000000") -const _hex7402 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000c00f0000000000002cf50000000000c022220f000000009c2b220f0000ffc099b922f200005fcf9b1922f200002f2fb41122f200002f4c241122f20000cf4c229122f20000cf4c229b22f2ff00f02c222222f2c20f002f222222fcccfc002f222242ff2ff2002f22224cf4ffff00c022c22244ffff00c022c22242f5ff00c02cc22222f20f00cc2cc22c22f200c04c24c2fc22f200cc4422cc0f2ff2004c24f2c20fc0fc00fcffcf220f0000000000002c0f000000000000f00f000000") -const _hex7404 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000c00f0000000000002cf20000000000c022220f0000ff009c2b220f0000ffcf992b22f200002fcf992122f200002f2f1b2122f20000cf4c122122f20000cf4c122922f20000f04cb22922f2ff00f02c222222f2c20f002f222222cccc0f002f22c224ff220f002f222c44ffff0f00c0222c42fcff0f00c0222c42f4ff0f00c02ccc22c4ff00004c2ccc22c20000c04422cc2cc200004c2422fc2cc200004c222ff2cc0c0000fcff2cf2000000000000c0f200000000000000ff00000000") +const _hex97784 = pxsim.BufferMethods.createBufferFromHex("8704240014000000000000000000000000000000010000000000000000000000010000000000000000000000d10000000000000000000000d10000000000000000000000d1000000ffff8f0000000000d10000f06688f800f00f0000d100006f8688880ff00f0000d100f096698886fff00f0000d1006f99996888f8000f0000d0f0969d998888f8ff0f0000d0f0999999f888f8000f0000d0d0d99999868ff8000f0000d0f099999988f8f8000f00001ddd99998986f8f8000f0000ddfdf6f9fff8fff8000f000010606666868888f8000f000010f06666668688f8000f000010606666668881f8000f000010f08668818688f8ff0f0000100d6f18168888f8000f0000100df066618881ff000f0000100d006f868888ff000f0000100d00f06686f8ff000f0000100d0000ff8fff0f00000000100d000000ffff0f00000000100d000000ffff0000000000000d000000f0ff0000000000000d000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") +const _hex97786 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff8f0000000000000000f06688f800f00f00000000006f8688880ff00f00000100f096698886fff00f0000d1006f99996888f8000f0000d1f0969d998888f8ff0f0000d1f0999999f888f8000f0000d1d0d99999868ff8000f0000d1f099999988f8f8000f00001ddd99998986f8f8000f0000ddfd969ffff8fff8000f0000106d6666868888f8000f000010fd6666668688f8000f0000106d6666668881f8000f000010fd8668818688f8ff0f0000100d6f18168888f8000f0000100df066618881ff000f0000000d006f868888ff000f0000000000f06686f8ff000f000000000000ff8fff0f000000000000000000ffff0f000000000000000000ffff00000000000000000000f0ff00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") +const _hex97788 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff8f0000000000000000f06688f800f00f00000000006f8688880ff00f00000000f096698886fff00f000000006f99996888f8000f000000f0969d998888f8ff0f000000f0999999f888f8000f0000008dd99999868ff8000f0000d0fd99999988f8f8000f00001d8d99998986f8f8000f0000ddfd969ffff8fff8000f0000d08d6666868888f8000f0000d0f06666668688f8000f000000606666668881f8000f000000f08668818688f8ff0f000000006f18168888f8000f00000000f066618881ff000f00000000006f868888ff000f0000000000f06686f8ff000f000000000000ff8fff0f000000000000000000ffff0f000000000000000000ffff00000000000000000000f0ff00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") +const _hex97790 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff8f0000000000000000f06688f800f00f0000000d006f8688880ff00f0000100df096698886fff00f0000100d6f99996888f8000f000010fd969d998888f8ff0f000010fd999999f888f8000f000010ddd99999868ff8000f000010fd99999988f8f8000f00001ddd99998986f8f8000f0000ddfd969ffff8fff8000f0000d1606666868888f8000f0000d1f06666668688f8000f0000d1606666668881f8000f0000d1f08668818688f8ff0f0000d1006f18168888f8000f00000100f066618881ff000f00000000006f868888ff000f0000000000f06686f8ff000f000000000000ff8fff0f000000000000000000ffff0f000000000000000000ffff00000000000000000000f0ff00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") +const _hex97792 = pxsim.BufferMethods.createBufferFromHex("8704240014000000000000000000000000000000000d00000000000000000000000d00000000000000000000100d00000000000000000000100d00000000000000000000100d0000ffff8f0000000000100d00f06688f800f00f0000100d006f8688880ff00f0000100df096698886fff00f0000100d6f99996888f8000f000010f0969d998888f8ff0f000010f0999999f888f8000f000010d0d99999868ff8000f000010f099999988f8f8000f00001ddd99998986f8f8000f0000ddfd969ffff8fff8000f0000d0606666868888f8000f0000d0f06666668688f8000f0000d0606666668881f8000f0000d0f08668818688f8ff0f0000d1006f18168888f8000f0000d100f066618881ff000f0000d100006f868888ff000f0000d10000f06686f8ff000f0000d1000000ff8fff0f00000000d100000000ffff0f00000000d100000000ffff00000000000100000000f0ff00000000000100000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") +const _hex97794 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff8f0000000000000000f06688f800f00f0000000d006f8688880ff00f0000100df096698886fff00f0000100d6f99996888f8000f000010fd969d998888f8ff0f000010fd999999f888f8000f000010ddd99999868ff8000f000010fd99999988f8f8000f00001ddd99998986f8f8000f0000ddfd969ffff8fff8000f0000d1606666868888f8000f0000d1f06666668688f8000f0000d1606666668881f8000f0000d1f08668818688f8ff0f0000d1006f18168888f8000f00000100f066618881ff000f00000000006f868888ff000f0000000000f06686f8ff000f000000000000ff8fff0f000000000000000000ffff0f000000000000000000ffff00000000000000000000f0ff00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") +const _hex97796 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff8f0000000000000000f06688f800f00f0000000d006f8688880ff00f0000100df096698886fff00f0000100d6f99996888f8000f000010fd969d998888f8ff0f000010fd999999f888f8000f000010ddd99999868ff8000f000010fd99999988f8f8000f00001ddd99998986f8f8000f0000ddfd96fffff8fff8000f0000d1606666868888f8000f0000d1f06666668688f8000f0000d1606666668881f8000f0000d1f08668818688f8ff0f0000d1006f18168888f8000f00000100f066618881ff000f00000000006f868888ff000f0000000000f06686f8ff000f000000000000ff8fff0f000000000000000000ffff0f000000000000000000ffff00000000000000000000f0ff00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") +const _hex97798 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff8f0000000000000000f06688f800f00f00000000006f8688880ff00f00000000f096698886fff00f000000006f99996888f8000f000000f0969d998888f8ff0f000000f0999999f888f8000f0000008dd99999868ff8000f0000d0fd99999988f8f8000f00001d8d99998986f8f8000f0000ddfd969ffff8fff8000f0000d08d6666868888f8000f0000d0f06666668688f8000f000000606666668881f8000f000000f08668818688f8ff0f000000006f18168888f8000f00000000f066618881ff000f00000000006f868888ff000f0000000000f06686f8ff000f000000000000ff8fff0f000000000000000000ffff0f000000000000000000ffff00000000000000000000f0ff00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") +const _hex97800 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffff8f0000000000000000f06688f800f00f00000000006f8688880ff00f00000100f096698886fff00f0000d1006f99996888f8000f0000d1f0969d998888f8ff0f0000d1f0999999f888f8000f0000d1d0d99999868ff8000f0000d1f099999988f8f8000f00001ddd99998986f8f8000f0000ddfd96f9fff8fff8000f0000106d6666868888f8000f000010fd6666668688f8000f0000106d6666668881f8000f000010fd8668818688f8ff0f0000100d6f18168888f8000f0000100df066618881ff000f0000000d006f868888ff000f0000000000f06686f8ff000f000000000000ff8fff0f000000000000000000ffff0f000000000000000000ffff00000000000000000000f0ff00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f60f00000000000000000060ff0f000000000000000000f6ff0f000000000000000000ffff0f0000000000") +const _hex97803 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f0000000000000d000000f00f0000000000000d000000f0ff0000000000100d000000ffff0000000000100d000000ffff0f00000000100d0000ff8fff0f00000000100d00f06686f8ff000f0000100d006f868888ff000f0000100df066618881ff000f0000100d6f18168888f8000f000010f08668818688f8ff0f000010606666668881f8000f000010f06666668688f8000f000010606666868888f8000f0000ddfd96f9fff8fff8000f00001ddd99998986f8f8000f0000d0f099999988f8f8000f0000d0d0d99999868ff8000f0000d0f0999999f888f8000f0000d0f0969d998888f8ff0f0000d1006f99996888f8000f0000d100f096698886fff00f0000d100006f8688880ff00f0000d10000f06688f800f00f0000d1000000ffff8f0000000000d10000000000000000000000d10000000000000000000000010000000000000000000000010000000000000000000000000000000000000000000000") +const _hex97805 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f0ff00000000000000000000ffff00000000000000000000ffff0f0000000000000000ff8fff0f00000000000000f06686f8ff000f0000000d006f868888ff000f0000100df066618881ff000f0000100d6f18168888f8000f000010fd8668818688f8ff0f0000106d6666668881f8000f000010fd6666668688f8000f0000106d6666868888f8000f0000ddfd969ffff8fff8000f00001ddd99998986f8f8000f0000d1f099999988f8f8000f0000d1d0d99999868ff8000f0000d1f0999999f888f8000f0000d1f0969d998888f8ff0f0000d1006f99996888f8000f00000100f096698886fff00f00000000006f8688880ff00f0000000000f06688f800f00f000000000000ffff8f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex97807 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f0ff00000000000000000000ffff00000000000000000000ffff0f0000000000000000ff8fff0f00000000000000f06686f8ff000f00000000006f868888ff000f00000000f066618881ff000f000000006f18168888f8000f000000f08668818688f8ff0f000000606666668881f8000f0000d0f06666668688f8000f0000d08d6666868888f8000f0000ddfd969ffff8fff8000f00001d8d99998986f8f8000f0000d0fd99999988f8f8000f0000008dd99999868ff8000f000000f0999999f888f8000f000000f0969d998888f8ff0f000000006f99996888f8000f00000000f096698886fff00f00000000006f8688880ff00f0000000000f06688f800f00f000000000000ffff8f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex97809 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f0ff00000000000000000000ffff00000000000000000000ffff0f0000000000000000ff8fff0f00000000000000f06686f8ff000f00000000006f868888ff000f00000100f066618881ff000f0000d1006f18168888f8000f0000d1f08668818688f8ff0f0000d1606666668881f8000f0000d1f06666668688f8000f0000d1606666868888f8000f0000ddfd96fff9f8fff8000f00001ddd99998986f8f8000f000010fd99999988f8f8000f000010ddd99999868ff8000f000010fd999999f888f8000f000010fd969d998888f8ff0f0000100d6f99996888f8000f0000100df096698886fff00f0000000d006f8688880ff00f0000000000f06688f800f00f000000000000ffff8f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex97811 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000100000000f00f00000000000100000000f0ff0000000000d100000000ffff0000000000d100000000ffff0f00000000d1000000ff8fff0f00000000d10000f06686f8ff000f0000d100006f868888ff000f0000d100f066618881ff000f0000d1006f18168888f8000f0000d0f08668818688f8ff0f0000d0606666668881f8000f0000d0f06666668688f8000f0000d0606666868888f8000f0000ddfd96f9fff8fff8000f00001ddd99998986f8f8000f000010f099999988f8f8000f000010d0d99999868ff8000f000010f0999999f888f8000f000010f0969d998888f8ff0f0000100d6f99996888f8000f0000100df096698886fff00f0000100d006f8688880ff00f0000100d00f06688f800f00f0000100d0000ffff8f0000000000100d00000000000000000000100d00000000000000000000000d00000000000000000000000d00000000000000000000000000000000000000000000") +const _hex97813 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f0ff00000000000000000000ffff00000000000000000000ffff0f0000000000000000ff8fff0f00000000000000f06686f8ff000f00000000006f868888ff000f00000100f066618881ff000f0000d1006f18168888f8000f0000d1f08668818688f8ff0f0000d1606666668881f8000f0000d1f06666668688f8000f0000d1606666868888f8000f0000ddfd969ffff8fff8000f00001ddd99998986f8f8000f000010fd99999988f8f8000f000010ddd99999868ff8000f000010fd999999f888f8000f000010fd969d998888f8ff0f0000100d6f99996888f8000f0000100df096698886fff00f0000000d006f8688880ff00f0000000000f06688f800f00f000000000000ffff8f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex97815 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f0ff00000000000000000000ffff00000000000000000000ffff0f0000000000000000ff8fff0f00000000000000f06686f8ff000f00000000006f868888ff000f00000000f066618881ff000f000000006f18168888f8000f000000f08668818688f8ff0f000000606666668881f8000f0000d0f06666668688f8000f0000d08d6666868888f8000f0000ddfd96f9fff8fff8000f00001d8d99998986f8f8000f0000d0fd99999988f8f8000f0000008dd99999868ff8000f000000f0999999f888f8000f000000f0969d998888f8ff0f000000006f99996888f8000f00000000f096698886fff00f00000000006f8688880ff00f0000000000f06688f800f00f000000000000ffff8f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex97817 = pxsim.BufferMethods.createBufferFromHex("870424001400000000000000ffff0f000000000000000000f6ff0f00000000000000000060ff0f00000000000000000000f60f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f00f00000000000000000000f0ff00000000000000000000ffff00000000000000000000ffff0f0000000000000000ff8fff0f00000000000000f06686f8ff000f0000000d006f868888ff000f0000100df066618881ff000f0000100d6f18168888f8000f000010fd8668818688f8ff0f0000106d6666668881f8000f000010fd6666668688f8000f0000106d6666868888f8000f0000ddfd969ffff8fff8000f00001ddd99998986f8f8000f0000d1f099999988f8f8000f0000d1d0d99999868ff8000f0000d1f0999999f888f8000f0000d1f0969d998888f8ff0f0000d1006f99996888f8000f00000100f096698886fff00f00000000006f8688880ff00f0000000000f06688f800f00f000000000000ffff8f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex97820 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000ffff0f0000000000efeefe0000000000f0ffff0f000000cf0c00effeff00f0ddcdf0eeeefd00ffbdfbefeefefbf0eeeeeeefeefefbefeeeeeeeefebffdefdeddddeeeedefdeffddfddfdfefffcefdddddcfdfebffdefddddcdfdefdefdf0fdefcdfdf0ff0f00dfedcdfd00000000c0dccd0f0000000000c0cc00000000") +const _hex97822 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000f0ff0f0000000000f0eefe000000000000ffffffff0000f0cc00efeefd0000dfddfceefefd00ffdfbbefeefefcf0eeeeeeefeefe0fefeeeeeeeefeff00efdeddedeeeefe00effddfddfefeff00efdddddcfddefb00efddddcdfddffd00f0fdefcdfdffff0000dfedcdfddffb0000c0dccdffdffd000000c0cc00f0ff00") +const _hex97824 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000f0ffff0000000000f0eeee0ff00f000000ffffffbffd00f0cc0000effefd00dfdd0cf0eefefc00dfbbffefeefe0ff0eeeeeeefeeff00efeeeeeeeefeff00efdeddedeeeeffffefddffddfeeecefdefddddcdfdfedefdefddddddfcefdffdf0ddffdefcf0bffc00dfdddefcf0defd00c0dcdd0f00dffd0000c0cc0000f00f") +const _hex97826 = pxsim.BufferMethods.createBufferFromHex("8704100010000000000000ffff0000000000f0eeee0f00000000f0ffffff0f0000cf0c0000ff0f00f0ddcd00f0befd00f0bdfbffefeefd0ff0eeeeeeefeefcffefeeeeeeeeeecefdefeeddddeeeedefdefdefddfedeedffdefdddddddcfebffcefddddddfdffdefdf0ddfdeffd00dffd00dfddedfd00f00f00c0dcdd0f0000000000c0cc00000000") +const _hex97828 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000ffff0f0000000000efeeff000000000000f0ff0000cf0c00ffffff00f0ddcdf0eeeefe00ffbdfbefeefefbf0eeeeeeeffebefdefeeeeeeeeeebffdefdeddedeeeefeffeffddfddfefebefdefdddddcfdefdffdefddddcdfdeffefff0fdefcdfdf0defd00dfedcdfd00bffd00c0dccd0f00f00f0000c0cc00000000") +const _hex97831 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000000000c0dccd0f00000000dfedcdfd000000f0fdefcdfdf0ff0fefddddcdfdefdefdefdddddcfdfebffdeffddfddfdfefffcefdeddddeeeedefdefeeeeeeeefebffdf0eeeeeeefeefefb00ffbdfbefeefefb00f0ddcdf0eeeefd0000cf0c00effeff000000f0ffff0f00000000efeefe0000000000ffff0f0000") +const _hex97833 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc00f0ff0000c0dccdffdffd0000dfedcdfddffb00f0fdefcdfdffff00efddddcdfddffd00efdddddcfddefb00effddfddfefeff00efdeddedeeeefe00efeeeeeeeefeff00f0eeeeeeefeefe0f00ffdfbbefeefefc0000dfddfceefefd0000f0cc00efeefd00000000ffffffff000000f0eefe0000000000f0ff0f0000") +const _hex97835 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000f00f00c0dcdd0f00dffd00dfdddefcf0defdf0ddffdefcf0bffcefddddddfcefdffdefddddcdfdfedefdefddffddfeeecefdefdeddedeeeeffffefeeeeeeeefeff00f0eeeeeeefeeff0000dfbbffefeefe0f00dfdd0cf0eefefc00f0cc0000effefd000000ffffffbffd0000f0eeee0ff00f0000f0ffff000000") +const _hex97837 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000000000c0dcdd0f00000000dfddedfd00f00ff0ddfdeffd00dffdefddddddfdffdefdefdddddddcfebffcefdefddfedeedffdefeeddddeeeedefdefeeeeeeeeeecefdf0eeeeeeefeefcfff0bdfbffefeefd0ff0ddcd00f0befd0000cf0c0000ff0f000000f0ffffff0f000000f0eeee0f0000000000ffff000000") +const _hex97839 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000c0cc0000000000c0dccd0f00f00f00dfedcdfd00bffdf0fdefcdfdf0defdefddddcdfdeffeffefdddddcfdefdffdeffddfddfefebefdefdeddedeeeefeffefeeeeeeeeeebffdf0eeeeeeeffebefd00ffbdfbefeefefb00f0ddcdf0eeeefe0000cf0c00ffffff000000000000f0ff0000000000efeeff0000000000ffff0f") +const _hex97842 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000f00f0000000000005c0f000000fcffcf880f0000005c85f8c80fc0fc00cc5588cc0f8ff800c05c85c8fc88f80000cc8cc88c88f80000c08cc88888f80f00c088c88858fcff00c088c88855ffff008f88885cf5ffff008f888858ff8ff8008f888888fcccfcf08c888888f8c80fcf5c889b88f8ff00cf5c889888f800008f5c858888f800008f8fb58888f80000ffcf9b8988f80000ffc099b988f8000000009c8b880f00000000c088880f00000000008cf8000000000000c00f000000") +const _hex97844 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000ff000000000000c0f800000000fcff8cf8000000005c888ff8cc0c00005c8588fc8cc80000c05588cc8cc80000005c8ccc88c8000000c08ccc8855ff0000c0888c58f5ff0f00c0888c58fcff0f008f888c55ffff0f008f88c885ff880f008f888888cccc0ff08c888888f8c80ff05cb88988f8ff00cf5c888988f80000cf5c888888f800008f8f8b8888f800008fcf998888f80000ffcf998b88f80000f5009c8b880f00000000c088880f00000000005cf8000000000000c00f000000") +const _hex97847 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000c00f0000000000008cf80000000000c088880f000000009c8b880f0000ffc099b988f80000ffcf9b8988f800008f8fb58888f800008f5c858888f80000cf5c889888f80000cf5c889b88f8ff00f08c888888f8c80f008f888888fcccfc008f888858ff8ff8008f88885cf5ffff00c088c88855ffff00c088c88858fcff00c08cc88888f80f00cc8cc88c88f800c05c85c8fc88f800cc5588cc0f8ff8005c85f8c80fc0fc00fcffcf880f0000000000005c0f000000000000f00f000000") +const _hex97849 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000c00f0000000000005cf80000000000c088880f0000f5009c8b880f0000ffcf998b88f800008fcf998888f800008f8f8b8888f80000cf5c888888f80000cf5c888988f80000f05cb88988f8ff00f08c888888f8c80f008f888888cccc0f008f88c885ff880f008f888c55ffff0f00c0888c58fcff0f00c0888c58f5ff0f00c08ccc8855ff00005c8ccc88c80000c05588cc8cc800005c8588fc8cc800005c888ff8cc0c0000fcff8cf8000000000000c0f800000000000000ff00000000") +const _hex97852 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000400f0000000000001cf10000000000c011110f000000009c1b110f0000ffc099b911f100004fcf9b1911f100001f1fb51111f100001f5c151111f10000cf5c119111f10000cf5c119b11f1ff00f01c111111f1c10f001f111111fcccfc001f111151ff1ff1001f11115cf5ffff00c011c11155ffff00c011c11151f4ff00c01cc11111f10f00cc1cc11c11f100c05c15c1fc11f100cc5511cc0f1ff1005c15f1c10fc0fc00fcffcf110f0000000000001c0f000000000000f00f000000") +const _hex97854 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000c00f0000000000001cf10000000000c011110f0000ff009c1b110f0000ffcf991b11f100001fcf991111f100001f1f1b1111f10000cf5c111111f10000cf5c111911f10000f05cb11911f1ff00f01c111111f1c10f001f111111cccc0f001f11c115ff110f001f111c55ffff0f00c0111c51fcff0f00c0111c51f5ff0f00c01ccc11c5ff00005c1ccc11c10000c05511cc1cc100005c1511fc1cc100005c111ff1cc0c0000fcff1cf1000000000000c0f400000000000000ff00000000") +const _hex97857 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000400f0000000000001c0f000000fcffcf110f0000005c15f1c10fc0fc00cc5511cc0f1ff100c05c15c1fc11f10000cc1cc11c11f10000c01cc11111f10f00c011c11151fcff00c011c11155ffff001f11115cf5ffff001f111151ff1ff1001f111111fcccfcf01c111111f1c10fcf5c119b11f1ff00cf5c119111f100001f5c151111f100001f1fb51111f10000ffcf9b1911f10000ffc099b911f1000000009c1b110f00000000c011110f00000000001cf1000000000000c00f000000") +const _hex97859 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000ff000000000000c0f100000000fcff1cf1000000005c111ff1cc0c00005c1511fc1cc10000c05511cc1cc10000005c1ccc11c1000000c01ccc1145ff0000c0111c51f5ff0f00c0111c51fcff0f001f111c55ffff0f001f11c115ff110f001f111111cccc0ff01c111111f1c10ff05cb11911f1ff00cf5c111911f10000cf5c111111f100001f1f1b1111f100001fcf991111f10000ffcf991b11f10000f4009c1b110f00000000c011110f00000000001cf1000000000000400f000000") +const _hex97862 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000500f0000000000002cf20000000000c022220f000000009c2b220f0000ffc099b922f200005fcf9b1922f200002f2fb41122f200002f4c241122f20000cf4c229122f20000cf4c229b22f2ff00f02c222222f2c20f002f222222fcccfc002f222242ff2ff2002f22224cf4ffff00c022c22244ffff00c022c22242f5ff00c02cc22222f20f00cc2cc22c22f200c04c24c2fc22f200cc4422cc0f2ff2004c24f2c20fc0fc00fcffcf220f0000000000002c0f000000000000f00f000000") +const _hex97864 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000c00f0000000000002cf20000000000c022220f0000ff009c2b220f0000ffcf992b22f200002fcf992122f200002f2f1b2122f20000cf4c122122f20000cf4c122922f20000f04cb22922f2ff00f02c222222f2c20f002f222222cccc0f002f22c224ff220f002f222c44ffff0f00c0222c42fcff0f00c0222c42f4ff0f00c02ccc22c4ff00004c2ccc22c20000c04422cc2cc200004c2422fc2cc200004c222ff2cc0c0000fcff2cf2000000000000c0f2000000000000005f00000000") +const _hex97867 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000f00f0000000000002c0f000000fcffcf220f0000004c24f2c20fc0fc00cc4422cc0f2ff200c04c24c2fc22f20000cc2cc22c22f20000c02cc22222f20f00c022c22242f5ff00c022c22244ffff002f22224cf4ffff002f222242ff2ff2002f222222fcccfcf02c222222f2c20fcf4c229b22f2ff00cf4c229122f200002f4c241122f200002f2fb41122f200005fcf9b1922f20000ffc099b922f2000000009c2b220f00000000c022220f00000000002cf2000000000000c005000000") +const _hex97869 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000f5000000000000c0f200000000fcff2cf20000000044222ff2cc0c00004c2422fc2cc20000c04422cc2cc20000004c2ccc22c2000000c02ccc22c4ff0000c0222c42f4ff0f00c0222c42fcff0f002f222c44ffff0f002f22c224ff220f002f222222cccc0ff02c222222f2c20ff04cb22922f2ff00cf4c122922f20000cf4c122122f200002f2f1b2122f200002fcf992122f20000ffcf992b22f20000ff009c2b220f00000000c022220f00000000002cf2000000000000c00f000000") +const _hex97872 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000f00f000000000000800f0000000050ff8f0f000000008018820fb0fb00000088820fbff80000008088fbbbf80000000088bbbbf800000000b8bbbbf800000000b8bb8bf9000000f0b8bb880f000000f0b882f8000000008f188bff0f0000008fbbbbfb0c0000f08bbbbbf8000000bffbbbb9f80f0000bffbbbb9f80c0000bffbbbbdf8000000bfffbbbdf80000009f8fbfbdf8000000ff001fbbf80000000000bfbb0f0000000000bf8b0f0000000000f0fb000000000000f00f000000") +const _hex97874 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000f00f000000000000800f00000000f0ff8f0f000000008018820fbb0f0000008882ff8b0f0000008088bb8b0f0000000088bb8b0f00000000b8bb8b0f00000000b8bb980f00000000b88bf80000000000bf82f800000000f01f8bff0f000000ffbbbbfb0c000000ffbbbbf8000000f0fb9bbbf80f0000f0fb9bbbf80c0000f0fb9bbbf8000000f0fb9bbbf8000000f089dfbbf8000000f00fbfbbf80000000000bfbb0f0000000000bf8b0f0000000000f0fb000000000000f00f000000") +const _hex97877 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000f00f000000000000f0fb000000000000bf8b0f0000000000bfbb0f000000ff001fbbf80000009f8fbfbdf8000000bfffbbbdf8000000bffbbbbdf8000000bffbbbb9f80c0000bffbbbb9f80f0000f08bbbbbf8000000008fbbbbfb0c0000008f188bff0f000000f0b882f800000000f0b8bb880f00000000b8bb8bf900000000b8bbbbf80000000088bbbbf80000008088fbbbf800000088820fbff800008018820fb0fb000050ff8f0f000000000000800f000000000000f00f000000") +const _hex97879 = pxsim.BufferMethods.createBufferFromHex("8704180010000000000000f00f000000000000f0fb000000000000bf8b0f0000000000bfbb0f000000f00fbfbbf8000000f089dfbbf8000000f0fb9bbbf8000000f0fb9bbbf8000000f0fb9bbbf80c0000f0fb9bbbf80f000000ffbbbbf800000000ffbbbbfb0c000000f01f8bff0f00000000bf82f80000000000b88bf80000000000b8bb980f00000000b8bb8b0f0000000088bb8b0f0000008088bb8b0f0000008882ff8b0f00008018820fbb0f0000f0ff8f0f000000000000800f000000000000f00f000000") -function myImages_inline__P7407(s) { +function myImages_inline__P97882(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2879,7 +2879,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_stringTrim__P123_mk(s); + s.tmp_0 = helpers_stringTrim__P53135_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 104; s.pc = 1; return s.tmp_0; case 1: @@ -2888,12 +2888,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -myImages_inline__P7407.info = {"start":36044,"length":105,"line":1177,"column":37,"endLine":1182,"endColumn":5,"fileName":"images.g.ts","functionName":"inline","argumentNames":["name"]} +myImages_inline__P97882.info = {"start":36044,"length":105,"line":1177,"column":37,"endLine":1182,"endColumn":5,"fileName":"images.g.ts","functionName":"inline","argumentNames":["name"]} -function myImages_inline__P7407_mk(s) { +function myImages_inline__P97882_mk(s) { checkStack(s.depth); return { - parent: s, fn: myImages_inline__P7407, depth: s.depth + 1, + parent: s, fn: myImages_inline__P97882, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -2903,7 +2903,7 @@ function myImages_inline__P7407_mk(s) { -function on_b_repeated__P101093(s) { +function on_b_pressed__P97090(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2913,12 +2913,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.setting_level___101096 != 1); + r0 = (globals.setting_level___97093 != 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = Sprite_sayText__P2392_mk(s); - s.tmp_1.arg0 = globals.fire_plane___101100; + s.tmp_1 = Sprite_sayText__P55404_mk(s); + s.tmp_1.arg0 = globals.fire_plane___97097; s.tmp_1.arg1 = "Som-hi!!"; s.tmp_1.arg2 = 500; s.tmp_1.arg3 = true; @@ -2927,8 +2927,8 @@ switch (step) { s.callLocIdx = 108; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = controller_moveSprite__P2148_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + s.tmp_0 = controller_moveSprite__P55160_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = 150; s.tmp_0.arg2 = 150; s.callLocIdx = 109; s.pc = 4; return s.tmp_0; @@ -2940,12 +2940,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -on_b_repeated__P101093.info = {"start":175,"length":171,"line":5,"column":52,"endLine":11,"endColumn":1,"fileName":"main.ts","functionName":"on_b_repeated","argumentNames":[]} +on_b_pressed__P97090.info = {"start":175,"length":170,"line":5,"column":52,"endLine":11,"endColumn":1,"fileName":"main.ts","functionName":"on_b_pressed","argumentNames":[]} -function on_b_repeated__P101093_mk(s) { +function on_b_pressed__P97090_mk(s) { checkStack(s.depth); return { - parent: s, fn: on_b_repeated__P101093, depth: s.depth + 1, + parent: s, fn: on_b_pressed__P97090, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2955,7 +2955,7 @@ function on_b_repeated__P101093_mk(s) { -function on_b_released__P101107(s) { +function on_b_released__P97104(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2965,12 +2965,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.setting_level___101096 != 1); + r0 = (globals.setting_level___97093 != 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = controller_moveSprite__P2148_mk(s); - s.tmp_1.arg0 = globals.fire_plane___101100; + s.tmp_1 = controller_moveSprite__P55160_mk(s); + s.tmp_1.arg0 = globals.fire_plane___97097; s.tmp_1.arg1 = 100; s.tmp_1.arg2 = 100; s.callLocIdx = 111; s.pc = 3; return s.tmp_1; @@ -2982,12 +2982,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -on_b_released__P101107.info = {"start":401,"length":121,"line":12,"column":53,"endLine":17,"endColumn":1,"fileName":"main.ts","functionName":"on_b_released","argumentNames":[]} +on_b_released__P97104.info = {"start":400,"length":121,"line":12,"column":53,"endLine":17,"endColumn":1,"fileName":"main.ts","functionName":"on_b_released","argumentNames":[]} -function on_b_released__P101107_mk(s) { +function on_b_released__P97104_mk(s) { checkStack(s.depth); return { - parent: s, fn: on_b_released__P101107, depth: s.depth + 1, + parent: s, fn: on_b_released__P97104, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2997,7 +2997,7 @@ function on_b_released__P101107_mk(s) { -function on_a_pressed__P101174(s) { +function on_a_pressed__P97171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3007,13 +3007,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.setting_level___101096 != 1); + r0 = (globals.setting_level___97093 != 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = sprites_spray__P4414_mk(s); - s.tmp_1.arg0 = globals.fire_plane___101100; - s.tmp_2 = helpers_getImageByName__P3316_mk(s); + s.tmp_1 = sprites_spray__P57427_mk(s); + s.tmp_1.arg0 = globals.fire_plane___97097; + s.tmp_2 = helpers_getImageByName__P56328_mk(s); s.tmp_2.arg0 = "\n water\n "; s.callLocIdx = 134; s.pc = 4; return s.tmp_2; case 4: @@ -3022,8 +3022,8 @@ switch (step) { s.callLocIdx = 135; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = music_play__P1907_mk(s); - s.tmp_1 = music_createSoundEffect__P1778_mk(s); + s.tmp_0 = music_play__P54919_mk(s); + s.tmp_1 = music_createSoundEffect__P54790_mk(s); s.tmp_1.arg0 = 0; s.tmp_1.arg1 = 200; s.tmp_1.arg2 = 600; @@ -3046,12 +3046,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -on_a_pressed__P101174.info = {"start":1624,"length":316,"line":52,"column":52,"endLine":60,"endColumn":1,"fileName":"main.ts","functionName":"on_a_pressed","argumentNames":[]} +on_a_pressed__P97171.info = {"start":1623,"length":316,"line":52,"column":52,"endLine":60,"endColumn":1,"fileName":"main.ts","functionName":"on_a_pressed","argumentNames":[]} -function on_a_pressed__P101174_mk(s) { +function on_a_pressed__P97171_mk(s) { checkStack(s.depth); return { - parent: s, fn: on_a_pressed__P101174, depth: s.depth + 1, + parent: s, fn: on_a_pressed__P97171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3062,7 +3062,7 @@ function on_a_pressed__P101174_mk(s) { -function on_fire_created__P101229(s) { +function on_fire_created__P97226(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3076,22 +3076,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_createParticleEffectAtLocation__P4403_mk(s); + s.tmp_0 = scene_createParticleEffectAtLocation__P57416_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.fire___3258; + s.tmp_0.arg1 = globals.fire___56270; s.tmp_0.arg2 = undefined; s.callLocIdx = 159; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_set_flame_strength__P4412_mk(s); + s.tmp_0 = sprites_set_flame_strength__P57425_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.Math_.randomRange(15, 25); s.tmp_0.arg1 = r0; s.callLocIdx = 160; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = music_Melody_play__P1633_mk(s); - s.tmp_0.arg0 = globals.knock___1655; + s.tmp_0 = music_Melody_play__P54645_mk(s); + s.tmp_0.arg0 = globals.knock___54667; s.tmp_0.arg1 = 255; s.callLocIdx = 161; s.pc = 3; return s.tmp_0; case 3: @@ -3100,12 +3100,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -on_fire_created__P101229.info = {"start":2871,"length":200,"line":91,"column":24,"endLine":95,"endColumn":1,"fileName":"main.ts","functionName":"on_fire_created","argumentNames":["location"]} +on_fire_created__P97226.info = {"start":2872,"length":200,"line":91,"column":24,"endLine":95,"endColumn":1,"fileName":"main.ts","functionName":"on_fire_created","argumentNames":["location"]} -function on_fire_created__P101229_mk(s) { +function on_fire_created__P97226_mk(s) { checkStack(s.depth); return { - parent: s, fn: on_fire_created__P101229, depth: s.depth + 1, + parent: s, fn: on_fire_created__P97226, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3115,7 +3115,7 @@ function on_fire_created__P101229_mk(s) { -function on_left_pressed__P101244(s) { +function on_left_pressed__P97241(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3125,13 +3125,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.setting_plane___101247 == 1); + r0 = (globals.setting_plane___97244 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = animation_runImageAnimation__P3342_mk(s); - s.tmp_1.arg0 = globals.monkey___101251; - s.tmp_2 = helpers_getAnimationByName__P3317_mk(s); + s.tmp_1 = animation_runImageAnimation__P56354_mk(s); + s.tmp_1.arg0 = globals.monkey___97248; + s.tmp_2 = helpers_getAnimationByName__P56329_mk(s); s.tmp_2.arg0 = "\n monkey_left\n "; s.callLocIdx = 163; s.pc = 12; return s.tmp_2; case 12: @@ -3144,13 +3144,13 @@ switch (step) { r0 = s.retval; { step = 10; continue; } case 1: - r0 = (globals.chosen_plane___101257 == 1); + r0 = (globals.chosen_plane___97254 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = animation_runImageAnimation__P3342_mk(s); - s.tmp_1.arg0 = globals.fire_plane___101100; - s.tmp_2 = helpers_getAnimationByName__P3317_mk(s); + s.tmp_1 = animation_runImageAnimation__P56354_mk(s); + s.tmp_1.arg0 = globals.fire_plane___97097; + s.tmp_2 = helpers_getAnimationByName__P56329_mk(s); s.tmp_2.arg0 = "\n red_plane_left\n "; s.callLocIdx = 165; s.pc = 14; return s.tmp_2; case 14: @@ -3163,13 +3163,13 @@ switch (step) { r0 = s.retval; { step = 9; continue; } case 2: - r0 = (globals.chosen_plane___101257 == 2); + r0 = (globals.chosen_plane___97254 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = animation_runImageAnimation__P3342_mk(s); - s.tmp_1.arg0 = globals.fire_plane___101100; - s.tmp_2 = helpers_getAnimationByName__P3317_mk(s); + s.tmp_1 = animation_runImageAnimation__P56354_mk(s); + s.tmp_1.arg0 = globals.fire_plane___97097; + s.tmp_2 = helpers_getAnimationByName__P56329_mk(s); s.tmp_2.arg0 = "\n ryanair_left\n "; s.callLocIdx = 167; s.pc = 16; return s.tmp_2; case 16: @@ -3182,13 +3182,13 @@ switch (step) { r0 = s.retval; { step = 8; continue; } case 3: - r0 = (globals.chosen_plane___101257 == 3); + r0 = (globals.chosen_plane___97254 == 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = animation_runImageAnimation__P3342_mk(s); - s.tmp_1.arg0 = globals.fire_plane___101100; - s.tmp_2 = helpers_getAnimationByName__P3317_mk(s); + s.tmp_1 = animation_runImageAnimation__P56354_mk(s); + s.tmp_1.arg0 = globals.fire_plane___97097; + s.tmp_2 = helpers_getAnimationByName__P56329_mk(s); s.tmp_2.arg0 = "\n vueling_left\n "; s.callLocIdx = 169; s.pc = 18; return s.tmp_2; case 18: @@ -3201,13 +3201,13 @@ switch (step) { r0 = s.retval; { step = 7; continue; } case 4: - r0 = (globals.chosen_plane___101257 == 4); + r0 = (globals.chosen_plane___97254 == 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = animation_runImageAnimation__P3342_mk(s); - s.tmp_1.arg0 = globals.fire_plane___101100; - s.tmp_2 = helpers_getAnimationByName__P3317_mk(s); + s.tmp_1 = animation_runImageAnimation__P56354_mk(s); + s.tmp_1.arg0 = globals.fire_plane___97097; + s.tmp_2 = helpers_getAnimationByName__P56329_mk(s); s.tmp_2.arg0 = "\n aalines_left\n "; s.callLocIdx = 171; s.pc = 20; return s.tmp_2; case 20: @@ -3228,12 +3228,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -on_left_pressed__P101244.info = {"start":3128,"length":849,"line":96,"column":55,"endLine":119,"endColumn":1,"fileName":"main.ts","functionName":"on_left_pressed","argumentNames":[]} +on_left_pressed__P97241.info = {"start":3129,"length":849,"line":96,"column":55,"endLine":119,"endColumn":1,"fileName":"main.ts","functionName":"on_left_pressed","argumentNames":[]} -function on_left_pressed__P101244_mk(s) { +function on_left_pressed__P97241_mk(s) { checkStack(s.depth); return { - parent: s, fn: on_left_pressed__P101244, depth: s.depth + 1, + parent: s, fn: on_left_pressed__P97241, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3244,7 +3244,7 @@ function on_left_pressed__P101244_mk(s) { -function on_right_pressed__P101317(s) { +function on_right_pressed__P97314(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3254,13 +3254,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.setting_plane___101247 == 1); + r0 = (globals.setting_plane___97244 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = animation_runImageAnimation__P3342_mk(s); - s.tmp_1.arg0 = globals.monkey___101251; - s.tmp_2 = helpers_getAnimationByName__P3317_mk(s); + s.tmp_1 = animation_runImageAnimation__P56354_mk(s); + s.tmp_1.arg0 = globals.monkey___97248; + s.tmp_2 = helpers_getAnimationByName__P56329_mk(s); s.tmp_2.arg0 = "\n monkey_right\n "; s.callLocIdx = 185; s.pc = 12; return s.tmp_2; case 12: @@ -3273,13 +3273,13 @@ switch (step) { r0 = s.retval; { step = 10; continue; } case 1: - r0 = (globals.chosen_plane___101257 == 1); + r0 = (globals.chosen_plane___97254 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = animation_runImageAnimation__P3342_mk(s); - s.tmp_1.arg0 = globals.fire_plane___101100; - s.tmp_2 = helpers_getAnimationByName__P3317_mk(s); + s.tmp_1 = animation_runImageAnimation__P56354_mk(s); + s.tmp_1.arg0 = globals.fire_plane___97097; + s.tmp_2 = helpers_getAnimationByName__P56329_mk(s); s.tmp_2.arg0 = "\n red_plane_right\n "; s.callLocIdx = 187; s.pc = 14; return s.tmp_2; case 14: @@ -3292,13 +3292,13 @@ switch (step) { r0 = s.retval; { step = 9; continue; } case 2: - r0 = (globals.chosen_plane___101257 == 2); + r0 = (globals.chosen_plane___97254 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = animation_runImageAnimation__P3342_mk(s); - s.tmp_1.arg0 = globals.fire_plane___101100; - s.tmp_2 = helpers_getAnimationByName__P3317_mk(s); + s.tmp_1 = animation_runImageAnimation__P56354_mk(s); + s.tmp_1.arg0 = globals.fire_plane___97097; + s.tmp_2 = helpers_getAnimationByName__P56329_mk(s); s.tmp_2.arg0 = "\n ryanair_right\n "; s.callLocIdx = 189; s.pc = 16; return s.tmp_2; case 16: @@ -3311,13 +3311,13 @@ switch (step) { r0 = s.retval; { step = 8; continue; } case 3: - r0 = (globals.chosen_plane___101257 == 3); + r0 = (globals.chosen_plane___97254 == 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = animation_runImageAnimation__P3342_mk(s); - s.tmp_1.arg0 = globals.fire_plane___101100; - s.tmp_2 = helpers_getAnimationByName__P3317_mk(s); + s.tmp_1 = animation_runImageAnimation__P56354_mk(s); + s.tmp_1.arg0 = globals.fire_plane___97097; + s.tmp_2 = helpers_getAnimationByName__P56329_mk(s); s.tmp_2.arg0 = "\n vueling_right\n "; s.callLocIdx = 191; s.pc = 18; return s.tmp_2; case 18: @@ -3330,13 +3330,13 @@ switch (step) { r0 = s.retval; { step = 7; continue; } case 4: - r0 = (globals.chosen_plane___101257 == 4); + r0 = (globals.chosen_plane___97254 == 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = animation_runImageAnimation__P3342_mk(s); - s.tmp_1.arg0 = globals.fire_plane___101100; - s.tmp_2 = helpers_getAnimationByName__P3317_mk(s); + s.tmp_1 = animation_runImageAnimation__P56354_mk(s); + s.tmp_1.arg0 = globals.fire_plane___97097; + s.tmp_2 = helpers_getAnimationByName__P56329_mk(s); s.tmp_2.arg0 = "\n aalines_right\n "; s.callLocIdx = 193; s.pc = 20; return s.tmp_2; case 20: @@ -3357,12 +3357,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -on_right_pressed__P101317.info = {"start":4762,"length":855,"line":143,"column":56,"endLine":166,"endColumn":1,"fileName":"main.ts","functionName":"on_right_pressed","argumentNames":[]} +on_right_pressed__P97314.info = {"start":4762,"length":855,"line":143,"column":56,"endLine":166,"endColumn":1,"fileName":"main.ts","functionName":"on_right_pressed","argumentNames":[]} -function on_right_pressed__P101317_mk(s) { +function on_right_pressed__P97314_mk(s) { checkStack(s.depth); return { - parent: s, fn: on_right_pressed__P101317, depth: s.depth + 1, + parent: s, fn: on_right_pressed__P97314, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3373,7 +3373,7 @@ function on_right_pressed__P101317_mk(s) { -function on_on_overlap__P101351(s) { +function on_on_overlap_plane__P97348(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3388,15 +3388,15 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_startEffect__P2393_mk(s); + s.tmp_0 = Sprite_startEffect__P55405_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = globals.confetti___3254; + s.tmp_0.arg1 = globals.confetti___56266; s.tmp_0.arg2 = 500; s.callLocIdx = 196; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = Sprite_sayText__P2392_mk(s); - s.tmp_0.arg0 = globals.monkey___101251; + s.tmp_0 = Sprite_sayText__P55404_mk(s); + s.tmp_0.arg0 = globals.monkey___97248; s.tmp_0.arg1 = "Prem A per confirmar"; s.tmp_0.arg2 = 800; s.tmp_0.arg3 = false; @@ -3405,16 +3405,16 @@ switch (step) { s.callLocIdx = 197; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - r0 = (s.arg1 == globals.red_plane___101363); + r0 = (s.arg1 == globals.red_plane___97360); 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: - s.tmp_1 = controller_Button__C2170_v0_1_mk(s); - s.tmp_1.arg0 = globals.A___2094; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C55182_v0_1_mk(s); + s.tmp_1.arg0 = globals.A___55106; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 19; return s.tmp_1; case 19: @@ -3424,48 +3424,48 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_3 = sprites_create__P2256_mk(s); - s.tmp_4 = helpers_getImageByName__P3316_mk(s); + s.tmp_3 = sprites_create__P55268_mk(s); + s.tmp_4 = helpers_getImageByName__P56328_mk(s); s.tmp_4.arg0 = "Fire Plane 2 Right"; s.callLocIdx = 198; s.pc = 21; return s.tmp_4; case 21: r0 = s.retval; s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = globals.Player___2460; + s.tmp_3.arg1 = globals.Player___55472; s.callLocIdx = 199; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - globals.fire_plane___101100 = (r0); - s.tmp_0 = Sprite_setPosition__P2389_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + globals.fire_plane___97097 = (r0); + s.tmp_0 = Sprite_setPosition__P55401_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = 50; s.tmp_0.arg2 = 20; s.callLocIdx = 200; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.tmp_0 = effects_clearParticles__P3250_mk(s); + s.tmp_0 = effects_clearParticles__P56262_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 201; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - globals.chosen_plane___101257 = (1); - globals.setting_plane___101247 = (0); - s.tmp_0 = choose_plane__P101379_mk(s); + globals.chosen_plane___97254 = (1); + globals.setting_plane___97244 = (0); + s.tmp_0 = choose_plane__P97376_mk(s); s.callLocIdx = 202; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; { step = 16; continue; } case 3: - r0 = (s.arg1 == globals.ryanair_plane___101384); + r0 = (s.arg1 == globals.ryanair_plane___97381); 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: - s.tmp_1 = controller_Button__C2170_v0_1_mk(s); - s.tmp_1.arg0 = globals.A___2094; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C55182_v0_1_mk(s); + s.tmp_1.arg0 = globals.A___55106; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 25; return s.tmp_1; case 25: @@ -3475,48 +3475,48 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } - s.tmp_3 = sprites_create__P2256_mk(s); - s.tmp_4 = helpers_getImageByName__P3316_mk(s); + s.tmp_3 = sprites_create__P55268_mk(s); + s.tmp_4 = helpers_getImageByName__P56328_mk(s); s.tmp_4.arg0 = "ryanair"; s.callLocIdx = 203; s.pc = 27; return s.tmp_4; case 27: r0 = s.retval; s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = globals.Player___2460; + s.tmp_3.arg1 = globals.Player___55472; s.callLocIdx = 204; s.pc = 26; return s.tmp_3; case 26: r0 = s.retval; - globals.fire_plane___101100 = (r0); - s.tmp_0 = Sprite_setPosition__P2389_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + globals.fire_plane___97097 = (r0); + s.tmp_0 = Sprite_setPosition__P55401_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = 75; s.tmp_0.arg2 = 52; s.callLocIdx = 205; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.tmp_0 = effects_clearParticles__P3250_mk(s); + s.tmp_0 = effects_clearParticles__P56262_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 206; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - globals.chosen_plane___101257 = (2); - globals.setting_plane___101247 = (0); - s.tmp_0 = choose_plane__P101379_mk(s); + globals.chosen_plane___97254 = (2); + globals.setting_plane___97244 = (0); + s.tmp_0 = choose_plane__P97376_mk(s); s.callLocIdx = 207; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; { step = 15; continue; } case 6: - r0 = (s.arg1 == globals.vueling_plane___101404); + r0 = (s.arg1 == globals.vueling_plane___97401); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 7; continue; } r0 = s.tmp_0; { step = 8; continue; } case 7: - s.tmp_1 = controller_Button__C2170_v0_1_mk(s); - s.tmp_1.arg0 = globals.A___2094; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C55182_v0_1_mk(s); + s.tmp_1.arg0 = globals.A___55106; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C55182_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: @@ -3526,48 +3526,48 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 9; continue; } - s.tmp_3 = sprites_create__P2256_mk(s); - s.tmp_4 = helpers_getImageByName__P3316_mk(s); + s.tmp_3 = sprites_create__P55268_mk(s); + s.tmp_4 = helpers_getImageByName__P56328_mk(s); s.tmp_4.arg0 = "vuelingair"; s.callLocIdx = 208; s.pc = 33; return s.tmp_4; case 33: r0 = s.retval; s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = globals.Player___2460; + s.tmp_3.arg1 = globals.Player___55472; s.callLocIdx = 209; s.pc = 32; return s.tmp_3; case 32: r0 = s.retval; - globals.fire_plane___101100 = (r0); - s.tmp_0 = Sprite_setPosition__P2389_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + globals.fire_plane___97097 = (r0); + s.tmp_0 = Sprite_setPosition__P55401_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = 120; s.tmp_0.arg2 = 85; s.callLocIdx = 210; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.tmp_0 = effects_clearParticles__P3250_mk(s); + s.tmp_0 = effects_clearParticles__P56262_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 211; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - globals.chosen_plane___101257 = (3); - globals.setting_plane___101247 = (0); - s.tmp_0 = choose_plane__P101379_mk(s); + globals.chosen_plane___97254 = (3); + globals.setting_plane___97244 = (0); + s.tmp_0 = choose_plane__P97376_mk(s); s.callLocIdx = 212; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; { step = 14; continue; } case 9: - r0 = (s.arg1 == globals.aalines_plane___101424); + r0 = (s.arg1 == globals.aalines_plane___97421); 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 = controller_Button__C2170_v0_1_mk(s); - s.tmp_1.arg0 = globals.A___2094; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C55182_v0_1_mk(s); + s.tmp_1.arg0 = globals.A___55106; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 37; return s.tmp_1; case 37: @@ -3577,33 +3577,33 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 12; continue; } - s.tmp_3 = sprites_create__P2256_mk(s); - s.tmp_4 = helpers_getImageByName__P3316_mk(s); + s.tmp_3 = sprites_create__P55268_mk(s); + s.tmp_4 = helpers_getImageByName__P56328_mk(s); s.tmp_4.arg0 = "aalines"; s.callLocIdx = 213; s.pc = 39; return s.tmp_4; case 39: r0 = s.retval; s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = globals.Player___2460; + s.tmp_3.arg1 = globals.Player___55472; s.callLocIdx = 214; s.pc = 38; return s.tmp_3; case 38: r0 = s.retval; - globals.fire_plane___101100 = (r0); - s.tmp_0 = Sprite_setPosition__P2389_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + globals.fire_plane___97097 = (r0); + s.tmp_0 = Sprite_setPosition__P55401_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = 85; s.tmp_0.arg2 = 112; s.callLocIdx = 215; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.tmp_0 = effects_clearParticles__P3250_mk(s); + s.tmp_0 = effects_clearParticles__P56262_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 216; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - globals.chosen_plane___101257 = (4); - globals.setting_plane___101247 = (0); - s.tmp_0 = choose_plane__P101379_mk(s); + globals.chosen_plane___97254 = (4); + globals.setting_plane___97244 = (0); + s.tmp_0 = choose_plane__P97376_mk(s); s.callLocIdx = 217; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; @@ -3616,12 +3616,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -on_on_overlap__P101351.info = {"start":5680,"length":1523,"line":167,"column":61,"endLine":205,"endColumn":1,"fileName":"main.ts","functionName":"on_on_overlap","argumentNames":["sprite3","otherSprite2"]} +on_on_overlap_plane__P97348.info = {"start":5680,"length":1529,"line":167,"column":61,"endLine":205,"endColumn":1,"fileName":"main.ts","functionName":"on_on_overlap_plane","argumentNames":["sprite3","otherSprite2"]} -function on_on_overlap__P101351_mk(s) { +function on_on_overlap_plane__P97348_mk(s) { checkStack(s.depth); return { - parent: s, fn: on_on_overlap__P101351, depth: s.depth + 1, + parent: s, fn: on_on_overlap_plane__P97348, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3636,7 +3636,7 @@ function on_on_overlap__P101351_mk(s) { -function on_fire_destroyed__P101531(s) { +function on_fire_destroyed__P97528(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3650,14 +3650,14 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_clearParticleEffectsAtLocation__P4404_mk(s); + s.tmp_0 = scene_clearParticleEffectsAtLocation__P57417_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 257; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = tiles_setTileAt__P2745_mk(s); + s.tmp_0 = tiles_setTileAt__P55757_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = helpers_getTileByName__P3318_mk(s); + s.tmp_1 = helpers_getTileByName__P56330_mk(s); s.tmp_1.arg0 = "\n burnt tree\n "; s.callLocIdx = 258; s.pc = 3; return s.tmp_1; case 3: @@ -3666,8 +3666,8 @@ switch (step) { s.callLocIdx = 259; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = music_Melody_play__P1633_mk(s); - s.tmp_0.arg0 = globals.thump___1657; + s.tmp_0 = music_Melody_play__P54645_mk(s); + s.tmp_0.arg0 = globals.thump___54669; s.tmp_0.arg1 = 255; s.callLocIdx = 260; s.pc = 4; return s.tmp_0; case 4: @@ -3676,12 +3676,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -on_fire_destroyed__P101531.info = {"start":8942,"length":202,"line":256,"column":26,"endLine":262,"endColumn":1,"fileName":"main.ts","functionName":"on_fire_destroyed","argumentNames":["location2"]} +on_fire_destroyed__P97528.info = {"start":9011,"length":202,"line":257,"column":26,"endLine":263,"endColumn":1,"fileName":"main.ts","functionName":"on_fire_destroyed","argumentNames":["location2"]} -function on_fire_destroyed__P101531_mk(s) { +function on_fire_destroyed__P97528_mk(s) { checkStack(s.depth); return { - parent: s, fn: on_fire_destroyed__P101531, depth: s.depth + 1, + parent: s, fn: on_fire_destroyed__P97528, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3692,7 +3692,7 @@ function on_fire_destroyed__P101531_mk(s) { -function on_life_zero__P101542(s) { +function on_life_zero__P97539(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3702,12 +3702,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_gameOver__P2993_mk(s); + s.tmp_0 = game_gameOver__P56005_mk(s); s.tmp_0.arg0 = false; s.callLocIdx = 262; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_setGameOverMessage__P2989_mk(s); + s.tmp_0 = game_setGameOverMessage__P56001_mk(s); s.tmp_0.arg0 = false; s.tmp_0.arg1 = "S'ha cremat tot!!!"; s.callLocIdx = 263; s.pc = 2; return s.tmp_0; @@ -3717,12 +3717,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -on_life_zero__P101542.info = {"start":9162,"length":109,"line":263,"column":16,"endLine":266,"endColumn":1,"fileName":"main.ts","functionName":"on_life_zero","argumentNames":[]} +on_life_zero__P97539.info = {"start":9231,"length":109,"line":264,"column":16,"endLine":267,"endColumn":1,"fileName":"main.ts","functionName":"on_life_zero","argumentNames":[]} -function on_life_zero__P101542_mk(s) { +function on_life_zero__P97539_mk(s) { checkStack(s.depth); return { - parent: s, fn: on_life_zero__P101542, depth: s.depth + 1, + parent: s, fn: on_life_zero__P97539, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -3731,7 +3731,7 @@ function on_life_zero__P101542_mk(s) { -function on_a_repeated__P101548(s) { +function on_a_repeated__P97545(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3741,13 +3741,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.setting_level___101096 != 1); + r0 = (globals.setting_level___97093 != 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = sprites_spray__P4414_mk(s); - s.tmp_1.arg0 = globals.fire_plane___101100; - s.tmp_2 = helpers_getImageByName__P3316_mk(s); + s.tmp_1 = sprites_spray__P57427_mk(s); + s.tmp_1.arg0 = globals.fire_plane___97097; + s.tmp_2 = helpers_getImageByName__P56328_mk(s); s.tmp_2.arg0 = "\n water\n "; s.callLocIdx = 265; s.pc = 4; return s.tmp_2; case 4: @@ -3756,8 +3756,8 @@ switch (step) { s.callLocIdx = 266; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = music_play__P1907_mk(s); - s.tmp_1 = music_createSoundEffect__P1778_mk(s); + s.tmp_0 = music_play__P54919_mk(s); + s.tmp_1 = music_createSoundEffect__P54790_mk(s); s.tmp_1.arg0 = 0; s.tmp_1.arg1 = 200; s.tmp_1.arg2 = 600; @@ -3780,12 +3780,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -on_a_repeated__P101548.info = {"start":9326,"length":317,"line":267,"column":53,"endLine":275,"endColumn":1,"fileName":"main.ts","functionName":"on_a_repeated","argumentNames":[]} +on_a_repeated__P97545.info = {"start":9395,"length":317,"line":268,"column":53,"endLine":276,"endColumn":1,"fileName":"main.ts","functionName":"on_a_repeated","argumentNames":[]} -function on_a_repeated__P101548_mk(s) { +function on_a_repeated__P97545_mk(s) { checkStack(s.depth); return { - parent: s, fn: on_a_repeated__P101548, depth: s.depth + 1, + parent: s, fn: on_a_repeated__P97545, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3796,7 +3796,7 @@ function on_a_repeated__P101548_mk(s) { -function on_overlap_tile__P101565(s) { +function on_overlap_tile__P97562(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3811,14 +3811,14 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_destroy__P2408_mk(s); + s.tmp_0 = Sprite_destroy__P55420_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.ashes___3262; + s.tmp_0.arg1 = globals.ashes___56274; s.tmp_0.arg2 = 500; s.callLocIdx = 271; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_change_flame_strength_by__P4413_mk(s); + s.tmp_0 = sprites_change_flame_strength_by__P57426_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = -1; s.callLocIdx = 272; s.pc = 2; return s.tmp_0; @@ -3828,12 +3828,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -on_overlap_tile__P101565.info = {"start":9721,"length":164,"line":278,"column":7,"endLine":281,"endColumn":1,"fileName":"main.ts","functionName":"on_overlap_tile","argumentNames":["sprite2","location3"]} +on_overlap_tile__P97562.info = {"start":9790,"length":164,"line":279,"column":7,"endLine":282,"endColumn":1,"fileName":"main.ts","functionName":"on_overlap_tile","argumentNames":["sprite2","location3"]} -function on_overlap_tile__P101565_mk(s) { +function on_overlap_tile__P97562_mk(s) { checkStack(s.depth); return { - parent: s, fn: on_overlap_tile__P101565, depth: s.depth + 1, + parent: s, fn: on_overlap_tile__P97562, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -3844,7 +3844,7 @@ function on_overlap_tile__P101565_mk(s) { -function on_on_overlap2__P101578(s) { +function on_on_overlap_level__P97575(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3859,19 +3859,19 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (globals.setting_level___101096 == 1); + r0 = (globals.setting_level___97093 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = Sprite_startEffect__P2393_mk(s); + s.tmp_1 = Sprite_startEffect__P55405_mk(s); s.tmp_1.arg0 = s.arg1; - s.tmp_1.arg1 = globals.halo___3261; + s.tmp_1.arg1 = globals.halo___56273; s.tmp_1.arg2 = 1000; s.callLocIdx = 274; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - s.tmp_0 = Sprite_sayText__P2392_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + s.tmp_0 = Sprite_sayText__P55404_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = "Prem A per confirmar"; s.tmp_0.arg2 = 1000; s.tmp_0.arg3 = false; @@ -3880,16 +3880,16 @@ switch (step) { s.callLocIdx = 275; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - r0 = (s.arg1 == globals.forest_a___101132); + r0 = (s.arg1 == globals.forest_a___97129); 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: - s.tmp_1 = controller_Button__C2170_v0_1_mk(s); - s.tmp_1.arg0 = globals.A___2094; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C55182_v0_1_mk(s); + s.tmp_1.arg0 = globals.A___55106; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 13; return s.tmp_1; case 13: @@ -3899,28 +3899,28 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - globals.chosen_level___101124 = (1); - s.tmp_0 = effects_clearParticles__P3250_mk(s); + globals.chosen_level___97121 = (1); + s.tmp_0 = effects_clearParticles__P56262_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 276; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = choose_level__P101112_mk(s); + s.tmp_0 = choose_level__P97109_mk(s); s.callLocIdx = 277; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; { step = 8; continue; } case 3: - r0 = (s.arg1 == globals.forest_b___101139); + r0 = (s.arg1 == globals.forest_b___97136); 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: - s.tmp_1 = controller_Button__C2170_v0_1_mk(s); - s.tmp_1.arg0 = globals.A___2094; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C55182_v0_1_mk(s); + s.tmp_1.arg0 = globals.A___55106; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 16; return s.tmp_1; case 16: @@ -3930,13 +3930,13 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } - globals.chosen_level___101124 = (2); - s.tmp_0 = effects_clearParticles__P3250_mk(s); + globals.chosen_level___97121 = (2); + s.tmp_0 = effects_clearParticles__P56262_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 278; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = choose_level__P101112_mk(s); + s.tmp_0 = choose_level__P97109_mk(s); s.callLocIdx = 279; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; @@ -3949,12 +3949,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -on_on_overlap2__P101578.info = {"start":9943,"length":594,"line":282,"column":56,"endLine":299,"endColumn":1,"fileName":"main.ts","functionName":"on_on_overlap2","argumentNames":["sprite","otherSprite"]} +on_on_overlap_level__P97575.info = {"start":10012,"length":599,"line":283,"column":56,"endLine":300,"endColumn":1,"fileName":"main.ts","functionName":"on_on_overlap_level","argumentNames":["sprite","otherSprite"]} -function on_on_overlap2__P101578_mk(s) { +function on_on_overlap_level__P97575_mk(s) { checkStack(s.depth); return { - parent: s, fn: on_on_overlap2__P101578, depth: s.depth + 1, + parent: s, fn: on_on_overlap_level__P97575, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3967,7 +3967,7 @@ function on_on_overlap2__P101578_mk(s) { -function on_on_update__P101610(s) { +function on_on_update__P97607(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3977,7 +3977,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = sprites_random_spread__P4415_mk(s); + s.tmp_0 = sprites_random_spread__P57428_mk(s); s.callLocIdx = 282; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -3985,12 +3985,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -on_on_update__P101610.info = {"start":10902,"length":55,"line":313,"column":14,"endLine":315,"endColumn":1,"fileName":"main.ts","functionName":"on_on_update","argumentNames":[]} +on_on_update__P97607.info = {"start":10976,"length":55,"line":314,"column":14,"endLine":316,"endColumn":1,"fileName":"main.ts","functionName":"on_on_update","argumentNames":[]} -function on_on_update__P101610_mk(s) { +function on_on_update__P97607_mk(s) { checkStack(s.depth); return { - parent: s, fn: on_on_update__P101610, depth: s.depth + 1, + parent: s, fn: on_on_update__P97607, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -3999,7 +3999,7 @@ function on_on_update__P101610_mk(s) { -function sprites_random_spread__P4415(s) { +function sprites_random_spread__P57428(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4009,20 +4009,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = forestFire_updateFireSpread__P4426_mk(s); - s.callLocIdx = 2352; s.pc = 1; return s.tmp_0; + s.tmp_0 = forestFire_updateFireSpread__P57439_mk(s); + s.callLocIdx = 2353; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_random_spread__P4415.info = {"start":3981,"length":78,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"random_spread","argumentNames":[]} +sprites_random_spread__P57428.info = {"start":3981,"length":78,"line":136,"column":4,"endLine":138,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"random_spread","argumentNames":[]} -function sprites_random_spread__P4415_mk(s) { +function sprites_random_spread__P57428_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_random_spread__P4415, depth: s.depth + 1, + parent: s, fn: sprites_random_spread__P57428, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -4031,7 +4031,7 @@ function sprites_random_spread__P4415_mk(s) { -function forestFire_updateFireSpread__P4426(s) { +function forestFire_updateFireSpread__P57439(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4041,21 +4041,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = forestFire_FireState_update__P7152_mk(s); - s.tmp_0.arg0 = globals.state___7161; - s.callLocIdx = 2419; s.pc = 1; return s.tmp_0; + s.tmp_0 = forestFire_FireState_update__P60165_mk(s); + s.tmp_0.arg0 = globals.state___60174; + s.callLocIdx = 2420; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -forestFire_updateFireSpread__P4426.info = {"start":11504,"length":66,"line":309,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"updateFireSpread","argumentNames":[]} +forestFire_updateFireSpread__P57439.info = {"start":11504,"length":66,"line":309,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"updateFireSpread","argumentNames":[]} -function forestFire_updateFireSpread__P4426_mk(s) { +function forestFire_updateFireSpread__P57439_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_updateFireSpread__P4426, depth: s.depth + 1, + parent: s, fn: forestFire_updateFireSpread__P57439, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -4064,7 +4064,7 @@ function forestFire_updateFireSpread__P4426_mk(s) { -function forestFire_FireState_update__P7152(s) { +function forestFire_FireState_update__P60165(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4074,49 +4074,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___7918 = undefined; - s.tmWidth___7922 = undefined; - s.tmHeight___7929 = undefined; - s.old___7948 = undefined; - s.oldHealth___7962 = undefined; + s.tm___60946 = undefined; + s.tmWidth___60950 = undefined; + s.tmHeight___60957 = undefined; + s.old___60976 = undefined; + s.oldHealth___60990 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, forestFire_FireState__C7146_VT)) failedCast(r0); + if (!checkSubtype(r0, forestFire_FireState__C60159_VT)) failedCast(r0); r0 = (s.arg0).fields["updateHasBeenCalled"] = (true); - s.tmp_0 = game_currentScene__P2979_mk(s); - s.callLocIdx = 2380; s.pc = 7; return s.tmp_0; + s.tmp_0 = game_currentScene__P55991_mk(s); + s.callLocIdx = 2381; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___7918 = (r0); - s.tmp_1 = tiles_TileMap_areaWidth__P2723_mk(s); - s.tmp_1.arg0 = s.tm___7918; - s.callLocIdx = 2381; s.pc = 8; return s.tmp_1; + s.tm___60946 = (r0); + s.tmp_1 = tiles_TileMap_areaWidth__P55735_mk(s); + s.tmp_1.arg0 = s.tm___60946; + s.callLocIdx = 2382; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0 = r0; - r0 = s.tm___7918.fields["_scale"]; + r0 = s.tm___60946.fields["_scale"]; s.tmp_2 = r0; r0 = (s.tmp_0 >> s.tmp_2); - s.tmWidth___7922 = (r0); - s.tmp_1 = tiles_TileMap_areaHeight__P2724_mk(s); - s.tmp_1.arg0 = s.tm___7918; - s.callLocIdx = 2383; s.pc = 9; return s.tmp_1; + s.tmWidth___60950 = (r0); + s.tmp_1 = tiles_TileMap_areaHeight__P55736_mk(s); + s.tmp_1.arg0 = s.tm___60946; + s.callLocIdx = 2384; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; - r0 = s.tm___7918.fields["_scale"]; + r0 = s.tm___60946.fields["_scale"]; s.tmp_2 = r0; r0 = (s.tmp_0 >> s.tmp_2); - s.tmHeight___7929 = (r0); + s.tmHeight___60957 = (r0); r0 = s.arg0.fields["timeBuffer"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.width(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 !== s.tmWidth___7922); + r0 = (s.tmp_1 !== s.tmWidth___60950); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } @@ -4127,37 +4127,37 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.tmp_4); s.tmp_3 = r0; - r0 = (s.tmp_3 !== s.tmHeight___7929); + r0 = (s.tmp_3 !== s.tmHeight___60957); case 2: // jmp value (already in r0) s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 3; continue; } r0 = s.arg0.fields["timeBuffer"]; - s.old___7948 = (r0); + s.old___60976 = (r0); s.tmp_0 = r0 = s.arg0; - r0 = pxsim.image.create(s.tmWidth___7922, s.tmHeight___7929); + r0 = pxsim.image.create(s.tmWidth___60950, s.tmHeight___60957); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeBuffer"] = (s.tmp_1); r0 = s.arg0.fields["timeBuffer"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.old___7948, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.old___60976, 0, 0); r0 = s.arg0.fields["healthBuffer"]; - s.oldHealth___7962 = (r0); + s.oldHealth___60990 = (r0); s.tmp_0 = r0 = s.arg0; - r0 = pxsim.image.create(s.tmWidth___7922, s.tmHeight___7929); + r0 = pxsim.image.create(s.tmWidth___60950, s.tmHeight___60957); s.tmp_1 = r0; r0 = (s.tmp_0).fields["healthBuffer"] = (s.tmp_1); r0 = s.arg0.fields["healthBuffer"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.oldHealth___7962, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.oldHealth___60990, 0, 0); case 3: case 4: s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; - s.tmp_4 = game_currentScene__P2979_mk(s); - s.callLocIdx = 2385; s.pc = 10; return s.tmp_4; + s.tmp_4 = game_currentScene__P55991_mk(s); + s.callLocIdx = 2386; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; r0 = r0.fields["eventContext"]; @@ -4181,9 +4181,9 @@ switch (step) { r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_2).fields["timer"] = (s.tmp_3); - s.tmp_0 = forestFire_FireState_updateFireSpread__P7153_mk(s); + s.tmp_0 = forestFire_FireState_updateFireSpread__P60166_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2386; s.pc = 11; return s.tmp_0; + s.callLocIdx = 2387; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; { step = 5; continue; } @@ -4192,12 +4192,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forestFire_FireState_update__P7152.info = {"start":5069,"length":1149,"line":148,"column":8,"endLine":174,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"update","argumentNames":["this"]} +forestFire_FireState_update__P60165.info = {"start":5069,"length":1149,"line":148,"column":8,"endLine":174,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"update","argumentNames":["this"]} -function forestFire_FireState_update__P7152_mk(s) { +function forestFire_FireState_update__P60165_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_FireState_update__P7152, depth: s.depth + 1, + parent: s, fn: forestFire_FireState_update__P60165, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4205,11 +4205,11 @@ function forestFire_FireState_update__P7152_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___7918: undefined, - tmWidth___7922: undefined, - tmHeight___7929: undefined, - old___7948: undefined, - oldHealth___7962: undefined, + tm___60946: undefined, + tmWidth___60950: undefined, + tmHeight___60957: undefined, + old___60976: undefined, + oldHealth___60990: undefined, arg0: undefined, } } @@ -4217,7 +4217,7 @@ function forestFire_FireState_update__P7152_mk(s) { -function forestFire_FireState_updateFireSpread__P7153(s) { +function forestFire_FireState_updateFireSpread__P60166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4227,22 +4227,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___7999 = undefined; - s.x___8000 = undefined; - s.y___8007 = undefined; - s.tm___8051 = undefined; - s.i___8055 = undefined; - s.location___8059 = undefined; + s.current___61027 = undefined; + s.x___61028 = undefined; + s.y___61035 = undefined; + s.tm___61079 = undefined; + s.i___61083 = undefined; + s.location___61087 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, forestFire_FireState__C7146_VT)) failedCast(r0); - s.current___7999 = (0); - s.x___8000 = (0); + if (!checkSubtype(r0, forestFire_FireState__C60159_VT)) failedCast(r0); + s.current___61027 = (0); + s.x___61028 = (0); case 1: - s.tmp_1 = r0 = s.x___8000; + s.tmp_1 = r0 = s.x___61028; r0 = s.arg0.fields["timeBuffer"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -4251,9 +4251,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - s.y___8007 = (0); + s.y___61035 = (0); case 2: - s.tmp_1 = r0 = s.y___8007; + s.tmp_1 = r0 = s.y___61035; r0 = s.arg0.fields["timeBuffer"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -4262,10 +4262,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_5 = Math_percentChance__P3037_mk(s); - s.tmp_9 = forestFire_FireState_danger__P7147_mk(s); + s.tmp_5 = Math_percentChance__P56049_mk(s); + s.tmp_9 = forestFire_FireState_danger__P60160_mk(s); s.tmp_9.arg0 = s.arg0; - s.callLocIdx = 2387; s.pc = 21; return s.tmp_9; + s.callLocIdx = 2388; s.pc = 21; return s.tmp_9; case 21: r0 = s.retval; s.tmp_8 = r0; @@ -4275,7 +4275,7 @@ switch (step) { s.tmp_6 = r0; r0 = (s.tmp_6 / 10); s.tmp_5.arg0 = r0; - s.callLocIdx = 2388; s.pc = 20; return s.tmp_5; + s.callLocIdx = 2389; s.pc = 20; return s.tmp_5; case 20: r0 = s.retval; s.tmp_4 = r0; @@ -4286,16 +4286,16 @@ switch (step) { case 4: r0 = s.arg0.fields["timeBuffer"]; s.tmp_10 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_10, s.x___8000, s.y___8007); - s.current___7999 = (r0); - r0 = (s.current___7999 > 0); + r0 = pxsim_ImageMethods.getPixel(s.tmp_10, s.x___61028, s.y___61035); + s.current___61027 = (r0); + r0 = (s.current___61027 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } r0 = s.tmp_0; { step = 6; continue; } case 5: - r0 = (s.current___7999 < 15); + r0 = (s.current___61027 < 15); case 6: // jmp value (already in r0) s.tmp_1 = r0; @@ -4303,112 +4303,112 @@ switch (step) { if (!r0) { step = 15; continue; } r0 = s.arg0.fields["timeBuffer"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.x___8000; - s.tmp_4 = r0 = s.y___8007; - r0 = (s.current___7999 - 1); + s.tmp_3 = r0 = s.x___61028; + s.tmp_4 = r0 = s.y___61035; + r0 = (s.current___61027 - 1); s.tmp_5 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_2, s.tmp_3, s.tmp_4, s.tmp_5); - r0 = (s.current___7999 === 1); + r0 = (s.current___61027 === 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } r0 = s.arg0.fields["timeBuffer"]; s.tmp_1 = r0; - s.tmp_2 = r0 = s.x___8000; - s.tmp_3 = r0 = s.y___8007; - s.tmp_5 = forestFire_FireState_getRandomSpreadInterval__P7149_mk(s); + s.tmp_2 = r0 = s.x___61028; + s.tmp_3 = r0 = s.y___61035; + s.tmp_5 = forestFire_FireState_getRandomSpreadInterval__P60162_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 2389; s.pc = 22; return s.tmp_5; + s.callLocIdx = 2390; s.pc = 22; return s.tmp_5; case 22: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_1, s.tmp_2, s.tmp_3, s.tmp_4); - s.tmp_0 = game_currentScene__P2979_mk(s); - s.callLocIdx = 2390; s.pc = 23; return s.tmp_0; + s.tmp_0 = game_currentScene__P55991_mk(s); + s.callLocIdx = 2391; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___8051 = (r0); - s.i___8055 = (0); + s.tm___61079 = (r0); + s.i___61083 = (0); case 7: - r0 = (s.i___8055 < 10); + r0 = (s.i___61083 < 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.location___8059 = (undefined); - s.tmp_1 = Math_percentChance__P3037_mk(s); + s.location___61087 = (undefined); + s.tmp_1 = Math_percentChance__P56049_mk(s); s.tmp_1.arg0 = 50; - s.callLocIdx = 2391; s.pc = 24; return s.tmp_1; + s.callLocIdx = 2392; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_2 = tiles_getTileLocation__P2747_mk(s); - s.tmp_3 = Math_clamp__P127_mk(s); + s.tmp_2 = tiles_getTileLocation__P55759_mk(s); + s.tmp_3 = Math_clamp__P53139_mk(s); s.tmp_3.arg0 = 0; - s.tmp_6 = tiles_TileMap_areaWidth__P2723_mk(s); - s.tmp_6.arg0 = s.tm___8051; - s.callLocIdx = 2392; s.pc = 27; return s.tmp_6; + s.tmp_6 = tiles_TileMap_areaWidth__P55735_mk(s); + s.tmp_6.arg0 = s.tm___61079; + s.callLocIdx = 2393; s.pc = 27; return s.tmp_6; case 27: r0 = s.retval; s.tmp_5 = r0; - r0 = s.tm___8051.fields["_scale"]; + r0 = s.tm___61079.fields["_scale"]; s.tmp_7 = r0; r0 = (s.tmp_5 >> s.tmp_7); s.tmp_4 = r0; r0 = (s.tmp_4 - 1); s.tmp_3.arg1 = r0; - s.tmp_8 = r0 = s.x___8000; + s.tmp_8 = r0 = s.x___61028; r0 = pxsim.Math_.randomRange(-2, 2); s.tmp_9 = r0; r0 = (s.tmp_8 + s.tmp_9); s.tmp_3.arg2 = r0; - s.callLocIdx = 2394; s.pc = 26; return s.tmp_3; + s.callLocIdx = 2395; s.pc = 26; return s.tmp_3; case 26: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.y___8007; - s.callLocIdx = 2395; s.pc = 25; return s.tmp_2; + s.tmp_2.arg1 = s.y___61035; + s.callLocIdx = 2396; s.pc = 25; return s.tmp_2; case 25: r0 = s.retval; - s.location___8059 = (r0); + s.location___61087 = (r0); { step = 9; continue; } case 8: - s.tmp_0 = tiles_getTileLocation__P2747_mk(s); - s.tmp_0.arg0 = s.x___8000; - s.tmp_1 = Math_clamp__P127_mk(s); + s.tmp_0 = tiles_getTileLocation__P55759_mk(s); + s.tmp_0.arg0 = s.x___61028; + s.tmp_1 = Math_clamp__P53139_mk(s); s.tmp_1.arg0 = 0; - s.tmp_4 = tiles_TileMap_areaHeight__P2724_mk(s); - s.tmp_4.arg0 = s.tm___8051; - s.callLocIdx = 2396; s.pc = 30; return s.tmp_4; + s.tmp_4 = tiles_TileMap_areaHeight__P55736_mk(s); + s.tmp_4.arg0 = s.tm___61079; + s.callLocIdx = 2397; s.pc = 30; return s.tmp_4; case 30: r0 = s.retval; s.tmp_3 = r0; - r0 = s.tm___8051.fields["_scale"]; + r0 = s.tm___61079.fields["_scale"]; s.tmp_5 = r0; r0 = (s.tmp_3 >> s.tmp_5); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1.arg1 = r0; - s.tmp_6 = r0 = s.y___8007; + s.tmp_6 = r0 = s.y___61035; r0 = pxsim.Math_.randomRange(-2, 2); s.tmp_7 = r0; r0 = (s.tmp_6 + s.tmp_7); s.tmp_1.arg2 = r0; - s.callLocIdx = 2398; s.pc = 29; return s.tmp_1; + s.callLocIdx = 2399; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 2399; s.pc = 28; return s.tmp_0; + s.callLocIdx = 2400; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.location___8059 = (r0); + s.location___61087 = (r0); case 9: - s.tmp_1 = forestFire_FireState_tryFireSpread__P7154_mk(s); + s.tmp_1 = forestFire_FireState_tryFireSpread__P60167_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.location___8059; - s.callLocIdx = 2400; s.pc = 31; return s.tmp_1; + s.tmp_1.arg1 = s.location___61087; + s.callLocIdx = 2401; s.pc = 31; return s.tmp_1; case 31: r0 = s.retval; s.tmp_0 = r0; @@ -4417,8 +4417,8 @@ switch (step) { { step = 12; continue; } case 10: case 11: - r0 = (s.i___8055 + 1); - s.i___8055 = (r0); + r0 = (s.i___61083 + 1); + s.i___61083 = (r0); { step = 7; continue; } case 12: case 13: @@ -4426,24 +4426,24 @@ switch (step) { case 15: case 16: case 17: - r0 = (s.y___8007 + 1); - s.y___8007 = (r0); + r0 = (s.y___61035 + 1); + s.y___61035 = (r0); { step = 2; continue; } case 18: - r0 = (s.x___8000 + 1); - s.x___8000 = (r0); + r0 = (s.x___61028 + 1); + s.x___61028 = (r0); { step = 1; continue; } case 19: r0 = undefined; return leave(s, r0) default: oops() } } } -forestFire_FireState_updateFireSpread__P7153.info = {"start":6228,"length":2613,"line":176,"column":8,"endLine":230,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"updateFireSpread","argumentNames":["this"]} +forestFire_FireState_updateFireSpread__P60166.info = {"start":6228,"length":2613,"line":176,"column":8,"endLine":230,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"updateFireSpread","argumentNames":["this"]} -function forestFire_FireState_updateFireSpread__P7153_mk(s) { +function forestFire_FireState_updateFireSpread__P60166_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_FireState_updateFireSpread__P7153, depth: s.depth + 1, + parent: s, fn: forestFire_FireState_updateFireSpread__P60166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4456,12 +4456,12 @@ function forestFire_FireState_updateFireSpread__P7153_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - current___7999: undefined, - x___8000: undefined, - y___8007: undefined, - tm___8051: undefined, - i___8055: undefined, - location___8059: undefined, + current___61027: undefined, + x___61028: undefined, + y___61035: undefined, + tm___61079: undefined, + i___61083: undefined, + location___61087: undefined, arg0: undefined, } } @@ -4469,7 +4469,7 @@ function forestFire_FireState_updateFireSpread__P7153_mk(s) { -function forestFire_FireState_tryFireSpread__P7154(s) { +function forestFire_FireState_tryFireSpread__P60167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4479,28 +4479,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tileImage___8107 = undefined; - s.tile___8120 = undefined; - s.unnamed1536___U2 = undefined; - s.unnamed1537___U3 = undefined; + s.tileImage___61135 = undefined; + s.tile___61148 = undefined; + s.unnamed276___U2 = undefined; + s.unnamed277___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, forestFire_FireState__C7146_VT)) failedCast(r0); - s.tmp_0 = tiles_getTileImage__P2748_mk(s); + if (!checkSubtype(r0, forestFire_FireState__C60159_VT)) failedCast(r0); + s.tmp_0 = tiles_getTileImage__P55760_mk(s); s.tmp_0.arg0 = s.arg1; - s.callLocIdx = 2401; s.pc = 8; return s.tmp_0; + s.callLocIdx = 2402; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tileImage___8107 = (r0); + s.tileImage___61135 = (r0); r0 = s.arg0.fields["timeBuffer"]; s.tmp_1 = r0; - s.tmp_3 = tiles_Location_col__P2685_mk(s); + s.tmp_3 = tiles_Location_col__P55697_mk(s); s.tmp_3.arg0 = s.arg1; - s.callLocIdx = 2402; s.pc = 9; return s.tmp_3; + s.callLocIdx = 2403; s.pc = 9; return s.tmp_3; case 9: r0 = s.retval; s.tmp_2 = r0; @@ -4514,61 +4514,61 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.tile___8120 = (undefined); + s.tile___61148 = (undefined); r0 = s.arg0.fields["unburntTileCache"]; - s.unnamed1536___U2 = (r0); - s.unnamed1537___U3 = (0); + s.unnamed276___U2 = (r0); + s.unnamed277___U3 = (0); case 3: - s.tmp_0 = r0 = s.unnamed1537___U3; - r0 = pxsim_Array__length(s.unnamed1536___U2); + s.tmp_0 = r0 = s.unnamed277___U3; + r0 = pxsim_Array__length(s.unnamed276___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed1536___U2, s.unnamed1537___U3); - s.tile___8120 = (r0); - r0 = pxsim_ImageMethods.equals(s.tileImage___8107, s.tile___8120); + r0 = pxsim_Array__getAt(s.unnamed276___U2, s.unnamed277___U3); + s.tile___61148 = (r0); + r0 = pxsim_ImageMethods.equals(s.tileImage___61135, s.tile___61148); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_3 = forestFire_FireState_createFireAtLocation__P7151_mk(s); + s.tmp_3 = forestFire_FireState_createFireAtLocation__P60164_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = s.arg1; - s.tmp_3.arg2 = s.tileImage___8107; + s.tmp_3.arg2 = s.tileImage___61135; r0 = s.arg0.fields["fireImage"]; s.tmp_3.arg3 = r0; - s.callLocIdx = 2404; s.pc = 10; return s.tmp_3; + s.callLocIdx = 2405; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; r0 = true; { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed1537___U3 + 1); - s.unnamed1537___U3 = (r0); + r0 = (s.unnamed277___U3 + 1); + s.unnamed277___U3 = (r0); { step = 3; continue; } case 6: - s.unnamed1536___U2 = (undefined); + s.unnamed276___U2 = (undefined); r0 = false; case 7: return leave(s, r0) default: oops() } } } -forestFire_FireState_tryFireSpread__P7154.info = {"start":8851,"length":474,"line":232,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"tryFireSpread","argumentNames":["this","location"]} +forestFire_FireState_tryFireSpread__P60167.info = {"start":8851,"length":474,"line":232,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"tryFireSpread","argumentNames":["this","location"]} -function forestFire_FireState_tryFireSpread__P7154_mk(s) { +function forestFire_FireState_tryFireSpread__P60167_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_FireState_tryFireSpread__P7154, depth: s.depth + 1, + parent: s, fn: forestFire_FireState_tryFireSpread__P60167, 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, - tileImage___8107: undefined, - tile___8120: undefined, - unnamed1536___U2: undefined, - unnamed1537___U3: undefined, + tileImage___61135: undefined, + tile___61148: undefined, + unnamed276___U2: undefined, + unnamed277___U3: undefined, arg0: undefined, arg1: undefined, } } @@ -4577,7 +4577,7 @@ function forestFire_FireState_tryFireSpread__P7154_mk(s) { -function forestFire_FireState_createFireAtLocation__P7151(s) { +function forestFire_FireState_createFireAtLocation__P60164(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4587,14 +4587,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.image___8142 = undefined; - s.foundIt___8150 = undefined; - s.tile___8152 = undefined; - s.unnamed1532___U3 = undefined; - s.unnamed1533___U4 = undefined; - s.handler___8188 = undefined; - s.unnamed1534___U6 = undefined; - s.unnamed1535___U7 = undefined; + s.image___61170 = undefined; + s.foundIt___61178 = undefined; + s.tile___61180 = undefined; + s.unnamed272___U3 = undefined; + s.unnamed273___U4 = undefined; + s.handler___61216 = undefined; + s.unnamed274___U6 = undefined; + s.unnamed275___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4603,41 +4603,41 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, forestFire_FireState__C7146_VT)) failedCast(r0); + if (!checkSubtype(r0, forestFire_FireState__C60159_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 9; continue; } r0 = (s.arg0).fields["fireHasStarted"] = (true); r0 = pxsim_ImageMethods.clone(s.arg2); - s.image___8142 = (r0); - r0 = pxsim_ImageMethods.drawTransparentImage(s.image___8142, s.arg3, 0, 0); - s.foundIt___8150 = (false); - s.tile___8152 = (undefined); + s.image___61170 = (r0); + r0 = pxsim_ImageMethods.drawTransparentImage(s.image___61170, s.arg3, 0, 0); + s.foundIt___61178 = (false); + s.tile___61180 = (undefined); r0 = s.arg0.fields["tileCache"]; - s.unnamed1532___U3 = (r0); - s.unnamed1533___U4 = (0); + s.unnamed272___U3 = (r0); + s.unnamed273___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1533___U4; - r0 = pxsim_Array__length(s.unnamed1532___U3); + s.tmp_0 = r0 = s.unnamed273___U4; + r0 = pxsim_Array__length(s.unnamed272___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed1532___U3, s.unnamed1533___U4); - s.tile___8152 = (r0); - r0 = pxsim_ImageMethods.equals(s.tile___8152, s.image___8142); + r0 = pxsim_Array__getAt(s.unnamed272___U3, s.unnamed273___U4); + s.tile___61180 = (r0); + r0 = pxsim_ImageMethods.equals(s.tile___61180, s.image___61170); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - s.image___8142 = (s.tile___8152); - s.foundIt___8150 = (true); + s.image___61170 = (s.tile___61180); + s.foundIt___61178 = (true); { step = 4; continue; } case 2: case 3: - r0 = (s.unnamed1533___U4 + 1); - s.unnamed1533___U4 = (r0); + r0 = (s.unnamed273___U4 + 1); + s.unnamed273___U4 = (r0); { step = 1; continue; } case 4: - s.unnamed1532___U3 = (undefined); - r0 = pxsim_numops_toBoolDecr(s.foundIt___8150); + s.unnamed272___U3 = (undefined); + r0 = pxsim_numops_toBoolDecr(s.foundIt___61178); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -4645,71 +4645,71 @@ switch (step) { if (!r0) { step = 5; continue; } r0 = s.arg0.fields["tileCache"]; s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, s.image___8142); + r0 = pxsim_Array__push(s.tmp_2, s.image___61170); r0 = s.arg0.fields["unburntTileCache"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg2); case 5: case 6: - s.tmp_0 = tiles_setTileAt__P2745_mk(s); + s.tmp_0 = tiles_setTileAt__P55757_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.image___8142; - s.callLocIdx = 2375; s.pc = 11; return s.tmp_0; + s.tmp_0.arg1 = s.image___61170; + s.callLocIdx = 2376; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = s.arg0.fields["timeBuffer"]; s.tmp_0 = r0; - s.tmp_2 = tiles_Location_col__P2685_mk(s); + s.tmp_2 = tiles_Location_col__P55697_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 2376; s.pc = 12; return s.tmp_2; + s.callLocIdx = 2377; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; r0 = s.arg1.fields["_row"]; s.tmp_3 = r0; - s.tmp_5 = forestFire_FireState_getRandomSpreadInterval__P7149_mk(s); + s.tmp_5 = forestFire_FireState_getRandomSpreadInterval__P60162_mk(s); s.tmp_5.arg0 = s.arg0; - s.callLocIdx = 2378; s.pc = 13; return s.tmp_5; + s.callLocIdx = 2379; s.pc = 13; return s.tmp_5; case 13: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.tmp_4); - s.handler___8188 = (undefined); + s.handler___61216 = (undefined); r0 = s.arg0.fields["fireCreatedHandlers"]; - s.unnamed1534___U6 = (r0); - s.unnamed1535___U7 = (0); + s.unnamed274___U6 = (r0); + s.unnamed275___U7 = (0); case 7: - s.tmp_0 = r0 = s.unnamed1535___U7; - r0 = pxsim_Array__length(s.unnamed1534___U6); + s.tmp_0 = r0 = s.unnamed275___U7; + r0 = pxsim_Array__length(s.unnamed274___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 8; continue; } - r0 = pxsim_Array__getAt(s.unnamed1534___U6, s.unnamed1535___U7); - s.handler___8188 = (r0); + r0 = pxsim_Array__getAt(s.unnamed274___U6, s.unnamed275___U7); + s.handler___61216 = (r0); s.tmp_2 = lambda_2_mk(s); - s.tmp_2.argL = s.handler___8188; + s.tmp_2.argL = s.handler___61216; s.tmp_2.arg0 = s.arg1; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 2379; s.pc = 14; return s.tmp_2; + s.callLocIdx = 2380; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = (s.unnamed1535___U7 + 1); - s.unnamed1535___U7 = (r0); + r0 = (s.unnamed275___U7 + 1); + s.unnamed275___U7 = (r0); { step = 7; continue; } case 8: - s.unnamed1534___U6 = (undefined); + s.unnamed274___U6 = (undefined); case 9: case 10: r0 = undefined; return leave(s, r0) default: oops() } } } -forestFire_FireState_createFireAtLocation__P7151.info = {"start":4074,"length":985,"line":118,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"createFireAtLocation","argumentNames":["this","location","tile","fire"]} +forestFire_FireState_createFireAtLocation__P60164.info = {"start":4074,"length":985,"line":118,"column":8,"endLine":146,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"createFireAtLocation","argumentNames":["this","location","tile","fire"]} -function forestFire_FireState_createFireAtLocation__P7151_mk(s) { +function forestFire_FireState_createFireAtLocation__P60164_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_FireState_createFireAtLocation__P7151, depth: s.depth + 1, + parent: s, fn: forestFire_FireState_createFireAtLocation__P60164, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4717,14 +4717,14 @@ function forestFire_FireState_createFireAtLocation__P7151_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - image___8142: undefined, - foundIt___8150: undefined, - tile___8152: undefined, - unnamed1532___U3: undefined, - unnamed1533___U4: undefined, - handler___8188: undefined, - unnamed1534___U6: undefined, - unnamed1535___U7: undefined, + image___61170: undefined, + foundIt___61178: undefined, + tile___61180: undefined, + unnamed272___U3: undefined, + unnamed273___U4: undefined, + handler___61216: undefined, + unnamed274___U6: undefined, + unnamed275___U7: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4735,7 +4735,7 @@ function forestFire_FireState_createFireAtLocation__P7151_mk(s) { -function tiles_getTileImage__P2748(s) { +function tiles_getTileImage__P55760(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4745,16 +4745,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___8205 = undefined; + s.scene___61233 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2979_mk(s); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 1328; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___8205 = (r0); + s.scene___61233 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -4764,7 +4764,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___8205.fields["tileMap"]; + r0 = s.scene___61233.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -4774,14 +4774,14 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex8215); + r0 = pxsim.image.ofBuffer(_hex61243); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P2739_mk(s); - r0 = s.scene___8205.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P55751_mk(s); + r0 = s.scene___61233.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P2684_mk(s); + s.tmp_6 = tiles_Location_tileSet__P55696_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 1329; s.pc = 8; return s.tmp_6; case 8: @@ -4794,12 +4794,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileImage__P2748.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__P55760.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__P2748_mk(s) { +function tiles_getTileImage__P55760_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P2748, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P55760, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4808,16 +4808,16 @@ function tiles_getTileImage__P2748_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___8205: undefined, + scene___61233: undefined, arg0: undefined, } } -const _hex8215 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex61243 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P2739(s) { +function tiles_TileMap_getTileImage__P55751(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4833,8 +4833,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P2706_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P55718_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -4844,12 +4844,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P2739.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__P55751.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__P2739_mk(s) { +function tiles_TileMap_getTileImage__P55751_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P2739, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P55751, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4860,7 +4860,7 @@ function tiles_TileMap_getTileImage__P2739_mk(s) { -function tiles_TileMap_data__P2720(s) { +function tiles_TileMap_data__P55732(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4875,18 +4875,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P2720.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__P2720.isGetter = true; +tiles_TileMap_data__P55732.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__P55732.isGetter = true; -function tiles_TileMap_data__P2720_mk(s) { +function tiles_TileMap_data__P55732_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P2720, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P55732, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -4895,7 +4895,7 @@ function tiles_TileMap_data__P2720_mk(s) { -function tiles_TileMapData_getTileImage__P2706(s) { +function tiles_TileMapData_getTileImage__P55718(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4905,25 +4905,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___8296 = undefined; - s.cachedImage___8300 = undefined; - s.originalImage___8307 = undefined; + s.size___61324 = undefined; + s.cachedImage___61328 = undefined; + s.originalImage___61335 = 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__C2697_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C55709_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___8296 = (r0); + s.size___61324 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___8300 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___8300); + s.cachedImage___61328 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___61328); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -4932,58 +4932,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___8307 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___8307); + s.originalImage___61335 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___61335); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___8307); + r0 = pxsim_ImageMethods.width(s.originalImage___61335); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___8296); + r0 = (s.tmp_1 <= s.size___61324); 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___8307); + r0 = pxsim_ImageMethods.height(s.originalImage___61335); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___8296); + r0 = (s.tmp_2 <= s.size___61324); 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___8300 = (s.originalImage___8307); + s.cachedImage___61328 = (s.originalImage___61335); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___8296, s.size___8296); - s.cachedImage___8300 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___8300, s.originalImage___8307, 0, 0); + r0 = pxsim.image.create(s.size___61324, s.size___61324); + s.cachedImage___61328 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___61328, s.originalImage___61335, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___8300); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___61328); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___8300; + r0 = s.cachedImage___61328; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P2706.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__P55718.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__P2706_mk(s) { +function tiles_TileMapData_getTileImage__P55718_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P2706, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P55718, 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___8296: undefined, - cachedImage___8300: undefined, - originalImage___8307: undefined, + size___61324: undefined, + cachedImage___61328: undefined, + originalImage___61335: undefined, arg0: undefined, arg1: undefined, } } @@ -4992,7 +4992,7 @@ function tiles_TileMapData_getTileImage__P2706_mk(s) { -function tiles_TileMapData_scale__P2701(s) { +function tiles_TileMapData_scale__P55713(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5007,18 +5007,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2697_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C55709_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P2701.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__P2701.isGetter = true; +tiles_TileMapData_scale__P55713.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__P55713.isGetter = true; -function tiles_TileMapData_scale__P2701_mk(s) { +function tiles_TileMapData_scale__P55713_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P2701, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P55713, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5027,7 +5027,7 @@ function tiles_TileMapData_scale__P2701_mk(s) { -function tiles_Location_tileSet__P2684(s) { +function tiles_Location_tileSet__P55696(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5042,9 +5042,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2673_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P2730_mk(s); - s.tmp_1 = tiles_Location_tileMap__P2675_mk(s); + if (!checkSubtype(r0, tiles_Location__C55685_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P55742_mk(s); + s.tmp_1 = tiles_Location_tileMap__P55687_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 1223; s.pc = 2; return s.tmp_1; case 2: @@ -5060,13 +5060,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P2684.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__P2684.isGetter = true; +tiles_Location_tileSet__P55696.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__P55696.isGetter = true; -function tiles_Location_tileSet__P2684_mk(s) { +function tiles_Location_tileSet__P55696_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P2684, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P55696, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5077,7 +5077,7 @@ function tiles_Location_tileSet__P2684_mk(s) { -function tiles_TileMap_getTileIndex__P2730(s) { +function tiles_TileMap_getTileIndex__P55742(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5094,8 +5094,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P2703_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P55715_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -5106,12 +5106,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P2730.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__P55742.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__P2730_mk(s) { +function tiles_TileMap_getTileIndex__P55742_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P2730, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P55742, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5123,7 +5123,7 @@ function tiles_TileMap_getTileIndex__P2730_mk(s) { -function tiles_TileMapData_getTile__P2703(s) { +function tiles_TileMapData_getTile__P55715(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5140,8 +5140,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2697_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P2709_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C55709_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P55721_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -5174,12 +5174,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P2703.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__P55715.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__P2703_mk(s) { +function tiles_TileMapData_getTile__P55715_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P2703, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P55715, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5199,7 +5199,7 @@ function tiles_TileMapData_getTile__P2703_mk(s) { -function tiles_TileMapData_isOutsideMap__P2709(s) { +function tiles_TileMapData_isOutsideMap__P55721(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5216,7 +5216,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2697_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C55709_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -5256,12 +5256,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P2709.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__P55721.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__P2709_mk(s) { +function tiles_TileMapData_isOutsideMap__P55721_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P2709, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P55721, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5280,7 +5280,7 @@ function tiles_TileMapData_isOutsideMap__P2709_mk(s) { -function tiles_TileMapData_height__P2700(s) { +function tiles_TileMapData_height__P55712(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5295,18 +5295,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2697_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C55709_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P2700.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__P2700.isGetter = true; +tiles_TileMapData_height__P55712.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__P55712.isGetter = true; -function tiles_TileMapData_height__P2700_mk(s) { +function tiles_TileMapData_height__P55712_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P2700, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P55712, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5315,7 +5315,7 @@ function tiles_TileMapData_height__P2700_mk(s) { -function tiles_TileMapData_width__P2699(s) { +function tiles_TileMapData_width__P55711(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5330,18 +5330,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2697_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C55709_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P2699.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__P2699.isGetter = true; +tiles_TileMapData_width__P55711.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__P55711.isGetter = true; -function tiles_TileMapData_width__P2699_mk(s) { +function tiles_TileMapData_width__P55711_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P2699, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P55711, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5350,7 +5350,7 @@ function tiles_TileMapData_width__P2699_mk(s) { -function tiles_Location_tileMap__P2675(s) { +function tiles_Location_tileMap__P55687(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5365,8 +5365,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2673_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2979_mk(s); + if (!checkSubtype(r0, tiles_Location__C55685_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 1214; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -5374,13 +5374,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileMap__P2675.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__P2675.isGetter = true; +tiles_Location_tileMap__P55687.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__P55687.isGetter = true; -function tiles_Location_tileMap__P2675_mk(s) { +function tiles_Location_tileMap__P55687_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileMap__P2675, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileMap__P55687, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5390,7 +5390,7 @@ function tiles_Location_tileMap__P2675_mk(s) { -function tiles_Location_col__P2685(s) { +function tiles_Location_col__P55697(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5405,18 +5405,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2673_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C55685_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_col__P2685.info = {"start":2456,"length":53,"line":91,"column":8,"endLine":93,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"col","argumentNames":["this"]} -tiles_Location_col__P2685.isGetter = true; +tiles_Location_col__P55697.info = {"start":2456,"length":53,"line":91,"column":8,"endLine":93,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"col","argumentNames":["this"]} +tiles_Location_col__P55697.isGetter = true; -function tiles_Location_col__P2685_mk(s) { +function tiles_Location_col__P55697_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_col__P2685, depth: s.depth + 1, + parent: s, fn: tiles_Location_col__P55697, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5425,7 +5425,7 @@ function tiles_Location_col__P2685_mk(s) { -function tiles_Location_column__P2676(s) { +function tiles_Location_column__P55688(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5440,18 +5440,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2673_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C55685_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_column__P2676.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__P2676.isGetter = true; +tiles_Location_column__P55688.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__P55688.isGetter = true; -function tiles_Location_column__P2676_mk(s) { +function tiles_Location_column__P55688_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_column__P2676, depth: s.depth + 1, + parent: s, fn: tiles_Location_column__P55688, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5460,7 +5460,7 @@ function tiles_Location_column__P2676_mk(s) { -function tiles_Location_row__P2677(s) { +function tiles_Location_row__P55689(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5475,18 +5475,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2673_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C55685_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_row__P2677.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__P2677.isGetter = true; +tiles_Location_row__P55689.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__P55689.isGetter = true; -function tiles_Location_row__P2677_mk(s) { +function tiles_Location_row__P55689_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P2677, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P55689, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -5495,7 +5495,7 @@ function tiles_Location_row__P2677_mk(s) { -function forestFire_FireState_getRandomSpreadInterval__P7149(s) { +function forestFire_FireState_getRandomSpreadInterval__P60162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5505,46 +5505,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spreadTime___8406 = undefined; + s.spreadTime___61434 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, forestFire_FireState__C7146_VT)) failedCast(r0); - s.tmp_1 = forestFire_FireState_spreadTime__P7148_mk(s); + if (!checkSubtype(r0, forestFire_FireState__C60159_VT)) failedCast(r0); + s.tmp_1 = forestFire_FireState_spreadTime__P60161_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 2371; s.pc = 1; return s.tmp_1; + s.callLocIdx = 2372; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim.Math_.randomRange(0, 1000); s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.spreadTime___8406 = (r0); - s.tmp_0 = Math_min__P131_mk(s); + s.spreadTime___61434 = (r0); + s.tmp_0 = Math_min__P53143_mk(s); s.tmp_0.arg0 = 14; r0 = s.arg0.fields["period"]; s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.spreadTime___8406, s.tmp_1); + r0 = pxsim.Math_.idiv(s.spreadTime___61434, s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 2372; s.pc = 2; return s.tmp_0; + s.callLocIdx = 2373; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -forestFire_FireState_getRandomSpreadInterval__P7149.info = {"start":3689,"length":182,"line":108,"column":8,"endLine":111,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"getRandomSpreadInterval","argumentNames":["this"]} +forestFire_FireState_getRandomSpreadInterval__P60162.info = {"start":3689,"length":182,"line":108,"column":8,"endLine":111,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"getRandomSpreadInterval","argumentNames":["this"]} -function forestFire_FireState_getRandomSpreadInterval__P7149_mk(s) { +function forestFire_FireState_getRandomSpreadInterval__P60162_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_FireState_getRandomSpreadInterval__P7149, depth: s.depth + 1, + parent: s, fn: forestFire_FireState_getRandomSpreadInterval__P60162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - spreadTime___8406: undefined, + spreadTime___61434: undefined, arg0: undefined, } } @@ -5552,7 +5552,7 @@ function forestFire_FireState_getRandomSpreadInterval__P7149_mk(s) { -function forestFire_FireState_spreadTime__P7148(s) { +function forestFire_FireState_spreadTime__P60161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5567,10 +5567,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, forestFire_FireState__C7146_VT)) failedCast(r0); - s.tmp_3 = forestFire_FireState_danger__P7147_mk(s); + if (!checkSubtype(r0, forestFire_FireState__C60159_VT)) failedCast(r0); + s.tmp_3 = forestFire_FireState_danger__P60160_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 2370; s.pc = 1; return s.tmp_3; + s.callLocIdx = 2371; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -5582,13 +5582,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -forestFire_FireState_spreadTime__P7148.info = {"start":3598,"length":81,"line":104,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"spreadTime","argumentNames":["this"]} -forestFire_FireState_spreadTime__P7148.isGetter = true; +forestFire_FireState_spreadTime__P60161.info = {"start":3598,"length":81,"line":104,"column":8,"endLine":106,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"spreadTime","argumentNames":["this"]} +forestFire_FireState_spreadTime__P60161.isGetter = true; -function forestFire_FireState_spreadTime__P7148_mk(s) { +function forestFire_FireState_spreadTime__P60161_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_FireState_spreadTime__P7148, depth: s.depth + 1, + parent: s, fn: forestFire_FireState_spreadTime__P60161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5601,7 +5601,7 @@ function forestFire_FireState_spreadTime__P7148_mk(s) { -function Math_min__P131(s) { +function Math_min__P53143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5629,12 +5629,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_min__P131.info = {"start":16854,"length":105,"line":568,"column":4,"endLine":571,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} +Math_min__P53143.info = {"start":16854,"length":105,"line":568,"column":4,"endLine":571,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"min","argumentNames":["a","b"]} -function Math_min__P131_mk(s) { +function Math_min__P53143_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P131, depth: s.depth + 1, + parent: s, fn: Math_min__P53143, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -5645,7 +5645,7 @@ function Math_min__P131_mk(s) { -function forestFire_FireState_danger__P7147(s) { +function forestFire_FireState_danger__P60160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5660,7 +5660,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, forestFire_FireState__C7146_VT)) failedCast(r0); + if (!checkSubtype(r0, forestFire_FireState__C60159_VT)) failedCast(r0); r0 = s.arg0.fields["windSpeed"]; s.tmp_2 = r0; r0 = s.arg0.fields["dryGrass"]; @@ -5677,13 +5677,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -forestFire_FireState_danger__P7147.info = {"start":3483,"length":105,"line":100,"column":8,"endLine":102,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"danger","argumentNames":["this"]} -forestFire_FireState_danger__P7147.isGetter = true; +forestFire_FireState_danger__P60160.info = {"start":3483,"length":105,"line":100,"column":8,"endLine":102,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"danger","argumentNames":["this"]} +forestFire_FireState_danger__P60160.isGetter = true; -function forestFire_FireState_danger__P7147_mk(s) { +function forestFire_FireState_danger__P60160_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_FireState_danger__P7147, depth: s.depth + 1, + parent: s, fn: forestFire_FireState_danger__P60160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5698,7 +5698,7 @@ function forestFire_FireState_danger__P7147_mk(s) { -function Math_percentChance__P3037(s) { +function Math_percentChance__P56049(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5736,12 +5736,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_percentChance__P3037.info = {"start":369,"length":259,"line":9,"column":4,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"percentChance","argumentNames":["percentage"]} +Math_percentChance__P56049.info = {"start":369,"length":259,"line":9,"column":4,"endLine":17,"endColumn":5,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"percentChance","argumentNames":["percentage"]} -function Math_percentChance__P3037_mk(s) { +function Math_percentChance__P56049_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_percentChance__P3037, depth: s.depth + 1, + parent: s, fn: Math_percentChance__P56049, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5753,7 +5753,7 @@ function Math_percentChance__P3037_mk(s) { -function tiles_getTileLocation__P2747(s) { +function tiles_getTileLocation__P55759(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5763,17 +5763,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___8368 = undefined; + s.scene___61396 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2979_mk(s); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 1326; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.scene___8368 = (r0); + s.scene___61396 = (r0); r0 = (s.arg0 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -5790,7 +5790,7 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - r0 = s.scene___8368.fields["tileMap"]; + r0 = s.scene___61396.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -5804,8 +5804,8 @@ switch (step) { { step = 7; continue; } case 5: case 6: - s.tmp_5 = tiles_TileMap_getTile__P2729_mk(s); - r0 = s.scene___8368.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTile__P55741_mk(s); + r0 = s.scene___61396.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg0; s.tmp_5.arg2 = s.arg1; @@ -5816,12 +5816,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileLocation__P2747.info = {"start":21520,"length":247,"line":663,"column":4,"endLine":667,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileLocation","argumentNames":["col","row"]} +tiles_getTileLocation__P55759.info = {"start":21520,"length":247,"line":663,"column":4,"endLine":667,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileLocation","argumentNames":["col","row"]} -function tiles_getTileLocation__P2747_mk(s) { +function tiles_getTileLocation__P55759_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileLocation__P2747, depth: s.depth + 1, + parent: s, fn: tiles_getTileLocation__P55759, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5829,7 +5829,7 @@ function tiles_getTileLocation__P2747_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___8368: undefined, + scene___61396: undefined, arg0: undefined, arg1: undefined, } } @@ -5838,7 +5838,7 @@ function tiles_getTileLocation__P2747_mk(s) { -function tiles_TileMap_getTile__P2729(s) { +function tiles_TileMap_getTile__P55741(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5855,10 +5855,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C2673_VT); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C55685_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P2674_mk(s); + s.tmp_1 = tiles_Location_constructor__P55686_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -5870,12 +5870,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P2729.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__P55741.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__P2729_mk(s) { +function tiles_TileMap_getTile__P55741_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P2729, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P55741, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5888,7 +5888,7 @@ function tiles_TileMap_getTile__P2729_mk(s) { -function tiles_Location_constructor__P2674(s) { +function tiles_Location_constructor__P55686(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5906,19 +5906,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2673_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C55685_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__P2674.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__P55686.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__P2674_mk(s) { +function tiles_Location_constructor__P55686_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P2674, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P55686, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -5930,7 +5930,7 @@ function tiles_Location_constructor__P2674_mk(s) { -function Math_clamp__P127(s) { +function Math_clamp__P53139(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5946,9 +5946,9 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = Math_min__P131_mk(s); + s.tmp_0 = Math_min__P53143_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P130_mk(s); + s.tmp_1 = Math_max__P53142_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.callLocIdx = 26; s.pc = 2; return s.tmp_1; @@ -5961,12 +5961,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_clamp__P127.info = {"start":15643,"length":130,"line":528,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} +Math_clamp__P53139.info = {"start":15643,"length":130,"line":528,"column":4,"endLine":530,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"clamp","argumentNames":["min","max","value"]} -function Math_clamp__P127_mk(s) { +function Math_clamp__P53139_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P127, depth: s.depth + 1, + parent: s, fn: Math_clamp__P53139, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5979,7 +5979,7 @@ function Math_clamp__P127_mk(s) { -function Math_max__P130(s) { +function Math_max__P53142(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6007,12 +6007,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_max__P130.info = {"start":16614,"length":105,"line":558,"column":4,"endLine":561,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} +Math_max__P53142.info = {"start":16614,"length":105,"line":558,"column":4,"endLine":561,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"max","argumentNames":["a","b"]} -function Math_max__P130_mk(s) { +function Math_max__P53142_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P130, depth: s.depth + 1, + parent: s, fn: Math_max__P53142, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6023,7 +6023,7 @@ function Math_max__P130_mk(s) { -function tiles_TileMap_areaHeight__P2724(s) { +function tiles_TileMap_areaHeight__P55736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6038,7 +6038,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -6060,12 +6060,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P2724.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__P55736.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__P2724_mk(s) { +function tiles_TileMap_areaHeight__P55736_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P2724, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P55736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6079,7 +6079,7 @@ function tiles_TileMap_areaHeight__P2724_mk(s) { -function tiles_TileMap_areaWidth__P2723(s) { +function tiles_TileMap_areaWidth__P55735(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6094,7 +6094,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -6116,12 +6116,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P2723.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__P55735.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__P2723_mk(s) { +function tiles_TileMap_areaWidth__P55735_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P2723, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P55735, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6135,7 +6135,7 @@ function tiles_TileMap_areaWidth__P2723_mk(s) { -function tiles_TileMap_scale__P2718(s) { +function tiles_TileMap_scale__P55730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6150,18 +6150,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P2718.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__P2718.isGetter = true; +tiles_TileMap_scale__P55730.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__P55730.isGetter = true; -function tiles_TileMap_scale__P2718_mk(s) { +function tiles_TileMap_scale__P55730_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P2718, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P55730, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6170,7 +6170,7 @@ function tiles_TileMap_scale__P2718_mk(s) { -function game_onUpdate__P3003(s) { +function game_onUpdate__P56015(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6193,15 +6193,15 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P403_mk(s); - s.tmp_3 = game_eventContext__P2982_mk(s); - s.callLocIdx = 1647; s.pc = 5; return s.tmp_3; + s.tmp_2 = control_EventContext_registerFrameHandler__P53415_mk(s); + s.tmp_3 = game_eventContext__P55994_mk(s); + s.callLocIdx = 1648; 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 = 1648; s.pc = 4; return s.tmp_2; + s.callLocIdx = 1649; s.pc = 4; return s.tmp_2; case 4: r0 = s.retval; case 3: @@ -6209,12 +6209,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P3003.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__P56015.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__P3003_mk(s) { +function game_onUpdate__P56015_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P3003, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P56015, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6227,7 +6227,7 @@ function game_onUpdate__P3003_mk(s) { -function control_EventContext_registerFrameHandler__P403(s) { +function control_EventContext_registerFrameHandler__P53415(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6237,8 +6237,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___8488 = undefined; - s.i___8497 = undefined; + s.fn___61516 = undefined; + s.i___61525 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -6246,7 +6246,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C53407_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -6259,20 +6259,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__P4541_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P57554_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 69; 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___8488 = (r0); - r0 = (s.fn___8488).fields["order"] = (s.arg1); - r0 = (s.fn___8488).fields["handler"] = (s.arg2); - s.i___8497 = (0); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C53404_VT); + s.fn___61516 = (r0); + r0 = (s.fn___61516).fields["order"] = (s.arg1); + r0 = (s.fn___61516).fields["handler"] = (s.arg2); + s.i___61525 = (0); case 3: - s.tmp_1 = r0 = s.i___8497; + s.tmp_1 = r0 = s.i___61525; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -6283,7 +6283,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___8497); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___61525); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -6292,29 +6292,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___8497, s.fn___8488); - r0 = s.fn___8488; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___61525, s.fn___61516); + r0 = s.fn___61516; { step = 7; continue; } case 4: case 5: - r0 = (s.i___8497 + 1); - s.i___8497 = (r0); + r0 = (s.i___61525 + 1); + s.i___61525 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___8488); - r0 = s.fn___8488; + r0 = pxsim_Array__push(s.tmp_0, s.fn___61516); + r0 = s.fn___61516; 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__P53415.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__P53415_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P403, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P53415, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6324,8 +6324,8 @@ function control_EventContext_registerFrameHandler__P403_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___8488: undefined, - i___8497: undefined, + fn___61516: undefined, + i___61525: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6335,7 +6335,7 @@ function control_EventContext_registerFrameHandler__P403_mk(s) { -function control_EventContext_registerFrameCallbacks__P4541(s) { +function control_EventContext_registerFrameCallbacks__P57554(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6345,13 +6345,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___8531 = undefined; + s.worker___61559 = 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__C53407_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -6364,28 +6364,28 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___8531 = (r0); - r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P8537); + s.worker___61559 = (r0); + r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P61565); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___8531); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___61559); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P4541.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__P57554.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__P4541_mk(s) { +function control_EventContext_registerFrameCallbacks__P57554_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P4541, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P57554, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___8531: undefined, + worker___61559: undefined, arg0: undefined, } } @@ -6393,7 +6393,7 @@ function control_EventContext_registerFrameCallbacks__P4541_mk(s) { -function control_EventContext_registerFrameCallbacks_inline__P8537(s) { +function control_EventContext_registerFrameCallbacks_inline__P61565(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6403,15 +6403,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___8567 = undefined; + s.delay___61595 = 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__P8543); + r0 = pxsim_pxtcore_mkAction(1, control_EventContext_registerFrameCallbacks_inline__P61571); 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__P53379_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = undefined; s.callLocIdx = 63; s.pc = 5; return s.tmp_2; @@ -6434,14 +6434,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = control_EventContext_runCallbacks__P4540_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P57553_mk(s); s.tmp_2.arg0 = s.caps[0]; s.callLocIdx = 64; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___8567 = (r0); - s.tmp_0 = pause__P413_mk(s); - s.tmp_0.arg0 = s.delay___8567; + s.delay___61595 = (r0); + s.tmp_0 = pause__P53425_mk(s); + s.tmp_0.arg0 = s.delay___61595; s.callLocIdx = 65; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -6452,24 +6452,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P8537.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__P61565.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__P8537_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P61565_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P8537, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P61565, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___8567: undefined, + delay___61595: undefined, } } -function control_EventContext_registerFrameCallbacks_inline__P8543(s) { +function control_EventContext_registerFrameCallbacks_inline__P61571(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6487,12 +6487,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P8543.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__P61571.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__P8543_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P61571_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P8543, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P61571, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6502,7 +6502,7 @@ function control_EventContext_registerFrameCallbacks_inline__P8543_mk(s) { -function control_EventContext_runCallbacks__P4540(s) { +function control_EventContext_runCallbacks__P57553(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6512,44 +6512,44 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___8576 = undefined; - s.f___8589 = undefined; - s.unnamed1478___U2 = undefined; - s.unnamed1479___U3 = undefined; - s.now___8594 = undefined; - s.runtime___8597 = undefined; - s.realTimeInSample___8616 = undefined; - s.fps___8625 = undefined; - s.delay___8694 = undefined; + s.loopStart___61604 = undefined; + s.f___61617 = undefined; + s.unnamed218___U2 = undefined; + s.unnamed219___U3 = undefined; + s.now___61622 = undefined; + s.runtime___61625 = undefined; + s.realTimeInSample___61644 = undefined; + s.fps___61653 = undefined; + s.delay___61722 = 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__C53407_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___8576 = (r0); + s.loopStart___61604 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___8576 - s.tmp_2); + r0 = (s.loopStart___61604 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___8576); - s.f___8589 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___61604); + s.f___61617 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed1478___U2 = (r0); - s.unnamed1479___U3 = (0); + s.unnamed218___U2 = (r0); + s.unnamed219___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1479___U3; - r0 = pxsim_Array__length(s.unnamed1478___U2); + s.tmp_0 = r0 = s.unnamed219___U3; + r0 = pxsim_Array__length(s.unnamed218___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1478___U2, s.unnamed1479___U3); - s.f___8589 = (r0); + r0 = pxsim_Array__getAt(s.unnamed218___U2, s.unnamed219___U3); + s.f___61617 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___8589; + s.tmp_2.arg0 = s.f___61617; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); s.callLocIdx = 61; s.pc = 11; return s.tmp_2; @@ -6561,19 +6561,19 @@ switch (step) { } case 11: r0 = s.retval; - r0 = (s.unnamed1479___U3 + 1); - s.unnamed1479___U3 = (r0); + r0 = (s.unnamed219___U3 + 1); + s.unnamed219___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed1478___U2 = (undefined); + s.unnamed218___U2 = (undefined); r0 = pxsim.control.millis(); - s.now___8594 = (r0); - r0 = (s.now___8594 - s.loopStart___8576); - s.runtime___8597 = (r0); + s.now___61622 = (r0); + r0 = (s.now___61622 - s.loopStart___61604); + s.runtime___61625 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___8597); + r0 = (s.tmp_2 + s.runtime___61625); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -6601,9 +6601,9 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = s.arg0.fields["lastPerfDump"]; s.tmp_4 = r0; - r0 = (s.now___8594 - s.tmp_4); - s.realTimeInSample___8616 = (r0); - r0 = (s.arg0).fields["lastPerfDump"] = (s.now___8594); + r0 = (s.now___61622 - s.tmp_4); + s.realTimeInSample___61644 = (r0); + r0 = (s.arg0).fields["lastPerfDump"] = (s.now___61622); r0 = s.arg0.fields["framesInSample"]; s.tmp_0 = r0; r0 = s.arg0.fields["timeInSample"]; @@ -6611,8 +6611,8 @@ switch (step) { r0 = (s.tmp_2 / 1000); s.tmp_1 = r0; r0 = (s.tmp_0 / s.tmp_1); - s.fps___8625 = (r0); - r0 = pxsim.Math_.round(s.fps___8625); + s.fps___61653 = (r0); + r0 = pxsim.Math_.round(s.fps___61653); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 12); @@ -6624,21 +6624,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___8625 < 99); + globals.control_EventContext_lastStats___53409 = (r0); + r0 = (s.fps___61653 < 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___53409) && (globals.control_EventContext_lastStats___53409).vtable) { setupResume(s, 13); - pxsim_String__stringConv(globals.control_EventContext_lastStats___397); + pxsim_String__stringConv(globals.control_EventContext_lastStats___53409); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___397) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___53409) + ""; } case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___8625 * 10); + r0 = (s.fps___61653 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -6665,7 +6665,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___53409 = (r0); case 5: case 6: r0 = pxsim.control.profilingEnabled(); @@ -6674,7 +6674,7 @@ switch (step) { if (!r0) { step = 7; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; - r0 = (s.fps___8625 * 100); + r0 = (s.fps___61653 * 100); s.tmp_12 = r0; r0 = (s.tmp_12 | 0); s.tmp_11 = r0; @@ -6721,12 +6721,12 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, "ms/"); s.tmp_3 = r0; - if ((s.realTimeInSample___8616) && (s.realTimeInSample___8616).vtable) { + if ((s.realTimeInSample___61644) && (s.realTimeInSample___61644).vtable) { setupResume(s, 19); - pxsim_String__stringConv(s.realTimeInSample___8616); + pxsim_String__stringConv(s.realTimeInSample___61644); checkResumeConsumed(); return; - } else { s.retval = (s.realTimeInSample___8616) + ""; } + } else { s.retval = (s.realTimeInSample___61644) + ""; } case 19: r0 = s.retval; s.tmp_17 = r0; @@ -6743,24 +6743,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__P53142_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___8597); + r0 = (20 - s.runtime___61625); s.tmp_0.arg1 = r0; s.callLocIdx = 62; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.delay___8694 = (r0); - r0 = s.delay___8694; + s.delay___61722 = (r0); + r0 = s.delay___61722; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P4540.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__P57553.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__P4540_mk(s) { +function control_EventContext_runCallbacks__P57553_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P4540, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P57553, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6780,15 +6780,15 @@ function control_EventContext_runCallbacks__P4540_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - loopStart___8576: undefined, - f___8589: undefined, - unnamed1478___U2: undefined, - unnamed1479___U3: undefined, - now___8594: undefined, - runtime___8597: undefined, - realTimeInSample___8616: undefined, - fps___8625: undefined, - delay___8694: undefined, + loopStart___61604: undefined, + f___61617: undefined, + unnamed218___U2: undefined, + unnamed219___U3: undefined, + now___61622: undefined, + runtime___61625: undefined, + realTimeInSample___61644: undefined, + fps___61653: undefined, + delay___61722: undefined, arg0: undefined, } } @@ -6796,7 +6796,7 @@ function control_EventContext_runCallbacks__P4540_mk(s) { -function pauseUntil__P367(s) { +function pauseUntil__P53379(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6843,7 +6843,7 @@ switch (step) { s.arg1 = (0); case 5: case 6: - s.tmp_0 = control___queuePollEvent__P366_mk(s); + s.tmp_0 = control___queuePollEvent__P53378_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; @@ -6855,12 +6855,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__P53379.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__P53379_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P367, depth: s.depth + 1, + parent: s, fn: pauseUntil__P53379, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6876,7 +6876,7 @@ function pauseUntil__P367_mk(s) { -function control___queuePollEvent__P366(s) { +function control___queuePollEvent__P53378(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6886,16 +6886,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___8716 = undefined; + s.ev___61744 = 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__C4514_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C57527_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P4515_mk(s); + s.tmp_1 = control_PollEvent_constructor__P57528_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1023; r0 = pxsim.control.allocateNotifyEvent(); @@ -6911,8 +6911,8 @@ switch (step) { s.callLocIdx = 39; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___8716 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___4517); + s.ev___61744 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___57530); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -6920,19 +6920,19 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); s.tmp_2 = r0; - r0 = pxsim_Array__push(s.tmp_2, s.ev___8716); - globals._pollEventQueue___4517 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P4518); + r0 = pxsim_Array__push(s.tmp_2, s.ev___61744); + globals._pollEventQueue___57530 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P57531); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___4517, s.ev___8716); + r0 = pxsim_Array__push(globals._pollEventQueue___57530, s.ev___61744); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P391_mk(s); - r0 = s.ev___8716.fields["eid"]; + s.tmp_0 = control_onEvent__P53403_mk(s); + r0 = s.ev___61744.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___8716.fields["vid"]; + r0 = s.ev___61744.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; @@ -6941,9 +6941,9 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___8716.fields["eid"]; + r0 = s.ev___61744.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___8716.fields["vid"]; + r0 = s.ev___61744.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -6956,17 +6956,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__P53378.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__P53378_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P366, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P53378, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___8716: undefined, + ev___61744: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -6976,7 +6976,7 @@ function control___queuePollEvent__P366_mk(s) { -function control_pollEvents__P4518(s) { +function control_pollEvents__P57531(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6986,31 +6986,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___8843 = undefined; - s.i___8846 = undefined; - s.ev___8852 = undefined; + s.now___61871 = undefined; + s.i___61874 = undefined; + s.ev___61880 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___4517); + r0 = pxsim_Array__length(globals._pollEventQueue___57530); 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___8843 = (r0); - s.i___8846 = (0); + s.now___61871 = (r0); + s.i___61874 = (0); case 2: - s.tmp_1 = r0 = s.i___8846; - r0 = pxsim_Array__length(globals._pollEventQueue___4517); + s.tmp_1 = r0 = s.i___61874; + r0 = pxsim_Array__length(globals._pollEventQueue___57530); 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___4517, s.i___8846); - s.ev___8852 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___57530, s.i___61874); + s.ev___61880 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___8852; + s.tmp_1.arg0 = s.ev___61880; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); s.callLocIdx = 36; s.pc = 13; return s.tmp_1; @@ -7028,7 +7028,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___8852.fields["timeOut"]; + r0 = s.ev___61880.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -7037,11 +7037,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___8852.fields["start"]; + r0 = s.ev___61880.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___8843 - s.tmp_5); + r0 = (s.now___61871 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___8852.fields["timeOut"]; + r0 = s.ev___61880.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -7053,50 +7053,50 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___8852.fields["eid"]; + r0 = s.ev___61880.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___8852.fields["vid"]; + r0 = s.ev___61880.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___8852.fields["once"]; + r0 = s.ev___61880.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___4517; - s.tmp_1.arg1 = s.i___8846; + s.tmp_1 = helpers_arraySplice__P53112_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___57530; + s.tmp_1.arg1 = s.i___61874; s.tmp_1.arg2 = 1; s.callLocIdx = 37; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___8846 - 1); - s.i___8846 = (r0); + r0 = (s.i___61874 - 1); + s.i___61874 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___8846 + 1); - s.i___8846 = (r0); + r0 = (s.i___61874 + 1); + s.i___61874 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P413_mk(s); + s.tmp_0 = pause__P53425_mk(s); s.tmp_0.arg0 = 50; s.callLocIdx = 38; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; { step = 1; continue; } case 12: - globals._pollEventQueue___4517 = (undefined); + globals._pollEventQueue___57530 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P4518.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P57531.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__P4518_mk(s) { +function control_pollEvents__P57531_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P4518, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P57531, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7109,16 +7109,16 @@ function control_pollEvents__P4518_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___8843: undefined, - i___8846: undefined, - ev___8852: undefined, + now___61871: undefined, + i___61874: undefined, + ev___61880: undefined, } } -function helpers_arraySplice__P100(s) { +function helpers_arraySplice__P53112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7128,7 +7128,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___8900 = undefined; + s.i___61928 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7142,15 +7142,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___8900 = (0); + s.i___61928 = (0); case 3: - r0 = (s.i___8900 < s.arg2); + r0 = (s.i___61928 < 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___8900 + 1); - s.i___8900 = (r0); + r0 = (s.i___61928 + 1); + s.i___61928 = (r0); { step = 3; continue; } case 4: case 5: @@ -7158,15 +7158,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__P53112.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__P53112_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P100, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P53112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___8900: undefined, + i___61928: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7176,7 +7176,7 @@ function helpers_arraySplice__P100_mk(s) { -function control_PollEvent_constructor__P4515(s) { +function control_PollEvent_constructor__P57528(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7197,7 +7197,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C4514_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C57527_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -7208,12 +7208,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P4515.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__P57528.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__P4515_mk(s) { +function control_PollEvent_constructor__P57528_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P4515, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P57528, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -7228,7 +7228,7 @@ function control_PollEvent_constructor__P4515_mk(s) { -function control_onEvent__P391(s) { +function control_onEvent__P53403(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7238,7 +7238,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___8759 = undefined; + s.ctx___61787 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7246,12 +7246,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P408_mk(s); + s.tmp_0 = control_eventContext__P53420_mk(s); s.callLocIdx = 58; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___8759 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___8759); + s.ctx___61787 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___61787); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -7260,8 +7260,8 @@ switch (step) { r0 = pxsim.control.internalOnEvent(s.arg0, s.arg1, s.arg2, s.arg3); { step = 2; continue; } case 1: - s.tmp_0 = control_EventContext_registerHandler__P405_mk(s); - s.tmp_0.arg0 = s.ctx___8759; + s.tmp_0 = control_EventContext_registerHandler__P53417_mk(s); + s.tmp_0.arg0 = s.ctx___61787; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; @@ -7274,16 +7274,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__P53403.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__P53403_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P391, depth: s.depth + 1, + parent: s, fn: control_onEvent__P53403, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___8759: undefined, + ctx___61787: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7294,7 +7294,7 @@ function control_onEvent__P391_mk(s) { -function control_eventContext__P408(s) { +function control_eventContext__P53420(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7304,10 +7304,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4543); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___57556); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___4543; - r0 = pxsim_Array__length(globals.eventContexts___4543); + s.tmp_0 = r0 = globals.eventContexts___57556; + r0 = pxsim_Array__length(globals.eventContexts___57556); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -7322,12 +7322,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__P53420.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__P53420_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P408, depth: s.depth + 1, + parent: s, fn: control_eventContext__P53420, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7339,7 +7339,7 @@ function control_eventContext__P408_mk(s) { -function control_EventContext_registerHandler__P405(s) { +function control_EventContext_registerHandler__P53417(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7349,10 +7349,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___8782 = undefined; - s.unnamed1484___U1 = undefined; - s.unnamed1485___U2 = undefined; - s.hn___8805 = undefined; + s.h___61810 = undefined; + s.unnamed224___U1 = undefined; + s.unnamed225___U2 = undefined; + s.hn___61833 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -7362,20 +7362,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); - s.h___8782 = (undefined); + if (!checkSubtype(r0, control_EventContext__C53407_VT)) failedCast(r0); + s.h___61810 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed1484___U1 = (r0); - s.unnamed1485___U2 = (0); + s.unnamed224___U1 = (r0); + s.unnamed225___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1485___U2; - r0 = pxsim_Array__length(s.unnamed1484___U1); + s.tmp_0 = r0 = s.unnamed225___U2; + r0 = pxsim_Array__length(s.unnamed224___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed1484___U1, s.unnamed1485___U2); - s.h___8782 = (r0); - r0 = s.h___8782.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed224___U1, s.unnamed225___U2); + s.h___61810 = (r0); + r0 = s.h___61810.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -7384,7 +7384,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___8782.fields["value"]; + r0 = s.h___61810.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -7392,19 +7392,19 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___8782).fields["flags"] = (s.arg4); - r0 = (s.h___8782).fields["handler"] = (s.arg3); + r0 = (s.h___61810).fields["flags"] = (s.arg4); + r0 = (s.h___61810).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed1485___U2 + 1); - s.unnamed1485___U2 = (r0); + r0 = (s.unnamed225___U2 + 1); + s.unnamed225___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed1484___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C4535_VT); + s.unnamed224___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C57548_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P4538_mk(s); + s.tmp_1 = control_EventHandler_constructor__P57551_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -7413,12 +7413,12 @@ switch (step) { s.callLocIdx = 70; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___8805 = (s.tmp_0); + s.hn___61833 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___8805); - s.tmp_0 = control_EventHandler_register__P4536_mk(s); - s.tmp_0.arg0 = s.hn___8805; + r0 = pxsim_Array__push(s.tmp_0, s.hn___61833); + s.tmp_0 = control_EventHandler_register__P57549_mk(s); + s.tmp_0.arg0 = s.hn___61833; s.callLocIdx = 71; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -7427,12 +7427,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__P53417.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__P53417_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P405, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P53417, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7440,10 +7440,10 @@ function control_EventContext_registerHandler__P405_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___8782: undefined, - unnamed1484___U1: undefined, - unnamed1485___U2: undefined, - hn___8805: undefined, + h___61810: undefined, + unnamed224___U1: undefined, + unnamed225___U2: undefined, + hn___61833: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -7455,7 +7455,7 @@ function control_EventContext_registerHandler__P405_mk(s) { -function control_EventHandler_constructor__P4538(s) { +function control_EventHandler_constructor__P57551(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7474,7 +7474,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C4535_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C57548_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -7483,12 +7483,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P4538.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__P57551.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__P4538_mk(s) { +function control_EventHandler_constructor__P57551_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P4538, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P57551, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -7501,7 +7501,7 @@ function control_EventHandler_constructor__P4538_mk(s) { -function control_EventHandler_register__P4536(s) { +function control_EventHandler_register__P57549(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7516,8 +7516,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C4535_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P8826); + if (!checkSubtype(r0, control_EventHandler__C57548_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P61854); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -7531,12 +7531,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P4536.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__P57549.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__P4536_mk(s) { +function control_EventHandler_register__P57549_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P4536, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P57549, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7549,7 +7549,7 @@ function control_EventHandler_register__P4536_mk(s) { -function control_EventHandler_register_inline__P8826(s) { +function control_EventHandler_register_inline__P61854(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7582,12 +7582,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register_inline__P8826.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__P61854.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__P8826_mk(s) { +function control_EventHandler_register_inline__P61854_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register_inline__P8826, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register_inline__P61854, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7597,7 +7597,7 @@ function control_EventHandler_register_inline__P8826_mk(s) { -function choose_level__P101112(s) { +function choose_level__P97109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7607,8 +7607,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = tiles_setTilemap__P2743_mk(s); - s.tmp_1 = helpers_getTilemapByName__P3315_mk(s); + s.tmp_0 = tiles_setTilemap__P55755_mk(s); + s.tmp_1 = helpers_getTilemapByName__P56327_mk(s); s.tmp_1.arg0 = "\n level1\n "; s.callLocIdx = 113; s.pc = 8; return s.tmp_1; case 8: @@ -7617,8 +7617,8 @@ switch (step) { s.callLocIdx = 114; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = music_play__P1907_mk(s); - s.tmp_1 = music_stringPlayable__P1909_mk(s); + s.tmp_0 = music_play__P54919_mk(s); + s.tmp_1 = music_stringPlayable__P54921_mk(s); s.tmp_1.arg0 = "F G F A - F A G "; s.tmp_1.arg1 = 130; s.callLocIdx = 115; s.pc = 10; return s.tmp_1; @@ -7629,96 +7629,96 @@ switch (step) { s.callLocIdx = 116; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - r0 = (globals.setting_level___101096 == 1); + r0 = (globals.setting_level___97093 == 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 = (globals.chosen_level___101124 == 0); + r0 = (globals.chosen_level___97121 == 0); 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 = game_splash__P2945_mk(s); + s.tmp_2 = game_splash__P55957_mk(s); s.tmp_2.arg0 = "Benvingut/da pilot!"; s.tmp_2.arg1 = undefined; s.callLocIdx = 117; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; - s.tmp_0 = game_splash__P2945_mk(s); + s.tmp_0 = game_splash__P55957_mk(s); s.tmp_0.arg0 = "Escull el bosc petit"; s.tmp_0.arg1 = "o el bosc gran"; s.callLocIdx = 118; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = game_showLongText__P2940_mk(s); + s.tmp_0 = game_showLongText__P55952_mk(s); s.tmp_0.arg0 = "Mou l'avió amb el cursor"; s.tmp_0.arg1 = 0; s.callLocIdx = 119; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = sprites_create__P2256_mk(s); - s.tmp_1 = helpers_getImageByName__P3316_mk(s); + s.tmp_0 = sprites_create__P55268_mk(s); + s.tmp_1 = helpers_getImageByName__P56328_mk(s); s.tmp_1.arg0 = "\n forestA\n "; s.callLocIdx = 120; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.button___101085; + s.tmp_0.arg1 = globals.button___97082; s.callLocIdx = 121; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - globals.forest_a___101132 = (r0); - s.tmp_0 = sprites_create__P2256_mk(s); - s.tmp_1 = helpers_getImageByName__P3316_mk(s); + globals.forest_a___97129 = (r0); + s.tmp_0 = sprites_create__P55268_mk(s); + s.tmp_1 = helpers_getImageByName__P56328_mk(s); s.tmp_1.arg0 = "\n forestB\n "; s.callLocIdx = 122; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.button___101085; + s.tmp_0.arg1 = globals.button___97082; s.callLocIdx = 123; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - globals.forest_b___101139 = (r0); - s.tmp_0 = Sprite_setPosition__P2389_mk(s); - s.tmp_0.arg0 = globals.forest_a___101132; + globals.forest_b___97136 = (r0); + s.tmp_0 = Sprite_setPosition__P55401_mk(s); + s.tmp_0.arg0 = globals.forest_a___97129; s.tmp_0.arg1 = 30; s.tmp_0.arg2 = 75; s.callLocIdx = 124; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = Sprite_setPosition__P2389_mk(s); - s.tmp_0.arg0 = globals.forest_b___101139; + s.tmp_0 = Sprite_setPosition__P55401_mk(s); + s.tmp_0.arg0 = globals.forest_b___97136; s.tmp_0.arg1 = 130; s.tmp_0.arg2 = 70; s.callLocIdx = 125; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = Sprite_setPosition__P2389_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + s.tmp_0 = Sprite_setPosition__P55401_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = 85; s.tmp_0.arg2 = 70; s.callLocIdx = 126; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.tmp_0 = Sprite_setBounceOnWall__P2398_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + s.tmp_0 = Sprite_setBounceOnWall__P55410_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = true; s.callLocIdx = 127; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = Sprite_setStayInScreen__P2397_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + s.tmp_0 = Sprite_setStayInScreen__P55409_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = true; s.callLocIdx = 128; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.tmp_0 = controller_moveSprite__P2148_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + s.tmp_0 = controller_moveSprite__P55160_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = 100; s.tmp_0.arg2 = 100; s.callLocIdx = 129; s.pc = 23; return s.tmp_0; @@ -7726,30 +7726,30 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = (globals.chosen_level___101124 > 0); + r0 = (globals.chosen_level___97121 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - globals.setting_level___101096 = (0); - s.tmp_0 = sprites_destroy__P2258_mk(s); - s.tmp_0.arg0 = globals.forest_a___101132; + globals.setting_level___97093 = (0); + s.tmp_0 = sprites_destroy__P55270_mk(s); + s.tmp_0.arg0 = globals.forest_a___97129; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 130; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = sprites_destroy__P2258_mk(s); - s.tmp_0.arg0 = globals.forest_b___101139; + s.tmp_0 = sprites_destroy__P55270_mk(s); + s.tmp_0.arg0 = globals.forest_b___97136; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 131; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = music_stopAllSounds__P1625_mk(s); + s.tmp_0 = music_stopAllSounds__P54637_mk(s); s.callLocIdx = 132; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.tmp_0 = start_game__P101170_mk(s); + s.tmp_0 = start_game__P97167_mk(s); s.callLocIdx = 133; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; @@ -7759,12 +7759,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -choose_level__P101112.info = {"start":524,"length":1046,"line":18,"column":0,"endLine":50,"endColumn":1,"fileName":"main.ts","functionName":"choose_level","argumentNames":[]} +choose_level__P97109.info = {"start":523,"length":1046,"line":18,"column":0,"endLine":50,"endColumn":1,"fileName":"main.ts","functionName":"choose_level","argumentNames":[]} -function choose_level__P101112_mk(s) { +function choose_level__P97109_mk(s) { checkStack(s.depth); return { - parent: s, fn: choose_level__P101112, depth: s.depth + 1, + parent: s, fn: choose_level__P97109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7775,7 +7775,7 @@ function choose_level__P101112_mk(s) { -function start_game__P101170(s) { +function start_game__P97167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7785,31 +7785,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___101295 = undefined; - s.tmp_0 = Sprite_setBounceOnWall__P2398_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + s.index___97292 = undefined; + s.tmp_0 = Sprite_setBounceOnWall__P55410_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = false; s.callLocIdx = 174; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = controller_moveSprite__P2148_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + s.tmp_0 = controller_moveSprite__P55160_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = 100; s.tmp_0.arg2 = 100; s.callLocIdx = 175; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = scene_cameraFollowSprite__P2870_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + s.tmp_0 = scene_cameraFollowSprite__P55882_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.callLocIdx = 176; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = init_config__P101187_mk(s); + s.tmp_0 = init_config__P97184_mk(s); s.callLocIdx = 177; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = music_play__P1907_mk(s); - s.tmp_1 = music_stringPlayable__P1909_mk(s); + s.tmp_0 = music_play__P54919_mk(s); + s.tmp_1 = music_stringPlayable__P54921_mk(s); s.tmp_1.arg0 = "B G B G B G B G "; s.tmp_1.arg1 = 120; s.callLocIdx = 178; s.pc = 13; return s.tmp_1; @@ -7820,35 +7820,35 @@ switch (step) { s.callLocIdx = 179; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = game_showLongText__P2940_mk(s); + s.tmp_0 = game_showLongText__P55952_mk(s); s.tmp_0.arg0 = "Prem A per tirar aigua"; s.tmp_0.arg1 = 3; s.callLocIdx = 180; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = game_showLongText__P2940_mk(s); + s.tmp_0 = game_showLongText__P55952_mk(s); s.tmp_0.arg0 = "Prem B per activar el turbo"; s.tmp_0.arg1 = 0; s.callLocIdx = 181; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.index___101295 = (0); + s.index___97292 = (0); case 1: - s.tmp_1 = r0 = s.index___101295; - r0 = pxsim.Math_.randomRange(4, 10); + s.tmp_1 = r0 = s.index___97292; + r0 = pxsim.Math_.randomRange(4, 7); 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 = 7; continue; } - r0 = (globals.chosen_level___101124 == 1); + r0 = (globals.chosen_level___97121 == 1); s.tmp_3 = r0; r0 = pxsim_numops_toBool(s.tmp_3); if (r0) { step = 2; continue; } r0 = s.tmp_3; { step = 3; continue; } case 2: - r0 = (s.index___101295 % 2); + r0 = (s.index___97292 % 2); s.tmp_4 = r0; r0 = (s.tmp_4 == 0); case 3: @@ -7859,14 +7859,14 @@ switch (step) { { step = 6; continue; } { step = 5; continue; } case 4: - s.tmp_6 = sprites_create_spreading_fire__P4416_mk(s); - s.tmp_7 = helpers_getTileByName__P3318_mk(s); + s.tmp_6 = sprites_create_spreading_fire__P57429_mk(s); + s.tmp_7 = helpers_getTileByName__P56330_mk(s); s.tmp_7.arg0 = "\n tree\n "; s.callLocIdx = 182; s.pc = 17; return s.tmp_7; case 17: r0 = s.retval; s.tmp_6.arg0 = r0; - s.tmp_8 = helpers_getTileByName__P3318_mk(s); + s.tmp_8 = helpers_getTileByName__P56330_mk(s); s.tmp_8.arg0 = "\n tree fire\n "; s.callLocIdx = 183; s.pc = 18; return s.tmp_8; case 18: @@ -7877,20 +7877,20 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.index___101295 + 1); - s.index___101295 = (r0); + r0 = (s.index___97292 + 1); + s.index___97292 = (r0); { step = 1; continue; } case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -start_game__P101170.info = {"start":3979,"length":725,"line":120,"column":0,"endLine":141,"endColumn":1,"fileName":"main.ts","functionName":"start_game","argumentNames":[]} +start_game__P97167.info = {"start":3980,"length":724,"line":120,"column":0,"endLine":141,"endColumn":1,"fileName":"main.ts","functionName":"start_game","argumentNames":[]} -function start_game__P101170_mk(s) { +function start_game__P97167_mk(s) { checkStack(s.depth); return { - parent: s, fn: start_game__P101170, depth: s.depth + 1, + parent: s, fn: start_game__P97167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7901,14 +7901,14 @@ function start_game__P101170_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - index___101295: undefined, + index___97292: undefined, } } -function sprites_create_spreading_fire__P4416(s) { +function sprites_create_spreading_fire__P57429(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7923,22 +7923,22 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = forestFire_createFireAtRandomLocation__P4420_mk(s); + s.tmp_0 = forestFire_createFireAtRandomLocation__P57433_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 2353; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2354; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_create_spreading_fire__P4416.info = {"start":4366,"length":148,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"create_spreading_fire","argumentNames":["onTile","burningTile"]} +sprites_create_spreading_fire__P57429.info = {"start":4366,"length":148,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"create_spreading_fire","argumentNames":["onTile","burningTile"]} -function sprites_create_spreading_fire__P4416_mk(s) { +function sprites_create_spreading_fire__P57429_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create_spreading_fire__P4416, depth: s.depth + 1, + parent: s, fn: sprites_create_spreading_fire__P57429, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7949,7 +7949,7 @@ function sprites_create_spreading_fire__P4416_mk(s) { -function forestFire_createFireAtRandomLocation__P4420(s) { +function forestFire_createFireAtRandomLocation__P57433(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7964,23 +7964,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = forestFire_FireState_createFireAtRandomLocation__P7150_mk(s); - s.tmp_0.arg0 = globals.state___7161; + s.tmp_0 = forestFire_FireState_createFireAtRandomLocation__P60163_mk(s); + s.tmp_0.arg0 = globals.state___60174; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 2416; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2417; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -forestFire_createFireAtRandomLocation__P4420.info = {"start":10814,"length":130,"line":285,"column":4,"endLine":287,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"createFireAtRandomLocation","argumentNames":["tile","fire"]} +forestFire_createFireAtRandomLocation__P57433.info = {"start":10814,"length":130,"line":285,"column":4,"endLine":287,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"createFireAtRandomLocation","argumentNames":["tile","fire"]} -function forestFire_createFireAtRandomLocation__P4420_mk(s) { +function forestFire_createFireAtRandomLocation__P57433_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_createFireAtRandomLocation__P4420, depth: s.depth + 1, + parent: s, fn: forestFire_createFireAtRandomLocation__P57433, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7991,7 +7991,7 @@ function forestFire_createFireAtRandomLocation__P4420_mk(s) { -function forestFire_FireState_createFireAtRandomLocation__P7150(s) { +function forestFire_FireState_createFireAtRandomLocation__P60163(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8008,31 +8008,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, forestFire_FireState__C7146_VT)) failedCast(r0); + if (!checkSubtype(r0, forestFire_FireState__C60159_VT)) failedCast(r0); r0 = (s.arg0).fields["fireImage"] = (s.arg2); - s.tmp_0 = forestFire_FireState_createFireAtLocation__P7151_mk(s); + s.tmp_0 = forestFire_FireState_createFireAtLocation__P60164_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = tiles_getRandomTileByType__P2756_mk(s); + s.tmp_1 = tiles_getRandomTileByType__P55768_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 2373; s.pc = 2; return s.tmp_1; + s.callLocIdx = 2374; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; - s.callLocIdx = 2374; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2375; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -forestFire_FireState_createFireAtRandomLocation__P7150.info = {"start":3881,"length":183,"line":113,"column":8,"endLine":116,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"createFireAtRandomLocation","argumentNames":["this","tile","fire"]} +forestFire_FireState_createFireAtRandomLocation__P60163.info = {"start":3881,"length":183,"line":113,"column":8,"endLine":116,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"createFireAtRandomLocation","argumentNames":["this","tile","fire"]} -function forestFire_FireState_createFireAtRandomLocation__P7150_mk(s) { +function forestFire_FireState_createFireAtRandomLocation__P60163_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_FireState_createFireAtRandomLocation__P7150, depth: s.depth + 1, + parent: s, fn: forestFire_FireState_createFireAtRandomLocation__P60163, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8045,7 +8045,7 @@ function forestFire_FireState_createFireAtRandomLocation__P7150_mk(s) { -function tiles_getRandomTileByType__P2756(s) { +function tiles_getRandomTileByType__P55768(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8055,18 +8055,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___17123 = undefined; - s.index___17133 = undefined; - s.sample___17139 = undefined; + s.scene___70152 = undefined; + s.index___70162 = undefined; + s.sample___70168 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2979_mk(s); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 1334; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___17123 = (r0); + s.scene___70152 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -8076,7 +8076,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___17123.fields["tileMap"]; + r0 = s.scene___70152.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -8090,34 +8090,34 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getImageType__P2732_mk(s); - r0 = s.scene___17123.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getImageType__P55744_mk(s); + r0 = s.scene___70152.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg0; s.callLocIdx = 1335; s.pc = 7; return s.tmp_5; case 7: r0 = s.retval; - s.index___17133 = (r0); - s.tmp_0 = tiles_TileMap_sampleTilesByType__P2735_mk(s); - r0 = s.scene___17123.fields["tileMap"]; + s.index___70162 = (r0); + s.tmp_0 = tiles_TileMap_sampleTilesByType__P55747_mk(s); + r0 = s.scene___70152.fields["tileMap"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___17133; + s.tmp_0.arg1 = s.index___70162; s.tmp_0.arg2 = 1; s.callLocIdx = 1336; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.sample___17139 = (r0); - r0 = pxsim_Array__getAt(s.sample___17139, 0); + s.sample___70168 = (r0); + r0 = pxsim_Array__getAt(s.sample___70168, 0); case 5: return leave(s, r0) default: oops() } } } -tiles_getRandomTileByType__P2756.info = {"start":26360,"length":324,"line":791,"column":4,"endLine":798,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getRandomTileByType","argumentNames":["tile"]} +tiles_getRandomTileByType__P55768.info = {"start":26360,"length":324,"line":791,"column":4,"endLine":798,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getRandomTileByType","argumentNames":["tile"]} -function tiles_getRandomTileByType__P2756_mk(s) { +function tiles_getRandomTileByType__P55768_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getRandomTileByType__P2756, depth: s.depth + 1, + parent: s, fn: tiles_getRandomTileByType__P55768, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8125,9 +8125,9 @@ function tiles_getRandomTileByType__P2756_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___17123: undefined, - index___17133: undefined, - sample___17139: undefined, + scene___70152: undefined, + index___70162: undefined, + sample___70168: undefined, arg0: undefined, } } @@ -8135,7 +8135,7 @@ function tiles_getRandomTileByType__P2756_mk(s) { -function tiles_TileMap_sampleTilesByType__P2735(s) { +function tiles_TileMap_sampleTilesByType__P55747(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8145,12 +8145,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.count___17159 = undefined; - s.reservoir___17160 = undefined; - s.col___17162 = undefined; - s.row___17169 = undefined; - s.currTile___17176 = undefined; - s.potentialIndex___17195 = undefined; + s.count___70188 = undefined; + s.reservoir___70189 = undefined; + s.col___70191 = undefined; + s.row___70198 = undefined; + s.currTile___70205 = undefined; + s.potentialIndex___70224 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8158,8 +8158,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMap_isInvalidIndex__P4950_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMap_isInvalidIndex__P57963_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 1265; s.pc = 18; return s.tmp_1; @@ -8202,12 +8202,12 @@ switch (step) { { step = 17; continue; } case 5: case 6: - s.count___17159 = (0); + s.count___70188 = (0); r0 = pxsim_Array__mk(); - s.reservoir___17160 = (r0); - s.col___17162 = (0); + s.reservoir___70189 = (r0); + s.col___70191 = (0); case 7: - s.tmp_1 = r0 = s.col___17162; + s.tmp_1 = r0 = s.col___70191; r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_width"]; @@ -8216,9 +8216,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.row___17169 = (0); + s.row___70198 = (0); case 8: - s.tmp_1 = r0 = s.row___17169; + s.tmp_1 = r0 = s.row___70198; r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_height"]; @@ -8227,79 +8227,79 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_4 = tiles_TileMapData_getTile__P2703_mk(s); + s.tmp_4 = tiles_TileMapData_getTile__P55715_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.col___17162; - s.tmp_4.arg2 = s.row___17169; + s.tmp_4.arg1 = s.col___70191; + s.tmp_4.arg2 = s.row___70198; s.callLocIdx = 1269; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; - s.currTile___17176 = (r0); - r0 = (s.currTile___17176 === s.arg1); + s.currTile___70205 = (r0); + r0 = (s.currTile___70205 === s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.count___17159 < s.arg2); + r0 = (s.count___70188 < s.arg2); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C2673_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C55685_VT); s.tmp_2 = r0; - s.tmp_3 = tiles_Location_constructor__P2674_mk(s); + s.tmp_3 = tiles_Location_constructor__P55686_mk(s); s.tmp_3.arg0 = s.tmp_2; - s.tmp_3.arg1 = s.col___17162; - s.tmp_3.arg2 = s.row___17169; + s.tmp_3.arg1 = s.col___70191; + s.tmp_3.arg2 = s.row___70198; s.tmp_3.arg3 = s.arg0; s.callLocIdx = 1270; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - r0 = pxsim_Array__push(s.reservoir___17160, s.tmp_2); + r0 = pxsim_Array__push(s.reservoir___70189, s.tmp_2); { step = 12; continue; } case 9: - r0 = pxsim.Math_.randomRange(0, s.count___17159); - s.potentialIndex___17195 = (r0); - r0 = (s.potentialIndex___17195 < s.arg2); + r0 = pxsim.Math_.randomRange(0, s.count___70188); + s.potentialIndex___70224 = (r0); + r0 = (s.potentialIndex___70224 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C2673_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C55685_VT); s.tmp_1 = r0; - s.tmp_2 = tiles_Location_constructor__P2674_mk(s); + s.tmp_2 = tiles_Location_constructor__P55686_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = s.col___17162; - s.tmp_2.arg2 = s.row___17169; + s.tmp_2.arg1 = s.col___70191; + s.tmp_2.arg2 = s.row___70198; s.tmp_2.arg3 = s.arg0; s.callLocIdx = 1271; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; - r0 = pxsim_Array_.setAt(s.reservoir___17160, s.potentialIndex___17195, s.tmp_1); + r0 = pxsim_Array_.setAt(s.reservoir___70189, s.potentialIndex___70224, s.tmp_1); case 10: case 11: case 12: - r0 = (s.count___17159 + 1); - s.count___17159 = (r0); + r0 = (s.count___70188 + 1); + s.count___70188 = (r0); case 13: case 14: - r0 = (s.row___17169 + 1); - s.row___17169 = (r0); + r0 = (s.row___70198 + 1); + s.row___70198 = (r0); { step = 8; continue; } case 15: - r0 = (s.col___17162 + 1); - s.col___17162 = (r0); + r0 = (s.col___70191 + 1); + s.col___70191 = (r0); { step = 7; continue; } case 16: - r0 = s.reservoir___17160; + r0 = s.reservoir___70189; case 17: return leave(s, r0) default: oops() } } } -tiles_TileMap_sampleTilesByType__P2735.info = {"start":12771,"length":1101,"line":428,"column":8,"endLine":452,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"sampleTilesByType","argumentNames":["this","index","maxCount"]} +tiles_TileMap_sampleTilesByType__P55747.info = {"start":12771,"length":1101,"line":428,"column":8,"endLine":452,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"sampleTilesByType","argumentNames":["this","index","maxCount"]} -function tiles_TileMap_sampleTilesByType__P2735_mk(s) { +function tiles_TileMap_sampleTilesByType__P55747_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_sampleTilesByType__P2735, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_sampleTilesByType__P55747, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8311,12 +8311,12 @@ function tiles_TileMap_sampleTilesByType__P2735_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - count___17159: undefined, - reservoir___17160: undefined, - col___17162: undefined, - row___17169: undefined, - currTile___17176: undefined, - potentialIndex___17195: undefined, + count___70188: undefined, + reservoir___70189: undefined, + col___70191: undefined, + row___70198: undefined, + currTile___70205: undefined, + potentialIndex___70224: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8326,7 +8326,7 @@ function tiles_TileMap_sampleTilesByType__P2735_mk(s) { -function tiles_TileMap_isInvalidIndex__P4950(s) { +function tiles_TileMap_isInvalidIndex__P57963(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8342,7 +8342,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -8358,12 +8358,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isInvalidIndex__P4950.info = {"start":13882,"length":106,"line":454,"column":8,"endLine":456,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} +tiles_TileMap_isInvalidIndex__P57963.info = {"start":13882,"length":106,"line":454,"column":8,"endLine":456,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"isInvalidIndex","argumentNames":["this","index"]} -function tiles_TileMap_isInvalidIndex__P4950_mk(s) { +function tiles_TileMap_isInvalidIndex__P57963_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isInvalidIndex__P4950, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isInvalidIndex__P57963, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8375,7 +8375,7 @@ function tiles_TileMap_isInvalidIndex__P4950_mk(s) { -function tiles_TileMap_enabled__P2727(s) { +function tiles_TileMap_enabled__P55739(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8390,7 +8390,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -8403,13 +8403,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P2727.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__P2727.isGetter = true; +tiles_TileMap_enabled__P55739.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__P55739.isGetter = true; -function tiles_TileMap_enabled__P2727_mk(s) { +function tiles_TileMap_enabled__P55739_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P2727, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P55739, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8422,7 +8422,7 @@ function tiles_TileMap_enabled__P2727_mk(s) { -function tiles_TileMap_getImageType__P2732(s) { +function tiles_TileMap_getImageType__P55744(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8432,48 +8432,48 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tileset___16658 = undefined; - s.i___16663 = undefined; - s.newIndex___16677 = undefined; + s.tileset___69687 = undefined; + s.i___69692 = undefined; + s.newIndex___69706 = 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__C2715_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["tileset"]; - s.tileset___16658 = (r0); - s.i___16663 = (0); + s.tileset___69687 = (r0); + s.i___69692 = (0); case 1: - s.tmp_1 = r0 = s.i___16663; - r0 = pxsim_Array__length(s.tileset___16658); + s.tmp_1 = r0 = s.i___69692; + r0 = pxsim_Array__length(s.tileset___69687); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.tileset___16658, s.i___16663); + r0 = pxsim_Array__getAt(s.tileset___69687, s.i___69692); s.tmp_4 = r0; r0 = pxsim_ImageMethods.equals(s.tmp_4, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 2; continue; } - r0 = s.i___16663; + r0 = s.i___69692; { step = 7; continue; } case 2: case 3: - r0 = (s.i___16663 + 1); - s.i___16663 = (r0); + r0 = (s.i___69692 + 1); + s.i___69692 = (r0); { step = 1; continue; } case 4: - r0 = pxsim_Array__length(s.tileset___16658); - s.newIndex___16677 = (r0); - s.tmp_3 = tiles_TileMap_isInvalidIndex__P4950_mk(s); + r0 = pxsim_Array__length(s.tileset___69687); + s.newIndex___69706 = (r0); + s.tmp_3 = tiles_TileMap_isInvalidIndex__P57963_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.newIndex___16677; + s.tmp_3.arg1 = s.newIndex___69706; s.callLocIdx = 1258; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; @@ -8484,8 +8484,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_Array__push(s.tileset___16658, s.arg1); - r0 = s.newIndex___16677; + r0 = pxsim_Array__push(s.tileset___69687, s.arg1); + r0 = s.newIndex___69706; { step = 7; continue; } case 5: case 6: @@ -8494,21 +8494,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getImageType__P2732.info = {"start":11525,"length":482,"line":393,"column":8,"endLine":406,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getImageType","argumentNames":["this","im"]} +tiles_TileMap_getImageType__P55744.info = {"start":11525,"length":482,"line":393,"column":8,"endLine":406,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getImageType","argumentNames":["this","im"]} -function tiles_TileMap_getImageType__P2732_mk(s) { +function tiles_TileMap_getImageType__P55744_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getImageType__P2732, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getImageType__P55744, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - tileset___16658: undefined, - i___16663: undefined, - newIndex___16677: undefined, + tileset___69687: undefined, + i___69692: undefined, + newIndex___69706: undefined, arg0: undefined, arg1: undefined, } } @@ -8517,7 +8517,7 @@ function tiles_TileMap_getImageType__P2732_mk(s) { -function tiles_TileMapData_getTileset__P2705(s) { +function tiles_TileMapData_getTileset__P55717(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8532,17 +8532,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2697_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C55709_VT)) failedCast(r0); r0 = s.arg0.fields["tileset"]; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileset__P2705.info = {"start":7287,"length":57,"line":247,"column":8,"endLine":249,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileset","argumentNames":["this"]} +tiles_TileMapData_getTileset__P55717.info = {"start":7287,"length":57,"line":247,"column":8,"endLine":249,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTileset","argumentNames":["this"]} -function tiles_TileMapData_getTileset__P2705_mk(s) { +function tiles_TileMapData_getTileset__P55717_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileset__P2705, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileset__P55717, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -8551,7 +8551,7 @@ function tiles_TileMapData_getTileset__P2705_mk(s) { -function init_config__P101187(s) { +function init_config__P97184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8561,18 +8561,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.chosen_level___101124 == 1); + r0 = (globals.chosen_level___97121 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = game_splash__P2945_mk(s); + s.tmp_1 = game_splash__P55957_mk(s); s.tmp_1.arg0 = "Bosc petit"; s.tmp_1.arg1 = undefined; s.callLocIdx = 139; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = tiles_setTilemap__P2743_mk(s); - s.tmp_1 = helpers_getTilemapByName__P3315_mk(s); + s.tmp_0 = tiles_setTilemap__P55755_mk(s); + s.tmp_1 = helpers_getTilemapByName__P56327_mk(s); s.tmp_1.arg0 = "\n level1\n "; s.callLocIdx = 140; s.pc = 7; return s.tmp_1; case 7: @@ -8581,19 +8581,19 @@ switch (step) { s.callLocIdx = 141; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = game_set_dryness_of_grass__P4410_mk(s); + s.tmp_0 = game_set_dryness_of_grass__P57423_mk(s); r0 = pxsim.Math_.randomRange(2, 4); s.tmp_0.arg0 = r0; s.callLocIdx = 142; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = game_set_strength_of_wind__P4408_mk(s); + s.tmp_0 = game_set_strength_of_wind__P57421_mk(s); r0 = pxsim.Math_.randomRange(2, 4); s.tmp_0.arg0 = r0; s.callLocIdx = 143; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = game_set_health_of_trees__P4409_mk(s); + s.tmp_0 = game_set_health_of_trees__P57422_mk(s); r0 = pxsim.Math_.randomRange(5, 9); s.tmp_0.arg0 = r0; s.callLocIdx = 144; s.pc = 10; return s.tmp_0; @@ -8601,18 +8601,18 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 1: - r0 = (globals.chosen_level___101124 == 2); + r0 = (globals.chosen_level___97121 == 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = game_splash__P2945_mk(s); + s.tmp_1 = game_splash__P55957_mk(s); s.tmp_1.arg0 = "Bosc gran"; s.tmp_1.arg1 = undefined; s.callLocIdx = 145; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - s.tmp_0 = tiles_setTilemap__P2743_mk(s); - s.tmp_1 = helpers_getTilemapByName__P3315_mk(s); + s.tmp_0 = tiles_setTilemap__P55755_mk(s); + s.tmp_1 = helpers_getTilemapByName__P56327_mk(s); s.tmp_1.arg0 = "\n level2\n "; s.callLocIdx = 146; s.pc = 13; return s.tmp_1; case 13: @@ -8621,19 +8621,19 @@ switch (step) { s.callLocIdx = 147; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = game_set_dryness_of_grass__P4410_mk(s); + s.tmp_0 = game_set_dryness_of_grass__P57423_mk(s); r0 = pxsim.Math_.randomRange(2, 4); s.tmp_0.arg0 = r0; s.callLocIdx = 148; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = game_set_strength_of_wind__P4408_mk(s); + s.tmp_0 = game_set_strength_of_wind__P57421_mk(s); r0 = pxsim.Math_.randomRange(2, 4); s.tmp_0.arg0 = r0; s.callLocIdx = 149; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_set_health_of_trees__P4409_mk(s); + s.tmp_0 = game_set_health_of_trees__P57422_mk(s); r0 = pxsim.Math_.randomRange(4, 9); s.tmp_0.arg0 = r0; s.callLocIdx = 150; s.pc = 16; return s.tmp_0; @@ -8642,42 +8642,42 @@ switch (step) { case 2: case 3: case 4: - s.tmp_0 = hud_danger_hud_label__P4398_mk(s); + s.tmp_0 = hud_danger_hud_label__P57411_mk(s); s.tmp_0.arg0 = "Risc d'incendi"; s.callLocIdx = 151; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = hud_danger_hud__P4393_mk(s); + s.tmp_0 = hud_danger_hud__P57406_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 152; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = hud_fire_hud_label__P4397_mk(s); + s.tmp_0 = hud_fire_hud_label__P57410_mk(s); s.tmp_0.arg0 = "Focs:"; s.callLocIdx = 153; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = hud_fire_hud__P4391_mk(s); + s.tmp_0 = hud_fire_hud__P57404_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 154; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.tmp_0 = hud_forest_hud_label__P4396_mk(s); + s.tmp_0 = hud_forest_hud_label__P57409_mk(s); s.tmp_0.arg0 = "Salut del bosc"; s.callLocIdx = 155; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = hud_forest_hud_healthy__P4394_mk(s); + s.tmp_0 = hud_forest_hud_healthy__P57407_mk(s); s.tmp_0.arg0 = 7; s.callLocIdx = 156; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.tmp_0 = hud_forest_hud_burned__P4395_mk(s); + s.tmp_0 = hud_forest_hud_burned__P57408_mk(s); s.tmp_0.arg0 = 2; s.callLocIdx = 157; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_0 = hud_forest_hud__P4392_mk(s); + s.tmp_0 = hud_forest_hud__P57405_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 158; s.pc = 24; return s.tmp_0; case 24: @@ -8686,12 +8686,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -init_config__P101187.info = {"start":2006,"length":839,"line":62,"column":0,"endLine":89,"endColumn":1,"fileName":"main.ts","functionName":"init_config","argumentNames":[]} +init_config__P97184.info = {"start":2007,"length":839,"line":62,"column":0,"endLine":89,"endColumn":1,"fileName":"main.ts","functionName":"init_config","argumentNames":[]} -function init_config__P101187_mk(s) { +function init_config__P97184_mk(s) { checkStack(s.depth); return { - parent: s, fn: init_config__P101187, depth: s.depth + 1, + parent: s, fn: init_config__P97184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8701,7 +8701,7 @@ function init_config__P101187_mk(s) { -function hud_forest_hud__P4392(s) { +function hud_forest_hud__P57405(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8715,23 +8715,23 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.drawForestHealth___7119 = (s.arg0); + globals.drawForestHealth___60132 = (s.arg0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 1; continue; } - s.tmp_0 = Sprite_setFlag__P2399_mk(s); - s.tmp_0.arg0 = globals.forestHealthBar___7132; + s.tmp_0 = Sprite_setFlag__P55411_mk(s); + s.tmp_0.arg0 = globals.forestHealthBar___60145; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = false; - s.callLocIdx = 2324; s.pc = 3; return s.tmp_0; + s.callLocIdx = 2325; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = Sprite_setFlag__P2399_mk(s); - s.tmp_0.arg0 = globals.forestHealthBar___7132; + s.tmp_0 = Sprite_setFlag__P55411_mk(s); + s.tmp_0.arg0 = globals.forestHealthBar___60145; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 2325; s.pc = 4; return s.tmp_0; + s.callLocIdx = 2326; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 2: @@ -8739,12 +8739,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -hud_forest_hud__P4392.info = {"start":2503,"length":266,"line":80,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"forest_hud","argumentNames":["answer"]} +hud_forest_hud__P57405.info = {"start":2503,"length":266,"line":80,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"forest_hud","argumentNames":["answer"]} -function hud_forest_hud__P4392_mk(s) { +function hud_forest_hud__P57405_mk(s) { checkStack(s.depth); return { - parent: s, fn: hud_forest_hud__P4392, depth: s.depth + 1, + parent: s, fn: hud_forest_hud__P57405, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8754,7 +8754,7 @@ function hud_forest_hud__P4392_mk(s) { -function Sprite_setFlag__P2399(s) { +function Sprite_setFlag__P55411(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8771,7 +8771,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -8797,12 +8797,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P2399.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__P55411.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__P2399_mk(s) { +function Sprite_setFlag__P55411_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P2399, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P55411, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8818,7 +8818,7 @@ function Sprite_setFlag__P2399_mk(s) { -function hud_forest_hud_burned__P4395(s) { +function hud_forest_hud_burned__P57408(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8832,25 +8832,25 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.burnedColor___7115 = (s.arg0); - s.tmp_0 = StatusBarSprite_setColor__P4336_mk(s); - s.tmp_0.arg0 = globals.forestHealthBar___7132; - s.tmp_0.arg1 = globals.healthyColor___7117; - s.tmp_0.arg2 = globals.burnedColor___7115; + globals.burnedColor___60128 = (s.arg0); + s.tmp_0 = StatusBarSprite_setColor__P57349_mk(s); + s.tmp_0.arg0 = globals.forestHealthBar___60145; + s.tmp_0.arg1 = globals.healthyColor___60130; + s.tmp_0.arg2 = globals.burnedColor___60128; s.tmp_0.arg3 = undefined; - s.callLocIdx = 2327; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2328; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -hud_forest_hud_burned__P4395.info = {"start":3536,"length":144,"line":119,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"forest_hud_burned","argumentNames":["color"]} +hud_forest_hud_burned__P57408.info = {"start":3536,"length":144,"line":119,"column":4,"endLine":122,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"forest_hud_burned","argumentNames":["color"]} -function hud_forest_hud_burned__P4395_mk(s) { +function hud_forest_hud_burned__P57408_mk(s) { checkStack(s.depth); return { - parent: s, fn: hud_forest_hud_burned__P4395, depth: s.depth + 1, + parent: s, fn: hud_forest_hud_burned__P57408, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8860,7 +8860,7 @@ function hud_forest_hud_burned__P4395_mk(s) { -function StatusBarSprite_setColor__P4336(s) { +function StatusBarSprite_setColor__P57349(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8878,28 +8878,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, StatusBarSprite__C4328_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(3, StatusBarSprite_setColor_inline__P18240); + if (!checkSubtype(r0, StatusBarSprite__C57341_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(3, StatusBarSprite_setColor_inline__P71269); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg2); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg3); - s.tmp_1 = StatusBarSprite_applyChange__P7072_mk(s); + s.tmp_1 = StatusBarSprite_applyChange__P60085_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 2179; s.pc = 1; return s.tmp_1; + s.callLocIdx = 2180; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -StatusBarSprite_setColor__P4336.info = {"start":5624,"length":290,"line":159,"column":4,"endLine":168,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"setColor","argumentNames":["this","fillColor","bkgdColor","drainColor"]} +StatusBarSprite_setColor__P57349.info = {"start":5624,"length":290,"line":159,"column":4,"endLine":168,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"setColor","argumentNames":["this","fillColor","bkgdColor","drainColor"]} -function StatusBarSprite_setColor__P4336_mk(s) { +function StatusBarSprite_setColor__P57349_mk(s) { checkStack(s.depth); return { - parent: s, fn: StatusBarSprite_setColor__P4336, depth: s.depth + 1, + parent: s, fn: StatusBarSprite_setColor__P57349, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8913,7 +8913,7 @@ function StatusBarSprite_setColor__P4336_mk(s) { -function StatusBarSprite_setColor_inline__P18240(s) { +function StatusBarSprite_setColor_inline__P71269(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8940,12 +8940,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -StatusBarSprite_setColor_inline__P18240.info = {"start":5719,"length":187,"line":160,"column":25,"endLine":167,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["sb"]} +StatusBarSprite_setColor_inline__P71269.info = {"start":5719,"length":187,"line":160,"column":25,"endLine":167,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["sb"]} -function StatusBarSprite_setColor_inline__P18240_mk(s) { +function StatusBarSprite_setColor_inline__P71269_mk(s) { checkStack(s.depth); return { - parent: s, fn: StatusBarSprite_setColor_inline__P18240, depth: s.depth + 1, + parent: s, fn: StatusBarSprite_setColor_inline__P71269, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -8955,7 +8955,7 @@ function StatusBarSprite_setColor_inline__P18240_mk(s) { -function StatusBarSprite_applyChange__P7072(s) { +function StatusBarSprite_applyChange__P60085(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8965,40 +8965,40 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sb___18259 = undefined; - s.output___18264 = undefined; + s.sb___71288 = undefined; + s.output___71293 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, StatusBarSprite__C4328_VT)) failedCast(r0); + if (!checkSubtype(r0, StatusBarSprite__C57341_VT)) failedCast(r0); r0 = s.arg0.fields["_statusBar"]; - s.sb___18259 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sb___18259); + s.sb___71288 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sb___71288); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_2_mk(s); s.tmp_0.argL = s.arg1; - s.tmp_0.arg0 = s.sb___18259; + s.tmp_0.arg0 = s.sb___71288; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 2180; s.pc = 4; return s.tmp_0; + s.callLocIdx = 2181; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.output___18264 = (r0); - s.tmp_0 = statusbars_StatusBar_updateDisplay__P4373_mk(s); - s.tmp_0.arg0 = s.sb___18259; - s.callLocIdx = 2181; s.pc = 5; return s.tmp_0; + s.output___71293 = (r0); + s.tmp_0 = statusbars_StatusBar_updateDisplay__P57386_mk(s); + s.tmp_0.arg0 = s.sb___71288; + s.callLocIdx = 2182; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P2371_mk(s); + s.tmp_0 = Sprite_setImage__P55383_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = s.sb___18259.fields["_image"]; + r0 = s.sb___71288.fields["_image"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 2183; s.pc = 6; return s.tmp_0; + s.callLocIdx = 2184; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = s.output___18264; + r0 = s.output___71293; { step = 3; continue; } case 1: case 2: @@ -9007,16 +9007,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -StatusBarSprite_applyChange__P7072.info = {"start":11236,"length":301,"line":310,"column":4,"endLine":321,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"applyChange","argumentNames":["this","action"]} +StatusBarSprite_applyChange__P60085.info = {"start":11236,"length":301,"line":310,"column":4,"endLine":321,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"applyChange","argumentNames":["this","action"]} -function StatusBarSprite_applyChange__P7072_mk(s) { +function StatusBarSprite_applyChange__P60085_mk(s) { checkStack(s.depth); return { - parent: s, fn: StatusBarSprite_applyChange__P7072, depth: s.depth + 1, + parent: s, fn: StatusBarSprite_applyChange__P60085, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sb___18259: undefined, - output___18264: undefined, + sb___71288: undefined, + output___71293: undefined, arg0: undefined, arg1: undefined, } } @@ -9025,7 +9025,7 @@ function StatusBarSprite_applyChange__P7072_mk(s) { -function statusbars_StatusBar_updateDisplay__P4373(s) { +function statusbars_StatusBar_updateDisplay__P57386(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9035,36 +9035,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fillWidth___18283 = undefined; - s.fillHeight___18292 = undefined; - s.barIsVertical___18301 = undefined; - s.borderColor___18304 = undefined; - s.barLeft___18313 = undefined; - s.barTop___18314 = undefined; - s.textWidth___18316 = undefined; - s.textHeight___18324 = undefined; - s.labelEnd___18328 = undefined; - s.textX___18333 = undefined; - s.textY___18334 = undefined; - s.showTarget___18440 = undefined; - s.invertDir___18447 = undefined; - s.drainPercent___18454 = undefined; - s.dw___18464 = undefined; - s.dh___18473 = undefined; - s.dx___18482 = undefined; - s.dy___18496 = undefined; - s.percent___18518 = undefined; - s.tw___18527 = undefined; - s.th___18536 = undefined; - s.tx___18545 = undefined; - s.ty___18559 = undefined; - s.handler___18581 = undefined; + s.fillWidth___71312 = undefined; + s.fillHeight___71321 = undefined; + s.barIsVertical___71330 = undefined; + s.borderColor___71333 = undefined; + s.barLeft___71342 = undefined; + s.barTop___71343 = undefined; + s.textWidth___71345 = undefined; + s.textHeight___71353 = undefined; + s.labelEnd___71357 = undefined; + s.textX___71362 = undefined; + s.textY___71363 = undefined; + s.showTarget___71469 = undefined; + s.invertDir___71476 = undefined; + s.drainPercent___71483 = undefined; + s.dw___71493 = undefined; + s.dh___71502 = undefined; + s.dx___71511 = undefined; + s.dy___71525 = undefined; + s.percent___71547 = undefined; + s.tw___71556 = undefined; + s.th___71565 = undefined; + s.tx___71574 = undefined; + s.ty___71588 = undefined; + s.handler___71610 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusBar__C4345_VT)) failedCast(r0); + if (!checkSubtype(r0, statusbars_StatusBar__C57358_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.fill(s.tmp_0, 0); @@ -9075,7 +9075,7 @@ switch (step) { r0 = (2 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.fillWidth___18283 = (r0); + s.fillWidth___71312 = (r0); r0 = s.arg0.fields["_barHeight"]; s.tmp_0 = r0; r0 = s.arg0.fields["borderWidth"]; @@ -9083,17 +9083,17 @@ switch (step) { r0 = (2 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.fillHeight___18292 = (r0); + s.fillHeight___71321 = (r0); r0 = s.arg0.fields["_barHeight"]; s.tmp_0 = r0; r0 = s.arg0.fields["_barWidth"]; s.tmp_1 = r0; r0 = (s.tmp_0 > s.tmp_1); - s.barIsVertical___18301 = (r0); - s.tmp_1 = statusbars_util_isNullOrUndefined__P7113_mk(s); + s.barIsVertical___71330 = (r0); + s.tmp_1 = statusbars_util_isNullOrUndefined__P60126_mk(s); r0 = s.arg0.fields["borderColor"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 2245; s.pc = 53; return s.tmp_1; + s.callLocIdx = 2246; s.pc = 53; return s.tmp_1; case 53: r0 = s.retval; s.tmp_0 = r0; @@ -9106,9 +9106,9 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.borderColor___18304 = (s.tmp_2); - s.barLeft___18313 = (0); - s.barTop___18314 = (0); + s.borderColor___71333 = (s.tmp_2); + s.barLeft___71342 = (0); + s.barTop___71343 = (0); r0 = s.arg0.fields["_label"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -9122,7 +9122,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 = 2247; s.pc = 54; return s.tmp_2; } + else { s.callLocIdx = 2248; s.pc = 54; return s.tmp_2; } } case 54: r0 = s.retval; @@ -9132,7 +9132,7 @@ switch (step) { r0 = pxsim_String_.length(s.tmp_4); s.tmp_3 = r0; r0 = (s.tmp_1 * s.tmp_3); - s.textWidth___18316 = (r0); + s.textWidth___71345 = (r0); s.tmp_0 = if_charHeight_1_mk(s); r0 = s.arg0.fields["font"]; s.tmp_0.arg0 = r0; @@ -9142,153 +9142,153 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["charHeight"]; if (s.tmp_0.fn == null) { s.retval = s.tmp_0.arg0.fields["charHeight"]; } else if (!s.tmp_0.fn.isGetter) { s.retval = bind(s.tmp_0); } - else { s.callLocIdx = 2249; s.pc = 55; return s.tmp_0; } + else { s.callLocIdx = 2250; s.pc = 55; return s.tmp_0; } } case 55: r0 = s.retval; - s.textHeight___18324 = (r0); + s.textHeight___71353 = (r0); r0 = s.arg0.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 2); - s.labelEnd___18328 = (r0); - s.textX___18333 = (0); - s.textY___18334 = (0); - r0 = pxsim_numops_toBoolDecr(s.barIsVertical___18301); + s.labelEnd___71357 = (r0); + s.textX___71362 = (0); + s.textY___71363 = (0); + r0 = pxsim_numops_toBoolDecr(s.barIsVertical___71330); if (!r0) { step = 9; continue; } - r0 = pxsim_numops_toBoolDecr(s.labelEnd___18328); + r0 = pxsim_numops_toBoolDecr(s.labelEnd___71357); if (!r0) { step = 3; continue; } r0 = s.arg0.fields["_barHeight"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.textY___18334 = (r0); + s.textY___71363 = (r0); { step = 4; continue; } case 3: - s.tmp_0 = r0 = s.barTop___18314; - r0 = (s.textHeight___18324 + 1); + s.tmp_0 = r0 = s.barTop___71343; + r0 = (s.textHeight___71353 + 1); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.barTop___18314 = (r0); + s.barTop___71343 = (r0); case 4: r0 = s.arg0.fields["_barWidth"]; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.textWidth___18316); + r0 = (s.tmp_1 > s.textWidth___71345); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } r0 = s.arg0.fields["_barWidth"]; s.tmp_3 = r0; - r0 = (s.tmp_3 - s.textWidth___18316); + r0 = (s.tmp_3 - s.textWidth___71345); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); - s.textX___18333 = (r0); + s.textX___71362 = (r0); { step = 8; continue; } case 5: r0 = s.arg0.fields["_barWidth"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.textWidth___18316); + r0 = (s.tmp_1 < s.textWidth___71345); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } r0 = s.arg0.fields["_barWidth"]; s.tmp_4 = r0; - r0 = (s.textWidth___18316 - s.tmp_4); + r0 = (s.textWidth___71345 - s.tmp_4); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); - s.barLeft___18313 = (r0); + s.barLeft___71342 = (r0); case 6: case 7: case 8: { step = 16; continue; } case 9: - r0 = pxsim_numops_toBoolDecr(s.labelEnd___18328); + r0 = pxsim_numops_toBoolDecr(s.labelEnd___71357); if (!r0) { step = 10; continue; } r0 = s.arg0.fields["_barWidth"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.textX___18333 = (r0); + s.textX___71362 = (r0); { step = 11; continue; } case 10: - r0 = (s.barLeft___18313 + s.textWidth___18316); - s.barLeft___18313 = (r0); + r0 = (s.barLeft___71342 + s.textWidth___71345); + s.barLeft___71342 = (r0); case 11: r0 = s.arg0.fields["_barHeight"]; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.textHeight___18324); + r0 = (s.tmp_1 > s.textHeight___71353); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } r0 = s.arg0.fields["_barHeight"]; s.tmp_3 = r0; - r0 = (s.tmp_3 - s.textHeight___18324); + r0 = (s.tmp_3 - s.textHeight___71353); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); - s.textY___18334 = (r0); + s.textY___71363 = (r0); { step = 15; continue; } case 12: r0 = s.arg0.fields["_barHeight"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.textHeight___18324); + r0 = (s.tmp_1 < s.textHeight___71353); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } r0 = s.arg0.fields["_barHeight"]; s.tmp_3 = r0; - r0 = (s.textHeight___18324 - s.tmp_3); + r0 = (s.textHeight___71353 - s.tmp_3); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); - s.barTop___18314 = (r0); + s.barTop___71343 = (r0); case 13: case 14: case 15: case 16: - s.tmp_0 = helpers_imagePrint__P1971_mk(s); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); r0 = s.arg0.fields["_image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["_label"]; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.textX___18333; - s.tmp_0.arg3 = s.textY___18334; + s.tmp_0.arg2 = s.textX___71362; + s.tmp_0.arg3 = s.textY___71363; r0 = s.arg0.fields["labelColor"]; s.tmp_0.arg4 = r0; r0 = s.arg0.fields["font"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 2252; s.pc = 56; return s.tmp_0; + s.callLocIdx = 2253; s.pc = 56; return s.tmp_0; case 56: r0 = s.retval; case 17: case 18: - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); r0 = s.arg0.fields["_image"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.barLeft___18313; - s.tmp_0.arg2 = s.barTop___18314; + s.tmp_0.arg1 = s.barLeft___71342; + s.tmp_0.arg2 = s.barTop___71343; r0 = s.arg0.fields["_barWidth"]; s.tmp_0.arg3 = r0; r0 = s.arg0.fields["_barHeight"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.borderColor___18304; - s.callLocIdx = 2254; s.pc = 57; return s.tmp_0; + s.tmp_0.arg5 = s.borderColor___71333; + s.callLocIdx = 2255; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); r0 = s.arg0.fields["_image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["borderWidth"]; s.tmp_1 = r0; - r0 = (s.barLeft___18313 + s.tmp_1); + r0 = (s.barLeft___71342 + s.tmp_1); s.tmp_0.arg1 = r0; r0 = s.arg0.fields["borderWidth"]; s.tmp_2 = r0; - r0 = (s.barTop___18314 + s.tmp_2); + r0 = (s.barTop___71343 + s.tmp_2); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.fillWidth___18283; - s.tmp_0.arg4 = s.fillHeight___18292; + s.tmp_0.arg3 = s.fillWidth___71312; + s.tmp_0.arg4 = s.fillHeight___71321; r0 = s.arg0.fields["offColor"]; s.tmp_0.arg5 = r0; - s.callLocIdx = 2256; s.pc = 58; return s.tmp_0; + s.callLocIdx = 2257; s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; r0 = s.arg0.fields["displayValue"]; @@ -9304,14 +9304,14 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); - s.showTarget___18440 = (r0); + s.showTarget___71469 = (r0); r0 = s.arg0.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 8); - s.invertDir___18447 = (r0); - r0 = pxsim_numops_toBoolDecr(s.showTarget___18440); + s.invertDir___71476 = (r0); + r0 = pxsim_numops_toBoolDecr(s.showTarget___71469); if (!r0) { step = 31; continue; } - s.tmp_0 = Math_constrain__P284_mk(s); + s.tmp_0 = Math_constrain__P53296_mk(s); r0 = s.arg0.fields["displayValue"]; s.tmp_1 = r0; r0 = s.arg0.fields["_max"]; @@ -9320,41 +9320,41 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 1; - s.callLocIdx = 2257; s.pc = 59; return s.tmp_0; + s.callLocIdx = 2258; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.drainPercent___18454 = (r0); - r0 = pxsim_numops_toBoolDecr(s.barIsVertical___18301); + s.drainPercent___71483 = (r0); + r0 = pxsim_numops_toBoolDecr(s.barIsVertical___71330); if (!r0) { step = 19; continue; } - r0 = s.fillWidth___18283; + r0 = s.fillWidth___71312; { step = 20; continue; } case 19: - r0 = (s.fillWidth___18283 * s.drainPercent___18454); + r0 = (s.fillWidth___71312 * s.drainPercent___71483); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); case 20: // jmp value (already in r0) s.tmp_1 = r0; - s.dw___18464 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.barIsVertical___18301); + s.dw___71493 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.barIsVertical___71330); if (!r0) { step = 21; continue; } - r0 = (s.fillHeight___18292 * s.drainPercent___18454); + r0 = (s.fillHeight___71321 * s.drainPercent___71483); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); { step = 22; continue; } case 21: - r0 = s.fillHeight___18292; + r0 = s.fillHeight___71321; case 22: // jmp value (already in r0) s.tmp_1 = r0; - s.dh___18473 = (s.tmp_1); - s.tmp_0 = r0 = s.barIsVertical___18301; + s.dh___71502 = (s.tmp_1); + s.tmp_0 = r0 = s.barIsVertical___71330; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 23; continue; } r0 = s.tmp_0; { step = 24; continue; } case 23: - r0 = pxsim_numops_toBoolDecr(s.invertDir___18447); + r0 = pxsim_numops_toBoolDecr(s.invertDir___71476); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 24: @@ -9365,23 +9365,23 @@ switch (step) { r0 = 0; { step = 26; continue; } case 25: - r0 = (s.fillWidth___18283 - s.dw___18464); + r0 = (s.fillWidth___71312 - s.dw___71493); case 26: // jmp value (already in r0) s.tmp_3 = r0; r0 = s.arg0.fields["borderWidth"]; s.tmp_5 = r0; - r0 = (s.barLeft___18313 + s.tmp_5); + r0 = (s.barLeft___71342 + s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_4 + s.tmp_3); - s.dx___18482 = (r0); - s.tmp_0 = r0 = s.barIsVertical___18301; + s.dx___71511 = (r0); + s.tmp_0 = r0 = s.barIsVertical___71330; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 27; continue; } r0 = s.tmp_0; { step = 28; continue; } case 27: - r0 = pxsim_numops_toBoolDecr(s.invertDir___18447); + r0 = pxsim_numops_toBoolDecr(s.invertDir___71476); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 28: @@ -9389,7 +9389,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 29; continue; } - r0 = (s.fillHeight___18292 - s.dh___18473); + r0 = (s.fillHeight___71321 - s.dh___71502); { step = 30; continue; } case 29: r0 = 0; @@ -9398,25 +9398,25 @@ switch (step) { s.tmp_3 = r0; r0 = s.arg0.fields["borderWidth"]; s.tmp_5 = r0; - r0 = (s.barTop___18314 + s.tmp_5); + r0 = (s.barTop___71343 + s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_4 + s.tmp_3); - s.dy___18496 = (r0); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.dy___71525 = (r0); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); r0 = s.arg0.fields["_image"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.dx___18482; - s.tmp_0.arg2 = s.dy___18496; - s.tmp_0.arg3 = s.dw___18464; - s.tmp_0.arg4 = s.dh___18473; + s.tmp_0.arg1 = s.dx___71511; + s.tmp_0.arg2 = s.dy___71525; + s.tmp_0.arg3 = s.dw___71493; + s.tmp_0.arg4 = s.dh___71502; r0 = s.arg0.fields["drainColor"]; s.tmp_0.arg5 = r0; - s.callLocIdx = 2259; s.pc = 60; return s.tmp_0; + s.callLocIdx = 2260; s.pc = 60; return s.tmp_0; case 60: r0 = s.retval; case 31: case 32: - s.tmp_0 = Math_constrain__P284_mk(s); + s.tmp_0 = Math_constrain__P53296_mk(s); r0 = s.arg0.fields["target"]; s.tmp_1 = r0; r0 = s.arg0.fields["_max"]; @@ -9425,41 +9425,41 @@ switch (step) { s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 1; - s.callLocIdx = 2260; s.pc = 61; return s.tmp_0; + s.callLocIdx = 2261; s.pc = 61; return s.tmp_0; case 61: r0 = s.retval; - s.percent___18518 = (r0); - r0 = pxsim_numops_toBoolDecr(s.barIsVertical___18301); + s.percent___71547 = (r0); + r0 = pxsim_numops_toBoolDecr(s.barIsVertical___71330); if (!r0) { step = 33; continue; } - r0 = s.fillWidth___18283; + r0 = s.fillWidth___71312; { step = 34; continue; } case 33: - r0 = (s.fillWidth___18283 * s.percent___18518); + r0 = (s.fillWidth___71312 * s.percent___71547); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); case 34: // jmp value (already in r0) s.tmp_1 = r0; - s.tw___18527 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.barIsVertical___18301); + s.tw___71556 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.barIsVertical___71330); if (!r0) { step = 35; continue; } - r0 = (s.fillHeight___18292 * s.percent___18518); + r0 = (s.fillHeight___71321 * s.percent___71547); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); { step = 36; continue; } case 35: - r0 = s.fillHeight___18292; + r0 = s.fillHeight___71321; case 36: // jmp value (already in r0) s.tmp_1 = r0; - s.th___18536 = (s.tmp_1); - s.tmp_0 = r0 = s.barIsVertical___18301; + s.th___71565 = (s.tmp_1); + s.tmp_0 = r0 = s.barIsVertical___71330; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 37; continue; } r0 = s.tmp_0; { step = 38; continue; } case 37: - r0 = pxsim_numops_toBoolDecr(s.invertDir___18447); + r0 = pxsim_numops_toBoolDecr(s.invertDir___71476); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 38: @@ -9470,23 +9470,23 @@ switch (step) { r0 = 0; { step = 40; continue; } case 39: - r0 = (s.fillWidth___18283 - s.tw___18527); + r0 = (s.fillWidth___71312 - s.tw___71556); case 40: // jmp value (already in r0) s.tmp_3 = r0; r0 = s.arg0.fields["borderWidth"]; s.tmp_5 = r0; - r0 = (s.barLeft___18313 + s.tmp_5); + r0 = (s.barLeft___71342 + s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_4 + s.tmp_3); - s.tx___18545 = (r0); - s.tmp_0 = r0 = s.barIsVertical___18301; + s.tx___71574 = (r0); + s.tmp_0 = r0 = s.barIsVertical___71330; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 41; continue; } r0 = s.tmp_0; { step = 42; continue; } case 41: - r0 = pxsim_numops_toBoolDecr(s.invertDir___18447); + r0 = pxsim_numops_toBoolDecr(s.invertDir___71476); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 42: @@ -9494,7 +9494,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 43; continue; } - r0 = (s.fillHeight___18292 - s.th___18536); + r0 = (s.fillHeight___71321 - s.th___71565); { step = 44; continue; } case 43: r0 = 0; @@ -9503,26 +9503,26 @@ switch (step) { s.tmp_3 = r0; r0 = s.arg0.fields["borderWidth"]; s.tmp_5 = r0; - r0 = (s.barTop___18314 + s.tmp_5); + r0 = (s.barTop___71343 + s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_4 + s.tmp_3); - s.ty___18559 = (r0); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.ty___71588 = (r0); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); r0 = s.arg0.fields["_image"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.tx___18545; - s.tmp_0.arg2 = s.ty___18559; - s.tmp_0.arg3 = s.tw___18527; - s.tmp_0.arg4 = s.th___18536; + s.tmp_0.arg1 = s.tx___71574; + s.tmp_0.arg2 = s.ty___71588; + s.tmp_0.arg3 = s.tw___71556; + s.tmp_0.arg4 = s.th___71565; r0 = s.arg0.fields["onColor"]; s.tmp_0.arg5 = r0; - s.callLocIdx = 2262; s.pc = 62; return s.tmp_0; + s.callLocIdx = 2263; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; case 45: case 46: - s.tmp_1 = statusbars_getPostProcessHandlers__P7112_mk(s); - s.callLocIdx = 2263; s.pc = 63; return s.tmp_1; + s.tmp_1 = statusbars_getPostProcessHandlers__P60125_mk(s); + s.callLocIdx = 2264; s.pc = 63; return s.tmp_1; case 63: r0 = s.retval; s.tmp_0 = r0; @@ -9538,7 +9538,7 @@ switch (step) { r0 = s.arg0.fields["kind"]; s.tmp_3 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.tmp_3); - s.handler___18581 = (r0); + s.handler___71610 = (r0); r0 = s.arg0.fields["sprite"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -9546,20 +9546,20 @@ switch (step) { r0 = s.tmp_0; { step = 50; continue; } case 49: - r0 = s.handler___18581; + r0 = s.handler___71610; case 50: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 51; continue; } s.tmp_2 = lambda_3_mk(s); - s.tmp_2.argL = s.handler___18581; + s.tmp_2.argL = s.handler___71610; r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["_image"]; s.tmp_2.arg1 = r0; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 2265; s.pc = 64; return s.tmp_2; + s.callLocIdx = 2266; s.pc = 64; return s.tmp_2; case 64: r0 = s.retval; case 51: @@ -9568,12 +9568,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -statusbars_StatusBar_updateDisplay__P4373.info = {"start":19872,"length":4237,"line":575,"column":8,"endLine":676,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"updateDisplay","argumentNames":["this"]} +statusbars_StatusBar_updateDisplay__P57386.info = {"start":19872,"length":4237,"line":575,"column":8,"endLine":676,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"updateDisplay","argumentNames":["this"]} -function statusbars_StatusBar_updateDisplay__P4373_mk(s) { +function statusbars_StatusBar_updateDisplay__P57386_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusBar_updateDisplay__P4373, depth: s.depth + 1, + parent: s, fn: statusbars_StatusBar_updateDisplay__P57386, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9581,30 +9581,30 @@ function statusbars_StatusBar_updateDisplay__P4373_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - fillWidth___18283: undefined, - fillHeight___18292: undefined, - barIsVertical___18301: undefined, - borderColor___18304: undefined, - barLeft___18313: undefined, - barTop___18314: undefined, - textWidth___18316: undefined, - textHeight___18324: undefined, - labelEnd___18328: undefined, - textX___18333: undefined, - textY___18334: undefined, - showTarget___18440: undefined, - invertDir___18447: undefined, - drainPercent___18454: undefined, - dw___18464: undefined, - dh___18473: undefined, - dx___18482: undefined, - dy___18496: undefined, - percent___18518: undefined, - tw___18527: undefined, - th___18536: undefined, - tx___18545: undefined, - ty___18559: undefined, - handler___18581: undefined, + fillWidth___71312: undefined, + fillHeight___71321: undefined, + barIsVertical___71330: undefined, + borderColor___71333: undefined, + barLeft___71342: undefined, + barTop___71343: undefined, + textWidth___71345: undefined, + textHeight___71353: undefined, + labelEnd___71357: undefined, + textX___71362: undefined, + textY___71363: undefined, + showTarget___71469: undefined, + invertDir___71476: undefined, + drainPercent___71483: undefined, + dw___71493: undefined, + dh___71502: undefined, + dx___71511: undefined, + dy___71525: undefined, + percent___71547: undefined, + tw___71556: undefined, + th___71565: undefined, + tx___71574: undefined, + ty___71588: undefined, + handler___71610: undefined, arg0: undefined, } } @@ -9612,7 +9612,7 @@ function statusbars_StatusBar_updateDisplay__P4373_mk(s) { -function statusbars_util_isNullOrUndefined__P7113(s) { +function statusbars_util_isNullOrUndefined__P60126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9641,12 +9641,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -statusbars_util_isNullOrUndefined__P7113.info = {"start":33748,"length":126,"line":964,"column":8,"endLine":966,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"isNullOrUndefined","argumentNames":["v"]} +statusbars_util_isNullOrUndefined__P60126.info = {"start":33748,"length":126,"line":964,"column":8,"endLine":966,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"isNullOrUndefined","argumentNames":["v"]} -function statusbars_util_isNullOrUndefined__P7113_mk(s) { +function statusbars_util_isNullOrUndefined__P60126_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_util_isNullOrUndefined__P7113, depth: s.depth + 1, + parent: s, fn: statusbars_util_isNullOrUndefined__P60126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9657,7 +9657,7 @@ function statusbars_util_isNullOrUndefined__P7113_mk(s) { -function statusbars_getPostProcessHandlers__P7112(s) { +function statusbars_getPostProcessHandlers__P60125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9667,20 +9667,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = statusbars_getSceneData__P7108_mk(s); - s.tmp_0.arg0 = globals.POST_PROCESS_HANDLERS_KEY___7095; - s.callLocIdx = 2295; s.pc = 1; return s.tmp_0; + s.tmp_0 = statusbars_getSceneData__P60121_mk(s); + s.tmp_0.arg0 = globals.POST_PROCESS_HANDLERS_KEY___60108; + s.callLocIdx = 2296; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -statusbars_getPostProcessHandlers__P7112.info = {"start":33574,"length":143,"line":959,"column":4,"endLine":961,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"getPostProcessHandlers","argumentNames":[]} +statusbars_getPostProcessHandlers__P60125.info = {"start":33574,"length":143,"line":959,"column":4,"endLine":961,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"getPostProcessHandlers","argumentNames":[]} -function statusbars_getPostProcessHandlers__P7112_mk(s) { +function statusbars_getPostProcessHandlers__P60125_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_getPostProcessHandlers__P7112, depth: s.depth + 1, + parent: s, fn: statusbars_getPostProcessHandlers__P60125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -9689,7 +9689,7 @@ function statusbars_getPostProcessHandlers__P7112_mk(s) { -function statusbars_getSceneData__P7108(s) { +function statusbars_getSceneData__P60121(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9703,8 +9703,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_2 = game_currentScene__P2979_mk(s); - s.callLocIdx = 2290; s.pc = 1; return s.tmp_2; + s.tmp_2 = game_currentScene__P55991_mk(s); + s.callLocIdx = 2291; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; @@ -9714,12 +9714,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -statusbars_getSceneData__P7108.info = {"start":33136,"length":88,"line":943,"column":4,"endLine":945,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"getSceneData","argumentNames":["key"]} +statusbars_getSceneData__P60121.info = {"start":33136,"length":88,"line":943,"column":4,"endLine":945,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"getSceneData","argumentNames":["key"]} -function statusbars_getSceneData__P7108_mk(s) { +function statusbars_getSceneData__P60121_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_getSceneData__P7108, depth: s.depth + 1, + parent: s, fn: statusbars_getSceneData__P60121, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9731,7 +9731,7 @@ function statusbars_getSceneData__P7108_mk(s) { -function scene_Scene_data__P2848(s) { +function scene_Scene_data__P55860(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9746,18 +9746,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2823_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C55835_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P2848.info = {"start":6957,"length":53,"line":188,"column":8,"endLine":190,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"data","argumentNames":["this"]} -scene_Scene_data__P2848.isGetter = true; +scene_Scene_data__P55860.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__P55860.isGetter = true; -function scene_Scene_data__P2848_mk(s) { +function scene_Scene_data__P55860_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P2848, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P55860, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9766,7 +9766,7 @@ function scene_Scene_data__P2848_mk(s) { -function statusbars_StatusBar_isVerticalBar__P7100(s) { +function statusbars_StatusBar_isVerticalBar__P60113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9781,7 +9781,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusBar__C4345_VT)) failedCast(r0); + if (!checkSubtype(r0, statusbars_StatusBar__C57358_VT)) failedCast(r0); r0 = s.arg0.fields["_barHeight"]; s.tmp_0 = r0; r0 = s.arg0.fields["_barWidth"]; @@ -9790,12 +9790,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -statusbars_StatusBar_isVerticalBar__P7100.info = {"start":17681,"length":90,"line":516,"column":8,"endLine":518,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"isVerticalBar","argumentNames":["this"]} +statusbars_StatusBar_isVerticalBar__P60113.info = {"start":17681,"length":90,"line":516,"column":8,"endLine":518,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"isVerticalBar","argumentNames":["this"]} -function statusbars_StatusBar_isVerticalBar__P7100_mk(s) { +function statusbars_StatusBar_isVerticalBar__P60113_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusBar_isVerticalBar__P7100, depth: s.depth + 1, + parent: s, fn: statusbars_StatusBar_isVerticalBar__P60113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9806,7 +9806,7 @@ function statusbars_StatusBar_isVerticalBar__P7100_mk(s) { -function statusbars_StatusBar_label__P4363(s) { +function statusbars_StatusBar_label__P57376(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9821,18 +9821,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusBar__C4345_VT)) failedCast(r0); + if (!checkSubtype(r0, statusbars_StatusBar__C57358_VT)) failedCast(r0); r0 = s.arg0.fields["_label"]; return leaveAccessor(s, r0) default: oops() } } } -statusbars_StatusBar_label__P4363.info = {"start":15589,"length":55,"line":443,"column":8,"endLine":445,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"label","argumentNames":["this"]} -statusbars_StatusBar_label__P4363.isGetter = true; +statusbars_StatusBar_label__P57376.info = {"start":15589,"length":55,"line":443,"column":8,"endLine":445,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"label","argumentNames":["this"]} +statusbars_StatusBar_label__P57376.isGetter = true; -function statusbars_StatusBar_label__P4363_mk(s) { +function statusbars_StatusBar_label__P57376_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusBar_label__P4363, depth: s.depth + 1, + parent: s, fn: statusbars_StatusBar_label__P57376, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9841,7 +9841,7 @@ function statusbars_StatusBar_label__P4363_mk(s) { -function helpers_imagePrint__P1971(s) { +function helpers_imagePrint__P54983(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9851,31 +9851,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___11429 = undefined; - s.cp___11431 = undefined; - s.mult___11432 = undefined; - s.dataW___11437 = undefined; - s.dataH___11443 = undefined; - s.byteHeight___11449 = undefined; - s.charSize___11455 = undefined; - s.dataSize___11459 = undefined; - s.fontdata___11463 = undefined; - s.lastchar___11466 = undefined; - s.imgBuf___11473 = undefined; - s.xOffset___11497 = undefined; - s.yOffset___11498 = undefined; - s.ch___11513 = undefined; - s.l___11532 = undefined; - s.r___11533 = undefined; - s.off___11535 = undefined; - s.guess___11536 = undefined; - s.m___11555 = undefined; - s.v___11564 = undefined; - s.i___11620 = undefined; - s.j___11625 = undefined; - s.mask___11626 = undefined; - s.c___11627 = undefined; - s.n___11644 = undefined; + s.x0___64458 = undefined; + s.cp___64460 = undefined; + s.mult___64461 = undefined; + s.dataW___64466 = undefined; + s.dataH___64472 = undefined; + s.byteHeight___64478 = undefined; + s.charSize___64484 = undefined; + s.dataSize___64488 = undefined; + s.fontdata___64492 = undefined; + s.lastchar___64495 = undefined; + s.imgBuf___64502 = undefined; + s.xOffset___64526 = undefined; + s.yOffset___64527 = undefined; + s.ch___64542 = undefined; + s.l___64561 = undefined; + s.r___64562 = undefined; + s.off___64564 = undefined; + s.guess___64565 = undefined; + s.m___64584 = undefined; + s.v___64593 = undefined; + s.i___64649 = undefined; + s.j___64654 = undefined; + s.mask___64655 = undefined; + s.c___64656 = undefined; + s.n___64673 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9896,7 +9896,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P1958_mk(s); + s.tmp_2 = image_getFontForText__P54970_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 216; s.pc = 39; return s.tmp_2; case 39: @@ -9913,8 +9913,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___11429 = (s.arg2); - s.cp___11431 = (0); + s.x0___64458 = (s.arg2); + s.cp___64460 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -9948,7 +9948,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___11432 = (s.tmp_3); + s.mult___64461 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -9962,8 +9962,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___11432); - s.dataW___11437 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___64461); + s.dataW___64466 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -9977,16 +9977,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___11432); - s.dataH___11443 = (r0); - r0 = (s.dataH___11443 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___64461); + s.dataH___64472 = (r0); + r0 = (s.dataH___64472 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___11449 = (r0); - r0 = (s.byteHeight___11449 * s.dataW___11437); - s.charSize___11455 = (r0); - r0 = (2 + s.charSize___11455); - s.dataSize___11459 = (r0); + s.byteHeight___64478 = (r0); + r0 = (s.byteHeight___64478 * s.dataW___64466); + s.charSize___64484 = (r0); + r0 = (2 + s.charSize___64484); + s.dataSize___64488 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -9999,44 +9999,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___11463 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___11463); + s.fontdata___64492 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___64492); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___11459); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___64488); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___11466 = (r0); - r0 = (s.mult___11432 == 1); + s.lastchar___64495 = (r0); + r0 = (s.mult___64461 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___11455); + r0 = (8 + s.charSize___64484); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___11473 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___11473, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___11473, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___11473, 2, s.dataW___11437); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___11473, 4, s.dataH___11443); + s.imgBuf___64502 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___64502, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___64502, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___64502, 2, s.dataW___64466); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___64502, 4, s.dataH___64472); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___11431; + s.tmp_1 = r0 = s.cp___64460; 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___11497 = (0); - s.yOffset___11498 = (0); + s.xOffset___64526 = (0); + s.yOffset___64527 = (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___11431; + s.tmp_1 = r0 = s.cp___64460; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -10046,7 +10046,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___11431); + r0 = pxsim_Array__getAt(s.arg6, s.cp___64460); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -10058,9 +10058,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___11497 = (r0); + s.xOffset___64526 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___11431); + r0 = pxsim_Array__getAt(s.arg6, s.cp___64460); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -10072,15 +10072,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___11498 = (r0); + s.yOffset___64527 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___11431; + s.tmp_0 = r0 = s.cp___64460; r0 = (s.tmp_0 + 1); - s.cp___11431 = (r0); + s.cp___64460 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___11513 = (r0); - r0 = (s.ch___11513 == 10); + s.ch___64542 = (r0); + r0 = (s.ch___64542 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -10102,89 +10102,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___11429); + s.arg2 = (s.x0___64458); case 14: case 15: - r0 = (s.ch___11513 < 32); + r0 = (s.ch___64542 < 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___11532 = (0); - s.r___11533 = (s.lastchar___11466); - s.off___11535 = (0); - r0 = (s.ch___11513 - 32); + s.l___64561 = (0); + s.r___64562 = (s.lastchar___64495); + s.off___64564 = (0); + r0 = (s.ch___64542 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___11459); - s.guess___11536 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___11463, 4, s.guess___11536); + r0 = (s.tmp_0 * s.dataSize___64488); + s.guess___64565 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___64492, 4, s.guess___64565); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___11513); + r0 = (s.tmp_1 == s.ch___64542); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___11535 = (s.guess___11536); + s.off___64564 = (s.guess___64565); { step = 25; continue; } case 18: case 19: - r0 = (s.l___11532 <= s.r___11533); + r0 = (s.l___64561 <= s.r___64562); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___11532; - r0 = (s.r___11533 - s.l___11532); + s.tmp_1 = r0 = s.l___64561; + r0 = (s.r___64562 - s.l___64561); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___11555 = (r0); - s.tmp_0 = r0 = s.fontdata___11463; - r0 = (s.m___11555 * s.dataSize___11459); + s.m___64584 = (r0); + s.tmp_0 = r0 = s.fontdata___64492; + r0 = (s.m___64584 * s.dataSize___64488); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___11564 = (r0); - r0 = (s.v___11564 == s.ch___11513); + s.v___64593 = (r0); + r0 = (s.v___64593 == s.ch___64542); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___11555 * s.dataSize___11459); - s.off___11535 = (r0); + r0 = (s.m___64584 * s.dataSize___64488); + s.off___64564 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___11564 < s.ch___11513); + r0 = (s.v___64593 < s.ch___64542); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___11555 + 1); - s.l___11532 = (r0); + r0 = (s.m___64584 + 1); + s.l___64561 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___11555 - 1); - s.r___11533 = (r0); + r0 = (s.m___64584 - 1); + s.r___64562 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___11432 == 1); + r0 = (s.mult___64461 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___11473; - s.tmp_3 = r0 = s.fontdata___11463; - r0 = (s.off___11535 + 2); + s.tmp_1 = r0 = s.imgBuf___64502; + s.tmp_3 = r0 = s.fontdata___64492; + r0 = (s.off___64564 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___11455); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___64484); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P1938_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P54950_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___11473; - r0 = (s.arg2 + s.xOffset___11497); + s.tmp_0.arg1 = s.imgBuf___64502; + r0 = (s.arg2 + s.xOffset___64526); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___11498); + r0 = (s.arg3 + s.yOffset___64527); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.callLocIdx = 225; s.pc = 48; return s.tmp_0; @@ -10208,88 +10208,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___11535 + 2); - s.off___11535 = (r0); - s.i___11620 = (0); + r0 = (s.off___64564 + 2); + s.off___64564 = (r0); + s.i___64649 = (0); case 27: - r0 = (s.i___11620 < s.dataW___11437); + r0 = (s.i___64649 < s.dataW___64466); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___11625 = (0); - s.mask___11626 = (1); - s.tmp_0 = r0 = s.off___11535; + s.j___64654 = (0); + s.mask___64655 = (1); + s.tmp_0 = r0 = s.off___64564; r0 = (s.tmp_0 + 1); - s.off___11535 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___11463, s.tmp_0); - s.c___11627 = (r0); + s.off___64564 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___64492, s.tmp_0); + s.c___64656 = (r0); case 28: - r0 = (s.j___11625 < s.dataH___11443); + r0 = (s.j___64654 < s.dataH___64472); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___11626 == 256); + r0 = (s.mask___64655 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___11535; + s.tmp_2 = r0 = s.off___64564; r0 = (s.tmp_2 + 1); - s.off___11535 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___11463, s.tmp_2); - s.c___11627 = (r0); - s.mask___11626 = (1); + s.off___64564 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___64492, s.tmp_2); + s.c___64656 = (r0); + s.mask___64655 = (1); case 29: case 30: - s.n___11644 = (0); + s.n___64673 = (0); case 31: - r0 = (s.c___11627 & s.mask___11626); + r0 = (s.c___64656 & s.mask___64655); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___11644 + 1); - s.n___11644 = (r0); - r0 = (s.mask___11626 << 1); - s.mask___11626 = (r0); + r0 = (s.n___64673 + 1); + s.n___64673 = (r0); + r0 = (s.mask___64655 << 1); + s.mask___64655 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___11644); + r0 = pxsim_numops_toBoolDecr(s.n___64673); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___11497 * s.mult___11432); + r0 = (s.xOffset___64526 * s.mult___64461); 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___11625 + s.yOffset___11498); + r0 = (s.j___64654 + s.yOffset___64527); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___11432); + r0 = (s.tmp_5 * s.mult___64461); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___11432; - r0 = (s.mult___11432 * s.n___11644); + s.tmp_0.arg3 = s.mult___64461; + r0 = (s.mult___64461 * s.n___64673); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; s.callLocIdx = 227; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___11625 + s.n___11644); - s.j___11625 = (r0); + r0 = (s.j___64654 + s.n___64673); + s.j___64654 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___11626 << 1); - s.mask___11626 = (r0); - r0 = (s.j___11625 + 1); - s.j___11625 = (r0); + r0 = (s.mask___64655 << 1); + s.mask___64655 = (r0); + r0 = (s.j___64654 + 1); + s.j___64654 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___11432); + r0 = (s.arg2 + s.mult___64461); s.arg2 = (r0); - r0 = (s.i___11620 + 1); - s.i___11620 = (r0); + r0 = (s.i___64649 + 1); + s.i___64649 = (r0); { step = 27; continue; } case 36: case 37: @@ -10299,12 +10299,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P1971.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__P54983.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__P1971_mk(s) { +function helpers_imagePrint__P54983_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P1971, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P54983, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10312,31 +10312,31 @@ function helpers_imagePrint__P1971_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___11429: undefined, - cp___11431: undefined, - mult___11432: undefined, - dataW___11437: undefined, - dataH___11443: undefined, - byteHeight___11449: undefined, - charSize___11455: undefined, - dataSize___11459: undefined, - fontdata___11463: undefined, - lastchar___11466: undefined, - imgBuf___11473: undefined, - xOffset___11497: undefined, - yOffset___11498: undefined, - ch___11513: undefined, - l___11532: undefined, - r___11533: undefined, - off___11535: undefined, - guess___11536: undefined, - m___11555: undefined, - v___11564: undefined, - i___11620: undefined, - j___11625: undefined, - mask___11626: undefined, - c___11627: undefined, - n___11644: undefined, + x0___64458: undefined, + cp___64460: undefined, + mult___64461: undefined, + dataW___64466: undefined, + dataH___64472: undefined, + byteHeight___64478: undefined, + charSize___64484: undefined, + dataSize___64488: undefined, + fontdata___64492: undefined, + lastchar___64495: undefined, + imgBuf___64502: undefined, + xOffset___64526: undefined, + yOffset___64527: undefined, + ch___64542: undefined, + l___64561: undefined, + r___64562: undefined, + off___64564: undefined, + guess___64565: undefined, + m___64584: undefined, + v___64593: undefined, + i___64649: undefined, + j___64654: undefined, + mask___64655: undefined, + c___64656: undefined, + n___64673: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -10350,7 +10350,7 @@ function helpers_imagePrint__P1971_mk(s) { -function image_getFontForText__P1958(s) { +function image_getFontForText__P54970(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10360,52 +10360,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___11721 = undefined; + s.i___64750 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___11721 = (0); + s.i___64750 = (0); case 1: - s.tmp_1 = r0 = s.i___11721; + s.tmp_1 = r0 = s.i___64750; 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___11721); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___64750); 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___1957; + r0 = globals.font12___54969; { step = 5; continue; } case 2: case 3: - r0 = (s.i___11721 + 1); - s.i___11721 = (r0); + r0 = (s.i___64750 + 1); + s.i___64750 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___1956; + r0 = globals.font8___54968; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P1958.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__P54970.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__P1958_mk(s) { +function image_getFontForText__P54970_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P1958, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P54970, 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___11721: undefined, + i___64750: undefined, arg0: undefined, } } @@ -10413,7 +10413,7 @@ function image_getFontForText__P1958_mk(s) { -function helpers_imageDrawIcon__P1938(s) { +function helpers_imageDrawIcon__P54950(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10433,7 +10433,7 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P4659_mk(s); + s.tmp_3 = helpers_pack__P57672_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; s.callLocIdx = 197; s.pc = 1; return s.tmp_3; @@ -10445,12 +10445,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P1938.info = {"start":4684,"length":145,"line":155,"column":4,"endLine":157,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} +helpers_imageDrawIcon__P54950.info = {"start":4684,"length":145,"line":155,"column":4,"endLine":157,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} -function helpers_imageDrawIcon__P1938_mk(s) { +function helpers_imageDrawIcon__P54950_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P1938, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P54950, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10467,7 +10467,7 @@ function helpers_imageDrawIcon__P1938_mk(s) { -function helpers_pack__P4659(s) { +function helpers_pack__P57672(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10482,7 +10482,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P53139_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); @@ -10493,7 +10493,7 @@ switch (step) { 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__P53139_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); @@ -10508,12 +10508,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P4659.info = {"start":3658,"length":145,"line":130,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} +helpers_pack__P57672.info = {"start":3658,"length":145,"line":130,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} -function helpers_pack__P4659_mk(s) { +function helpers_pack__P57672_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P4659, depth: s.depth + 1, + parent: s, fn: helpers_pack__P57672, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10529,7 +10529,7 @@ function helpers_pack__P4659_mk(s) { -function helpers_imageFillRect__P1939(s) { +function helpers_imageFillRect__P54951(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10549,14 +10549,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P4659_mk(s); + s.tmp_2 = helpers_pack__P57672_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 198; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P4659_mk(s); + s.tmp_4 = helpers_pack__P57672_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 199; s.pc = 2; return s.tmp_4; @@ -10568,12 +10568,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P1939.info = {"start":4834,"length":159,"line":158,"column":4,"endLine":160,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageFillRect__P54951.info = {"start":4834,"length":159,"line":158,"column":4,"endLine":160,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageFillRect__P1939_mk(s) { +function helpers_imageFillRect__P54951_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P1939, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P54951, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10592,7 +10592,7 @@ function helpers_imageFillRect__P1939_mk(s) { -function Math_constrain__P284(s) { +function Math_constrain__P53296(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10634,12 +10634,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_constrain__P284.info = {"start":1679,"length":147,"line":34,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/base/math.ts","functionName":"constrain","argumentNames":["value","low","high"]} +Math_constrain__P53296.info = {"start":1679,"length":147,"line":34,"column":4,"endLine":36,"endColumn":5,"fileName":"pxt_modules/base/math.ts","functionName":"constrain","argumentNames":["value","low","high"]} -function Math_constrain__P284_mk(s) { +function Math_constrain__P53296_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_constrain__P284, depth: s.depth + 1, + parent: s, fn: Math_constrain__P53296, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10654,7 +10654,7 @@ function Math_constrain__P284_mk(s) { -function statusbars_StatusBar_image__P4370(s) { +function statusbars_StatusBar_image__P57383(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10669,18 +10669,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusBar__C4345_VT)) failedCast(r0); + if (!checkSubtype(r0, statusbars_StatusBar__C57358_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -statusbars_StatusBar_image__P4370.info = {"start":17520,"length":55,"line":508,"column":8,"endLine":510,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"image","argumentNames":["this"]} -statusbars_StatusBar_image__P4370.isGetter = true; +statusbars_StatusBar_image__P57383.info = {"start":17520,"length":55,"line":508,"column":8,"endLine":510,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"image","argumentNames":["this"]} +statusbars_StatusBar_image__P57383.isGetter = true; -function statusbars_StatusBar_image__P4370_mk(s) { +function statusbars_StatusBar_image__P57383_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusBar_image__P4370, depth: s.depth + 1, + parent: s, fn: statusbars_StatusBar_image__P57383, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10689,7 +10689,7 @@ function statusbars_StatusBar_image__P4370_mk(s) { -function Sprite_setImage__P2371(s) { +function Sprite_setImage__P55383(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10705,7 +10705,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -10727,9 +10727,9 @@ switch (step) { case 3: case 4: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = Sprite__C2321_v5_1_mk(s); + s.tmp_0 = Sprite__C55333_v5_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C2321_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C55333_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: @@ -10739,12 +10739,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P2371.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__P55383.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__P2371_mk(s) { +function Sprite_setImage__P55383_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P2371, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P55383, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10758,7 +10758,7 @@ function Sprite_setImage__P2371_mk(s) { -function Sprite_recalcSize__P4830(s) { +function Sprite_recalcSize__P57843(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10773,13 +10773,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2350_mk(s); + s.tmp_6 = Sprite_sx__P55362_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 628; s.pc = 1; return s.tmp_6; case 1: @@ -10797,7 +10797,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.tmp_4); s.tmp_3 = r0; - s.tmp_6 = Sprite_sy__P2352_mk(s); + s.tmp_6 = Sprite_sy__P55364_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 630; s.pc = 2; return s.tmp_6; case 2: @@ -10810,7 +10810,7 @@ switch (step) { r0 = (s.tmp_7 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_height"] = (s.tmp_1); - s.tmp_0 = Sprite_resetHitbox__P2373_mk(s); + s.tmp_0 = Sprite_resetHitbox__P55385_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 632; s.pc = 3; return s.tmp_0; case 3: @@ -10819,12 +10819,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_recalcSize__P4830.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__P57843.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__P4830_mk(s) { +function Sprite_recalcSize__P57843_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_recalcSize__P4830, depth: s.depth + 1, + parent: s, fn: Sprite_recalcSize__P57843, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10841,7 +10841,7 @@ function Sprite_recalcSize__P4830_mk(s) { -function Sprite_resetHitbox__P2373(s) { +function Sprite_resetHitbox__P55385(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10856,11 +10856,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = (s.arg0).fields["_hitbox"] = (null); - s.tmp_0 = Sprite__C2321_v4_1_mk(s); + s.tmp_0 = Sprite__C55333_v4_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C2321_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C55333_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: @@ -10869,12 +10869,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_resetHitbox__P2373.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__P55385.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__P2373_mk(s) { +function Sprite_resetHitbox__P55385_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_resetHitbox__P2373, depth: s.depth + 1, + parent: s, fn: Sprite_resetHitbox__P55385, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10884,7 +10884,7 @@ function Sprite_resetHitbox__P2373_mk(s) { -function Sprite_setHitbox__P2374(s) { +function Sprite_setHitbox__P55386(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10899,12 +10899,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2203_mk(s); + s.tmp_1 = game_Hitbox_updateIfInvalid__P55215_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; s.callLocIdx = 626; s.pc = 3; return s.tmp_1; @@ -10913,7 +10913,7 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_0 = r0 = s.arg0; - s.tmp_2 = game_calculateHitBox__P2205_mk(s); + s.tmp_2 = game_calculateHitBox__P55217_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 627; s.pc = 4; return s.tmp_2; case 4: @@ -10925,12 +10925,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setHitbox__P2374.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__P55386.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__P2374_mk(s) { +function Sprite_setHitbox__P55386_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P2374, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P55386, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10942,7 +10942,7 @@ function Sprite_setHitbox__P2374_mk(s) { -function game_calculateHitBox__P2205(s) { +function game_calculateHitBox__P55217(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10952,17 +10952,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___10184 = undefined; - s.minX___10187 = undefined; - s.minY___10191 = undefined; - s.maxX___10195 = undefined; - s.maxY___10197 = undefined; - s.c___10199 = undefined; - s.fxc___10200 = undefined; - s.r___10207 = undefined; - s.fxr___10208 = undefined; - s.width___10272 = undefined; - s.height___10280 = undefined; + s.i___63212 = undefined; + s.minX___63215 = undefined; + s.minY___63219 = undefined; + s.maxX___63223 = undefined; + s.maxY___63225 = undefined; + s.c___63227 = undefined; + s.fxc___63228 = undefined; + s.r___63235 = undefined; + s.fxr___63236 = undefined; + s.width___63300 = undefined; + s.height___63308 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -10974,7 +10974,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = game_Hitbox_isValid__P2201_mk(s); + s.tmp_1 = game_Hitbox_isValid__P55213_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; s.callLocIdx = 406; s.pc = 12; return s.tmp_1; @@ -10990,137 +10990,137 @@ switch (step) { case 3: case 4: r0 = s.arg0.fields["_image"]; - s.i___10184 = (r0); - r0 = pxsim_ImageMethods.width(s.i___10184); + s.i___63212 = (r0); + r0 = pxsim_ImageMethods.width(s.i___63212); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minX___10187 = (r0); - r0 = pxsim_ImageMethods.height(s.i___10184); + s.minX___63215 = (r0); + r0 = pxsim_ImageMethods.height(s.i___63212); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minY___10191 = (r0); - s.maxX___10195 = (0); - s.maxY___10197 = (0); - s.c___10199 = (0); - s.fxc___10200 = (0); + s.minY___63219 = (r0); + s.maxX___63223 = (0); + s.maxY___63225 = (0); + s.c___63227 = (0); + s.fxc___63228 = (0); case 5: - s.tmp_1 = r0 = s.c___10199; - r0 = pxsim_ImageMethods.width(s.i___10184); + s.tmp_1 = r0 = s.c___63227; + r0 = pxsim_ImageMethods.width(s.i___63212); 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___10207 = (0); - s.fxr___10208 = (0); + s.r___63235 = (0); + s.fxr___63236 = (0); case 6: - s.tmp_1 = r0 = s.r___10207; - r0 = pxsim_ImageMethods.height(s.i___10184); + s.tmp_1 = r0 = s.r___63235; + r0 = pxsim_ImageMethods.height(s.i___63212); 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___10184, s.c___10199, s.r___10207); + r0 = pxsim_ImageMethods.getPixel(s.i___63212, s.c___63227, s.r___63235); 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___10187; - s.tmp_4.arg1 = s.fxc___10200; + s.tmp_4 = Fx_min__P53178_mk(s); + s.tmp_4.arg0 = s.minX___63215; + s.tmp_4.arg1 = s.fxc___63228; s.callLocIdx = 410; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - s.minX___10187 = (r0); - s.tmp_0 = Fx_min__P166_mk(s); - s.tmp_0.arg0 = s.minY___10191; - s.tmp_0.arg1 = s.fxr___10208; + s.minX___63215 = (r0); + s.tmp_0 = Fx_min__P53178_mk(s); + s.tmp_0.arg0 = s.minY___63219; + s.tmp_0.arg1 = s.fxr___63236; s.callLocIdx = 411; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.minY___10191 = (r0); - s.tmp_0 = Fx_max__P167_mk(s); - s.tmp_0.arg0 = s.maxX___10195; - s.tmp_0.arg1 = s.fxc___10200; + s.minY___63219 = (r0); + s.tmp_0 = Fx_max__P53179_mk(s); + s.tmp_0.arg0 = s.maxX___63223; + s.tmp_0.arg1 = s.fxc___63228; s.callLocIdx = 412; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.maxX___10195 = (r0); - s.tmp_0 = Fx_max__P167_mk(s); - s.tmp_0.arg0 = s.maxY___10197; - s.tmp_0.arg1 = s.fxr___10208; + s.maxX___63223 = (r0); + s.tmp_0 = Fx_max__P53179_mk(s); + s.tmp_0.arg0 = s.maxY___63225; + s.tmp_0.arg1 = s.fxr___63236; s.callLocIdx = 413; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.maxY___10197 = (r0); + s.maxY___63225 = (r0); case 7: case 8: - r0 = (s.r___10207 + 1); - s.r___10207 = (r0); - r0 = (s.fxr___10208 + 256); + r0 = (s.r___63235 + 1); + s.r___63235 = (r0); + r0 = (s.fxr___63236 + 256); s.tmp_0 = r0; - s.fxr___10208 = (r0); + s.fxr___63236 = (r0); r0 = s.tmp_0; { step = 6; continue; } case 9: - r0 = (s.c___10199 + 1); - s.c___10199 = (r0); - r0 = (s.fxc___10200 + 256); + r0 = (s.c___63227 + 1); + s.c___63227 = (r0); + r0 = (s.fxc___63228 + 256); s.tmp_0 = r0; - s.fxc___10200 = (r0); + s.fxc___63228 = (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___10187, s.tmp_0); + r0 = pxsim.Math_.imul(s.minX___63215, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minX___10187 = (r0); + s.minX___63215 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.minY___10191, s.tmp_0); + r0 = pxsim.Math_.imul(s.minY___63219, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minY___10191 = (r0); + s.minY___63219 = (r0); r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxX___10195, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxX___63223, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxX___10195 = (r0); + s.maxX___63223 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxY___10197, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxY___63225, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxY___10197 = (r0); - r0 = (s.maxX___10195 - s.minX___10187); + s.maxY___63225 = (r0); + r0 = (s.maxX___63223 - s.minX___63215); s.tmp_0 = r0; r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.width___10272 = (r0); - r0 = (s.maxY___10197 - s.minY___10191); + s.width___63300 = (r0); + r0 = (s.maxY___63225 - s.minY___63219); s.tmp_0 = r0; r0 = s.arg0.fields["_sy"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___10280 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C2189_VT); + s.height___63308 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C55201_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P2196_mk(s); + s.tmp_1 = game_Hitbox_constructor__P55208_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___10272; - s.tmp_1.arg3 = s.height___10280; - r0 = (s.minX___10187 & -256); + s.tmp_1.arg2 = s.width___63300; + s.tmp_1.arg3 = s.height___63308; + r0 = (s.minX___63215 & -256); s.tmp_1.arg4 = r0; - r0 = (s.minY___10191 & -256); + r0 = (s.minY___63219 & -256); s.tmp_1.arg5 = r0; s.callLocIdx = 426; s.pc = 17; return s.tmp_1; case 17: @@ -11130,29 +11130,29 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P2205.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__P55217.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__P2205_mk(s) { +function game_calculateHitBox__P55217_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P2205, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P55217, 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___10184: undefined, - minX___10187: undefined, - minY___10191: undefined, - maxX___10195: undefined, - maxY___10197: undefined, - c___10199: undefined, - fxc___10200: undefined, - r___10207: undefined, - fxr___10208: undefined, - width___10272: undefined, - height___10280: undefined, + i___63212: undefined, + minX___63215: undefined, + minY___63219: undefined, + maxX___63223: undefined, + maxY___63225: undefined, + c___63227: undefined, + fxc___63228: undefined, + r___63235: undefined, + fxr___63236: undefined, + width___63300: undefined, + height___63308: undefined, arg0: undefined, } } @@ -11160,7 +11160,7 @@ function game_calculateHitBox__P2205_mk(s) { -function Sprite_image__P2370(s) { +function Sprite_image__P55382(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11175,18 +11175,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P2370.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__P2370.isGetter = true; +Sprite_image__P55382.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__P55382.isGetter = true; -function Sprite_image__P2370_mk(s) { +function Sprite_image__P55382_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P2370, depth: s.depth + 1, + parent: s, fn: Sprite_image__P55382, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11195,7 +11195,7 @@ function Sprite_image__P2370_mk(s) { -function game_Hitbox_isValid__P2201(s) { +function game_Hitbox_isValid__P55213(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11210,10 +11210,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2189_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C55201_VT)) failedCast(r0); r0 = s.arg0.fields["hash"]; s.tmp_0 = r0; - s.tmp_2 = Sprite_calcDimensionalHash__P2372_mk(s); + s.tmp_2 = Sprite_calcDimensionalHash__P55384_mk(s); r0 = s.arg0.fields["parent"]; s.tmp_2.arg0 = r0; s.callLocIdx = 359; s.pc = 1; return s.tmp_2; @@ -11224,12 +11224,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_isValid__P2201.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__P55213.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__P2201_mk(s) { +function game_Hitbox_isValid__P55213_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_isValid__P2201, depth: s.depth + 1, + parent: s, fn: game_Hitbox_isValid__P55213, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11241,7 +11241,7 @@ function game_Hitbox_isValid__P2201_mk(s) { -function Sprite_calcDimensionalHash__P2372(s) { +function Sprite_calcDimensionalHash__P55384(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11256,7 +11256,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.revision(s.tmp_2); @@ -11279,12 +11279,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_calcDimensionalHash__P2372.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__P55384.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__P2372_mk(s) { +function Sprite_calcDimensionalHash__P55384_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_calcDimensionalHash__P2372, depth: s.depth + 1, + parent: s, fn: Sprite_calcDimensionalHash__P55384, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11302,7 +11302,7 @@ function Sprite_calcDimensionalHash__P2372_mk(s) { -function Fx_toIntShifted__P156(s) { +function Fx_toIntShifted__P53168(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11324,12 +11324,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__P53168.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__P53168_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P156, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P53168, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11341,7 +11341,7 @@ function Fx_toIntShifted__P156_mk(s) { -function game_Hitbox_constructor__P2196(s) { +function game_Hitbox_constructor__P55208(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11361,9 +11361,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2189_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C55201_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_calcDimensionalHash__P2372_mk(s); + s.tmp_2 = Sprite_calcDimensionalHash__P55384_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 350; s.pc = 1; return s.tmp_2; case 1: @@ -11379,12 +11379,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P2196.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__P55208.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__P2196_mk(s) { +function game_Hitbox_constructor__P55208_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P2196, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P55208, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11401,7 +11401,7 @@ function game_Hitbox_constructor__P2196_mk(s) { -function Fx_floor__P168(s) { +function Fx_floor__P53180(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11419,12 +11419,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__P53180.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__P53180_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_floor__P168, depth: s.depth + 1, + parent: s, fn: Fx_floor__P53180, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11433,7 +11433,7 @@ function Fx_floor__P168_mk(s) { -function Fx_max__P167(s) { +function Fx_max__P53179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11464,12 +11464,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__P53179.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__P53179_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P167, depth: s.depth + 1, + parent: s, fn: Fx_max__P53179, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11480,7 +11480,7 @@ function Fx_max__P167_mk(s) { -function Fx_min__P166(s) { +function Fx_min__P53178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11511,12 +11511,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__P53178.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__P53178_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P166, depth: s.depth + 1, + parent: s, fn: Fx_min__P53178, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11527,7 +11527,7 @@ function Fx_min__P166_mk(s) { -function Fx_mul__P160(s) { +function Fx_mul__P53172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11548,12 +11548,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__P53172.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__P53172_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P160, depth: s.depth + 1, + parent: s, fn: Fx_mul__P53172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11564,7 +11564,7 @@ function Fx_mul__P160_mk(s) { -function Fx_sub__P159(s) { +function Fx_sub__P53171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11583,12 +11583,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__P53171.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__P53171_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P159, depth: s.depth + 1, + parent: s, fn: Fx_sub__P53171, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -11598,7 +11598,7 @@ function Fx_sub__P159_mk(s) { -function Fx_add__P157(s) { +function Fx_add__P53169(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11617,12 +11617,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__P53169.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__P53169_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P157, depth: s.depth + 1, + parent: s, fn: Fx_add__P53169, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -11632,7 +11632,7 @@ function Fx_add__P157_mk(s) { -function game_Hitbox_updateIfInvalid__P2203(s) { +function game_Hitbox_updateIfInvalid__P55215(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11642,24 +11642,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___10383 = undefined; - s.oMinX___10388 = undefined; - s.oMinY___10391 = undefined; - s.oMaxX___10394 = undefined; - s.oMaxY___10400 = undefined; - s.nMinX___10406 = undefined; - s.nMinY___10409 = undefined; - s.nMaxX___10412 = undefined; - s.nMaxY___10418 = undefined; - s.xDiff___10424 = undefined; - s.yDiff___10435 = undefined; + s.newHitBox___63411 = undefined; + s.oMinX___63416 = undefined; + s.oMinY___63419 = undefined; + s.oMaxX___63422 = undefined; + s.oMaxY___63428 = undefined; + s.nMinX___63434 = undefined; + s.nMinY___63437 = undefined; + s.nMaxX___63440 = undefined; + s.nMaxY___63446 = undefined; + s.xDiff___63452 = undefined; + s.yDiff___63463 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2189_VT)) failedCast(r0); - s.tmp_1 = game_Hitbox_isValid__P2201_mk(s); + if (!checkSubtype(r0, game_Hitbox__C55201_VT)) failedCast(r0); + s.tmp_1 = game_Hitbox_isValid__P55213_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 364; s.pc = 8; return s.tmp_1; case 8: @@ -11670,90 +11670,90 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.tmp_2 = game_calculateHitBox__P2205_mk(s); + s.tmp_2 = game_calculateHitBox__P55217_mk(s); r0 = s.arg0.fields["parent"]; s.tmp_2.arg0 = r0; s.callLocIdx = 365; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - s.newHitBox___10383 = (r0); + s.newHitBox___63411 = (r0); r0 = s.arg0.fields["ox"]; - s.oMinX___10388 = (r0); + s.oMinX___63416 = (r0); r0 = s.arg0.fields["oy"]; - s.oMinY___10391 = (r0); + s.oMinY___63419 = (r0); r0 = s.arg0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___10388 + s.tmp_0); - s.oMaxX___10394 = (r0); + r0 = (s.oMinX___63416 + s.tmp_0); + s.oMaxX___63422 = (r0); r0 = s.arg0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___10391 + s.tmp_0); - s.oMaxY___10400 = (r0); - r0 = s.newHitBox___10383.fields["ox"]; - s.nMinX___10406 = (r0); - r0 = s.newHitBox___10383.fields["oy"]; - s.nMinY___10409 = (r0); - r0 = s.newHitBox___10383.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___10406 + s.tmp_0); - s.nMaxX___10412 = (r0); - r0 = s.newHitBox___10383.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___10409 + s.tmp_0); - s.nMaxY___10418 = (r0); - s.tmp_1 = Fx_abs__P165_mk(s); - r0 = (s.oMinX___10388 - s.nMinX___10406); + r0 = (s.oMinY___63419 + s.tmp_0); + s.oMaxY___63428 = (r0); + r0 = s.newHitBox___63411.fields["ox"]; + s.nMinX___63434 = (r0); + r0 = s.newHitBox___63411.fields["oy"]; + s.nMinY___63437 = (r0); + r0 = s.newHitBox___63411.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___63434 + s.tmp_0); + s.nMaxX___63440 = (r0); + r0 = s.newHitBox___63411.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___63437 + s.tmp_0); + s.nMaxY___63446 = (r0); + s.tmp_1 = Fx_abs__P53177_mk(s); + r0 = (s.oMinX___63416 - s.nMinX___63434); s.tmp_1.arg0 = r0; s.callLocIdx = 371; 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___10394 - s.nMaxX___10412); + s.tmp_3 = Fx_abs__P53177_mk(s); + r0 = (s.oMaxX___63422 - s.nMaxX___63440); s.tmp_3.arg0 = r0; s.callLocIdx = 373; 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___10424 = (r0); - s.tmp_1 = Fx_abs__P165_mk(s); - r0 = (s.oMinY___10391 - s.nMinY___10409); + s.xDiff___63452 = (r0); + s.tmp_1 = Fx_abs__P53177_mk(s); + r0 = (s.oMinY___63419 - s.nMinY___63437); s.tmp_1.arg0 = r0; s.callLocIdx = 376; 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___10400 - s.nMaxY___10418); + s.tmp_3 = Fx_abs__P53177_mk(s); + r0 = (s.oMaxY___63428 - s.nMaxY___63446); s.tmp_3.arg0 = r0; s.callLocIdx = 378; 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___10435 = (r0); - r0 = (s.xDiff___10424 > 512); + s.yDiff___63463 = (r0); + r0 = (s.xDiff___63452 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = (s.arg0).fields["ox"] = (s.nMinX___10406); - r0 = s.newHitBox___10383.fields["width"]; + r0 = (s.arg0).fields["ox"] = (s.nMinX___63434); + r0 = s.newHitBox___63411.fields["width"]; s.tmp_0 = r0; r0 = (s.arg0).fields["width"] = (s.tmp_0); case 3: case 4: - r0 = (s.yDiff___10435 > 512); + r0 = (s.yDiff___63463 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.arg0).fields["oy"] = (s.nMinY___10409); - r0 = s.newHitBox___10383.fields["height"]; + r0 = (s.arg0).fields["oy"] = (s.nMinY___63437); + r0 = s.newHitBox___63411.fields["height"]; s.tmp_0 = r0; r0 = (s.arg0).fields["height"] = (s.tmp_0); case 5: case 6: - r0 = s.newHitBox___10383.fields["hash"]; + r0 = s.newHitBox___63411.fields["hash"]; s.tmp_0 = r0; r0 = (s.arg0).fields["hash"] = (s.tmp_0); case 7: @@ -11761,28 +11761,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_updateIfInvalid__P2203.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__P55215.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__P2203_mk(s) { +function game_Hitbox_updateIfInvalid__P55215_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_updateIfInvalid__P2203, depth: s.depth + 1, + parent: s, fn: game_Hitbox_updateIfInvalid__P55215, 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___10383: undefined, - oMinX___10388: undefined, - oMinY___10391: undefined, - oMaxX___10394: undefined, - oMaxY___10400: undefined, - nMinX___10406: undefined, - nMinY___10409: undefined, - nMaxX___10412: undefined, - nMaxY___10418: undefined, - xDiff___10424: undefined, - yDiff___10435: undefined, + newHitBox___63411: undefined, + oMinX___63416: undefined, + oMinY___63419: undefined, + oMaxX___63422: undefined, + oMaxY___63428: undefined, + nMinX___63434: undefined, + nMinY___63437: undefined, + nMaxX___63440: undefined, + nMaxY___63446: undefined, + xDiff___63452: undefined, + yDiff___63463: undefined, arg0: undefined, } } @@ -11790,7 +11790,7 @@ function game_Hitbox_updateIfInvalid__P2203_mk(s) { -function Fx_abs__P165(s) { +function Fx_abs__P53177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11820,12 +11820,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__P53177.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__P53177_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P165, depth: s.depth + 1, + parent: s, fn: Fx_abs__P53177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11835,7 +11835,7 @@ function Fx_abs__P165_mk(s) { -function Sprite_sy__P2352(s) { +function Sprite_sy__P55364(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11850,20 +11850,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2352.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__P2352.isGetter = true; +Sprite_sy__P55364.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__P55364.isGetter = true; -function Sprite_sy__P2352_mk(s) { +function Sprite_sy__P55364_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_sy__P2352, depth: s.depth + 1, + parent: s, fn: Sprite_sy__P55364, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11873,7 +11873,7 @@ function Sprite_sy__P2352_mk(s) { -function Fx_toFloat__P173(s) { +function Fx_toFloat__P53185(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11891,12 +11891,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P173.info = {"start":2470,"length":81,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} +Fx_toFloat__P53185.info = {"start":2470,"length":81,"line":77,"column":4,"endLine":79,"endColumn":5,"fileName":"pxt_modules/base/fixed.ts","functionName":"toFloat","argumentNames":["v"]} -function Fx_toFloat__P173_mk(s) { +function Fx_toFloat__P53185_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P173, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P53185, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -11905,7 +11905,7 @@ function Fx_toFloat__P173_mk(s) { -function Sprite_sx__P2350(s) { +function Sprite_sx__P55362(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11920,20 +11920,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2350.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__P2350.isGetter = true; +Sprite_sx__P55362.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__P55362.isGetter = true; -function Sprite_sx__P2350_mk(s) { +function Sprite_sx__P55362_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_sx__P2350, depth: s.depth + 1, + parent: s, fn: Sprite_sx__P55362, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11943,7 +11943,7 @@ function Sprite_sx__P2350_mk(s) { -function hud_forest_hud_healthy__P4394(s) { +function hud_forest_hud_healthy__P57407(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11957,25 +11957,25 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.healthyColor___7117 = (s.arg0); - s.tmp_0 = StatusBarSprite_setColor__P4336_mk(s); - s.tmp_0.arg0 = globals.forestHealthBar___7132; - s.tmp_0.arg1 = globals.healthyColor___7117; - s.tmp_0.arg2 = globals.burnedColor___7115; + globals.healthyColor___60130 = (s.arg0); + s.tmp_0 = StatusBarSprite_setColor__P57349_mk(s); + s.tmp_0.arg0 = globals.forestHealthBar___60145; + s.tmp_0.arg1 = globals.healthyColor___60130; + s.tmp_0.arg2 = globals.burnedColor___60128; s.tmp_0.arg3 = undefined; - s.callLocIdx = 2326; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2327; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -hud_forest_hud_healthy__P4394.info = {"start":3212,"length":146,"line":108,"column":4,"endLine":111,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"forest_hud_healthy","argumentNames":["color"]} +hud_forest_hud_healthy__P57407.info = {"start":3212,"length":146,"line":108,"column":4,"endLine":111,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"forest_hud_healthy","argumentNames":["color"]} -function hud_forest_hud_healthy__P4394_mk(s) { +function hud_forest_hud_healthy__P57407_mk(s) { checkStack(s.depth); return { - parent: s, fn: hud_forest_hud_healthy__P4394, depth: s.depth + 1, + parent: s, fn: hud_forest_hud_healthy__P57407, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11985,7 +11985,7 @@ function hud_forest_hud_healthy__P4394_mk(s) { -function hud_forest_hud_label__P4396(s) { +function hud_forest_hud_label__P57409(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11999,17 +11999,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.forestHealthText___7124 = (s.arg0); + globals.forestHealthText___60137 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -hud_forest_hud_label__P4396.info = {"start":3823,"length":87,"line":130,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"forest_hud_label","argumentNames":["name"]} +hud_forest_hud_label__P57409.info = {"start":3823,"length":87,"line":130,"column":4,"endLine":132,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"forest_hud_label","argumentNames":["name"]} -function hud_forest_hud_label__P4396_mk(s) { +function hud_forest_hud_label__P57409_mk(s) { checkStack(s.depth); return { - parent: s, fn: hud_forest_hud_label__P4396, depth: s.depth + 1, + parent: s, fn: hud_forest_hud_label__P57409, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12018,7 +12018,7 @@ function hud_forest_hud_label__P4396_mk(s) { -function hud_fire_hud__P4391(s) { +function hud_fire_hud__P57404(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12032,17 +12032,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.drawFireNumber___7121 = (s.arg0); + globals.drawFireNumber___60134 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -hud_fire_hud__P4391.info = {"start":2244,"length":82,"line":70,"column":4,"endLine":72,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"fire_hud","argumentNames":["answer"]} +hud_fire_hud__P57404.info = {"start":2244,"length":82,"line":70,"column":4,"endLine":72,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"fire_hud","argumentNames":["answer"]} -function hud_fire_hud__P4391_mk(s) { +function hud_fire_hud__P57404_mk(s) { checkStack(s.depth); return { - parent: s, fn: hud_fire_hud__P4391, depth: s.depth + 1, + parent: s, fn: hud_fire_hud__P57404, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12051,7 +12051,7 @@ function hud_fire_hud__P4391_mk(s) { -function hud_fire_hud_label__P4397(s) { +function hud_fire_hud_label__P57410(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12065,17 +12065,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.fireNumberText___7125 = (s.arg0); + globals.fireNumberText___60138 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -hud_fire_hud_label__P4397.info = {"start":4050,"length":83,"line":140,"column":4,"endLine":142,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"fire_hud_label","argumentNames":["name"]} +hud_fire_hud_label__P57410.info = {"start":4050,"length":83,"line":140,"column":4,"endLine":142,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"fire_hud_label","argumentNames":["name"]} -function hud_fire_hud_label__P4397_mk(s) { +function hud_fire_hud_label__P57410_mk(s) { checkStack(s.depth); return { - parent: s, fn: hud_fire_hud_label__P4397, depth: s.depth + 1, + parent: s, fn: hud_fire_hud_label__P57410, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12084,7 +12084,7 @@ function hud_fire_hud_label__P4397_mk(s) { -function hud_danger_hud__P4393(s) { +function hud_danger_hud__P57406(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12098,17 +12098,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.drawFireDanger___7123 = (s.arg0); + globals.drawFireDanger___60136 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -hud_danger_hud__P4393.info = {"start":2941,"length":84,"line":98,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"danger_hud","argumentNames":["answer"]} +hud_danger_hud__P57406.info = {"start":2941,"length":84,"line":98,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"danger_hud","argumentNames":["answer"]} -function hud_danger_hud__P4393_mk(s) { +function hud_danger_hud__P57406_mk(s) { checkStack(s.depth); return { - parent: s, fn: hud_danger_hud__P4393, depth: s.depth + 1, + parent: s, fn: hud_danger_hud__P57406, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12117,7 +12117,7 @@ function hud_danger_hud__P4393_mk(s) { -function hud_danger_hud_label__P4398(s) { +function hud_danger_hud_label__P57411(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12131,17 +12131,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.fireDangerText___7128 = (s.arg0); + globals.fireDangerText___60141 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -hud_danger_hud_label__P4398.info = {"start":4285,"length":85,"line":150,"column":4,"endLine":152,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"danger_hud_label","argumentNames":["name"]} +hud_danger_hud_label__P57411.info = {"start":4285,"length":85,"line":150,"column":4,"endLine":152,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"danger_hud_label","argumentNames":["name"]} -function hud_danger_hud_label__P4398_mk(s) { +function hud_danger_hud_label__P57411_mk(s) { checkStack(s.depth); return { - parent: s, fn: hud_danger_hud_label__P4398, depth: s.depth + 1, + parent: s, fn: hud_danger_hud_label__P57411, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12150,7 +12150,7 @@ function hud_danger_hud_label__P4398_mk(s) { -function game_set_health_of_trees__P4409(s) { +function game_set_health_of_trees__P57422(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12164,28 +12164,28 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = forestFire_setTreeHealth__P4423_mk(s); - s.tmp_1 = Math_clamp__P127_mk(s); + s.tmp_0 = forestFire_setTreeHealth__P57436_mk(s); + s.tmp_1 = Math_clamp__P53139_mk(s); s.tmp_1.arg0 = 0; s.tmp_1.arg1 = 10; s.tmp_1.arg2 = s.arg0; - s.callLocIdx = 2343; s.pc = 2; return s.tmp_1; + s.callLocIdx = 2344; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.callLocIdx = 2344; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2345; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_set_health_of_trees__P4409.info = {"start":617,"length":114,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"set_health_of_trees","argumentNames":["num"]} +game_set_health_of_trees__P57422.info = {"start":617,"length":114,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"set_health_of_trees","argumentNames":["num"]} -function game_set_health_of_trees__P4409_mk(s) { +function game_set_health_of_trees__P57422_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_set_health_of_trees__P4409, depth: s.depth + 1, + parent: s, fn: game_set_health_of_trees__P57422, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12196,7 +12196,7 @@ function game_set_health_of_trees__P4409_mk(s) { -function forestFire_setTreeHealth__P4423(s) { +function forestFire_setTreeHealth__P57436(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12210,17 +12210,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = (globals.state___7161).fields["treeHealth"] = (s.arg0); + r0 = (globals.state___60174).fields["treeHealth"] = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -forestFire_setTreeHealth__P4423.info = {"start":11128,"length":96,"line":297,"column":4,"endLine":299,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"setTreeHealth","argumentNames":["treeHealth"]} +forestFire_setTreeHealth__P57436.info = {"start":11128,"length":96,"line":297,"column":4,"endLine":299,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"setTreeHealth","argumentNames":["treeHealth"]} -function forestFire_setTreeHealth__P4423_mk(s) { +function forestFire_setTreeHealth__P57436_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_setTreeHealth__P4423, depth: s.depth + 1, + parent: s, fn: forestFire_setTreeHealth__P57436, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12229,7 +12229,7 @@ function forestFire_setTreeHealth__P4423_mk(s) { -function game_set_strength_of_wind__P4408(s) { +function game_set_strength_of_wind__P57421(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12243,28 +12243,28 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = forestFire_setWindSpeed__P4421_mk(s); - s.tmp_1 = Math_clamp__P127_mk(s); + s.tmp_0 = forestFire_setWindSpeed__P57434_mk(s); + s.tmp_1 = Math_clamp__P53139_mk(s); s.tmp_1.arg0 = 0; s.tmp_1.arg1 = 10; s.tmp_1.arg2 = s.arg0; - s.callLocIdx = 2341; s.pc = 2; return s.tmp_1; + s.callLocIdx = 2342; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.callLocIdx = 2342; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2343; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_set_strength_of_wind__P4408.info = {"start":304,"length":114,"line":15,"column":4,"endLine":17,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"set_strength_of_wind","argumentNames":["num"]} +game_set_strength_of_wind__P57421.info = {"start":304,"length":114,"line":15,"column":4,"endLine":17,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"set_strength_of_wind","argumentNames":["num"]} -function game_set_strength_of_wind__P4408_mk(s) { +function game_set_strength_of_wind__P57421_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_set_strength_of_wind__P4408, depth: s.depth + 1, + parent: s, fn: game_set_strength_of_wind__P57421, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12275,7 +12275,7 @@ function game_set_strength_of_wind__P4408_mk(s) { -function forestFire_setWindSpeed__P4421(s) { +function forestFire_setWindSpeed__P57434(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12289,17 +12289,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = (globals.state___7161).fields["windSpeed"] = (s.arg0); + r0 = (globals.state___60174).fields["windSpeed"] = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -forestFire_setWindSpeed__P4421.info = {"start":10950,"length":84,"line":289,"column":4,"endLine":291,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"setWindSpeed","argumentNames":["speed"]} +forestFire_setWindSpeed__P57434.info = {"start":10950,"length":84,"line":289,"column":4,"endLine":291,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"setWindSpeed","argumentNames":["speed"]} -function forestFire_setWindSpeed__P4421_mk(s) { +function forestFire_setWindSpeed__P57434_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_setWindSpeed__P4421, depth: s.depth + 1, + parent: s, fn: forestFire_setWindSpeed__P57434, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12308,7 +12308,7 @@ function forestFire_setWindSpeed__P4421_mk(s) { -function game_set_dryness_of_grass__P4410(s) { +function game_set_dryness_of_grass__P57423(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12322,28 +12322,28 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = forestFire_setDryGrass__P4422_mk(s); - s.tmp_1 = Math_clamp__P127_mk(s); + s.tmp_0 = forestFire_setDryGrass__P57435_mk(s); + s.tmp_1 = Math_clamp__P53139_mk(s); s.tmp_1.arg0 = 0; s.tmp_1.arg1 = 10; s.tmp_1.arg2 = s.arg0; - s.callLocIdx = 2345; s.pc = 2; return s.tmp_1; + s.callLocIdx = 2346; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.callLocIdx = 2346; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2347; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_set_dryness_of_grass__P4410.info = {"start":929,"length":113,"line":39,"column":4,"endLine":41,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"set_dryness_of_grass","argumentNames":["num"]} +game_set_dryness_of_grass__P57423.info = {"start":929,"length":113,"line":39,"column":4,"endLine":41,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"set_dryness_of_grass","argumentNames":["num"]} -function game_set_dryness_of_grass__P4410_mk(s) { +function game_set_dryness_of_grass__P57423_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_set_dryness_of_grass__P4410, depth: s.depth + 1, + parent: s, fn: game_set_dryness_of_grass__P57423, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12354,7 +12354,7 @@ function game_set_dryness_of_grass__P4410_mk(s) { -function forestFire_setDryGrass__P4422(s) { +function forestFire_setDryGrass__P57435(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12368,17 +12368,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = (globals.state___7161).fields["dryGrass"] = (s.arg0); + r0 = (globals.state___60174).fields["dryGrass"] = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -forestFire_setDryGrass__P4422.info = {"start":11040,"length":82,"line":293,"column":4,"endLine":295,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"setDryGrass","argumentNames":["grass"]} +forestFire_setDryGrass__P57435.info = {"start":11040,"length":82,"line":293,"column":4,"endLine":295,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"setDryGrass","argumentNames":["grass"]} -function forestFire_setDryGrass__P4422_mk(s) { +function forestFire_setDryGrass__P57435_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_setDryGrass__P4422, depth: s.depth + 1, + parent: s, fn: forestFire_setDryGrass__P57435, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12387,7 +12387,7 @@ function forestFire_setDryGrass__P4422_mk(s) { -function scene_cameraFollowSprite__P2870(s) { +function scene_cameraFollowSprite__P55882(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12397,38 +12397,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___17220 = undefined; + s.scene___70249 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2979_mk(s); - s.callLocIdx = 1403; s.pc = 1; return s.tmp_0; + s.tmp_0 = game_currentScene__P55991_mk(s); + s.callLocIdx = 1404; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___17220 = (r0); - r0 = s.scene___17220.fields["camera"]; + s.scene___70249 = (r0); + r0 = s.scene___70249.fields["camera"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["sprite"] = (s.arg0); - s.tmp_0 = scene_Camera_update__P2778_mk(s); - r0 = s.scene___17220.fields["camera"]; + s.tmp_0 = scene_Camera_update__P55790_mk(s); + r0 = s.scene___70249.fields["camera"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 1404; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1405; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_cameraFollowSprite__P2870.info = {"start":4010,"length":170,"line":143,"column":4,"endLine":147,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"cameraFollowSprite","argumentNames":["sprite"]} +scene_cameraFollowSprite__P55882.info = {"start":4010,"length":170,"line":143,"column":4,"endLine":147,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"cameraFollowSprite","argumentNames":["sprite"]} -function scene_cameraFollowSprite__P2870_mk(s) { +function scene_cameraFollowSprite__P55882_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_cameraFollowSprite__P2870, depth: s.depth + 1, + parent: s, fn: scene_cameraFollowSprite__P55882, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___17220: undefined, + scene___70249: undefined, arg0: undefined, } } @@ -12436,7 +12436,7 @@ function scene_cameraFollowSprite__P2870_mk(s) { -function scene_Camera_update__P2778(s) { +function scene_Camera_update__P55790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12446,24 +12446,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___12247 = undefined; - s.percentComplete___12261 = undefined; - s.damp___12268 = undefined; - s.f___12277 = undefined; - s.x___12283 = undefined; - s.y___12290 = undefined; + s.elapsed___65276 = undefined; + s.percentComplete___65290 = undefined; + s.damp___65297 = undefined; + s.f___65306 = undefined; + s.x___65312 = undefined; + s.y___65319 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2761_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C55773_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__P2334_mk(s); + s.tmp_3 = Sprite_x__P55346_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 1349; s.pc = 9; return s.tmp_3; @@ -12472,7 +12472,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1).fields["_lastUpdatedSpriteX"] = (s.tmp_2); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_y__P2336_mk(s); + s.tmp_2 = Sprite_y__P55348_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; s.callLocIdx = 1350; s.pc = 10; return s.tmp_2; @@ -12480,16 +12480,16 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["_lastUpdatedSpriteY"] = (s.tmp_1); - s.tmp_0 = scene_Camera_offsetX__P2767_mk(s); + s.tmp_0 = scene_Camera_offsetX__P55779_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_x__P2334_mk(s); + s.tmp_2 = Sprite_x__P55346_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; s.callLocIdx = 1351; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; @@ -12498,16 +12498,16 @@ switch (step) { s.callLocIdx = 1352; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P2769_mk(s); + s.tmp_0 = scene_Camera_offsetY__P55781_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P2336_mk(s); + s.tmp_2 = Sprite_y__P55348_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; s.callLocIdx = 1353; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___2013); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; @@ -12537,10 +12537,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___12247 = (r0); + s.elapsed___65276 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___12247 >= s.tmp_1); + r0 = (s.elapsed___65276 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -12549,49 +12549,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___12247 / s.tmp_0); - s.percentComplete___12261 = (r0); - s.damp___12268 = (1); - r0 = (s.percentComplete___12261 >= 0.75); + r0 = (s.elapsed___65276 / s.tmp_0); + s.percentComplete___65290 = (r0); + s.damp___65297 = (1); + r0 = (s.percentComplete___65290 >= 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__P53142_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___12261); + r0 = (1 - s.percentComplete___65290); s.tmp_1.arg1 = r0; s.callLocIdx = 1357; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___12268 = (r0); + s.damp___65297 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___12268); - s.f___12277 = (r0); + r0 = (s.tmp_0 * s.damp___65297); + s.f___65306 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___12277); + r0 = (s.tmp_1 * s.f___65306); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___12283 = (r0); + s.x___65312 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___12277); + r0 = (s.tmp_1 * s.f___65306); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___12290 = (r0); + s.y___65319 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___12283); + r0 = (s.tmp_2 + s.x___65312); 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___12290); + r0 = (s.tmp_2 + s.y___65319); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -12601,24 +12601,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P2778.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__P55790.info = {"start":2563,"length":1418,"line":83,"column":8,"endLine":116,"endColumn":9,"fileName":"pxt_modules/game/camera.ts","functionName":"update","argumentNames":["this"]} -function scene_Camera_update__P2778_mk(s) { +function scene_Camera_update__P55790_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P2778, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P55790, 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___12247: undefined, - percentComplete___12261: undefined, - damp___12268: undefined, - f___12277: undefined, - x___12283: undefined, - y___12290: undefined, + elapsed___65276: undefined, + percentComplete___65290: undefined, + damp___65297: undefined, + f___65306: undefined, + x___65312: undefined, + y___65319: undefined, arg0: undefined, } } @@ -12626,7 +12626,7 @@ function scene_Camera_update__P2778_mk(s) { -function scene_Camera_offsetY__P2769(s) { +function scene_Camera_offsetY__P55781(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12636,27 +12636,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___12309 = undefined; + s.scene___65338 = 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__C2761_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2979_mk(s); + if (!checkSubtype(r0, scene_Camera__C55773_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 1340; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___12309 = (r0); - r0 = s.scene___12309.fields["tileMap"]; + s.scene___65338 = (r0); + r0 = s.scene___65338.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___12309.fields["tileMap"]; + r0 = s.scene___65338.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -12673,8 +12673,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_10 = tiles_TileMap_offsetY__P2722_mk(s); - r0 = s.scene___12309.fields["tileMap"]; + s.tmp_10 = tiles_TileMap_offsetY__P55734_mk(s); + r0 = s.scene___65338.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; s.callLocIdx = 1342; s.pc = 6; return s.tmp_10; @@ -12695,12 +12695,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P2769.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__P55781.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__P2769_mk(s) { +function scene_Camera_offsetY__P55781_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P2769, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P55781, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12713,7 +12713,7 @@ function scene_Camera_offsetY__P2769_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___12309: undefined, + scene___65338: undefined, arg0: undefined, arg1: undefined, } } @@ -12722,7 +12722,7 @@ function scene_Camera_offsetY__P2769_mk(s) { -function tiles_TileMap_offsetY__P2722(s) { +function tiles_TileMap_offsetY__P55734(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12738,17 +12738,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P127_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P53139_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P130_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P2724_mk(s); + s.tmp_1 = Math_max__P53142_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P55736_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1241; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___2013); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -12764,12 +12764,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P2722.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__P55734.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__P2722_mk(s) { +function tiles_TileMap_offsetY__P55734_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P2722, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P55734, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12784,7 +12784,7 @@ function tiles_TileMap_offsetY__P2722_mk(s) { -function scene_Camera_offsetY__P2768(s) { +function scene_Camera_offsetY__P55780(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12799,18 +12799,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2761_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C55773_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P2768.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__P2768.isGetter = true; +scene_Camera_offsetY__P55780.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__P55780.isGetter = true; -function scene_Camera_offsetY__P2768_mk(s) { +function scene_Camera_offsetY__P55780_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P2768, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P55780, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -12819,7 +12819,7 @@ function scene_Camera_offsetY__P2768_mk(s) { -function scene_Camera_offsetX__P2767(s) { +function scene_Camera_offsetX__P55779(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12829,27 +12829,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___12352 = undefined; + s.scene___65381 = 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__C2761_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2979_mk(s); + if (!checkSubtype(r0, scene_Camera__C55773_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 1337; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___12352 = (r0); - r0 = s.scene___12352.fields["tileMap"]; + s.scene___65381 = (r0); + r0 = s.scene___65381.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___12352.fields["tileMap"]; + r0 = s.scene___65381.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -12866,8 +12866,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 3; continue; } s.tmp_7 = r0 = s.arg0; - s.tmp_10 = tiles_TileMap_offsetX__P2721_mk(s); - r0 = s.scene___12352.fields["tileMap"]; + s.tmp_10 = tiles_TileMap_offsetX__P55733_mk(s); + r0 = s.scene___65381.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; s.callLocIdx = 1339; s.pc = 6; return s.tmp_10; @@ -12888,12 +12888,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P2767.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__P55779.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__P2767_mk(s) { +function scene_Camera_offsetX__P55779_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P2767, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P55779, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12906,7 +12906,7 @@ function scene_Camera_offsetX__P2767_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___12352: undefined, + scene___65381: undefined, arg0: undefined, arg1: undefined, } } @@ -12915,7 +12915,7 @@ function scene_Camera_offsetX__P2767_mk(s) { -function tiles_TileMap_offsetX__P2721(s) { +function tiles_TileMap_offsetX__P55733(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12931,17 +12931,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P127_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P53139_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P130_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P2723_mk(s); + s.tmp_1 = Math_max__P53142_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P55735_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1238; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -12957,12 +12957,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P2721.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__P55733.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__P2721_mk(s) { +function tiles_TileMap_offsetX__P55733_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P2721, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P55733, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12977,7 +12977,7 @@ function tiles_TileMap_offsetX__P2721_mk(s) { -function scene_Camera_offsetX__P2766(s) { +function scene_Camera_offsetX__P55778(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12992,18 +12992,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2761_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C55773_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P2766.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__P2766.isGetter = true; +scene_Camera_offsetX__P55778.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__P55778.isGetter = true; -function scene_Camera_offsetX__P2766_mk(s) { +function scene_Camera_offsetX__P55778_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P2766, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P55778, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13012,7 +13012,7 @@ function scene_Camera_offsetX__P2766_mk(s) { -function Sprite_y__P2336(s) { +function Sprite_y__P55348(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13027,7 +13027,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = s.arg0.fields["_height"]; @@ -13042,13 +13042,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P2336.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__P2336.isGetter = true; +Sprite_y__P55348.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__P55348.isGetter = true; -function Sprite_y__P2336_mk(s) { +function Sprite_y__P55348_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P2336, depth: s.depth + 1, + parent: s, fn: Sprite_y__P55348, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13062,7 +13062,7 @@ function Sprite_y__P2336_mk(s) { -function Fx_div__P162(s) { +function Fx_div__P53174(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13083,12 +13083,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__P53174.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__P53174_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P162, depth: s.depth + 1, + parent: s, fn: Fx_div__P53174, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13099,7 +13099,7 @@ function Fx_div__P162_mk(s) { -function Sprite_x__P2334(s) { +function Sprite_x__P55346(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13114,7 +13114,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = s.arg0.fields["_width"]; @@ -13129,13 +13129,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P2334.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__P2334.isGetter = true; +Sprite_x__P55346.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__P55346.isGetter = true; -function Sprite_x__P2334_mk(s) { +function Sprite_x__P55346_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P2334, depth: s.depth + 1, + parent: s, fn: Sprite_x__P55346, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13149,7 +13149,7 @@ function Sprite_x__P2334_mk(s) { -function music_stopAllSounds__P1625(s) { +function music_stopAllSounds__P54637(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13159,16 +13159,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_Melody_stopAll__P1628_mk(s); + s.tmp_0 = music_Melody_stopAll__P54640_mk(s); s.callLocIdx = 89; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.music.stopPlaying(); - s.tmp_0 = music__stopPlayables__P1911_mk(s); + s.tmp_0 = music__stopPlayables__P54923_mk(s); s.callLocIdx = 90; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = music_sequencer__stopAllSongs__P1879_mk(s); + s.tmp_0 = music_sequencer__stopAllSongs__P54891_mk(s); s.callLocIdx = 91; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; @@ -13176,12 +13176,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_stopAllSounds__P1625.info = {"start":5880,"length":149,"line":182,"column":4,"endLine":187,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stopAllSounds","argumentNames":[]} +music_stopAllSounds__P54637.info = {"start":5880,"length":149,"line":182,"column":4,"endLine":187,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stopAllSounds","argumentNames":[]} -function music_stopAllSounds__P1625_mk(s) { +function music_stopAllSounds__P54637_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_stopAllSounds__P1625, depth: s.depth + 1, + parent: s, fn: music_stopAllSounds__P54637, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -13190,7 +13190,7 @@ function music_stopAllSounds__P1625_mk(s) { -function music__stopPlayables__P1911(s) { +function music__stopPlayables__P54923(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13200,8 +13200,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_PlayableState_stopLooping__P4641_mk(s); - s.tmp_1 = music_state__P4643_mk(s); + s.tmp_0 = music_PlayableState_stopLooping__P57654_mk(s); + s.tmp_1 = music_state__P57656_mk(s); s.callLocIdx = 191; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -13213,12 +13213,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music__stopPlayables__P1911.info = {"start":5082,"length":71,"line":177,"column":4,"endLine":179,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"_stopPlayables","argumentNames":[]} +music__stopPlayables__P54923.info = {"start":5082,"length":71,"line":177,"column":4,"endLine":179,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"_stopPlayables","argumentNames":[]} -function music__stopPlayables__P1911_mk(s) { +function music__stopPlayables__P54923_mk(s) { checkStack(s.depth); return { - parent: s, fn: music__stopPlayables__P1911, depth: s.depth + 1, + parent: s, fn: music__stopPlayables__P54923, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13228,7 +13228,7 @@ function music__stopPlayables__P1911_mk(s) { -function music_state__P4643(s) { +function music_state__P57656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13238,12 +13238,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music__init__P4644_mk(s); + s.tmp_0 = music__init__P57657_mk(s); s.callLocIdx = 172; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = r0 = globals.stateStack___4639; - r0 = pxsim_Array__length(globals.stateStack___4639); + s.tmp_0 = r0 = globals.stateStack___57652; + r0 = pxsim_Array__length(globals.stateStack___57652); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -13251,12 +13251,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_state__P4643.info = {"start":559,"length":91,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"state","argumentNames":[]} +music_state__P57656.info = {"start":559,"length":91,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"state","argumentNames":[]} -function music_state__P4643_mk(s) { +function music_state__P57656_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_state__P4643, depth: s.depth + 1, + parent: s, fn: music_state__P57656, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13267,7 +13267,7 @@ function music_state__P4643_mk(s) { -function music__init__P4644(s) { +function music__init__P57657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13277,14 +13277,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stateStack___4639); + r0 = pxsim_numops_toBoolDecr(globals.stateStack___57652); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(music_PlayableState__C4640_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_PlayableState__C57653_VT); s.tmp_0 = r0; - s.tmp_1 = music_PlayableState_constructor__P4642_mk(s); + s.tmp_1 = music_PlayableState_constructor__P57655_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 173; s.pc = 4; return s.tmp_1; case 4: @@ -13292,14 +13292,14 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_2, s.tmp_0); - globals.stateStack___4639 = (s.tmp_2); - s.tmp_0 = game_addScenePushHandler__P2998_mk(s); - s.tmp_0.arg0 = music__init_inline__P19082; + globals.stateStack___57652 = (s.tmp_2); + s.tmp_0 = game_addScenePushHandler__P56010_mk(s); + s.tmp_0.arg0 = music__init_inline__P72111; s.callLocIdx = 175; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P3000_mk(s); - s.tmp_0.arg0 = music__init_inline__P19089; + s.tmp_0 = game_addScenePopHandler__P56012_mk(s); + s.tmp_0.arg0 = music__init_inline__P72118; s.callLocIdx = 177; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -13308,12 +13308,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music__init__P4644.info = {"start":656,"length":366,"line":31,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"_init","argumentNames":[]} +music__init__P57657.info = {"start":656,"length":366,"line":31,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"_init","argumentNames":[]} -function music__init__P4644_mk(s) { +function music__init__P57657_mk(s) { checkStack(s.depth); return { - parent: s, fn: music__init__P4644, depth: s.depth + 1, + parent: s, fn: music__init__P57657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13324,7 +13324,7 @@ function music__init__P4644_mk(s) { -function music__init_inline__P19082(s) { +function music__init_inline__P72111(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13334,24 +13334,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore_mkClassInstance(music_PlayableState__C4640_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_PlayableState__C57653_VT); s.tmp_0 = r0; - s.tmp_1 = music_PlayableState_constructor__P4642_mk(s); + s.tmp_1 = music_PlayableState_constructor__P57655_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 174; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = pxsim_Array__push(globals.stateStack___4639, s.tmp_0); + r0 = pxsim_Array__push(globals.stateStack___57652, s.tmp_0); r0 = undefined; return leave(s, r0) default: oops() } } } -music__init_inline__P19082.info = {"start":785,"length":67,"line":35,"column":33,"endLine":37,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":[]} +music__init_inline__P72111.info = {"start":785,"length":67,"line":35,"column":33,"endLine":37,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":[]} -function music__init_inline__P19082_mk(s) { +function music__init_inline__P72111_mk(s) { checkStack(s.depth); return { - parent: s, fn: music__init_inline__P19082, depth: s.depth + 1, + parent: s, fn: music__init_inline__P72111, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13361,7 +13361,7 @@ function music__init_inline__P19082_mk(s) { -function music__init_inline__P19089(s) { +function music__init_inline__P72118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13371,33 +13371,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_Array_.pop(globals.stateStack___4639); - r0 = pxsim_Array__length(globals.stateStack___4639); + r0 = pxsim_Array_.pop(globals.stateStack___57652); + r0 = pxsim_Array__length(globals.stateStack___57652); 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_pxtcore_mkClassInstance(music_PlayableState__C4640_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_PlayableState__C57653_VT); s.tmp_2 = r0; - s.tmp_3 = music_PlayableState_constructor__P4642_mk(s); + s.tmp_3 = music_PlayableState_constructor__P57655_mk(s); s.tmp_3.arg0 = s.tmp_2; s.callLocIdx = 176; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - r0 = pxsim_Array__push(globals.stateStack___4639, s.tmp_2); + r0 = pxsim_Array__push(globals.stateStack___57652, s.tmp_2); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -music__init_inline__P19089.info = {"start":888,"length":126,"line":39,"column":32,"endLine":42,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":[]} +music__init_inline__P72118.info = {"start":888,"length":126,"line":39,"column":32,"endLine":42,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":[]} -function music__init_inline__P19089_mk(s) { +function music__init_inline__P72118_mk(s) { checkStack(s.depth); return { - parent: s, fn: music__init_inline__P19089, depth: s.depth + 1, + parent: s, fn: music__init_inline__P72118, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13409,7 +13409,7 @@ function music__init_inline__P19089_mk(s) { -function music_PlayableState_constructor__P4642(s) { +function music_PlayableState_constructor__P57655(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13424,7 +13424,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_PlayableState__C4640_VT)) failedCast(r0); + if (!checkSubtype(r0, music_PlayableState__C57653_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -13433,12 +13433,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_PlayableState_constructor__P4642.info = {"start":333,"length":56,"line":14,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this"]} +music_PlayableState_constructor__P57655.info = {"start":333,"length":56,"line":14,"column":8,"endLine":16,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this"]} -function music_PlayableState_constructor__P4642_mk(s) { +function music_PlayableState_constructor__P57655_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_PlayableState_constructor__P4642, depth: s.depth + 1, + parent: s, fn: music_PlayableState_constructor__P57655, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13449,7 +13449,7 @@ function music_PlayableState_constructor__P4642_mk(s) { -function music_PlayableState_stopLooping__P4641(s) { +function music_PlayableState_stopLooping__P57654(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13459,33 +13459,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___19108 = undefined; - s.unnamed1486___U1 = undefined; - s.unnamed1487___U2 = undefined; + s.p___72137 = undefined; + s.unnamed226___U1 = undefined; + s.unnamed227___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_PlayableState__C4640_VT)) failedCast(r0); - s.p___19108 = (undefined); + if (!checkSubtype(r0, music_PlayableState__C57653_VT)) failedCast(r0); + s.p___72137 = (undefined); r0 = s.arg0.fields["looping"]; - s.unnamed1486___U1 = (r0); - s.unnamed1487___U2 = (0); + s.unnamed226___U1 = (r0); + s.unnamed227___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1487___U2; - r0 = pxsim_Array__length(s.unnamed1486___U1); + s.tmp_0 = r0 = s.unnamed227___U2; + r0 = pxsim_Array__length(s.unnamed226___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1486___U1, s.unnamed1487___U2); - s.p___19108 = (r0); - r0 = (s.p___19108).fields["stopped"] = (true); - r0 = (s.unnamed1487___U2 + 1); - s.unnamed1487___U2 = (r0); + r0 = pxsim_Array__getAt(s.unnamed226___U1, s.unnamed227___U2); + s.p___72137 = (r0); + r0 = (s.p___72137).fields["stopped"] = (true); + r0 = (s.unnamed227___U2 + 1); + s.unnamed227___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed1486___U1 = (undefined); + s.unnamed226___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -13494,18 +13494,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_PlayableState_stopLooping__P4641.info = {"start":399,"length":148,"line":18,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"stopLooping","argumentNames":["this"]} +music_PlayableState_stopLooping__P57654.info = {"start":399,"length":148,"line":18,"column":8,"endLine":23,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"stopLooping","argumentNames":["this"]} -function music_PlayableState_stopLooping__P4641_mk(s) { +function music_PlayableState_stopLooping__P57654_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_PlayableState_stopLooping__P4641, depth: s.depth + 1, + parent: s, fn: music_PlayableState_stopLooping__P57654, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___19108: undefined, - unnamed1486___U1: undefined, - unnamed1487___U2: undefined, + p___72137: undefined, + unnamed226___U1: undefined, + unnamed227___U2: undefined, arg0: undefined, } } @@ -13513,7 +13513,7 @@ function music_PlayableState_stopLooping__P4641_mk(s) { -function music_sequencer__stopAllSongs__P1879(s) { +function music_sequencer__stopAllSongs__P54891(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13523,26 +13523,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.currentSequencer___4618); + r0 = pxsim_numops_toBoolDecr(globals.currentSequencer___57631); if (!r0) { step = 1; continue; } - s.tmp_0 = music_sequencer_Sequencer_stop__P1889_mk(s); - s.tmp_0.arg0 = globals.currentSequencer___4618; + s.tmp_0 = music_sequencer_Sequencer_stop__P54901_mk(s); + s.tmp_0.arg0 = globals.currentSequencer___57631; s.callLocIdx = 171; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.currentSequencer___4618 = (undefined); + globals.currentSequencer___57631 = (undefined); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -music_sequencer__stopAllSongs__P1879.info = {"start":27795,"length":160,"line":814,"column":4,"endLine":819,"endColumn":5,"fileName":"pxt_modules/mixer/instrument.ts","functionName":"_stopAllSongs","argumentNames":[]} +music_sequencer__stopAllSongs__P54891.info = {"start":27795,"length":160,"line":814,"column":4,"endLine":819,"endColumn":5,"fileName":"pxt_modules/mixer/instrument.ts","functionName":"_stopAllSongs","argumentNames":[]} -function music_sequencer__stopAllSongs__P1879_mk(s) { +function music_sequencer__stopAllSongs__P54891_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_sequencer__stopAllSongs__P1879, depth: s.depth + 1, + parent: s, fn: music_sequencer__stopAllSongs__P54891, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -13551,7 +13551,7 @@ function music_sequencer__stopAllSongs__P1879_mk(s) { -function music_sequencer_Sequencer_stop__P1889(s) { +function music_sequencer_Sequencer_stop__P54901(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13566,18 +13566,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_sequencer_Sequencer__C1882_VT)) failedCast(r0); + if (!checkSubtype(r0, music_sequencer_Sequencer__C54894_VT)) failedCast(r0); r0 = (s.arg0).fields["isPlaying"] = (false); r0 = undefined; return leave(s, r0) default: oops() } } } -music_sequencer_Sequencer_stop__P1889.info = {"start":1112,"length":54,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/mixer/sequencer.ts","functionName":"stop","argumentNames":["this"]} +music_sequencer_Sequencer_stop__P54901.info = {"start":1112,"length":54,"line":38,"column":8,"endLine":40,"endColumn":9,"fileName":"pxt_modules/mixer/sequencer.ts","functionName":"stop","argumentNames":["this"]} -function music_sequencer_Sequencer_stop__P1889_mk(s) { +function music_sequencer_Sequencer_stop__P54901_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_sequencer_Sequencer_stop__P1889, depth: s.depth + 1, + parent: s, fn: music_sequencer_Sequencer_stop__P54901, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13586,7 +13586,7 @@ function music_sequencer_Sequencer_stop__P1889_mk(s) { -function music_Melody_stopAll__P1628(s) { +function music_Melody_stopAll__P54640(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13596,21 +13596,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___19117 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___4585); + s.ms___72146 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___57598); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arraySlice__P115_mk(s); - s.tmp_0.arg0 = globals.music_Melody_playingMelodies___4585; + s.tmp_0 = helpers_arraySlice__P53127_mk(s); + s.tmp_0.arg0 = globals.music_Melody_playingMelodies___57598; s.tmp_0.arg1 = 0; - r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___4585); + r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___57598); s.tmp_0.arg2 = r0; s.callLocIdx = 92; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ms___19117 = (r0); - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.ms___19117; - s.tmp_0.arg1 = music_Melody_stopAll_inline__P19125; + s.ms___72146 = (r0); + s.tmp_0 = helpers_arrayForEach__P53121_mk(s); + s.tmp_0.arg0 = s.ms___72146; + s.tmp_0.arg1 = music_Melody_stopAll_inline__P72154; s.callLocIdx = 94; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -13620,22 +13620,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_stopAll__P1628.info = {"start":6202,"length":218,"line":196,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stopAll","argumentNames":[]} +music_Melody_stopAll__P54640.info = {"start":6202,"length":218,"line":196,"column":8,"endLine":201,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"stopAll","argumentNames":[]} -function music_Melody_stopAll__P1628_mk(s) { +function music_Melody_stopAll__P54640_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_stopAll__P1628, depth: s.depth + 1, + parent: s, fn: music_Melody_stopAll__P54640, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - ms___19117: undefined, + ms___72146: undefined, } } -function music_Melody_stopAll_inline__P19125(s) { +function music_Melody_stopAll_inline__P72154(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13649,7 +13649,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_Melody_stop__P1631_mk(s); + s.tmp_0 = music_Melody_stop__P54643_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 93; s.pc = 1; return s.tmp_0; case 1: @@ -13658,12 +13658,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_stopAll_inline__P19125.info = {"start":6381,"length":13,"line":199,"column":27,"endLine":199,"endColumn":40,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["p"]} +music_Melody_stopAll_inline__P72154.info = {"start":6381,"length":13,"line":199,"column":27,"endLine":199,"endColumn":40,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":["p"]} -function music_Melody_stopAll_inline__P19125_mk(s) { +function music_Melody_stopAll_inline__P72154_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_stopAll_inline__P19125, depth: s.depth + 1, + parent: s, fn: music_Melody_stopAll_inline__P72154, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13673,7 +13673,7 @@ function music_Melody_stopAll_inline__P19125_mk(s) { -function music_Melody_stop__P1631(s) { +function music_Melody_stop__P54643(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13688,12 +13688,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1626_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C54638_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); + s.tmp_1 = music_MelodyPlayer_stop__P54653_mk(s); r0 = s.arg0.fields["_player"]; s.tmp_1.arg0 = r0; s.callLocIdx = 95; s.pc = 3; return s.tmp_1; @@ -13702,7 +13702,7 @@ switch (step) { r0 = (s.arg0).fields["_player"] = (null); case 1: case 2: - s.tmp_0 = music_Melody_unregisterMelody__P4583_mk(s); + s.tmp_0 = music_Melody_unregisterMelody__P57596_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 96; s.pc = 4; return s.tmp_0; case 4: @@ -13711,12 +13711,12 @@ switch (step) { 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"]} +music_Melody_stop__P54643.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) { +function music_Melody_stop__P54643_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_stop__P1631, depth: s.depth + 1, + parent: s, fn: music_Melody_stop__P54643, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13727,7 +13727,7 @@ function music_Melody_stop__P1631_mk(s) { -function music_Melody_unregisterMelody__P4583(s) { +function music_Melody_unregisterMelody__P57596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13742,22 +13742,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1626_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___4585); + if (!checkSubtype(r0, music_Melody__C54638_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___57598); if (!r0) { step = 1; continue; } - r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___4585, s.arg0); + r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___57598, s.arg0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_unregisterMelody__P4583.info = {"start":7598,"length":201,"line":240,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"unregisterMelody","argumentNames":["this"]} +music_Melody_unregisterMelody__P57596.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__P4583_mk(s) { +function music_Melody_unregisterMelody__P57596_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_unregisterMelody__P4583, depth: s.depth + 1, + parent: s, fn: music_Melody_unregisterMelody__P57596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13766,7 +13766,7 @@ function music_Melody_unregisterMelody__P4583_mk(s) { -function music_MelodyPlayer_stop__P1641(s) { +function music_MelodyPlayer_stop__P54653(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13781,18 +13781,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C1637_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C54649_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"]} +music_MelodyPlayer_stop__P54653.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) { +function music_MelodyPlayer_stop__P54653_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_stop__P1641, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_stop__P54653, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13801,7 +13801,7 @@ function music_MelodyPlayer_stop__P1641_mk(s) { -function helpers_arraySlice__P115(s) { +function helpers_arraySlice__P53127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13811,9 +13811,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___9527 = undefined; - s.len___9529 = undefined; - s.i___9563 = undefined; + s.res___62555 = undefined; + s.len___62557 = undefined; + s.i___62591 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13821,9 +13821,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___9527 = (r0); + s.res___62555 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___9529 = (r0); + s.len___62557 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -13835,8 +13835,8 @@ 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___9529 + s.arg1); + s.tmp_1 = Math_max__P53142_mk(s); + r0 = (s.len___62557 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 10; s.pc = 16; return s.tmp_1; @@ -13846,11 +13846,11 @@ switch (step) { case 2: case 3: case 4: - r0 = (s.arg1 > s.len___9529); + r0 = (s.arg1 > s.len___62557); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___9527; + r0 = s.res___62555; { step = 15; continue; } case 5: case 6: @@ -13858,57 +13858,57 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___9529); + s.arg2 = (s.len___62557); { 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___9529 + s.arg2); + r0 = (s.len___62557 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___9529); + r0 = (s.arg2 > s.len___62557); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___9529); + s.arg2 = (s.len___62557); case 11: case 12: - s.i___9563 = (s.arg1); + s.i___62591 = (s.arg1); case 13: - r0 = (s.i___9563 < s.arg2); + r0 = (s.i___62591 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___9527; - r0 = pxsim_Array__getAt(s.arg0, s.i___9563); + s.tmp_1 = r0 = s.res___62555; + r0 = pxsim_Array__getAt(s.arg0, s.i___62591); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___9563 + 1); - s.i___9563 = (r0); + r0 = (s.i___62591 + 1); + s.i___62591 = (r0); { step = 13; continue; } case 14: - r0 = s.res___9527; + r0 = s.res___62555; 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__P53127.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__P53127_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P115, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P53127, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___9527: undefined, - len___9529: undefined, - i___9563: undefined, + res___62555: undefined, + len___62557: undefined, + i___62591: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13918,7 +13918,7 @@ function helpers_arraySlice__P115_mk(s) { -function helpers_arrayForEach__P109(s) { +function helpers_arrayForEach__P53121(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13928,49 +13928,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___9580 = undefined; - s.i___9583 = undefined; + s.len___62608 = undefined; + s.i___62611 = 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___9580 = (r0); - s.i___9583 = (0); + s.len___62608 = (r0); + s.i___62611 = (0); case 1: - r0 = (s.i___9583 < s.len___9580); + r0 = (s.i___62611 < s.len___62608); 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___9583); + r0 = pxsim_Array__getAt(s.arg0, s.i___62611); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___9583; + s.tmp_1.arg1 = s.i___62611; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 6; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.i___9583 + 1); - s.i___9583 = (r0); + r0 = (s.i___62611 + 1); + s.i___62611 = (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__P53121.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__P53121_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P109, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P53121, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___9580: undefined, - i___9583: undefined, + len___62608: undefined, + i___62611: undefined, arg0: undefined, arg1: undefined, } } @@ -13979,7 +13979,7 @@ function helpers_arrayForEach__P109_mk(s) { -function sprites_destroy__P2258(s) { +function sprites_destroy__P55270(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14004,7 +14004,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = Sprite_destroy__P2408_mk(s); + s.tmp_2 = Sprite_destroy__P55420_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.tmp_2.arg2 = s.arg2; @@ -14016,12 +14016,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_destroy__P2258.info = {"start":2047,"length":170,"line":70,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"destroy","argumentNames":["sprite","effect","duration"]} +sprites_destroy__P55270.info = {"start":2047,"length":170,"line":70,"column":4,"endLine":73,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"destroy","argumentNames":["sprite","effect","duration"]} -function sprites_destroy__P2258_mk(s) { +function sprites_destroy__P55270_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_destroy__P2258, depth: s.depth + 1, + parent: s, fn: sprites_destroy__P55270, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14035,7 +14035,7 @@ function sprites_destroy__P2258_mk(s) { -function Sprite_setStayInScreen__P2397(s) { +function Sprite_setStayInScreen__P55409(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14051,8 +14051,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P2399_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P55411_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; s.tmp_0.arg2 = s.arg1; @@ -14063,12 +14063,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setStayInScreen__P2397.info = {"start":19465,"length":87,"line":652,"column":4,"endLine":654,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setStayInScreen","argumentNames":["this","on"]} +Sprite_setStayInScreen__P55409.info = {"start":19465,"length":87,"line":652,"column":4,"endLine":654,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setStayInScreen","argumentNames":["this","on"]} -function Sprite_setStayInScreen__P2397_mk(s) { +function Sprite_setStayInScreen__P55409_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setStayInScreen__P2397, depth: s.depth + 1, + parent: s, fn: Sprite_setStayInScreen__P55409, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14079,7 +14079,7 @@ function Sprite_setStayInScreen__P2397_mk(s) { -function Sprite_setBounceOnWall__P2398(s) { +function Sprite_setBounceOnWall__P55410(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14095,8 +14095,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P2399_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P55411_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 32; s.tmp_0.arg2 = s.arg1; @@ -14107,12 +14107,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setBounceOnWall__P2398.info = {"start":19866,"length":87,"line":664,"column":4,"endLine":666,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setBounceOnWall","argumentNames":["this","on"]} +Sprite_setBounceOnWall__P55410.info = {"start":19866,"length":87,"line":664,"column":4,"endLine":666,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setBounceOnWall","argumentNames":["this","on"]} -function Sprite_setBounceOnWall__P2398_mk(s) { +function Sprite_setBounceOnWall__P55410_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setBounceOnWall__P2398, depth: s.depth + 1, + parent: s, fn: Sprite_setBounceOnWall__P55410, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14123,7 +14123,7 @@ function Sprite_setBounceOnWall__P2398_mk(s) { -function game_showLongText__P2940(s) { +function game_showLongText__P55952(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14133,38 +14133,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.width___19393 = undefined; - s.height___19394 = undefined; - s.top___19395 = undefined; - s.left___19396 = undefined; - s.dialog___19507 = undefined; - s.s___19515 = undefined; - s.pressed___19531 = undefined; - s.done___19532 = undefined; - s.upPressed___19533 = undefined; + s.width___72356 = undefined; + s.height___72357 = undefined; + s.top___72358 = undefined; + s.left___72359 = undefined; + s.dialog___72470 = undefined; + s.s___72478 = undefined; + s.pressed___72494 = undefined; + s.done___72495 = undefined; + s.upPressed___72496 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = console_inspect__P382_mk(s); + s.tmp_0 = console_inspect__P53394_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 20; - s.callLocIdx = 1540; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1541; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; s.arg0 = (r0); - s.tmp_0 = controller__setUserEventsEnabled__P2187_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P55199_mk(s); s.tmp_0.arg0 = false; - s.callLocIdx = 1541; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1542; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = game_pushScene__P2983_mk(s); - s.callLocIdx = 1542; s.pc = 10; return s.tmp_0; + s.tmp_0 = game_pushScene__P55995_mk(s); + s.callLocIdx = 1543; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_1 = game_currentScene__P2979_mk(s); - s.callLocIdx = 1543; s.pc = 11; return s.tmp_1; + s.tmp_1 = game_currentScene__P55991_mk(s); + s.callLocIdx = 1544; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; @@ -14189,206 +14189,206 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 1: - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_1 = r0; r0 = (s.tmp_1 - 4); - s.width___19393 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___2013); + s.width___72356 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 3); s.tmp_0 = r0; r0 = (s.tmp_0 + 5); - s.height___19394 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___2013); + s.height___72357 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.height___19394); - s.top___19395 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = (s.tmp_0 - s.height___72357); + s.top___72358 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.width___19393); + r0 = (s.tmp_1 - s.width___72356); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.left___19396 = (r0); + s.left___72359 = (r0); { step = 7; continue; } case 2: - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_0 = r0; r0 = (s.tmp_0 - 4); - s.width___19393 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___2013); + s.width___72356 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 3); s.tmp_0 = r0; r0 = (s.tmp_0 + 5); - s.height___19394 = (r0); - s.top___19395 = (0); - r0 = pxsim_ImageMethods.width(globals.screen___2013); + s.height___72357 = (r0); + s.top___72358 = (0); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.width___19393); + r0 = (s.tmp_1 - s.width___72356); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.left___19396 = (r0); + s.left___72359 = (r0); { step = 7; continue; } case 3: - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 3); s.tmp_0 = r0; r0 = (s.tmp_0 + 5); - s.width___19393 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___2013); - s.height___19394 = (r0); - s.top___19395 = (0); - s.left___19396 = (0); + s.width___72356 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___55025); + s.height___72357 = (r0); + s.top___72358 = (0); + s.left___72359 = (0); { step = 7; continue; } case 4: - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 3); s.tmp_0 = r0; r0 = (s.tmp_0 + 5); - s.width___19393 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___2013); - s.height___19394 = (r0); - s.top___19395 = (0); - r0 = pxsim_ImageMethods.width(globals.screen___2013); - s.tmp_0 = r0; - r0 = (s.tmp_0 - s.width___19393); - s.left___19396 = (r0); + s.width___72356 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___55025); + s.height___72357 = (r0); + s.top___72358 = (0); + r0 = pxsim_ImageMethods.width(globals.screen___55025); + s.tmp_0 = r0; + r0 = (s.tmp_0 - s.width___72356); + s.left___72359 = (r0); { step = 7; continue; } case 5: - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_1 = r0; r0 = (s.tmp_1 << 1); s.tmp_0 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, 3); - s.width___19393 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___2013); + s.width___72356 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_1 = r0; r0 = (s.tmp_1 << 1); s.tmp_0 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, 3); - s.height___19394 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___2013); + s.height___72357 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.height___19394); + r0 = (s.tmp_1 - s.height___72357); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.top___19395 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___2013); + s.top___72358 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.width___19393); + r0 = (s.tmp_1 - s.width___72356); s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.left___19396 = (r0); + s.left___72359 = (r0); { step = 7; continue; } case 6: - r0 = pxsim_ImageMethods.width(globals.screen___2013); - s.width___19393 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___2013); - s.height___19394 = (r0); - s.top___19395 = (0); - s.left___19396 = (0); + r0 = pxsim_ImageMethods.width(globals.screen___55025); + s.width___72356 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___55025); + s.height___72357 = (r0); + s.top___72358 = (0); + s.left___72359 = (0); case 7: - r0 = pxsim_pxtcore_mkClassInstance(game_Dialog__C2901_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_Dialog__C55913_VT); s.tmp_0 = r0; - s.tmp_1 = game_Dialog_constructor__P2904_mk(s); + s.tmp_1 = game_Dialog_constructor__P55916_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.width___19393; - s.tmp_1.arg2 = s.height___19394; + s.tmp_1.arg1 = s.width___72356; + s.tmp_1.arg2 = s.height___72357; s.tmp_1.arg3 = undefined; s.tmp_1.arg4 = undefined; s.tmp_1.arg5 = undefined; - s.callLocIdx = 1544; s.pc = 12; return s.tmp_1; + s.callLocIdx = 1545; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - s.dialog___19507 = (s.tmp_0); - s.tmp_0 = sprites_create__P2256_mk(s); - r0 = s.dialog___19507.fields["image"]; + s.dialog___72470 = (s.tmp_0); + s.tmp_0 = sprites_create__P55268_mk(s); + r0 = s.dialog___72470.fields["image"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = -1; - s.callLocIdx = 1545; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1546; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.s___19515 = (r0); - s.tmp_0 = Sprite_top__P2384_mk(s); - s.tmp_0.arg0 = s.s___19515; - s.tmp_0.arg1 = s.top___19395; - s.callLocIdx = 1546; s.pc = 14; return s.tmp_0; + s.s___72478 = (r0); + s.tmp_0 = Sprite_top__P55396_mk(s); + s.tmp_0.arg0 = s.s___72478; + s.tmp_0.arg1 = s.top___72358; + s.callLocIdx = 1547; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_left__P2380_mk(s); - s.tmp_0.arg0 = s.s___19515; - s.tmp_0.arg1 = s.left___19396; - s.callLocIdx = 1547; s.pc = 15; return s.tmp_0; + s.tmp_0 = Sprite_left__P55392_mk(s); + s.tmp_0.arg0 = s.s___72478; + s.tmp_0.arg1 = s.left___72359; + s.callLocIdx = 1548; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_Dialog__C2901_v1_2_mk(s); - s.tmp_0.arg0 = s.dialog___19507; + s.tmp_0 = game_Dialog__C55913_v1_2_mk(s); + s.tmp_0.arg0 = s.dialog___72470; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_Dialog__C2901_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_Dialog__C55913_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.setText; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = pxsim_pxtrt.mklocRef(); - s.pressed___19531 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pressed___19531, true); + s.pressed___72494 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pressed___72494, true); r0 = pxsim_pxtrt.mklocRef(); - s.done___19532 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.done___19532, false); + s.done___72495 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.done___72495, false); r0 = pxsim_pxtrt.mklocRef(); - s.upPressed___19533 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.upPressed___19533, true); - r0 = pxsim_pxtcore_mkAction(4, game_showLongText_inline__P19535); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dialog___19507); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pressed___19531); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.done___19532); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.upPressed___19533); - s.tmp_1 = game_onUpdate__P3003_mk(s); + s.upPressed___72496 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.upPressed___72496, true); + r0 = pxsim_pxtcore_mkAction(4, game_showLongText_inline__P72498); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dialog___72470); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pressed___72494); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.done___72495); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.upPressed___72496); + s.tmp_1 = game_onUpdate__P56015_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 1554; s.pc = 17; return s.tmp_1; + s.callLocIdx = 1555; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, game_showLongText_inline__P19583); + r0 = pxsim_pxtcore_mkAction(1, game_showLongText_inline__P72546); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.done___19532); - s.tmp_1 = pauseUntil__P367_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.done___72495); + s.tmp_1 = pauseUntil__P53379_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1555; s.pc = 18; return s.tmp_1; + s.callLocIdx = 1556; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - s.tmp_0 = controller__setUserEventsEnabled__P2187_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P55199_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 1556; s.pc = 19; return s.tmp_0; + s.callLocIdx = 1557; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_showLongText__P2940.info = {"start":24237,"length":3072,"line":649,"column":4,"endLine":742,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"showLongText","argumentNames":["str","layout"]} +game_showLongText__P55952.info = {"start":24237,"length":3072,"line":649,"column":4,"endLine":742,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"showLongText","argumentNames":["str","layout"]} -function game_showLongText__P2940_mk(s) { +function game_showLongText__P55952_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_showLongText__P2940, depth: s.depth + 1, + parent: s, fn: game_showLongText__P55952, 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, - width___19393: undefined, - height___19394: undefined, - top___19395: undefined, - left___19396: undefined, - dialog___19507: undefined, - s___19515: undefined, - pressed___19531: undefined, - done___19532: undefined, - upPressed___19533: undefined, + width___72356: undefined, + height___72357: undefined, + top___72358: undefined, + left___72359: undefined, + dialog___72470: undefined, + s___72478: undefined, + pressed___72494: undefined, + done___72495: undefined, + upPressed___72496: undefined, arg0: undefined, arg1: undefined, } } @@ -14397,7 +14397,7 @@ function game_showLongText__P2940_mk(s) { -function game_showLongText_inline__P19535(s) { +function game_showLongText_inline__P72498(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14407,18 +14407,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currentState___19538 = undefined; - s.moveBack___19563 = undefined; - s.tmp_0 = game_BaseDialog__C2883_v0_1_mk(s); + s.currentState___72501 = undefined; + s.moveBack___72526 = undefined; + s.tmp_0 = game_BaseDialog__C55895_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C2883_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C55895_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.tmp_1 = controller_Button__C2170_v0_1_mk(s); - s.tmp_1.arg0 = globals.A___2094; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C55182_v0_1_mk(s); + s.tmp_1.arg0 = globals.A___55106; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 24; return s.tmp_1; case 24: @@ -14429,9 +14429,9 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = controller_Button__C2170_v0_1_mk(s); - s.tmp_2.arg0 = globals.down___2099; - if (!checkSubtype(s.tmp_2.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_2.arg0); + s.tmp_2 = controller_Button__C55182_v0_1_mk(s); + s.tmp_2.arg0 = globals.down___55111; + if (!checkSubtype(s.tmp_2.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_2.arg0); s.tmp_2.fn = s.tmp_2.arg0.vtable.methods.isPressed; s.pc = 25; return s.tmp_2; case 25: @@ -14439,8 +14439,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.currentState___19538 = (s.tmp_3); - s.tmp_0 = r0 = s.currentState___19538; + s.currentState___72501 = (s.tmp_3); + s.tmp_0 = r0 = s.currentState___72501; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } r0 = s.tmp_0; @@ -14457,28 +14457,28 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } r0 = pxsim_pxtrt_stlocRef(s.caps[1], true); - s.tmp_1 = game_Dialog_hasNext__P2905_mk(s); + s.tmp_1 = game_Dialog_hasNext__P55917_mk(s); s.tmp_1.arg0 = s.caps[0]; - s.callLocIdx = 1548; s.pc = 26; return s.tmp_1; + s.callLocIdx = 1549; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = game_Dialog_nextPage__P2907_mk(s); + s.tmp_2 = game_Dialog_nextPage__P55919_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 1549; s.pc = 27; return s.tmp_2; + s.callLocIdx = 1550; s.pc = 27; return s.tmp_2; case 27: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_setBackgroundImage__P2865_mk(s); + s.tmp_0 = scene_setBackgroundImage__P55877_mk(s); s.tmp_0.arg0 = null; - s.callLocIdx = 1550; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1551; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.tmp_0 = game_popScene__P2984_mk(s); - s.callLocIdx = 1551; s.pc = 29; return s.tmp_0; + s.tmp_0 = game_popScene__P55996_mk(s); + s.callLocIdx = 1552; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; r0 = pxsim_pxtrt_stlocRef(s.caps[2], true); @@ -14492,7 +14492,7 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(s.currentState___19538); + r0 = pxsim_numops_toBoolDecr(s.currentState___72501); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 9: @@ -14504,15 +14504,15 @@ switch (step) { case 10: case 11: case 12: - s.tmp_0 = controller_Button__C2170_v0_1_mk(s); - s.tmp_0.arg0 = globals.up___2097; - if (!checkSubtype(s.tmp_0.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = controller_Button__C55182_v0_1_mk(s); + s.tmp_0.arg0 = globals.up___55109; + if (!checkSubtype(s.tmp_0.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.isPressed; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - s.moveBack___19563 = (r0); - s.tmp_0 = r0 = s.moveBack___19563; + s.moveBack___72526 = (r0); + s.tmp_0 = r0 = s.moveBack___72526; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 13; continue; } r0 = s.tmp_0; @@ -14529,17 +14529,17 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 17; continue; } r0 = pxsim_pxtrt_stlocRef(s.caps[3], true); - s.tmp_1 = game_Dialog_hasPrev__P2906_mk(s); + s.tmp_1 = game_Dialog_hasPrev__P55918_mk(s); s.tmp_1.arg0 = s.caps[0]; - s.callLocIdx = 1552; s.pc = 31; return s.tmp_1; + s.callLocIdx = 1553; s.pc = 31; return s.tmp_1; case 31: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_2 = game_Dialog_prevPage__P2908_mk(s); + s.tmp_2 = game_Dialog_prevPage__P55920_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 1553; s.pc = 32; return s.tmp_2; + s.callLocIdx = 1554; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; case 15: @@ -14553,7 +14553,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = pxsim_numops_toBoolDecr(s.moveBack___19563); + r0 = pxsim_numops_toBoolDecr(s.moveBack___72526); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 19: @@ -14569,26 +14569,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_showLongText_inline__P19535.info = {"start":26290,"length":931,"line":710,"column":22,"endLine":738,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} +game_showLongText_inline__P72498.info = {"start":26290,"length":931,"line":710,"column":22,"endLine":738,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} -function game_showLongText_inline__P19535_mk(s) { +function game_showLongText_inline__P72498_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_showLongText_inline__P19535, depth: s.depth + 1, + parent: s, fn: game_showLongText_inline__P72498, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - currentState___19538: undefined, - moveBack___19563: undefined, + currentState___72501: undefined, + moveBack___72526: undefined, } } -function game_showLongText_inline__P19583(s) { +function game_showLongText_inline__P72546(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14602,12 +14602,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_showLongText_inline__P19583.info = {"start":27243,"length":10,"line":740,"column":19,"endLine":740,"endColumn":29,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} +game_showLongText_inline__P72546.info = {"start":27243,"length":10,"line":740,"column":19,"endLine":740,"endColumn":29,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} -function game_showLongText_inline__P19583_mk(s) { +function game_showLongText_inline__P72546_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_showLongText_inline__P19583, depth: s.depth + 1, + parent: s, fn: game_showLongText_inline__P72546, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -14615,7 +14615,7 @@ function game_showLongText_inline__P19583_mk(s) { -function game_popScene__P2984(s) { +function game_popScene__P55996(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14625,59 +14625,59 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___14488 = undefined; - s.tmp_0 = game_currentScene__P2979_mk(s); - s.callLocIdx = 1603; s.pc = 11; return s.tmp_0; + s.oldScene___67517 = undefined; + s.tmp_0 = game_currentScene__P55991_mk(s); + s.callLocIdx = 1604; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___14488 = (r0); - s.tmp_0 = r0 = globals._sceneStack___5023; + s.oldScene___67517 = (r0); + s.tmp_0 = r0 = globals._sceneStack___58036; 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___5023); + r0 = pxsim_Array__length(globals._sceneStack___58036); 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___5023); - globals._scene___5022 = (r0); - s.tmp_0 = control_popEventContext__P410_mk(s); - s.callLocIdx = 1604; s.pc = 12; return s.tmp_0; + r0 = pxsim_Array_.pop(globals._sceneStack___58036); + globals._scene___58035 = (r0); + s.tmp_0 = control_popEventContext__P53422_mk(s); + s.callLocIdx = 1605; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___5022); + r0 = pxsim_numops_toBoolDecr(globals._scene___58035); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P410_mk(s); - s.callLocIdx = 1605; s.pc = 13; return s.tmp_0; + s.tmp_0 = control_popEventContext__P53422_mk(s); + s.callLocIdx = 1606; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___5022 = (undefined); + globals._scene___58035 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___5022); + r0 = pxsim_numops_toBoolDecr(globals._scene___58035); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P3163_mk(s); - s.callLocIdx = 1606; s.pc = 14; return s.tmp_0; + s.tmp_0 = particles_enableAll__P56175_mk(s); + s.callLocIdx = 1607; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___5025); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___58038); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P14509); + r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P67538); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___14488); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___5025; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___67517); + s.tmp_1 = helpers_arrayForEach__P53121_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___58038; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1608; s.pc = 15; return s.tmp_1; + s.callLocIdx = 1609; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; case 9: @@ -14686,23 +14686,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P2984.info = {"start":5133,"length":548,"line":161,"column":4,"endLine":179,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P55996.info = {"start":5133,"length":548,"line":161,"column":4,"endLine":179,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} -function game_popScene__P2984_mk(s) { +function game_popScene__P55996_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P2984, depth: s.depth + 1, + parent: s, fn: game_popScene__P55996, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___14488: undefined, + oldScene___67517: undefined, } } -function game_popScene_inline__P14509(s) { +function game_popScene_inline__P67538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14720,19 +14720,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 = 1607; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1608; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_popScene_inline__P14509.info = {"start":5645,"length":18,"line":177,"column":38,"endLine":177,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +game_popScene_inline__P67538.info = {"start":5645,"length":18,"line":177,"column":38,"endLine":177,"endColumn":56,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function game_popScene_inline__P14509_mk(s) { +function game_popScene_inline__P67538_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene_inline__P14509, depth: s.depth + 1, + parent: s, fn: game_popScene_inline__P67538, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14742,7 +14742,7 @@ function game_popScene_inline__P14509_mk(s) { -function particles_enableAll__P3163(s) { +function particles_enableAll__P56175(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14752,22 +14752,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___14513 = undefined; - s.tmp_0 = particles_particleSources__P5372_mk(s); - s.callLocIdx = 1888; s.pc = 3; return s.tmp_0; + s.sources___67542 = undefined; + s.tmp_0 = particles_particleSources__P58385_mk(s); + s.callLocIdx = 1889; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___14513 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___14513); + s.sources___67542 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___67542); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.sources___14513; - s.tmp_0.arg1 = particles_enableAll_inline__P14519; - s.callLocIdx = 1890; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P53121_mk(s); + s.tmp_0.arg0 = s.sources___67542; + s.tmp_0.arg1 = particles_enableAll_inline__P67548; + s.callLocIdx = 1891; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P5368_mk(s); - s.callLocIdx = 1891; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P58381_mk(s); + s.callLocIdx = 1892; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -14776,22 +14776,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P3163.info = {"start":12649,"length":193,"line":413,"column":4,"endLine":419,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P56175.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__P3163_mk(s) { +function particles_enableAll__P56175_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P3163, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P56175, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___14513: undefined, + sources___67542: undefined, } } -function particles_enableAll_inline__P14519(s) { +function particles_enableAll_inline__P67548(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14805,22 +14805,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P3144_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P56156_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1889; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1890; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = true; return leave(s, r0) default: oops() } } } -particles_enableAll_inline__P14519.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__P67548.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__P14519_mk(s) { +function particles_enableAll_inline__P67548_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll_inline__P14519, depth: s.depth + 1, + parent: s, fn: particles_enableAll_inline__P67548, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14830,7 +14830,7 @@ function particles_enableAll_inline__P14519_mk(s) { -function particles_particleSources__P5372(s) { +function particles_particleSources__P58385(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14840,33 +14840,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___9491 = undefined; - s.tmp_0 = game_currentScene__P2979_mk(s); - s.callLocIdx = 1892; s.pc = 1; return s.tmp_0; + s.sources___62519 = undefined; + s.tmp_0 = game_currentScene__P55991_mk(s); + s.callLocIdx = 1893; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___9491 = (r0); - r0 = s.sources___9491; + s.sources___62519 = (r0); + r0 = s.sources___62519; return leave(s, r0) default: oops() } } } -particles_particleSources__P5372.info = {"start":12848,"length":119,"line":421,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P58385.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__P5372_mk(s) { +function particles_particleSources__P58385_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P5372, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P58385, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___9491: undefined, + sources___62519: undefined, } } -function particles_pruneParticles__P5368(s) { +function particles_pruneParticles__P58381(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14876,26 +14876,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___9511 = undefined; - s.tmp_0 = particles_particleSources__P5372_mk(s); - s.callLocIdx = 1870; s.pc = 3; return s.tmp_0; + s.sources___62539 = undefined; + s.tmp_0 = particles_particleSources__P58385_mk(s); + s.callLocIdx = 1871; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___9511 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___9511); + s.sources___62539 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___62539); 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___9511; + s.tmp_0 = helpers_arrayForEach__P53121_mk(s); + s.tmp_1 = helpers_arraySlice__P53127_mk(s); + s.tmp_1.arg0 = s.sources___62539; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___9511); + r0 = pxsim_Array__length(s.sources___62539); s.tmp_1.arg2 = r0; - s.callLocIdx = 1871; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1872; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = particles_pruneParticles_inline__P9520; - s.callLocIdx = 1873; s.pc = 4; return s.tmp_0; + s.tmp_0.arg1 = particles_pruneParticles_inline__P62548; + s.callLocIdx = 1874; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -14904,23 +14904,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P5368.info = {"start":9864,"length":156,"line":327,"column":4,"endLine":330,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P58381.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__P5368_mk(s) { +function particles_pruneParticles__P58381_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P5368, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P58381, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___9511: undefined, + sources___62539: undefined, } } -function particles_pruneParticles_inline__P9520(s) { +function particles_pruneParticles_inline__P62548(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14934,21 +14934,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P3139_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P56151_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1872; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1873; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_pruneParticles_inline__P9520.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__P62548.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__P9520_mk(s) { +function particles_pruneParticles_inline__P62548_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles_inline__P9520, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles_inline__P62548, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14958,7 +14958,7 @@ function particles_pruneParticles_inline__P9520_mk(s) { -function particles_ParticleSource__prune__P3139(s) { +function particles_ParticleSource__prune__P56151(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14968,15 +14968,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___9283 = undefined; - s.sources___9291 = undefined; - s.current___9305 = undefined; + s.scene___62311 = undefined; + s.sources___62319 = undefined; + s.current___62333 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3131_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["head"]; s.tmp_0 = r0; @@ -15019,36 +15019,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P2979_mk(s); - s.callLocIdx = 1845; s.pc = 21; return s.tmp_5; + s.tmp_5 = game_currentScene__P55991_mk(s); + s.callLocIdx = 1846; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___9283 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___9283); + s.scene___62311 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___62311); if (!r0) { step = 7; continue; } - r0 = s.scene___9283.fields["allSprites"]; + r0 = s.scene___62311.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P5372_mk(s); - s.callLocIdx = 1846; s.pc = 22; return s.tmp_0; + s.tmp_0 = particles_particleSources__P58385_mk(s); + s.callLocIdx = 1847; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___9291 = (r0); - s.tmp_0 = r0 = s.sources___9291; + s.sources___62319 = (r0); + s.tmp_0 = r0 = s.sources___62319; 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___9291); + r0 = pxsim_Array__length(s.sources___62319); 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___9291, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___62319, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -15057,35 +15057,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___9305 = (r0); + s.current___62333 = (r0); case 15: - s.tmp_0 = r0 = s.current___9305; + s.tmp_0 = r0 = s.current___62333; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___9305.fields["next"]; + r0 = s.current___62333.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___9305.fields["next"]; + r0 = s.current___62333.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___9305.fields["next"]; + r0 = s.current___62333.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___9305).fields["next"] = (s.tmp_4); + r0 = (s.current___62333).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___9305.fields["next"]; - s.current___9305 = (r0); + r0 = s.current___62333.fields["next"]; + s.current___62333 = (r0); case 19: { step = 15; continue; } case 20: @@ -15093,12 +15093,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P3139.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__P56151.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__P3139_mk(s) { +function particles_ParticleSource__prune__P56151_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P3139, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P56151, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15106,9 +15106,9 @@ function particles_ParticleSource__prune__P3139_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___9283: undefined, - sources___9291: undefined, - current___9305: undefined, + scene___62311: undefined, + sources___62319: undefined, + current___62333: undefined, arg0: undefined, } } @@ -15116,7 +15116,7 @@ function particles_ParticleSource__prune__P3139_mk(s) { -function particles_ParticleSource_enabled__P3144(s) { +function particles_ParticleSource_enabled__P56156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15132,11 +15132,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3131_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P3143_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P56155_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1849; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1850; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; s.tmp_2 = r0; @@ -15165,12 +15165,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P3144.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__P56156.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__P3144_mk(s) { +function particles_ParticleSource_enabled__P56156_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P3144, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P56156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15187,7 +15187,7 @@ function particles_ParticleSource_enabled__P3144_mk(s) { -function particles_ParticleSource_enabled__P3143(s) { +function particles_ParticleSource_enabled__P56155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15202,7 +15202,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3131_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -15217,13 +15217,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P3143.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__P3143.isGetter = true; +particles_ParticleSource_enabled__P56155.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__P56155.isGetter = true; -function particles_ParticleSource_enabled__P3143_mk(s) { +function particles_ParticleSource_enabled__P56155_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P3143, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P56155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15237,7 +15237,7 @@ function particles_ParticleSource_enabled__P3143_mk(s) { -function control_popEventContext__P410(s) { +function control_popEventContext__P53422(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15247,9 +15247,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___14526 = undefined; - s.context___14534 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4543); + s.ctx___67555 = undefined; + s.context___67563 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___57556); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -15258,9 +15258,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___4543); - s.ctx___14526 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___14526); + r0 = pxsim_Array_.pop(globals.eventContexts___57556); + s.ctx___67555 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___67555); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -15269,53 +15269,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___14526; + s.tmp_2 = control_EventContext_unregister__P53414_mk(s); + s.tmp_2.arg0 = s.ctx___67555; s.callLocIdx = 75; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___4543; - r0 = pxsim_Array__length(globals.eventContexts___4543); + s.tmp_0 = r0 = globals.eventContexts___57556; + r0 = pxsim_Array__length(globals.eventContexts___57556); 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___14534 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___14534); + s.context___67563 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___67563); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P401_mk(s); - s.tmp_0.arg0 = s.context___14534; + s.tmp_0 = control_EventContext_register__P53413_mk(s); + s.tmp_0.arg0 = s.context___67563; s.callLocIdx = 76; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___4543 = (undefined); + globals.eventContexts___57556 = (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__P53422.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__P53422_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P410, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P53422, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___14526: undefined, - context___14534: undefined, + ctx___67555: undefined, + context___67563: undefined, } } -function control_EventContext_unregister__P402(s) { +function control_EventContext_unregister__P53414(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15325,37 +15325,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___12766 = undefined; - s.unnamed1482___U1 = undefined; - s.unnamed1483___U2 = undefined; + s.h___65795 = undefined; + s.unnamed222___U1 = undefined; + s.unnamed223___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___12766 = (undefined); + if (!checkSubtype(r0, control_EventContext__C53407_VT)) failedCast(r0); + s.h___65795 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed1482___U1 = (r0); - s.unnamed1483___U2 = (0); + s.unnamed222___U1 = (r0); + s.unnamed223___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1483___U2; - r0 = pxsim_Array__length(s.unnamed1482___U1); + s.tmp_0 = r0 = s.unnamed223___U2; + r0 = pxsim_Array__length(s.unnamed222___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1482___U1, s.unnamed1483___U2); - s.h___12766 = (r0); - s.tmp_2 = control_EventHandler_unregister__P4537_mk(s); - s.tmp_2.arg0 = s.h___12766; + r0 = pxsim_Array__getAt(s.unnamed222___U1, s.unnamed223___U2); + s.h___65795 = (r0); + s.tmp_2 = control_EventHandler_unregister__P57550_mk(s); + s.tmp_2.arg0 = s.h___65795; s.callLocIdx = 68; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed1483___U2 + 1); - s.unnamed1483___U2 = (r0); + r0 = (s.unnamed223___U2 + 1); + s.unnamed223___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed1482___U1 = (undefined); + s.unnamed222___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -15366,19 +15366,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__P53414.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__P53414_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P402, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P53414, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___12766: undefined, - unnamed1482___U1: undefined, - unnamed1483___U2: undefined, + h___65795: undefined, + unnamed222___U1: undefined, + unnamed223___U2: undefined, arg0: undefined, } } @@ -15386,7 +15386,7 @@ function control_EventContext_unregister__P402_mk(s) { -function control_EventHandler_unregister__P4537(s) { +function control_EventHandler_unregister__P57550(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15401,24 +15401,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C4535_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C57548_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__P4539, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P57552, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P4537.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__P57550.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__P4537_mk(s) { +function control_EventHandler_unregister__P57550_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P4537, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P57550, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15430,7 +15430,7 @@ function control_EventHandler_unregister__P4537_mk(s) { -function control_doNothing__P4539(s) { +function control_doNothing__P57552(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15444,12 +15444,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P4539.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P57552.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__P4539_mk(s) { +function control_doNothing__P57552_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P4539, depth: s.depth + 1, + parent: s, fn: control_doNothing__P57552, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -15457,7 +15457,7 @@ function control_doNothing__P4539_mk(s) { -function control_EventContext_register__P401(s) { +function control_EventContext_register__P53413(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15467,38 +15467,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___14547 = undefined; - s.unnamed1480___U1 = undefined; - s.unnamed1481___U2 = undefined; + s.h___67576 = undefined; + s.unnamed220___U1 = undefined; + s.unnamed221___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___14547 = (undefined); + if (!checkSubtype(r0, control_EventContext__C53407_VT)) failedCast(r0); + s.h___67576 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed1480___U1 = (r0); - s.unnamed1481___U2 = (0); + s.unnamed220___U1 = (r0); + s.unnamed221___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1481___U2; - r0 = pxsim_Array__length(s.unnamed1480___U1); + s.tmp_0 = r0 = s.unnamed221___U2; + r0 = pxsim_Array__length(s.unnamed220___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1480___U1, s.unnamed1481___U2); - s.h___14547 = (r0); - s.tmp_2 = control_EventHandler_register__P4536_mk(s); - s.tmp_2.arg0 = s.h___14547; + r0 = pxsim_Array__getAt(s.unnamed220___U1, s.unnamed221___U2); + s.h___67576 = (r0); + s.tmp_2 = control_EventHandler_register__P57549_mk(s); + s.tmp_2.arg0 = s.h___67576; s.callLocIdx = 66; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed1481___U2 + 1); - s.unnamed1481___U2 = (r0); + r0 = (s.unnamed221___U2 + 1); + s.unnamed221___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed1480___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P4541_mk(s); + s.unnamed220___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P57554_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 67; s.pc = 4; return s.tmp_0; case 4: @@ -15507,19 +15507,19 @@ switch (step) { 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__P53413.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__P53413_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P401, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P53413, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___14547: undefined, - unnamed1480___U1: undefined, - unnamed1481___U2: undefined, + h___67576: undefined, + unnamed220___U1: undefined, + unnamed221___U2: undefined, arg0: undefined, } } @@ -15527,7 +15527,7 @@ function control_EventContext_register__P401_mk(s) { -function game_pushScene__P2983(s) { +function game_pushScene__P55995(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15537,45 +15537,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___14445 = undefined; - s.tmp_0 = game_currentScene__P2979_mk(s); - s.callLocIdx = 1597; s.pc = 5; return s.tmp_0; + s.oldScene___67474 = undefined; + s.tmp_0 = game_currentScene__P55991_mk(s); + s.callLocIdx = 1598; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___14445 = (r0); - s.tmp_0 = particles_clearAll__P3161_mk(s); - s.callLocIdx = 1598; s.pc = 6; return s.tmp_0; + s.oldScene___67474 = (r0); + s.tmp_0 = particles_clearAll__P56173_mk(s); + s.callLocIdx = 1599; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P3162_mk(s); - s.callLocIdx = 1599; s.pc = 7; return s.tmp_0; + s.tmp_0 = particles_disableAll__P56174_mk(s); + s.callLocIdx = 1600; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___5023); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___58036); 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___5023 = (r0); + globals._sceneStack___58036 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___5023, globals._scene___5022); - s.tmp_0 = game_init__P5030_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___58036, globals._scene___58035); + s.tmp_0 = game_init__P58043_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 1600; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1601; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___5024); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___58037); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P14462); + r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P67491); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___14445); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___5024; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___67474); + s.tmp_1 = helpers_arrayForEach__P53121_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___58037; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1602; s.pc = 9; return s.tmp_1; + s.callLocIdx = 1603; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; case 3: @@ -15584,23 +15584,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P2983.info = {"start":4760,"length":367,"line":148,"column":4,"endLine":159,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P55995.info = {"start":4760,"length":367,"line":148,"column":4,"endLine":159,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} -function game_pushScene__P2983_mk(s) { +function game_pushScene__P55995_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P2983, depth: s.depth + 1, + parent: s, fn: game_pushScene__P55995, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___14445: undefined, + oldScene___67474: undefined, } } -function game_pushScene_inline__P14462(s) { +function game_pushScene_inline__P67491(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15618,19 +15618,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 = 1601; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1602; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_pushScene_inline__P14462.info = {"start":5091,"length":18,"line":157,"column":39,"endLine":157,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} +game_pushScene_inline__P67491.info = {"start":5091,"length":18,"line":157,"column":39,"endLine":157,"endColumn":57,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["cb"]} -function game_pushScene_inline__P14462_mk(s) { +function game_pushScene_inline__P67491_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene_inline__P14462, depth: s.depth + 1, + parent: s, fn: game_pushScene_inline__P67491, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15640,7 +15640,7 @@ function game_pushScene_inline__P14462_mk(s) { -function game_init__P5030(s) { +function game_init__P58043(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15654,7 +15654,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___5022); + r0 = pxsim_numops_toBoolDecr(globals._scene___58035); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -15669,37 +15669,37 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C2823_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C55835_VT); s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P2846_mk(s); + s.tmp_4 = scene_Scene_constructor__P55858_mk(s); s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P409_mk(s); - s.callLocIdx = 1594; s.pc = 6; return s.tmp_5; + s.tmp_5 = control_pushEventContext__P53421_mk(s); + s.callLocIdx = 1595; s.pc = 6; return s.tmp_5; case 6: r0 = s.retval; s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___5022; - s.callLocIdx = 1595; s.pc = 5; return s.tmp_4; + s.tmp_4.arg2 = globals._scene___58035; + s.callLocIdx = 1596; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; - globals._scene___5022 = (s.tmp_3); + globals._scene___58035 = (s.tmp_3); case 3: case 4: - s.tmp_0 = scene_Scene_init__P2847_mk(s); - s.tmp_0.arg0 = globals._scene___5022; - s.callLocIdx = 1596; s.pc = 7; return s.tmp_0; + s.tmp_0 = scene_Scene_init__P55859_mk(s); + s.tmp_0.arg0 = globals._scene___58035; + s.callLocIdx = 1597; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_init__P5030.info = {"start":4560,"length":194,"line":141,"column":4,"endLine":146,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} +game_init__P58043.info = {"start":4560,"length":194,"line":141,"column":4,"endLine":146,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["forceNewScene"]} -function game_init__P5030_mk(s) { +function game_init__P58043_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P5030, depth: s.depth + 1, + parent: s, fn: game_init__P58043, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15714,7 +15714,7 @@ function game_init__P5030_mk(s) { -function scene_Scene_init__P2847(s) { +function scene_Scene_init__P55859(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15729,7 +15729,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2823_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C55835_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -15737,7 +15737,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P1914_mk(s); + s.tmp_1 = power_poke__P54926_mk(s); s.callLocIdx = 1365; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -15746,10 +15746,10 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["allSprites"] = (s.tmp_1); r0 = (s.arg0).fields["spriteNextId"] = (0); - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11003); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P64031); 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__P53415_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; @@ -15757,18 +15757,18 @@ switch (step) { s.callLocIdx = 1368; 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__P53415_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P2114; + s.tmp_0.arg2 = controller__moveSprites__P55126; s.callLocIdx = 1369; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11026); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P64054); 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__P53415_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; @@ -15776,10 +15776,10 @@ switch (step) { s.callLocIdx = 1371; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11039); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P64067); 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__P53415_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 55; @@ -15787,10 +15787,10 @@ switch (step) { s.callLocIdx = 1375; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11060); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P64088); 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__P53415_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; @@ -15798,10 +15798,10 @@ switch (step) { s.callLocIdx = 1377; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11068); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P64096); 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__P53415_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; @@ -15809,38 +15809,42 @@ switch (step) { s.callLocIdx = 1381; 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__P53415_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P1974; + s.tmp_0.arg2 = control___screen_update__P54986; s.callLocIdx = 1382; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = multiplayer_initServer__P3368_mk(s); + s.tmp_0 = multiplayer_initServer__P56380_mk(s); s.callLocIdx = 1383; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P11098); + s.tmp_0 = multiplayer_initPlayerConnectionListeners__P56381_mk(s); + s.callLocIdx = 1384; s.pc = 13; return s.tmp_0; + case 13: + r0 = s.retval; + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P64127); 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___2845; + s.tmp_1 = helpers_arrayForEach__P53121_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___55857; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1385; s.pc = 13; return s.tmp_1; - case 13: + s.callLocIdx = 1386; s.pc = 14; return s.tmp_1; + case 14: r0 = s.retval; case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init__P2847.info = {"start":4432,"length":2515,"line":127,"column":8,"endLine":186,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} +scene_Scene_init__P55859.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__P2847_mk(s) { +function scene_Scene_init__P55859_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P2847, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P55859, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15851,7 +15855,7 @@ function scene_Scene_init__P2847_mk(s) { -function scene_Scene_init_inline__P11003(s) { +function scene_Scene_init_inline__P64031(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15870,7 +15874,7 @@ switch (step) { r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_millis"] = (s.tmp_1); - s.tmp_0 = controller___update__P2146_mk(s); + s.tmp_0 = controller___update__P55158_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; @@ -15884,12 +15888,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11003.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__P64031.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__P11003_mk(s) { +function scene_Scene_init_inline__P64031_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11003, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P64031, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15901,7 +15905,7 @@ function scene_Scene_init_inline__P11003_mk(s) { -function scene_Scene_init_inline__P11026(s) { +function scene_Scene_init_inline__P64054(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15911,7 +15915,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = PhysicsEngine__C2491_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C55503_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["eventContext"]; @@ -15920,7 +15924,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2491_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C55503_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: @@ -15929,12 +15933,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11026.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__P64054.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__P11026_mk(s) { +function scene_Scene_init_inline__P64054_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11026, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P64054, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15945,7 +15949,7 @@ function scene_Scene_init_inline__P11026_mk(s) { -function scene_Scene_init_inline__P11039(s) { +function scene_Scene_init_inline__P64067(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15955,39 +15959,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___11040 = undefined; - s.s___11048 = undefined; - s.unnamed1518___U2 = undefined; - s.unnamed1519___U3 = undefined; + s.dt___64068 = undefined; + s.s___64076 = undefined; + s.unnamed258___U2 = undefined; + s.unnamed259___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___11040 = (r0); - s.tmp_0 = scene_Camera_update__P2778_mk(s); + s.dt___64068 = (r0); + s.tmp_0 = scene_Camera_update__P55790_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; s.callLocIdx = 1373; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___11048 = (undefined); + s.s___64076 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed1518___U2 = (r0); - s.unnamed1519___U3 = (0); + s.unnamed258___U2 = (r0); + s.unnamed259___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1519___U3; - r0 = pxsim_Array__length(s.unnamed1518___U2); + s.tmp_0 = r0 = s.unnamed259___U3; + r0 = pxsim_Array__length(s.unnamed258___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1518___U2, s.unnamed1519___U3); - s.s___11048 = (r0); + r0 = pxsim_Array__getAt(s.unnamed258___U2, s.unnamed259___U3); + s.s___64076 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___11048; + s.tmp_2.arg0 = s.s___64076; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___11040; + s.tmp_2.arg2 = s.dt___64068; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); s.callLocIdx = 1374; s.pc = 4; return s.tmp_2; @@ -15999,36 +16003,36 @@ switch (step) { } case 4: r0 = s.retval; - r0 = (s.unnamed1519___U3 + 1); - s.unnamed1519___U3 = (r0); + r0 = (s.unnamed259___U3 + 1); + s.unnamed259___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed1518___U2 = (undefined); + s.unnamed258___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11039.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__P64067.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__P11039_mk(s) { +function scene_Scene_init_inline__P64067_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11039, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P64067, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___11040: undefined, - s___11048: undefined, - unnamed1518___U2: undefined, - unnamed1519___U3: undefined, + dt___64068: undefined, + s___64076: undefined, + unnamed258___U2: undefined, + unnamed259___U3: undefined, } } -function scene_Scene_init_inline__P11060(s) { +function scene_Scene_init_inline__P64088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16038,7 +16042,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P2852_mk(s); + s.tmp_0 = scene_Scene_render__P55864_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1376; s.pc = 1; return s.tmp_0; case 1: @@ -16047,12 +16051,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11060.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__P64088.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__P11060_mk(s) { +function scene_Scene_init_inline__P64088_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11060, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P64088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -16061,7 +16065,7 @@ function scene_Scene_init_inline__P11060_mk(s) { -function scene_Scene_init_inline__P11068(s) { +function scene_Scene_init_inline__P64096(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16071,26 +16075,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___2948; + s.tmp_0 = r0 = globals.stats___55960; 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___53410; 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___53410; + if ((globals.control_EventContext_lastStats___53409) && (globals.control_EventContext_lastStats___53409).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___397); + pxsim_String__stringConv(globals.control_EventContext_lastStats___53409); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___397) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___53409) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -16126,23 +16130,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___2947); + r0 = pxsim_numops_toBoolDecr(globals.debug___55959); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C2491_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C55503_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2491_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C55503_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__P3107_mk(s); + s.tmp_0 = game_consoleOverlay_draw__P56119_mk(s); s.callLocIdx = 1379; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P1915_mk(s); + s.tmp_0 = power_checkDeepSleep__P54927_mk(s); s.callLocIdx = 1380; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -16150,12 +16154,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11068.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__P64096.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__P11068_mk(s) { +function scene_Scene_init_inline__P64096_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11068, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P64096, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16172,7 +16176,7 @@ function scene_Scene_init_inline__P11068_mk(s) { -function scene_Scene_init_inline__P11098(s) { +function scene_Scene_init_inline__P64127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16190,19 +16194,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 = 1384; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1385; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P11098.info = {"start":6923,"length":12,"line":185,"column":39,"endLine":185,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +scene_Scene_init_inline__P64127.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__P11098_mk(s) { +function scene_Scene_init_inline__P64127_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P11098, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P64127, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16212,7 +16216,7 @@ function scene_Scene_init_inline__P11098_mk(s) { -function multiplayer_initServer__P3368(s) { +function multiplayer_initPlayerConnectionListeners__P56381(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16222,102 +16226,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___11114 = undefined; - r0 = pxsim.multiplayer.getOrigin(); - s.tmp_1 = r0; - r0 = (s.tmp_1 === "server"); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 3; continue; } - s.tmp_2 = control_EventContext_registerFrameHandler__P403_mk(s); - s.tmp_3 = game_eventContext__P2982_mk(s); - s.callLocIdx = 2154; s.pc = 6; return s.tmp_3; - case 6: - r0 = s.retval; - s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = 210; - s.tmp_2.arg2 = multiplayer_initServer_inline__P11107; - s.callLocIdx = 2155; s.pc = 5; return s.tmp_2; - case 5: - r0 = s.retval; - s.p___11114 = (1); + s.p___64130 = undefined; + s.p___64130 = (1); case 1: - r0 = (s.p___11114 <= 4); + r0 = (s.p___64130 <= 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = multiplayer_registerPlayerConnectionListeners__P5478_mk(s); - s.tmp_1.arg0 = s.p___11114; - s.callLocIdx = 2156; s.pc = 7; return s.tmp_1; - case 7: + s.tmp_1 = multiplayer_registerPlayerConnectionListeners__P58491_mk(s); + s.tmp_1.arg0 = s.p___64130; + s.callLocIdx = 2157; s.pc = 3; return s.tmp_1; + case 3: r0 = s.retval; - r0 = (s.p___11114 + 1); - s.p___11114 = (r0); + r0 = (s.p___64130 + 1); + s.p___64130 = (r0); { step = 1; continue; } case 2: - case 3: - case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_initServer__P3368.info = {"start":1011,"length":419,"line":29,"column":4,"endLine":41,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initServer","argumentNames":[]} +multiplayer_initPlayerConnectionListeners__P56381.info = {"start":1324,"length":154,"line":39,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initPlayerConnectionListeners","argumentNames":[]} -function multiplayer_initServer__P3368_mk(s) { +function multiplayer_initPlayerConnectionListeners__P56381_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initServer__P3368, depth: s.depth + 1, + parent: s, fn: multiplayer_initPlayerConnectionListeners__P56381, 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, - p___11114: undefined, + p___64130: undefined, } } -function multiplayer_initServer_inline__P11107(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 = pxsim.multiplayer.getOrigin(); - s.tmp_1 = r0; - r0 = (s.tmp_1 === "server"); - s.tmp_0 = r0; - r0 = pxsim_numops_toBoolDecr(s.tmp_0); - if (!r0) { step = 1; continue; } - r0 = pxsim.multiplayer.postImage(globals.screen___2013); - case 1: - case 2: - r0 = undefined; - return leave(s, r0) - default: oops() -} } } -multiplayer_initServer_inline__P11107.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__P11107_mk(s) { - checkStack(s.depth); - return { - parent: s, fn: multiplayer_initServer_inline__P11107, depth: s.depth + 1, - pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, - tmp_0: undefined, - tmp_1: undefined, -} } - - - - - -function multiplayer_registerPlayerConnectionListeners__P5478(s) { +function multiplayer_registerPlayerConnectionListeners__P58491(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16331,38 +16276,38 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P11126); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P64142); 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__P53403_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 = 2158; s.pc = 1; return s.tmp_1; + s.callLocIdx = 2159; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P11132); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P64148); 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__P53403_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 = 2160; s.pc = 2; return s.tmp_1; + s.callLocIdx = 2161; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners__P5478.info = {"start":1436,"length":415,"line":43,"column":4,"endLine":54,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"registerPlayerConnectionListeners","argumentNames":["playerNumber"]} +multiplayer_registerPlayerConnectionListeners__P58491.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__P5478_mk(s) { +function multiplayer_registerPlayerConnectionListeners__P58491_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners__P5478, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners__P58491, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16373,7 +16318,7 @@ function multiplayer_registerPlayerConnectionListeners__P5478_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P11126(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P64142(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16383,22 +16328,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P5479_mk(s); + s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P58492_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; - s.callLocIdx = 2157; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2158; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners_inline__P11126.info = {"start":1608,"length":55,"line":47,"column":12,"endLine":47,"endColumn":67,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_registerPlayerConnectionListeners_inline__P64142.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__P11126_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P64142_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P11126, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P64142, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -16407,7 +16352,7 @@ function multiplayer_registerPlayerConnectionListeners_inline__P11126_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P11132(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P64148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16417,22 +16362,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P5479_mk(s); + s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P58492_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; - s.callLocIdx = 2159; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2160; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners_inline__P11132.info = {"start":1778,"length":56,"line":52,"column":12,"endLine":52,"endColumn":68,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_registerPlayerConnectionListeners_inline__P64148.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__P11132_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P64148_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P11132, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P64148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -16441,7 +16386,7 @@ function multiplayer_registerPlayerConnectionListeners_inline__P11132_mk(s) { -function multiplayer_receiveConnectionChangedEvent__P5479(s) { +function multiplayer_receiveConnectionChangedEvent__P58492(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16451,7 +16396,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.c___11137 = undefined; + s.c___64153 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16469,23 +16414,23 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 1: - s.c___11137 = (globals.player1___2104); + s.c___64153 = (globals.player1___55116); { step = 5; continue; } case 2: - s.c___11137 = (globals.player2___2101); + s.c___64153 = (globals.player2___55113); { step = 5; continue; } case 3: - s.c___11137 = (globals.player3___2102); + s.c___64153 = (globals.player3___55114); { step = 5; continue; } case 4: - s.c___11137 = (globals.player4___2103); + s.c___64153 = (globals.player4___55115); case 5: - r0 = pxsim_numops_toBoolDecr(s.c___11137); + r0 = pxsim_numops_toBoolDecr(s.c___64153); if (!r0) { step = 6; continue; } - s.tmp_0 = controller_Controller_connected__P2137_mk(s); - s.tmp_0.arg0 = s.c___11137; + s.tmp_0 = controller_Controller_connected__P55149_mk(s); + s.tmp_0.arg0 = s.c___64153; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 2161; s.pc = 8; return s.tmp_0; + s.callLocIdx = 2162; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 6: @@ -16494,15 +16439,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_receiveConnectionChangedEvent__P5479.info = {"start":1857,"length":552,"line":56,"column":4,"endLine":74,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"receiveConnectionChangedEvent","argumentNames":["playerNumber","connected"]} +multiplayer_receiveConnectionChangedEvent__P58492.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__P5479_mk(s) { +function multiplayer_receiveConnectionChangedEvent__P58492_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_receiveConnectionChangedEvent__P5479, depth: s.depth + 1, + parent: s, fn: multiplayer_receiveConnectionChangedEvent__P58492, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - c___11137: undefined, + c___64153: undefined, arg0: undefined, arg1: undefined, } } @@ -16511,7 +16456,7 @@ function multiplayer_receiveConnectionChangedEvent__P5479_mk(s) { -function controller_Controller_connected__P2137(s) { +function controller_Controller_connected__P55149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16527,7 +16472,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2115_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C55127_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -16555,12 +16500,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P2137.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__P55149.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__P2137_mk(s) { +function controller_Controller_connected__P55149_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P2137, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P55149, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16573,7 +16518,7 @@ function controller_Controller_connected__P2137_mk(s) { -function controller__player1__P2109(s) { +function controller__player1__P55121(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16583,7 +16528,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___4738); + r0 = pxsim_numops_toBoolDecr(globals._players___57751); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -16592,7 +16537,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___4738, 0); + r0 = pxsim_Array__getAt(globals._players___57751, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -16602,18 +16547,18 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C2115_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C55127_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___2096); - r0 = pxsim_Array__push(s.tmp_6, globals.up___2097); - r0 = pxsim_Array__push(s.tmp_6, globals.right___2098); - r0 = pxsim_Array__push(s.tmp_6, globals.down___2099); - r0 = pxsim_Array__push(s.tmp_6, globals.A___2094); - r0 = pxsim_Array__push(s.tmp_6, globals.B___2095); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___2100); - s.tmp_7 = controller_Controller_constructor__P2119_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___55108); + r0 = pxsim_Array__push(s.tmp_6, globals.up___55109); + r0 = pxsim_Array__push(s.tmp_6, globals.right___55110); + r0 = pxsim_Array__push(s.tmp_6, globals.down___55111); + r0 = pxsim_Array__push(s.tmp_6, globals.A___55106); + r0 = pxsim_Array__push(s.tmp_6, globals.B___55107); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___55112); + s.tmp_7 = controller_Controller_constructor__P55131_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; @@ -16622,16 +16567,16 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___4738, 0); + r0 = pxsim_Array__getAt(globals._players___57751, 0); return leave(s, r0) default: oops() } } } -controller__player1__P2109.info = {"start":1381,"length":258,"line":47,"column":4,"endLine":51,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P55121.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__P2109_mk(s) { +function controller__player1__P55121_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P2109, depth: s.depth + 1, + parent: s, fn: controller__player1__P55121, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16647,7 +16592,7 @@ function controller__player1__P2109_mk(s) { -function controller_Controller_constructor__P2119(s) { +function controller_Controller_constructor__P55131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16657,9 +16602,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___11193 = undefined; - s.i___11201 = undefined; - s.i___11219 = undefined; + s.leftId___64209 = undefined; + s.i___64217 = undefined; + s.i___64235 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -16667,7 +16612,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2115_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C55127_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -16691,18 +16636,18 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___11193 = (r0); - s.i___11201 = (0); + s.leftId___64209 = (r0); + s.i___64217 = (0); case 2: - r0 = (s.i___11201 < 7); + r0 = (s.i___64217 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C2170_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C55182_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P2176_mk(s); + s.tmp_2 = controller_Button_constructor__P55188_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___11193 + s.i___11201); + r0 = (s.leftId___64209 + s.i___64217); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.callLocIdx = 278; s.pc = 7; return s.tmp_2; @@ -16711,14 +16656,14 @@ switch (step) { r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_3, s.tmp_1); - r0 = (s.i___11201 + 1); - s.i___11201 = (r0); + r0 = (s.i___64217 + 1); + s.i___64217 = (r0); { step = 2; continue; } case 3: case 4: - s.i___11219 = (0); + s.i___64235 = (0); case 5: - s.tmp_1 = r0 = s.i___11219; + s.tmp_1 = r0 = s.i___64235; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -16729,14 +16674,14 @@ switch (step) { if (!r0) { step = 6; continue; } r0 = s.arg0.fields["buttons"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___11219); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___64235); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___11219 + 1); - s.i___11219 = (r0); + r0 = (s.i___64235 + 1); + s.i___64235 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P4802_mk(s); + s.tmp_0 = controller_addController__P57815_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 279; s.pc = 8; return s.tmp_0; case 8: @@ -16745,12 +16690,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P2119.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__P55131.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__P2119_mk(s) { +function controller_Controller_constructor__P55131_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P2119, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P55131, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16758,9 +16703,9 @@ function controller_Controller_constructor__P2119_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___11193: undefined, - i___11201: undefined, - i___11219: undefined, + leftId___64209: undefined, + i___64217: undefined, + i___64235: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -16770,7 +16715,7 @@ function controller_Controller_constructor__P2119_mk(s) { -function controller_addController__P4802(s) { +function controller_addController__P57815(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16784,17 +16729,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___4738); + r0 = pxsim_numops_toBoolDecr(globals._players___57751); 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___4738 = (r0); + globals._players___57751 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___4738; + s.tmp_0 = r0 = globals._players___57751; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -16804,12 +16749,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P4802.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__P57815.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__P4802_mk(s) { +function controller_addController__P57815_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P4802, depth: s.depth + 1, + parent: s, fn: controller_addController__P57815, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16821,7 +16766,7 @@ function controller_addController__P4802_mk(s) { -function game_consoleOverlay_draw__P3107(s) { +function multiplayer_initServer__P56380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16831,16 +16776,104 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___11322 = undefined; - s.top___11327 = undefined; - s.i___11333 = undefined; - s.t___11346 = undefined; - s.tOff___11353 = undefined; - s.tab___11355 = undefined; - s.unnamed1522___U6 = undefined; - s.unnamed1523___U7 = undefined; - s.padding___11357 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5321); + r0 = pxsim.multiplayer.getOrigin(); + s.tmp_1 = r0; + r0 = (s.tmp_1 === "server"); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + s.tmp_2 = control_EventContext_registerFrameHandler__P53415_mk(s); + s.tmp_3 = game_eventContext__P55994_mk(s); + s.callLocIdx = 2155; 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__P64298; + s.callLocIdx = 2156; s.pc = 3; return s.tmp_2; + case 3: + r0 = s.retval; + case 1: + case 2: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +multiplayer_initServer__P56380.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__P56380_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: multiplayer_initServer__P56380, 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, +} } + + + + + +function multiplayer_initServer_inline__P64298(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 = pxsim.multiplayer.getOrigin(); + s.tmp_1 = r0; + r0 = (s.tmp_1 === "server"); + s.tmp_0 = r0; + r0 = pxsim_numops_toBoolDecr(s.tmp_0); + if (!r0) { step = 1; continue; } + r0 = pxsim.multiplayer.postImage(globals.screen___55025); + case 1: + case 2: + r0 = undefined; + return leave(s, r0) + default: oops() +} } } +multiplayer_initServer_inline__P64298.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__P64298_mk(s) { + checkStack(s.depth); + return { + parent: s, fn: multiplayer_initServer_inline__P64298, depth: s.depth + 1, + pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, + tmp_0: undefined, + tmp_1: undefined, +} } + + + + + +function game_consoleOverlay_draw__P56119(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.height___64351 = undefined; + s.top___64356 = undefined; + s.i___64362 = undefined; + s.t___64375 = undefined; + s.tOff___64382 = undefined; + s.tab___64384 = undefined; + s.unnamed262___U6 = undefined; + s.unnamed263___U7 = undefined; + s.padding___64386 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___58334); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -16849,7 +16882,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___5275); + r0 = pxsim_numops_toBoolDecr(globals.instance___58288); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -16865,23 +16898,23 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___5329; + s.tmp_7.arg0 = globals.consoleFont___58342; 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 = 1818; s.pc = 14; return s.tmp_7; } + else { s.callLocIdx = 1819; s.pc = 14; return s.tmp_7; } } case 14: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___11322 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___2948); + s.height___64351 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___55960); if (!r0) { step = 5; continue; } - r0 = s.height___11322; + r0 = s.height___64351; { step = 6; continue; } case 5: r0 = 0; @@ -16889,17 +16922,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___11327 = (r0); - s.i___11333 = (0); + s.top___64356 = (r0); + s.i___64362 = (0); case 7: - s.tmp_1 = r0 = s.i___11333; - r0 = pxsim_Array__length(globals.consoleStrings___5321); + s.tmp_1 = r0 = s.i___64362; + r0 = pxsim_Array__length(globals.consoleStrings___58334); 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___5321, s.i___11333); + r0 = pxsim_Array__getAt(globals.consoleStrings___58334, s.i___64362); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -16907,50 +16940,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___5321, s.i___11333); + s.tmp_6 = helpers_stringSplit__P53134_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___58334, s.i___64362); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1819; s.pc = 15; return s.tmp_6; + s.callLocIdx = 1820; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___11346 = (r0); - s.tOff___11353 = (0); - s.tab___11355 = (undefined); - s.unnamed1522___U6 = (s.t___11346); - s.unnamed1523___U7 = (0); + s.t___64375 = (r0); + s.tOff___64382 = (0); + s.tab___64384 = (undefined); + s.unnamed262___U6 = (s.t___64375); + s.unnamed263___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed1523___U7; - r0 = pxsim_Array__length(s.unnamed1522___U6); + s.tmp_0 = r0 = s.unnamed263___U7; + r0 = pxsim_Array__length(s.unnamed262___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed1522___U6, s.unnamed1523___U7); - s.tab___11355 = (r0); - s.tmp_2 = r0 = globals.tabSize___5323; - s.tmp_5 = r0 = s.tOff___11353; - r0 = pxsim_String_.length(s.tab___11355); + r0 = pxsim_Array__getAt(s.unnamed262___U6, s.unnamed263___U7); + s.tab___64384 = (r0); + s.tmp_2 = r0 = globals.tabSize___58336; + s.tmp_5 = r0 = s.tOff___64382; + r0 = pxsim_String_.length(s.tab___64384); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___5323); + r0 = (s.tmp_4 % globals.tabSize___58336); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___11357 = (r0); - s.tmp_0 = helpers_imagePrint__P1971_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - s.tmp_0.arg1 = s.tab___11355; - s.tmp_2 = r0 = s.tOff___11353; + s.padding___64386 = (r0); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + s.tmp_0.arg1 = s.tab___64384; + s.tmp_2 = r0 = s.tOff___64382; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___5329; + s.tmp_4.arg0 = globals.consoleFont___58342; 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 = 1820; s.pc = 17; return s.tmp_4; } + else { s.callLocIdx = 1821; s.pc = 17; return s.tmp_4; } } case 17: r0 = s.retval; @@ -16959,50 +16992,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___11327; - r0 = (s.i___11333 * s.height___11322); + s.tmp_5 = r0 = s.top___64356; + r0 = (s.i___64362 * s.height___64351); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___5320; - s.tmp_0.arg5 = globals.consoleFont___5329; + s.tmp_0.arg4 = globals.consoleColor___58333; + s.tmp_0.arg5 = globals.consoleFont___58342; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1821; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1822; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___11353; - r0 = pxsim_String_.length(s.tab___11355); + s.tmp_0 = r0 = s.tOff___64382; + r0 = pxsim_String_.length(s.tab___64384); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___11357); + r0 = (s.tmp_2 + s.padding___64386); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___11353 = (r0); - r0 = (s.unnamed1523___U7 + 1); - s.unnamed1523___U7 = (r0); + s.tOff___64382 = (r0); + r0 = (s.unnamed263___U7 + 1); + s.unnamed263___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed1522___U6 = (undefined); + s.unnamed262___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P1971_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - r0 = pxsim_Array__getAt(globals.consoleStrings___5321, s.i___11333); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + r0 = pxsim_Array__getAt(globals.consoleStrings___58334, s.i___64362); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___11327; - r0 = (s.i___11333 * s.height___11322); + s.tmp_1 = r0 = s.top___64356; + r0 = (s.i___64362 * s.height___64351); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___5320; - s.tmp_0.arg5 = globals.consoleFont___5329; + s.tmp_0.arg4 = globals.consoleColor___58333; + s.tmp_0.arg5 = globals.consoleFont___58342; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1822; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1823; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___11333 + 1); - s.i___11333 = (r0); + r0 = (s.i___64362 + 1); + s.i___64362 = (r0); { step = 7; continue; } case 12: case 13: @@ -17010,12 +17043,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P3107.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__P56119.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__P3107_mk(s) { +function game_consoleOverlay_draw__P56119_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P3107, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P56119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17025,22 +17058,22 @@ function game_consoleOverlay_draw__P3107_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___11322: undefined, - top___11327: undefined, - i___11333: undefined, - t___11346: undefined, - tOff___11353: undefined, - tab___11355: undefined, - unnamed1522___U6: undefined, - unnamed1523___U7: undefined, - padding___11357: undefined, + height___64351: undefined, + top___64356: undefined, + i___64362: undefined, + t___64375: undefined, + tOff___64382: undefined, + tab___64384: undefined, + unnamed262___U6: undefined, + unnamed263___U7: undefined, + padding___64386: undefined, } } -function scene_systemMenu_isVisible__P3088(s) { +function scene_systemMenu_isVisible__P56100(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17050,7 +17083,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___5275); + r0 = pxsim_numops_toBoolDecr(globals.instance___58288); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -17060,12 +17093,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P3088.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__P56100.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__P3088_mk(s) { +function scene_systemMenu_isVisible__P56100_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P3088, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P56100, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17076,7 +17109,7 @@ function scene_systemMenu_isVisible__P3088_mk(s) { -function helpers_stringSplit__P122(s) { +function helpers_stringSplit__P53134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17086,15 +17119,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___11744 = undefined; - s.lim___11746 = undefined; - s.s___11762 = undefined; - s.p___11765 = undefined; - s.R___11766 = undefined; - s.z___11780 = undefined; - s.T___11793 = undefined; - s.q___11794 = undefined; - s.e___11800 = undefined; + s.A___64773 = undefined; + s.lim___64775 = undefined; + s.s___64791 = undefined; + s.p___64794 = undefined; + s.R___64795 = undefined; + s.z___64809 = undefined; + s.T___64822 = undefined; + s.q___64823 = undefined; + s.e___64829 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -17102,36 +17135,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___11744 = (r0); - s.lim___11746 = (0); + s.A___64773 = (r0); + s.lim___64775 = (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___11746 = (r0); + s.lim___64775 = (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___11746 = (0); + s.lim___64775 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___11746 = (r0); + s.lim___64775 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___11762 = (r0); - s.p___11765 = (0); - s.R___11766 = (s.arg1); - r0 = (s.lim___11746 == 0); + s.s___64791 = (r0); + s.p___64794 = (0); + s.R___64795 = (s.arg1); + r0 = (s.lim___64775 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___11744; + r0 = s.A___64773; { step = 21; continue; } case 5: case 6: @@ -17139,123 +17172,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___11744, 0, s.arg0); - r0 = s.A___11744; + r0 = pxsim_Array_.setAt(s.A___64773, 0, s.arg0); + r0 = s.A___64773; { step = 21; continue; } case 7: case 8: - r0 = (s.s___11762 == 0); + r0 = (s.s___64791 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P4466_mk(s); + s.tmp_1 = helpers_splitMatch__P57479_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___11766; + s.tmp_1.arg2 = s.R___64795; s.callLocIdx = 19; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___11780 = (r0); - r0 = (s.z___11780 > -1); + s.z___64809 = (r0); + r0 = (s.z___64809 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___11744; + r0 = s.A___64773; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___11744, 0, s.arg0); - r0 = s.A___11744; + r0 = pxsim_Array_.setAt(s.A___64773, 0, s.arg0); + r0 = s.A___64773; { step = 21; continue; } case 11: case 12: - s.q___11794 = (s.p___11765); + s.q___64823 = (s.p___64794); case 13: - r0 = (s.q___11794 != s.s___11762); + r0 = (s.q___64823 != s.s___64791); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P4466_mk(s); + s.tmp_1 = helpers_splitMatch__P57479_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___11794; - s.tmp_1.arg2 = s.R___11766; + s.tmp_1.arg1 = s.q___64823; + s.tmp_1.arg2 = s.R___64795; s.callLocIdx = 20; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___11800 = (r0); - r0 = (s.e___11800 < 0); + s.e___64829 = (r0); + r0 = (s.e___64829 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___11794 + 1); - s.q___11794 = (r0); + r0 = (s.q___64823 + 1); + s.q___64823 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___11800 == s.p___11765); + r0 = (s.e___64829 == s.p___64794); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___11794 + 1); - s.q___11794 = (r0); + r0 = (s.q___64823 + 1); + s.q___64823 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P119_mk(s); + s.tmp_0 = helpers_stringSlice__P53131_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___11765; - s.tmp_0.arg2 = s.q___11794; + s.tmp_0.arg1 = s.p___64794; + s.tmp_0.arg2 = s.q___64823; s.callLocIdx = 21; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___11793 = (r0); - r0 = pxsim_Array__push(s.A___11744, s.T___11793); - r0 = pxsim_Array__length(s.A___11744); + s.T___64822 = (r0); + r0 = pxsim_Array__push(s.A___64773, s.T___64822); + r0 = pxsim_Array__length(s.A___64773); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___11746); + r0 = (s.tmp_1 == s.lim___64775); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___11744; + r0 = s.A___64773; { step = 21; continue; } case 16: case 17: - s.p___11765 = (s.e___11800); - s.q___11794 = (s.p___11765); + s.p___64794 = (s.e___64829); + s.q___64823 = (s.p___64794); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P119_mk(s); + s.tmp_0 = helpers_stringSlice__P53131_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___11765; - s.tmp_0.arg2 = s.q___11794; + s.tmp_0.arg1 = s.p___64794; + s.tmp_0.arg2 = s.q___64823; s.callLocIdx = 22; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___11793 = (r0); - r0 = pxsim_Array__push(s.A___11744, s.T___11793); - r0 = s.A___11744; + s.T___64822 = (r0); + r0 = pxsim_Array__push(s.A___64773, s.T___64822); + r0 = s.A___64773; 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__P53134.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__P53134_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P122, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P53134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___11744: undefined, - lim___11746: undefined, - s___11762: undefined, - p___11765: undefined, - R___11766: undefined, - z___11780: undefined, - T___11793: undefined, - q___11794: undefined, - e___11800: undefined, + A___64773: undefined, + lim___64775: undefined, + s___64791: undefined, + p___64794: undefined, + R___64795: undefined, + z___64809: undefined, + T___64822: undefined, + q___64823: undefined, + e___64829: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -17265,7 +17298,7 @@ function helpers_stringSplit__P122_mk(s) { -function helpers_splitMatch__P4466(s) { +function helpers_splitMatch__P57479(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17275,9 +17308,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___11880 = undefined; - s.s___11883 = undefined; - s.i___11893 = undefined; + s.r___64909 = undefined; + s.s___64912 = undefined; + s.i___64922 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -17285,12 +17318,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___11880 = (r0); + s.r___64909 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___11883 = (r0); - r0 = (s.arg1 + s.r___11880); + s.s___64912 = (r0); + r0 = (s.arg1 + s.r___64909); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___11883); + r0 = (s.tmp_1 > s.s___64912); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -17298,18 +17331,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___11893 = (0); + s.i___64922 = (0); case 3: - r0 = (s.i___11893 < s.r___11880); + r0 = (s.i___64922 < s.r___64909); 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___11893); + r0 = (s.arg1 + s.i___64922); 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___11893); + r0 = pxsim_String_.charAt(s.arg2, s.i___64922); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -17319,21 +17352,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___11893 + 1); - s.i___11893 = (r0); + r0 = (s.i___64922 + 1); + s.i___64922 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___11880); + r0 = (s.arg1 + s.r___64909); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P4466.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__P57479.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__P4466_mk(s) { +function helpers_splitMatch__P57479_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P4466, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P57479, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17341,9 +17374,9 @@ function helpers_splitMatch__P4466_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___11880: undefined, - s___11883: undefined, - i___11893: undefined, + r___64909: undefined, + s___64912: undefined, + i___64922: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -17353,7 +17386,7 @@ function helpers_splitMatch__P4466_mk(s) { -function helpers_stringSlice__P119(s) { +function helpers_stringSlice__P53131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17363,7 +17396,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___11845 = undefined; + s.len___64874 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -17371,13 +17404,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___11845 = (r0); + s.len___64874 = (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___11845 + s.arg1); + s.tmp_1 = Math_max__P53142_mk(s); + r0 = (s.len___64874 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 18; s.pc = 9; return s.tmp_1; @@ -17390,7 +17423,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___11845); + s.arg2 = (s.len___64874); { step = 6; continue; } case 3: r0 = (s.arg2 === null); @@ -17405,7 +17438,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (s.len___11845 + s.arg2); + r0 = (s.len___64874 + s.arg2); s.arg2 = (r0); case 7: case 8: @@ -17417,17 +17450,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__P53131.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__P53131_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P119, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P53131, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___11845: undefined, + len___64874: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -17437,7 +17470,7 @@ function helpers_stringSlice__P119_mk(s) { -function scene_Scene_render__P2852(s) { +function scene_Scene_render__P55864(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17447,15 +17480,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___11977 = undefined; - s.unnamed1520___U1 = undefined; - s.unnamed1521___U2 = undefined; + s.s___65006 = undefined; + s.unnamed260___U1 = undefined; + s.unnamed261___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2823_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C55835_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -17486,18 +17519,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__P2852_mk(s); + s.tmp_3 = scene_Scene_render__P55864_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 1387; s.pc = 12; return s.tmp_3; + s.callLocIdx = 1388; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P2658_mk(s); + s.tmp_0 = scene_Background_draw__P55670_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 1388; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1389; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 6: @@ -17507,11 +17540,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__P53117_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = scene_Scene_render_inline__P11954; - s.callLocIdx = 1393; s.pc = 14; return s.tmp_2; + s.tmp_2.arg1 = scene_Scene_render_inline__P64983; + s.callLocIdx = 1394; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -17522,38 +17555,38 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___11977 = (undefined); + s.s___65006 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed1520___U1 = (r0); - s.unnamed1521___U2 = (0); + s.unnamed260___U1 = (r0); + s.unnamed261___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed1521___U2; - r0 = pxsim_Array__length(s.unnamed1520___U1); + s.tmp_0 = r0 = s.unnamed261___U2; + r0 = pxsim_Array__length(s.unnamed260___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed1520___U1, s.unnamed1521___U2); - s.s___11977 = (r0); + r0 = pxsim_Array__getAt(s.unnamed260___U1, s.unnamed261___U2); + s.s___65006 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___11977; + s.tmp_2.arg0 = s.s___65006; 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 = 1394; s.pc = 15; return s.tmp_2; + s.callLocIdx = 1395; 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 = 1394; s.pc = 15; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 1394; s.pc = 15; return s.tmp_2;; } - else { s.callLocIdx = 1394; 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 = 1395; s.pc = 15; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 1395; s.pc = 15; return s.tmp_2;; } + else { s.callLocIdx = 1395; s.pc = 15; return s.tmp_2; } } case 15: r0 = s.retval; - r0 = (s.unnamed1521___U2 + 1); - s.unnamed1521___U2 = (r0); + r0 = (s.unnamed261___U2 + 1); + s.unnamed261___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed1520___U1 = (undefined); + s.unnamed260___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -17565,21 +17598,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P2852.info = {"start":8146,"length":917,"line":227,"column":8,"endLine":251,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} +scene_Scene_render__P55864.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__P2852_mk(s) { +function scene_Scene_render__P55864_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P2852, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P55864, 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___11977: undefined, - unnamed1520___U1: undefined, - unnamed1521___U2: undefined, + s___65006: undefined, + unnamed260___U1: undefined, + unnamed261___U2: undefined, arg0: undefined, } } @@ -17587,7 +17620,7 @@ function scene_Scene_render__P2852_mk(s) { -function scene_Scene_render_inline__P11954(s) { +function scene_Scene_render_inline__P64983(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17610,7 +17643,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 = 1389; s.pc = 3; return s.tmp_2; } + else { s.callLocIdx = 1390; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; @@ -17623,7 +17656,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 = 1390; s.pc = 4; return s.tmp_4; } + else { s.callLocIdx = 1391; s.pc = 4; return s.tmp_4; } } case 4: r0 = s.retval; @@ -17643,7 +17676,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 = 1391; s.pc = 5; return s.tmp_6; } + else { s.callLocIdx = 1392; s.pc = 5; return s.tmp_6; } } case 5: r0 = s.retval; @@ -17656,7 +17689,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 = 1392; s.pc = 6; return s.tmp_8; } + else { s.callLocIdx = 1393; s.pc = 6; return s.tmp_8; } } case 6: r0 = s.retval; @@ -17669,12 +17702,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render_inline__P11954.info = {"start":8724,"length":52,"line":241,"column":37,"endLine":241,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} +scene_Scene_render_inline__P64983.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__P11954_mk(s) { +function scene_Scene_render_inline__P64983_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render_inline__P11954, depth: s.depth + 1, + parent: s, fn: scene_Scene_render_inline__P64983, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17694,7 +17727,7 @@ function scene_Scene_render_inline__P11954_mk(s) { -function scene_Background_draw__P2658(s) { +function scene_Background_draw__P55670(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17709,27 +17742,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2649_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C55661_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___2013, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___55025, 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___2013, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___55025, 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__P12009); + r0 = pxsim_pxtcore_mkAction(1, scene_Background_draw_inline__P65038); 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__P53121_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; @@ -17742,12 +17775,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P2658.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__P55670.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__P2658_mk(s) { +function scene_Background_draw__P55670_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P2658, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P55670, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17759,7 +17792,7 @@ function scene_Background_draw__P2658_mk(s) { -function scene_Background_draw_inline__P12009(s) { +function scene_Background_draw_inline__P65038(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17769,8 +17802,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___12011 = undefined; - s.oy___12022 = undefined; + s.ox___65040 = undefined; + s.oy___65051 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -17785,7 +17818,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___12011 = (r0); + s.ox___65040 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -17796,11 +17829,11 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___12022 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P2667_mk(s); + s.oy___65051 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P55679_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___12011; - s.tmp_0.arg2 = s.oy___12022; + s.tmp_0.arg1 = s.ox___65040; + s.tmp_0.arg2 = s.oy___65051; s.callLocIdx = 1209; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -17808,19 +17841,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw_inline__P12009.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__P65038.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__P12009_mk(s) { +function scene_Background_draw_inline__P65038_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw_inline__P12009, depth: s.depth + 1, + parent: s, fn: scene_Background_draw_inline__P65038, 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___12011: undefined, - oy___12022: undefined, + ox___65040: undefined, + oy___65051: undefined, arg0: undefined, } } @@ -17828,7 +17861,7 @@ function scene_Background_draw_inline__P12009_mk(s) { -function scene_BackgroundLayer_draw__P2667(s) { +function scene_BackgroundLayer_draw__P55679(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17838,19 +17871,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___12040 = undefined; - s.h___12043 = undefined; - s.pw___12046 = undefined; - s.ph___12050 = undefined; - s.rx___12059 = undefined; - s.ry___12062 = undefined; - s.y___12131 = undefined; - s.py___12132 = undefined; - s.dh___12141 = undefined; - s.x___12149 = undefined; - s.rxl___12150 = undefined; - s.px___12156 = undefined; - s.dw___12160 = undefined; + s.w___65069 = undefined; + s.h___65072 = undefined; + s.pw___65075 = undefined; + s.ph___65079 = undefined; + s.rx___65088 = undefined; + s.ry___65091 = undefined; + s.y___65160 = undefined; + s.py___65161 = undefined; + s.dh___65170 = undefined; + s.x___65178 = undefined; + s.rxl___65179 = undefined; + s.px___65185 = undefined; + s.dw___65189 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -17858,20 +17891,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C2659_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___2013); - s.w___12040 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___2013); - s.h___12043 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C55671_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___55025); + s.w___65069 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___55025); + s.h___65072 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___12046 = (r0); + s.pw___65075 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___12050 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___12046); + s.ph___65079 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___65075); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -17880,7 +17913,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___12050); + r0 = pxsim_numops_toBoolDecr(s.ph___65079); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -17892,9 +17925,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___12059 = (r0); + s.rx___65088 = (r0); r0 = (0 - s.arg2); - s.ry___12062 = (r0); + s.ry___65091 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -17904,20 +17937,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___12059; - r0 = (s.w___12040 + s.pw___12046); + s.tmp_1 = r0 = s.rx___65088; + r0 = (s.w___65069 + s.pw___65075); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___12059 = (r0); + s.rx___65088 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___12059; - r0 = (s.w___12040 + s.pw___12046); + s.tmp_0 = r0 = s.rx___65088; + r0 = (s.w___65069 + s.pw___65075); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___12059 = (r0); + s.rx___65088 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -17928,120 +17961,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___12062; - r0 = (s.h___12043 + s.ph___12050); + s.tmp_1 = r0 = s.ry___65091; + r0 = (s.h___65072 + s.ph___65079); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___12062 = (r0); + s.ry___65091 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___12062; - r0 = (s.h___12043 + s.ph___12050); + s.tmp_0 = r0 = s.ry___65091; + r0 = (s.h___65072 + s.ph___65079); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___12062 = (r0); + s.ry___65091 = (r0); case 10: - r0 = (s.rx___12059 % s.w___12040); - s.rx___12059 = (r0); - r0 = (s.rx___12059 < 0); + r0 = (s.rx___65088 % s.w___65069); + s.rx___65088 = (r0); + r0 = (s.rx___65088 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___12059 + s.w___12040); - s.rx___12059 = (r0); + r0 = (s.rx___65088 + s.w___65069); + s.rx___65088 = (r0); case 11: case 12: - r0 = (s.ry___12062 % s.h___12043); - s.ry___12062 = (r0); - r0 = (s.ry___12062 < 0); + r0 = (s.ry___65091 % s.h___65072); + s.ry___65091 = (r0); + r0 = (s.ry___65091 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___12062 + s.h___12043); - s.ry___12062 = (r0); + r0 = (s.ry___65091 + s.h___65072); + s.ry___65091 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___12059); - s.rx___12059 = (r0); - r0 = pxsim.Math_.floor(s.ry___12062); - s.ry___12062 = (r0); - s.y___12131 = (0); - s.py___12132 = (0); + r0 = pxsim.Math_.floor(s.rx___65088); + s.rx___65088 = (r0); + r0 = pxsim.Math_.floor(s.ry___65091); + s.ry___65091 = (r0); + s.y___65160 = (0); + s.py___65161 = (0); case 15: - r0 = (s.y___12131 < s.h___12043); + r0 = (s.y___65160 < s.h___65072); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___12131 % s.ph___12050); - s.py___12132 = (r0); - s.tmp_0 = Math_min__P131_mk(s); - r0 = (s.ph___12050 - s.py___12132); + r0 = (s.y___65160 % s.ph___65079); + s.py___65161 = (r0); + s.tmp_0 = Math_min__P53143_mk(s); + r0 = (s.ph___65079 - s.py___65161); s.tmp_0.arg0 = r0; - r0 = (s.h___12043 - s.ry___12062); + r0 = (s.h___65072 - s.ry___65091); s.tmp_0.arg1 = r0; s.callLocIdx = 1212; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___12141 = (r0); - s.x___12149 = (0); - s.rxl___12150 = (s.rx___12059); + s.dh___65170 = (r0); + s.x___65178 = (0); + s.rxl___65179 = (s.rx___65088); case 16: - r0 = (s.x___12149 < s.w___12040); + r0 = (s.x___65178 < s.w___65069); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___12149 % s.pw___12046); - s.px___12156 = (r0); - s.tmp_0 = Math_min__P131_mk(s); - r0 = (s.pw___12046 - s.px___12156); + r0 = (s.x___65178 % s.pw___65075); + s.px___65185 = (r0); + s.tmp_0 = Math_min__P53143_mk(s); + r0 = (s.pw___65075 - s.px___65185); s.tmp_0.arg0 = r0; - r0 = (s.w___12040 - s.rxl___12150); + r0 = (s.w___65069 - s.rxl___65179); s.tmp_0.arg1 = r0; s.callLocIdx = 1213; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___12160 = (r0); + s.dw___65189 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___2013, s.tmp_0, s.rxl___12150, s.ry___12062); - r0 = (s.rxl___12150 + s.dw___12160); + r0 = pxsim_ImageMethods.drawImage(globals.screen___55025, s.tmp_0, s.rxl___65179, s.ry___65091); + r0 = (s.rxl___65179 + s.dw___65189); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___12040); - s.rxl___12150 = (r0); + r0 = (s.tmp_0 % s.w___65069); + s.rxl___65179 = (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___12160; + r0 = s.dw___65189; { step = 18; continue; } case 17: - r0 = s.w___12040; + r0 = s.w___65069; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___12149 + s.tmp_1); - s.x___12149 = (r0); + r0 = (s.x___65178 + s.tmp_1); + s.x___65178 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___12062 + s.dh___12141); + r0 = (s.ry___65091 + s.dh___65170); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___12043); - s.ry___12062 = (r0); + r0 = (s.tmp_0 % s.h___65072); + s.ry___65091 = (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___12141; + r0 = s.dh___65170; { step = 21; continue; } case 20: - r0 = s.h___12043; + r0 = s.h___65072; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___12131 + s.tmp_1); - s.y___12131 = (r0); + r0 = (s.y___65160 + s.tmp_1); + s.y___65160 = (r0); { step = 15; continue; } case 22: case 23: @@ -18049,30 +18082,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P2667.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__P55679.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__P2667_mk(s) { +function scene_BackgroundLayer_draw__P55679_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P2667, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P55679, 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___12040: undefined, - h___12043: undefined, - pw___12046: undefined, - ph___12050: undefined, - rx___12059: undefined, - ry___12062: undefined, - y___12131: undefined, - py___12132: undefined, - dh___12141: undefined, - x___12149: undefined, - rxl___12150: undefined, - px___12156: undefined, - dw___12160: undefined, + w___65069: undefined, + h___65072: undefined, + pw___65075: undefined, + ph___65079: undefined, + rx___65088: undefined, + ry___65091: undefined, + y___65160: undefined, + py___65161: undefined, + dh___65170: undefined, + x___65178: undefined, + rxl___65179: undefined, + px___65185: undefined, + dw___65189: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18082,7 +18115,7 @@ function scene_BackgroundLayer_draw__P2667_mk(s) { -function helpers_arraySort__P105(s) { +function helpers_arraySort__P53117(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18114,10 +18147,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (helpers_arraySort_inline__P9359); + s.arg1 = (helpers_arraySort_inline__P62387); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P4464_mk(s); + s.tmp_0 = helpers_sortHelper__P57477_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 3; s.pc = 5; return s.tmp_0; @@ -18126,12 +18159,12 @@ switch (step) { 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__P53117.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__P53117_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P105, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P53117, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18145,7 +18178,7 @@ function helpers_arraySort__P105_mk(s) { -function helpers_arraySort_inline__P9359(s) { +function helpers_arraySort_inline__P62387(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18155,26 +18188,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___9362 = undefined; - s.bIsUndef___9366 = undefined; - s.aIsNull___9377 = undefined; - s.bIsNull___9381 = undefined; + s.aIsUndef___62390 = undefined; + s.bIsUndef___62394 = undefined; + s.aIsNull___62405 = undefined; + s.bIsNull___62409 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___9362 = (r0); + s.aIsUndef___62390 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___9366 = (r0); - s.tmp_0 = r0 = s.aIsUndef___9362; + s.bIsUndef___62394 = (r0); + s.tmp_0 = r0 = s.aIsUndef___62390; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___9366; + r0 = s.bIsUndef___62394; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -18184,13 +18217,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___9362); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___62390); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___9366); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___62394); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -18199,16 +18232,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___9377 = (r0); + s.aIsNull___62405 = (r0); r0 = (s.arg1 === null); - s.bIsNull___9381 = (r0); - s.tmp_0 = r0 = s.aIsNull___9377; + s.bIsNull___62409 = (r0); + s.tmp_0 = r0 = s.aIsNull___62405; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___9381; + r0 = s.bIsNull___62409; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -18218,13 +18251,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___9377); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___62405); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___9381); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___62409); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -18263,12 +18296,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort_inline__P9359.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__P62387.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__P9359_mk(s) { +function helpers_arraySort_inline__P62387_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort_inline__P9359, depth: s.depth + 1, + parent: s, fn: helpers_arraySort_inline__P62387, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18278,10 +18311,10 @@ function helpers_arraySort_inline__P9359_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___9362: undefined, - bIsUndef___9366: undefined, - aIsNull___9377: undefined, - bIsNull___9381: undefined, + aIsUndef___62390: undefined, + bIsUndef___62394: undefined, + aIsNull___62405: undefined, + bIsNull___62409: undefined, arg0: undefined, arg1: undefined, } } @@ -18290,7 +18323,7 @@ function helpers_arraySort_inline__P9359_mk(s) { -function helpers_sortHelper__P4464(s) { +function helpers_sortHelper__P57477(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18300,9 +18333,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___9416 = undefined; - s.i___9419 = undefined; - s.j___9425 = undefined; + s.len___62444 = undefined; + s.i___62447 = undefined; + s.j___62453 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -18330,28 +18363,28 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___9416 = (r0); - s.i___9419 = (0); + s.len___62444 = (r0); + s.i___62447 = (0); case 5: - s.tmp_1 = r0 = s.i___9419; - r0 = (s.len___9416 - 1); + s.tmp_1 = r0 = s.i___62447; + r0 = (s.len___62444 - 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___9419 + 1); - s.j___9425 = (r0); + r0 = (s.i___62447 + 1); + s.j___62453 = (r0); case 6: - r0 = (s.j___9425 < s.len___9416); + r0 = (s.j___62453 < s.len___62444); 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___9419); + r0 = pxsim_Array__getAt(s.arg0, s.i___62447); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___9425); + r0 = pxsim_Array__getAt(s.arg0, s.j___62453); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 1; s.pc = 12; return s.tmp_3; @@ -18362,21 +18395,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P4463_mk(s); + s.tmp_4 = helpers_swap__P57476_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___9419; - s.tmp_4.arg2 = s.j___9425; + s.tmp_4.arg1 = s.i___62447; + s.tmp_4.arg2 = s.j___62453; s.callLocIdx = 2; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___9425 + 1); - s.j___9425 = (r0); + r0 = (s.j___62453 + 1); + s.j___62453 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___9419 + 1); - s.i___9419 = (r0); + r0 = (s.i___62447 + 1); + s.i___62447 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -18384,21 +18417,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P4464.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__P57477.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__P4464_mk(s) { +function helpers_sortHelper__P57477_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P4464, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P57477, 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___9416: undefined, - i___9419: undefined, - j___9425: undefined, + len___62444: undefined, + i___62447: undefined, + j___62453: undefined, arg0: undefined, arg1: undefined, } } @@ -18407,7 +18440,7 @@ function helpers_sortHelper__P4464_mk(s) { -function helpers_swap__P4463(s) { +function helpers_swap__P57476(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18417,7 +18450,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___9454 = undefined; + s.temp___62482 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -18425,28 +18458,28 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___9454 = (r0); + s.temp___62482 = (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___9454); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___62482); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P4463.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__P57476.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__P4463_mk(s) { +function helpers_swap__P57476_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P4463, depth: s.depth + 1, + parent: s, fn: helpers_swap__P57476, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___9454: undefined, + temp___62482: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18456,7 +18489,7 @@ function helpers_swap__P4463_mk(s) { -function PhysicsEngine_move__P2497(s) { +function PhysicsEngine_move__P55509(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18472,17 +18505,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2491_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C55503_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P2497.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__P55509.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__P2497_mk(s) { +function PhysicsEngine_move__P55509_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P2497, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P55509, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -18492,7 +18525,7 @@ function PhysicsEngine_move__P2497_mk(s) { -function PhysicsEngine_draw__P2496(s) { +function PhysicsEngine_draw__P55508(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18507,17 +18540,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2491_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C55503_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P2496.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__P55508.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__P2496_mk(s) { +function PhysicsEngine_draw__P55508_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P2496, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P55508, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -18526,7 +18559,7 @@ function PhysicsEngine_draw__P2496_mk(s) { -function controller___update__P2146(s) { +function controller___update__P55158(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18536,7 +18569,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___12631 = undefined; + s.dtms___65660 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -18544,12 +18577,12 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___12631 = (r0); - r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P12638); + s.dtms___65660 = (r0); + r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P65667); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___12631); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_2 = controller_players__P2110_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___65660); + s.tmp_1 = helpers_arrayForEach__P53121_mk(s); + s.tmp_2 = controller_players__P55122_mk(s); s.callLocIdx = 322; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -18562,17 +18595,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update__P2146.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__P55158.info = {"start":13733,"length":137,"line":414,"column":4,"endLine":417,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"__update","argumentNames":["dt"]} -function controller___update__P2146_mk(s) { +function controller___update__P55158_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P2146, depth: s.depth + 1, + parent: s, fn: controller___update__P55158, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___12631: undefined, + dtms___65660: undefined, arg0: undefined, } } @@ -18580,7 +18613,7 @@ function controller___update__P2146_mk(s) { -function controller___update_inline__P12638(s) { +function controller___update_inline__P65667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18594,7 +18627,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P2144_mk(s); + s.tmp_0 = controller_Controller___update__P55156_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 323; s.pc = 1; return s.tmp_0; @@ -18604,12 +18637,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update_inline__P12638.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__P65667.info = {"start":13835,"length":27,"line":416,"column":26,"endLine":416,"endColumn":53,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["ctrl"]} -function controller___update_inline__P12638_mk(s) { +function controller___update_inline__P65667_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update_inline__P12638, depth: s.depth + 1, + parent: s, fn: controller___update_inline__P65667, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18619,7 +18652,7 @@ function controller___update_inline__P12638_mk(s) { -function controller_Controller___update__P2144(s) { +function controller_Controller___update__P55156(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18635,7 +18668,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2115_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C55127_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -18646,10 +18679,10 @@ switch (step) { r0 = (s.tmp_3 | 0); s.tmp_2 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_1, s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, controller_Controller___update_inline__P12651); + r0 = pxsim_pxtcore_mkAction(1, controller_Controller___update_inline__P65680); 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__P53121_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -18660,12 +18693,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update__P2144.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__P55156.info = {"start":13211,"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__P2144_mk(s) { +function controller_Controller___update__P55156_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P2144, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P55156, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18679,7 +18712,7 @@ function controller_Controller___update__P2144_mk(s) { -function controller_Controller___update_inline__P12651(s) { +function controller_Controller___update_inline__P65680(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18693,7 +18726,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P2184_mk(s); + s.tmp_0 = controller_Button___update__P55196_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; @@ -18704,12 +18737,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update_inline__P12651.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__P65680.info = {"start":13298,"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__P12651_mk(s) { +function controller_Controller___update_inline__P65680_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update_inline__P12651, depth: s.depth + 1, + parent: s, fn: controller_Controller___update_inline__P65680, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18719,7 +18752,7 @@ function controller_Controller___update_inline__P12651_mk(s) { -function controller_Button___update__P2184(s) { +function controller_Button___update__P55196(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18729,16 +18762,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___12668 = undefined; - s.interval___12677 = undefined; - s.count___12690 = undefined; + s.delay___65697 = undefined; + s.interval___65706 = undefined; + s.count___65719 = 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__C2170_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C55182_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -18762,31 +18795,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___4820; + r0 = globals.defaultRepeatDelay___57833; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___12668 = (s.tmp_2); + s.delay___65697 = (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___4822; + r0 = globals.defaultRepeatInterval___57835; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___12677 = (s.tmp_2); + s.interval___65706 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___12668); + r0 = (s.tmp_1 < s.delay___65697); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -18795,26 +18828,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___12668); + r0 = (s.tmp_5 - s.delay___65697); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___12677); + r0 = (s.tmp_4 - s.interval___65706); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___12677); + r0 = (s.tmp_3 / s.interval___65706); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___12690 = (r0); + s.count___65719 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___12690 != s.tmp_1); + r0 = (s.count___65719 != 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__P4809_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P57822_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 338; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___12690); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___65719); case 9: case 10: case 11: @@ -18822,12 +18855,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P2184.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__P55196.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__P2184_mk(s) { +function controller_Button___update__P55196_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P2184, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P55196, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18835,9 +18868,9 @@ function controller_Button___update__P2184_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___12668: undefined, - interval___12677: undefined, - count___12690: undefined, + delay___65697: undefined, + interval___65706: undefined, + count___65719: undefined, arg0: undefined, arg1: undefined, } } @@ -18846,7 +18879,7 @@ function controller_Button___update__P2184_mk(s) { -function controller_Button_raiseButtonRepeat__P4809(s) { +function controller_Button_raiseButtonRepeat__P57822(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18861,8 +18894,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2170_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4818); + if (!checkSubtype(r0, controller_Button__C55182_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___57831); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -18877,12 +18910,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P4809.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__P57822.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__P4809_mk(s) { +function controller_Button_raiseButtonRepeat__P57822_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P4809, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P57822, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -18892,7 +18925,7 @@ function controller_Button_raiseButtonRepeat__P4809_mk(s) { -function controller_players__P2110(s) { +function controller_players__P55122(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18902,25 +18935,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller__player1__P2109_mk(s); + s.tmp_0 = controller__player1__P55121_mk(s); s.callLocIdx = 273; 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___4738; - s.tmp_0.arg1 = controller_players_inline__P12621; + s.tmp_0 = helpers_arrayFilter__P53122_mk(s); + s.tmp_0.arg0 = globals._players___57751; + s.tmp_0.arg1 = controller_players_inline__P65650; s.callLocIdx = 274; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P2110.info = {"start":1645,"length":144,"line":53,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P55122.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__P2110_mk(s) { +function controller_players__P55122_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P2110, depth: s.depth + 1, + parent: s, fn: controller_players__P55122, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18929,7 +18962,7 @@ function controller_players__P2110_mk(s) { -function controller_players_inline__P12621(s) { +function controller_players_inline__P65650(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18953,12 +18986,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_players_inline__P12621.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__P65650.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__P12621_mk(s) { +function controller_players_inline__P65650_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players_inline__P12621, depth: s.depth + 1, + parent: s, fn: controller_players_inline__P65650, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18970,7 +19003,7 @@ function controller_players_inline__P12621_mk(s) { -function helpers_arrayFilter__P110(s) { +function helpers_arrayFilter__P53122(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18980,31 +19013,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___10105 = undefined; - s.len___10107 = undefined; - s.i___10110 = undefined; - s.v___10115 = undefined; + s.res___63133 = undefined; + s.len___63135 = undefined; + s.i___63138 = undefined; + s.v___63143 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___10105 = (r0); + s.res___63133 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___10107 = (r0); - s.i___10110 = (0); + s.len___63135 = (r0); + s.i___63138 = (0); case 1: - r0 = (s.i___10110 < s.len___10107); + r0 = (s.i___63138 < s.len___63135); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___10110); - s.v___10115 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___63138); + s.v___63143 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___10115; - s.tmp_1.arg1 = s.i___10110; + s.tmp_1.arg0 = s.v___63143; + s.tmp_1.arg1 = s.i___63138; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 7; s.pc = 5; return s.tmp_1; case 5: @@ -19012,30 +19045,30 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__push(s.res___10105, s.v___10115); + r0 = pxsim_Array__push(s.res___63133, s.v___63143); case 2: case 3: - r0 = (s.i___10110 + 1); - s.i___10110 = (r0); + r0 = (s.i___63138 + 1); + s.i___63138 = (r0); { step = 1; continue; } case 4: - r0 = s.res___10105; + r0 = s.res___63133; 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__P53122.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__P53122_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P110, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P53122, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___10105: undefined, - len___10107: undefined, - i___10110: undefined, - v___10115: undefined, + res___63133: undefined, + len___63135: undefined, + i___63138: undefined, + v___63143: undefined, arg0: undefined, arg1: undefined, } } @@ -19044,7 +19077,7 @@ function helpers_arrayFilter__P110_mk(s) { -function controller__moveSprites__P2114(s) { +function controller__moveSprites__P55126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19054,13 +19087,13 @@ 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__P2110_mk(s); + s.tmp_0 = helpers_arrayForEach__P53121_mk(s); + s.tmp_1 = controller_players__P55122_mk(s); s.callLocIdx = 275; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = controller__moveSprites_inline__P12420; + s.tmp_0.arg1 = controller__moveSprites_inline__P65449; s.callLocIdx = 277; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -19068,12 +19101,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites__P2114.info = {"start":2005,"length":180,"line":67,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P55126.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__P2114_mk(s) { +function controller__moveSprites__P55126_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P2114, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P55126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19083,7 +19116,7 @@ function controller__moveSprites__P2114_mk(s) { -function controller__moveSprites_inline__P12420(s) { +function controller__moveSprites_inline__P65449(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19097,7 +19130,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P2143_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P55155_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 276; s.pc = 1; return s.tmp_0; case 1: @@ -19106,12 +19139,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites_inline__P12420.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__P65449.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__P12420_mk(s) { +function controller__moveSprites_inline__P65449_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites_inline__P12420, depth: s.depth + 1, + parent: s, fn: controller__moveSprites_inline__P65449, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19121,7 +19154,7 @@ function controller__moveSprites_inline__P12420_mk(s) { -function controller_Controller___preUpdate__P2143(s) { +function controller_Controller___preUpdate__P55155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19131,20 +19164,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___12427 = undefined; - s.svx___12428 = undefined; - s.svy___12429 = undefined; - s.svxInCricle___12464 = undefined; - s.svyInCircle___12466 = undefined; - s.sq___12468 = undefined; - s.scale___12483 = undefined; + s.deadSprites___65456 = undefined; + s.svx___65457 = undefined; + s.svy___65458 = undefined; + s.svxInCricle___65493 = undefined; + s.svyInCircle___65495 = undefined; + s.sq___65497 = undefined; + s.scale___65512 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2115_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P2120_mk(s); + if (!checkSubtype(r0, controller_Controller__C55127_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P55132_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 295; s.pc = 18; return s.tmp_3; case 18: @@ -19160,21 +19193,21 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___12427 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___12427, false); + s.deadSprites___65456 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___65456, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___12428 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___12428, 0); + s.svx___65457 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___65457, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___12429 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___12429, 0); + s.svy___65458 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___65458, 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___12428; - s.tmp_5 = controller_Button_pressureLevel__P2182_mk(s); - s.tmp_6 = controller_Controller_right__P2125_mk(s); + s.tmp_1 = r0 = s.svx___65457; + s.tmp_5 = controller_Button_pressureLevel__P55194_mk(s); + s.tmp_6 = controller_Controller_right__P55137_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 296; s.pc = 20; return s.tmp_6; case 20: @@ -19184,8 +19217,8 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P2182_mk(s); - s.tmp_9 = controller_Controller_left__P2124_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P55194_mk(s); + s.tmp_9 = controller_Controller_left__P55136_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 298; s.pc = 22; return s.tmp_9; case 22: @@ -19200,9 +19233,9 @@ switch (step) { r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_1, s.tmp_2); - s.tmp_0 = r0 = s.svy___12429; - s.tmp_4 = controller_Button_pressureLevel__P2182_mk(s); - s.tmp_5 = controller_Controller_down__P2127_mk(s); + s.tmp_0 = r0 = s.svy___65458; + s.tmp_4 = controller_Button_pressureLevel__P55194_mk(s); + s.tmp_5 = controller_Controller_down__P55139_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 300; s.pc = 24; return s.tmp_5; case 24: @@ -19212,8 +19245,8 @@ switch (step) { case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P2182_mk(s); - s.tmp_8 = controller_Controller_up__P2126_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P55194_mk(s); + s.tmp_8 = controller_Controller_up__P55138_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 302; s.pc = 26; return s.tmp_8; case 26: @@ -19230,14 +19263,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C2170_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P2125_mk(s); + s.tmp_1 = controller_Button__C55182_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P55137_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 304; 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__C2170_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C55182_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: @@ -19252,14 +19285,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C2170_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P2124_mk(s); + s.tmp_5 = controller_Button__C55182_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P55136_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 305; 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__C2170_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C55182_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: @@ -19274,18 +19307,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___12428; + s.tmp_8 = r0 = s.svx___65457; 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__C2170_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P2127_mk(s); + s.tmp_1 = controller_Button__C55182_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P55139_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 306; 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__C2170_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C55182_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: @@ -19300,14 +19333,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C2170_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P2126_mk(s); + s.tmp_5 = controller_Button__C55182_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P55138_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 307; 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__C2170_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C55182_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: @@ -19322,57 +19355,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___12429; + s.tmp_8 = r0 = s.svy___65458; 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___12464 = (r0); - s.tmp_0 = r0 = s.svxInCricle___12464; - r0 = pxsim_pxtrt_ldlocRef(s.svx___12428); + s.svxInCricle___65493 = (r0); + s.tmp_0 = r0 = s.svxInCricle___65493; + r0 = pxsim_pxtrt_ldlocRef(s.svx___65457); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___12466 = (r0); - s.tmp_0 = r0 = s.svyInCircle___12466; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12429); + s.svyInCircle___65495 = (r0); + s.tmp_0 = r0 = s.svyInCircle___65495; + r0 = pxsim_pxtrt_ldlocRef(s.svy___65458); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___12428); + r0 = pxsim_pxtrt_ldlocRef(s.svx___65457); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___12428); + r0 = pxsim_pxtrt_ldlocRef(s.svx___65457); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12429); + r0 = pxsim_pxtrt_ldlocRef(s.svy___65458); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12429); + r0 = pxsim_pxtrt_ldlocRef(s.svy___65458); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___12468 = (r0); - r0 = (s.sq___12468 > 65536); + s.sq___65497 = (r0); + r0 = (s.sq___65497 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___12468); + r0 = (65536 / s.sq___65497); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___12483 = (r0); - s.tmp_0 = r0 = s.svxInCricle___12464; - s.tmp_3 = r0 = s.scale___12483; - r0 = pxsim_pxtrt_ldlocRef(s.svx___12428); + s.scale___65512 = (r0); + s.tmp_0 = r0 = s.svxInCricle___65493; + s.tmp_3 = r0 = s.scale___65512; + r0 = pxsim_pxtrt_ldlocRef(s.svx___65457); 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___12466; - s.tmp_3 = r0 = s.scale___12483; - r0 = pxsim_pxtrt_ldlocRef(s.svy___12429); + s.tmp_0 = r0 = s.svyInCircle___65495; + s.tmp_3 = r0 = s.scale___65512; + r0 = pxsim_pxtrt_ldlocRef(s.svy___65458); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -19381,15 +19414,15 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); case 13: case 14: - r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P12501); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___12427); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___12428); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___12429); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___12464); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___12466); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P2120_mk(s); + r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P65530); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___65456); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___65457); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___65458); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___65493); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___65495); + s.tmp_1 = helpers_arrayForEach__P53121_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P55132_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 308; s.pc = 36; return s.tmp_2; case 36: @@ -19399,20 +19432,20 @@ switch (step) { s.callLocIdx = 316; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___12427); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___65456); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P2121_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P55133_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P110_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P2120_mk(s); + s.tmp_2 = helpers_arrayFilter__P53122_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P55132_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 317; 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__P12558; + s.tmp_2.arg1 = controller_Controller___preUpdate_inline__P65587; s.callLocIdx = 318; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -19427,12 +19460,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P2143.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__P55155.info = {"start":10666,"length":2535,"line":330,"column":8,"endLine":394,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"__preUpdate","argumentNames":["this"]} -function controller_Controller___preUpdate__P2143_mk(s) { +function controller_Controller___preUpdate__P55155_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P2143, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P55155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19444,13 +19477,13 @@ function controller_Controller___preUpdate__P2143_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___12427: undefined, - svx___12428: undefined, - svy___12429: undefined, - svxInCricle___12464: undefined, - svyInCircle___12466: undefined, - sq___12468: undefined, - scale___12483: undefined, + deadSprites___65456: undefined, + svx___65457: undefined, + svy___65458: undefined, + svxInCricle___65493: undefined, + svyInCircle___65495: undefined, + sq___65497: undefined, + scale___65512: undefined, arg0: undefined, } } @@ -19458,7 +19491,7 @@ function controller_Controller___preUpdate__P2143_mk(s) { -function controller_Controller___preUpdate_inline__P12501(s) { +function controller_Controller___preUpdate_inline__P65530(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19468,9 +19501,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___12504 = undefined; - s.vx___12505 = undefined; - s.vy___12506 = undefined; + s.s___65533 = undefined; + s.vx___65534 = undefined; + s.vy___65535 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -19488,7 +19521,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___12504 = (r0); + s.s___65533 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -19501,7 +19534,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___12505 = (r0); + s.vx___65534 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -19514,8 +19547,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___12506 = (r0); - r0 = s.s___12504.fields["flags"]; + s.vy___65535 = (r0); + r0 = s.s___65533.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -19529,14 +19562,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___12505); + r0 = pxsim_numops_toBoolDecr(s.vx___65534); if (!r0) { step = 3; continue; } - r0 = (s.s___12504).fields["_vx"] = (0); + r0 = (s.s___65533).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___12506); + r0 = pxsim_numops_toBoolDecr(s.vy___65535); if (!r0) { step = 5; continue; } - r0 = (s.s___12504).fields["_vy"] = (0); + r0 = (s.s___65533).fields["_vy"] = (0); case 5: case 6: case 7: @@ -19554,48 +19587,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___12505; + s.tmp_2 = r0 = s.vx___65534; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___12506; + r0 = s.vy___65535; 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___12504; + s.tmp_4 = r0 = s.s___65533; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___12505); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___65534); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___12504; + s.tmp_0 = r0 = s.s___65533; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___12506); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___65535); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___12505); + r0 = pxsim_numops_toBoolDecr(s.vx___65534); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___12504; + s.tmp_0 = r0 = s.s___65533; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___12505); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___65534); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___12506); + r0 = pxsim_numops_toBoolDecr(s.vy___65535); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___12504; + s.tmp_0 = r0 = s.s___65533; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___12506); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___65535); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -19612,12 +19645,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P12501.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__P65530.info = {"start":11849,"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__P12501_mk(s) { +function controller_Controller___preUpdate_inline__P65530_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P12501, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P65530, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19626,9 +19659,9 @@ function controller_Controller___preUpdate_inline__P12501_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___12504: undefined, - vx___12505: undefined, - vy___12506: undefined, + s___65533: undefined, + vx___65534: undefined, + vy___65535: undefined, arg0: undefined, } } @@ -19636,7 +19669,7 @@ function controller_Controller___preUpdate_inline__P12501_mk(s) { -function controller_Controller___preUpdate_inline__P12558(s) { +function controller_Controller___preUpdate_inline__P65587(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19661,12 +19694,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P12558.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__P65587.info = {"start":13147,"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__P12558_mk(s) { +function controller_Controller___preUpdate_inline__P65587_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P12558, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P65587, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19678,7 +19711,7 @@ function controller_Controller___preUpdate_inline__P12558_mk(s) { -function controller_Button_pressureLevel__P2182(s) { +function controller_Button_pressureLevel__P55194(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19693,16 +19726,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2170_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C55182_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__C2170_v0_1_mk(s); + s.tmp_3 = controller_Button__C55182_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C55182_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: @@ -19731,12 +19764,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P2182.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__P55194.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__P2182_mk(s) { +function controller_Button_pressureLevel__P55194_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P2182, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P55194, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19751,7 +19784,7 @@ function controller_Button_pressureLevel__P2182_mk(s) { -function controller_Controller_down__P2127(s) { +function controller_Controller_down__P55139(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19766,7 +19799,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2115_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C55127_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -19775,13 +19808,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P2127.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__P2127.isGetter = true; +controller_Controller_down__P55139.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__P55139.isGetter = true; -function controller_Controller_down__P2127_mk(s) { +function controller_Controller_down__P55139_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P2127, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P55139, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19792,7 +19825,7 @@ function controller_Controller_down__P2127_mk(s) { -function controller_Controller_button__P4803(s) { +function controller_Controller_button__P57816(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19808,7 +19841,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2115_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C55127_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -19817,12 +19850,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P4803.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__P57816.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__P4803_mk(s) { +function controller_Controller_button__P57816_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P4803, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P57816, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19834,7 +19867,7 @@ function controller_Controller_button__P4803_mk(s) { -function controller_Controller_up__P2126(s) { +function controller_Controller_up__P55138(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19849,7 +19882,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2115_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C55127_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -19858,13 +19891,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P2126.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__P2126.isGetter = true; +controller_Controller_up__P55138.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__P55138.isGetter = true; -function controller_Controller_up__P2126_mk(s) { +function controller_Controller_up__P55138_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P2126, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P55138, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19875,7 +19908,7 @@ function controller_Controller_up__P2126_mk(s) { -function controller_Controller_right__P2125(s) { +function controller_Controller_right__P55137(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19890,7 +19923,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2115_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C55127_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -19899,13 +19932,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P2125.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__P2125.isGetter = true; +controller_Controller_right__P55137.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__P55137.isGetter = true; -function controller_Controller_right__P2125_mk(s) { +function controller_Controller_right__P55137_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P2125, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P55137, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19916,7 +19949,7 @@ function controller_Controller_right__P2125_mk(s) { -function controller_Controller_left__P2124(s) { +function controller_Controller_left__P55136(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19931,7 +19964,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2115_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C55127_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -19940,13 +19973,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P2124.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__P2124.isGetter = true; +controller_Controller_left__P55136.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__P55136.isGetter = true; -function controller_Controller_left__P2124_mk(s) { +function controller_Controller_left__P55136_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P2124, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P55136, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19957,7 +19990,7 @@ function controller_Controller_left__P2124_mk(s) { -function controller_Controller__controlledSprites__P2121(s) { +function controller_Controller__controlledSprites__P55133(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19973,8 +20006,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2115_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P2979_mk(s); + if (!checkSubtype(r0, controller_Controller__C55127_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P55991_mk(s); s.callLocIdx = 281; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -19987,12 +20020,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P2121.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__P55133.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__P2121_mk(s) { +function controller_Controller__controlledSprites__P55133_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P2121, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P55133, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20005,7 +20038,7 @@ function controller_Controller__controlledSprites__P2121_mk(s) { -function controller_Controller__controlledSprites__P2120(s) { +function controller_Controller__controlledSprites__P55132(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20020,8 +20053,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2115_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P2979_mk(s); + if (!checkSubtype(r0, controller_Controller__C55127_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P55991_mk(s); s.callLocIdx = 280; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -20033,13 +20066,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P2120.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__P2120.isGetter = true; +controller_Controller__controlledSprites__P55132.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__P55132.isGetter = true; -function controller_Controller__controlledSprites__P2120_mk(s) { +function controller_Controller__controlledSprites__P55132_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P2120, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P55132, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20051,7 +20084,7 @@ function controller_Controller__controlledSprites__P2120_mk(s) { -function Fx_imul__P161(s) { +function Fx_imul__P53173(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20070,12 +20103,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__P53173.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__P53173_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P161, depth: s.depth + 1, + parent: s, fn: Fx_imul__P53173, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -20085,7 +20118,7 @@ function Fx_imul__P161_mk(s) { -function power_checkDeepSleep__P1915(s) { +function power_checkDeepSleep__P54927(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20095,13 +20128,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___11277 = undefined; - s.to___11280 = undefined; - s.tmp_0 = power_init__P4649_mk(s); + s.p___64306 = undefined; + s.to___64309 = undefined; + s.tmp_0 = power_init__P57662_mk(s); s.callLocIdx = 194; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___4647; + s.tmp_0 = r0 = globals._poked___57660; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -20111,8 +20144,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___11277 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___4648; + s.p___64306 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___57661; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -20122,8 +20155,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___11280 = (s.tmp_1); - r0 = (s.to___11280 > 0); + s.to___64309 = (s.tmp_1); + r0 = (s.to___64309 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -20132,9 +20165,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___11277); + r0 = (s.tmp_2 - s.p___64306); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___11280); + r0 = (s.tmp_1 > s.to___64309); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -20160,12 +20193,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P1915.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P54927.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__P1915_mk(s) { +function power_checkDeepSleep__P54927_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P1915, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P54927, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20174,15 +20207,15 @@ function power_checkDeepSleep__P1915_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___11277: undefined, - to___11280: undefined, + p___64306: undefined, + to___64309: undefined, } } -function power_init__P4649(s) { +function power_init__P57662(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20192,7 +20225,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___4648 !== undefined); + r0 = (globals._timeout___57661 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -20202,21 +20235,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___4648 = (r0); - r0 = (globals._timeout___4648 > 0); + globals._timeout___57661 = (r0); + r0 = (globals._timeout___57661 > 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___4648 < 300000); + r0 = (globals._timeout___57661 < 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___4648 = (300000); + globals._timeout___57661 = (300000); case 5: case 6: case 7: @@ -20224,12 +20257,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P4649.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P57662.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__P4649_mk(s) { +function power_init__P57662_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P4649, depth: s.depth + 1, + parent: s, fn: power_init__P57662, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20239,7 +20272,7 @@ function power_init__P4649_mk(s) { -function power_poke__P1914(s) { +function power_poke__P54926(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20249,22 +20282,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P4649_mk(s); + s.tmp_0 = power_init__P57662_mk(s); s.callLocIdx = 193; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___4647 = (r0); + globals._poked___57660 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P1914.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P54926.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__P1914_mk(s) { +function power_poke__P54926_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P1914, depth: s.depth + 1, + parent: s, fn: power_poke__P54926, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -20273,7 +20306,7 @@ function power_poke__P1914_mk(s) { -function control_EventContext_deltaTime__P400(s) { +function control_EventContext_deltaTime__P53412(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20288,20 +20321,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C53407_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__P53412.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__P53412.isGetter = true; -function control_EventContext_deltaTime__P400_mk(s) { +function control_EventContext_deltaTime__P53412_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P400, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P53412, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20311,7 +20344,7 @@ function control_EventContext_deltaTime__P400_mk(s) { -function scene_Scene_constructor__P2846(s) { +function scene_Scene_constructor__P55858(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20328,13 +20361,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2823_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C55835_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__C2507_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C55519_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P2508_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P55520_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; @@ -20343,17 +20376,17 @@ switch (step) { case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C2761_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C55773_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P2765_mk(s); + s.tmp_1 = scene_Camera_constructor__P55777_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1363; 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__C2649_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C55661_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P2653_mk(s); + s.tmp_1 = scene_Background_constructor__P55665_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; @@ -20414,12 +20447,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P2846.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__P55858.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__P2846_mk(s) { +function scene_Scene_constructor__P55858_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P2846, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P55858, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20432,7 +20465,7 @@ function scene_Scene_constructor__P2846_mk(s) { -function scene_Camera_constructor__P2765(s) { +function scene_Camera_constructor__P55777(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20447,7 +20480,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2761_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C55773_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -20456,12 +20489,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P2765.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__P55777.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__P2765_mk(s) { +function scene_Camera_constructor__P55777_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P2765, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P55777, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -20470,7 +20503,7 @@ function scene_Camera_constructor__P2765_mk(s) { -function scene_Background_constructor__P2653(s) { +function scene_Background_constructor__P55665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20486,7 +20519,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2649_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C55661_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -20497,12 +20530,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P2653.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__P55665.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__P2653_mk(s) { +function scene_Background_constructor__P55665_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P2653, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P55665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20514,7 +20547,7 @@ function scene_Background_constructor__P2653_mk(s) { -function ArcadePhysicsEngine_constructor__P2508(s) { +function ArcadePhysicsEngine_constructor__P55520(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20532,33 +20565,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_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__C2426_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C55438_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P2427_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P55439_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 827; 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__P2510_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P55522_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 828; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P2514_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P55526_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 829; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P2512_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P55524_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 830; s.pc = 4; return s.tmp_0; @@ -20568,12 +20601,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P2508.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__P55520.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__P2508_mk(s) { +function ArcadePhysicsEngine_constructor__P55520_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P2508, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P55520, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20587,7 +20620,7 @@ function ArcadePhysicsEngine_constructor__P2508_mk(s) { -function ArcadePhysicsEngine_maxStep__P2514(s) { +function ArcadePhysicsEngine_maxStep__P55526(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20603,7 +20636,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -20614,12 +20647,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P2514.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__P55526.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__P2514_mk(s) { +function ArcadePhysicsEngine_maxStep__P55526_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P2514, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P55526, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20632,7 +20665,7 @@ function ArcadePhysicsEngine_maxStep__P2514_mk(s) { -function ArcadePhysicsEngine_maxStep__P2513(s) { +function ArcadePhysicsEngine_maxStep__P55525(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20647,7 +20680,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -20656,13 +20689,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P2513.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__P2513.isGetter = true; +ArcadePhysicsEngine_maxStep__P55525.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__P55525.isGetter = true; -function ArcadePhysicsEngine_maxStep__P2513_mk(s) { +function ArcadePhysicsEngine_maxStep__P55525_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P2513, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P55525, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20673,7 +20706,7 @@ function ArcadePhysicsEngine_maxStep__P2513_mk(s) { -function Fx_toInt__P172(s) { +function Fx_toInt__P53184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20693,12 +20726,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__P53184.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__P53184_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P172, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P53184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20708,7 +20741,7 @@ function Fx_toInt__P172_mk(s) { -function ArcadePhysicsEngine_minStep__P2512(s) { +function ArcadePhysicsEngine_minStep__P55524(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20724,7 +20757,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -20735,12 +20768,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P2512.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__P55524.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__P2512_mk(s) { +function ArcadePhysicsEngine_minStep__P55524_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P2512, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P55524, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20753,7 +20786,7 @@ function ArcadePhysicsEngine_minStep__P2512_mk(s) { -function ArcadePhysicsEngine_minStep__P2511(s) { +function ArcadePhysicsEngine_minStep__P55523(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20768,7 +20801,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -20777,13 +20810,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P2511.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__P2511.isGetter = true; +ArcadePhysicsEngine_minStep__P55523.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__P55523.isGetter = true; -function ArcadePhysicsEngine_minStep__P2511_mk(s) { +function ArcadePhysicsEngine_minStep__P55523_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P2511, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P55523, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20794,7 +20827,7 @@ function ArcadePhysicsEngine_minStep__P2511_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P2510(s) { +function ArcadePhysicsEngine_maxSpeed__P55522(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20810,7 +20843,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -20827,12 +20860,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P2510.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__P55522.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__P2510_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P55522_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2510, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P55522, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20845,7 +20878,7 @@ function ArcadePhysicsEngine_maxSpeed__P2510_mk(s) { -function Fx_neg__P155(s) { +function Fx_neg__P53167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20863,12 +20896,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__P53167.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__P53167_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P155, depth: s.depth + 1, + parent: s, fn: Fx_neg__P53167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -20877,7 +20910,7 @@ function Fx_neg__P155_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P2509(s) { +function ArcadePhysicsEngine_maxSpeed__P55521(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20892,7 +20925,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -20901,13 +20934,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P2509.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__P2509.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P55521.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__P55521.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P2509_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P55521_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P2509, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P55521, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20918,7 +20951,7 @@ function ArcadePhysicsEngine_maxSpeed__P2509_mk(s) { -function PhysicsEngine_constructor__P2492(s) { +function PhysicsEngine_constructor__P55504(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20933,17 +20966,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2491_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C55503_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P2492.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__P55504.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__P2492_mk(s) { +function PhysicsEngine_constructor__P55504_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P2492, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P55504, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -20952,7 +20985,7 @@ function PhysicsEngine_constructor__P2492_mk(s) { -function sprites_SpriteMap_constructor__P2427(s) { +function sprites_SpriteMap_constructor__P55439(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20967,7 +21000,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2426_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C55438_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -20976,12 +21009,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P2427.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__P55439.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__P2427_mk(s) { +function sprites_SpriteMap_constructor__P55439_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P2427, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P55439, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20992,7 +21025,7 @@ function sprites_SpriteMap_constructor__P2427_mk(s) { -function control_pushEventContext__P409(s) { +function control_pushEventContext__P53421(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21002,63 +21035,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___12731 = undefined; - s.n___12737 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___4543); + s.ctx___65760 = undefined; + s.n___65766 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___57556); 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___4543 = (r0); + globals.eventContexts___57556 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P408_mk(s); + s.tmp_0 = control_eventContext__P53420_mk(s); s.callLocIdx = 72; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___12731 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___12731); + s.ctx___65760 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___65760); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P402_mk(s); - s.tmp_0.arg0 = s.ctx___12731; + s.tmp_0 = control_EventContext_unregister__P53414_mk(s); + s.tmp_0.arg0 = s.ctx___65760; s.callLocIdx = 73; 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__C53407_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P399_mk(s); + s.tmp_1 = control_EventContext_constructor__P53411_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 74; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___12737 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___4543, s.n___12737); - r0 = s.n___12737; + s.n___65766 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___57556, s.n___65766); + r0 = s.n___65766; 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__P53421.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__P53421_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P409, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P53421, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___12731: undefined, - n___12737: undefined, + ctx___65760: undefined, + n___65766: undefined, } } -function control_EventContext_constructor__P399(s) { +function control_EventContext_constructor__P53411(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21073,7 +21106,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C395_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C53407_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -21083,26 +21116,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___53409); 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___53409 = (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__P53411.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__P53411_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P399, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P53411, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21113,7 +21146,7 @@ function control_EventContext_constructor__P399_mk(s) { -function particles_disableAll__P3162(s) { +function particles_disableAll__P56174(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21123,22 +21156,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___14466 = undefined; - s.tmp_0 = particles_particleSources__P5372_mk(s); - s.callLocIdx = 1884; s.pc = 3; return s.tmp_0; + s.sources___67495 = undefined; + s.tmp_0 = particles_particleSources__P58385_mk(s); + s.callLocIdx = 1885; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___14466 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___14466); + s.sources___67495 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___67495); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.sources___14466; - s.tmp_0.arg1 = particles_disableAll_inline__P14472; - s.callLocIdx = 1886; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P53121_mk(s); + s.tmp_0.arg0 = s.sources___67495; + s.tmp_0.arg1 = particles_disableAll_inline__P67501; + s.callLocIdx = 1887; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P5368_mk(s); - s.callLocIdx = 1887; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P58381_mk(s); + s.callLocIdx = 1888; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -21147,22 +21180,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P3162.info = {"start":12370,"length":195,"line":402,"column":4,"endLine":408,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P56174.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__P3162_mk(s) { +function particles_disableAll__P56174_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P3162, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P56174, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___14466: undefined, + sources___67495: undefined, } } -function particles_disableAll_inline__P14472(s) { +function particles_disableAll_inline__P67501(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21176,22 +21209,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P3144_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P56156_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1885; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1886; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = false; return leave(s, r0) default: oops() } } } -particles_disableAll_inline__P14472.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__P67501.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__P14472_mk(s) { +function particles_disableAll_inline__P67501_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll_inline__P14472, depth: s.depth + 1, + parent: s, fn: particles_disableAll_inline__P67501, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21201,7 +21234,7 @@ function particles_disableAll_inline__P14472_mk(s) { -function particles_clearAll__P3161(s) { +function particles_clearAll__P56173(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21211,22 +21244,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___14477 = undefined; - s.tmp_0 = particles_particleSources__P5372_mk(s); - s.callLocIdx = 1880; s.pc = 3; return s.tmp_0; + s.sources___67506 = undefined; + s.tmp_0 = particles_particleSources__P58385_mk(s); + s.callLocIdx = 1881; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___14477 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___14477); + s.sources___67506 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___67506); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.sources___14477; - s.tmp_0.arg1 = particles_clearAll_inline__P14483; - s.callLocIdx = 1882; s.pc = 4; return s.tmp_0; + s.tmp_0 = helpers_arrayForEach__P53121_mk(s); + s.tmp_0.arg0 = s.sources___67506; + s.tmp_0.arg1 = particles_clearAll_inline__P67512; + s.callLocIdx = 1883; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P5368_mk(s); - s.callLocIdx = 1883; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_pruneParticles__P58381_mk(s); + s.callLocIdx = 1884; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -21235,22 +21268,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P3161.info = {"start":12098,"length":185,"line":391,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P56173.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__P3161_mk(s) { +function particles_clearAll__P56173_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P3161, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P56173, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___14477: undefined, + sources___67506: undefined, } } -function particles_clearAll_inline__P14483(s) { +function particles_clearAll_inline__P67512(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21264,21 +21297,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P3146_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P56158_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1881; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1882; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_clearAll_inline__P14483.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__P67512.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__P14483_mk(s) { +function particles_clearAll_inline__P67512_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll_inline__P14483, depth: s.depth + 1, + parent: s, fn: particles_clearAll_inline__P67512, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21288,7 +21321,7 @@ function particles_clearAll_inline__P14483_mk(s) { -function particles_ParticleSource_clear__P3146(s) { +function particles_ParticleSource_clear__P56158(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21303,18 +21336,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3131_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P3146.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__P56158.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__P3146_mk(s) { +function particles_ParticleSource_clear__P56158_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P3146, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P56158, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -21323,7 +21356,7 @@ function particles_ParticleSource_clear__P3146_mk(s) { -function game_Dialog_setText__P2910(s) { +function game_Dialog_setText__P55922(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21339,23 +21372,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2901_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_setFont__P4992_mk(s); + if (!checkSubtype(r0, game_Dialog__C55913_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_setFont__P58005_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = image_getFontForText__P1958_mk(s); + s.tmp_1 = image_getFontForText__P54970_mk(s); s.tmp_1.arg0 = s.arg1; - s.callLocIdx = 1450; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1451; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1451; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1452; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = game_Dialog_chunkText__P2909_mk(s); + s.tmp_2 = game_Dialog_chunkText__P55921_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - s.callLocIdx = 1452; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1453; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -21365,12 +21398,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Dialog_setText__P2910.info = {"start":7674,"length":183,"line":241,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} +game_Dialog_setText__P55922.info = {"start":7674,"length":183,"line":241,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} -function game_Dialog_setText__P2910_mk(s) { +function game_Dialog_setText__P55922_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_setText__P2910, depth: s.depth + 1, + parent: s, fn: game_Dialog_setText__P55922, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21383,7 +21416,7 @@ function game_Dialog_setText__P2910_mk(s) { -function game_BaseDialog_setFont__P4992(s) { +function game_BaseDialog_setFont__P58005(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21399,18 +21432,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2883_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C55895_VT)) failedCast(r0); r0 = (s.arg0).fields["font"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_setFont__P4992.info = {"start":5994,"length":77,"line":190,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setFont","argumentNames":["this","font"]} +game_BaseDialog_setFont__P58005.info = {"start":5994,"length":77,"line":190,"column":8,"endLine":192,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setFont","argumentNames":["this","font"]} -function game_BaseDialog_setFont__P4992_mk(s) { +function game_BaseDialog_setFont__P58005_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_setFont__P4992, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_setFont__P58005, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -21420,7 +21453,7 @@ function game_BaseDialog_setFont__P4992_mk(s) { -function game_Dialog_chunkText__P2909(s) { +function game_Dialog_chunkText__P55921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21430,23 +21463,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.charactersPerRow___19642 = undefined; - s.charactersPerCursorRow___19651 = undefined; - s.rowsOfCharacters___19663 = undefined; - s.rowsWithCursor___19670 = undefined; - s.lineLengths___19678 = undefined; - s.i___19680 = undefined; - s.i___19693 = undefined; + s.charactersPerRow___72605 = undefined; + s.charactersPerCursorRow___72614 = undefined; + s.rowsOfCharacters___72626 = undefined; + s.rowsWithCursor___72633 = undefined; + s.lineLengths___72641 = undefined; + s.i___72643 = undefined; + s.i___72656 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2901_VT)) failedCast(r0); - s.tmp_2 = game_BaseDialog_textAreaWidth__P4990_mk(s); + if (!checkSubtype(r0, game_Dialog__C55913_VT)) failedCast(r0); + s.tmp_2 = game_BaseDialog_textAreaWidth__P58003_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1443; s.pc = 5; return s.tmp_2; + s.callLocIdx = 1444; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; s.tmp_1 = r0; @@ -21459,7 +21492,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 = 1444; s.pc = 6; return s.tmp_4; } + else { s.callLocIdx = 1445; s.pc = 6; return s.tmp_4; } } case 6: r0 = s.retval; @@ -21467,8 +21500,8 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.charactersPerRow___19642 = (r0); - s.tmp_1 = r0 = s.charactersPerRow___19642; + s.charactersPerRow___72605 = (r0); + s.tmp_1 = r0 = s.charactersPerRow___72605; r0 = s.arg0.fields["cursor"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); @@ -21482,7 +21515,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["charWidth"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["charWidth"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 1445; s.pc = 7; return s.tmp_6; } + else { s.callLocIdx = 1446; s.pc = 7; return s.tmp_6; } } case 7: r0 = s.retval; @@ -21492,79 +21525,79 @@ switch (step) { r0 = (s.tmp_1 - s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.charactersPerCursorRow___19651 = (r0); - s.tmp_2 = game_BaseDialog_textAreaHeight__P4991_mk(s); + s.charactersPerCursorRow___72614 = (r0); + s.tmp_2 = game_BaseDialog_textAreaHeight__P58004_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1446; s.pc = 8; return s.tmp_2; + s.callLocIdx = 1447; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = game_BaseDialog_rowHeight__P4989_mk(s); + s.tmp_4 = game_BaseDialog_rowHeight__P58002_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 1447; s.pc = 9; return s.tmp_4; + s.callLocIdx = 1448; s.pc = 9; return s.tmp_4; case 9: 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); - s.rowsOfCharacters___19663 = (r0); + s.rowsOfCharacters___72626 = (r0); r0 = s.arg0.fields["cursor"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; - s.tmp_4 = game_BaseDialog_rowHeight__P4989_mk(s); + s.tmp_4 = game_BaseDialog_rowHeight__P58002_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 1448; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1449; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.ceil(s.tmp_0); - s.rowsWithCursor___19670 = (r0); + s.rowsWithCursor___72633 = (r0); r0 = pxsim_Array__mk(); - s.lineLengths___19678 = (r0); - s.i___19680 = (0); + s.lineLengths___72641 = (r0); + s.i___72643 = (0); case 1: - s.tmp_1 = r0 = s.i___19680; - r0 = (s.rowsOfCharacters___19663 - s.rowsWithCursor___19670); + s.tmp_1 = r0 = s.i___72643; + r0 = (s.rowsOfCharacters___72626 - s.rowsWithCursor___72633); 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; } - r0 = pxsim_Array__push(s.lineLengths___19678, s.charactersPerRow___19642); - r0 = (s.i___19680 + 1); - s.i___19680 = (r0); + r0 = pxsim_Array__push(s.lineLengths___72641, s.charactersPerRow___72605); + r0 = (s.i___72643 + 1); + s.i___72643 = (r0); { step = 1; continue; } case 2: - s.i___19693 = (0); + s.i___72656 = (0); case 3: - r0 = (s.i___19693 < s.rowsWithCursor___19670); + r0 = (s.i___72656 < s.rowsWithCursor___72633); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__push(s.lineLengths___19678, s.charactersPerCursorRow___19651); - r0 = (s.i___19693 + 1); - s.i___19693 = (r0); + r0 = pxsim_Array__push(s.lineLengths___72641, s.charactersPerCursorRow___72614); + r0 = (s.i___72656 + 1); + s.i___72656 = (r0); { step = 3; continue; } case 4: - s.tmp_0 = game_breakIntoPages__P5010_mk(s); + s.tmp_0 = game_breakIntoPages__P58023_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.lineLengths___19678; - s.callLocIdx = 1449; s.pc = 11; return s.tmp_0; + s.tmp_0.arg1 = s.lineLengths___72641; + s.callLocIdx = 1450; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; return leave(s, r0) default: oops() } } } -game_Dialog_chunkText__P2909.info = {"start":6929,"length":735,"line":227,"column":8,"endLine":239,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"chunkText","argumentNames":["this","str"]} +game_Dialog_chunkText__P55921.info = {"start":6929,"length":735,"line":227,"column":8,"endLine":239,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"chunkText","argumentNames":["this","str"]} -function game_Dialog_chunkText__P2909_mk(s) { +function game_Dialog_chunkText__P55921_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_chunkText__P2909, depth: s.depth + 1, + parent: s, fn: game_Dialog_chunkText__P55921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21573,13 +21606,13 @@ function game_Dialog_chunkText__P2909_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - charactersPerRow___19642: undefined, - charactersPerCursorRow___19651: undefined, - rowsOfCharacters___19663: undefined, - rowsWithCursor___19670: undefined, - lineLengths___19678: undefined, - i___19680: undefined, - i___19693: undefined, + charactersPerRow___72605: undefined, + charactersPerCursorRow___72614: undefined, + rowsOfCharacters___72626: undefined, + rowsWithCursor___72633: undefined, + lineLengths___72641: undefined, + i___72643: undefined, + i___72656: undefined, arg0: undefined, arg1: undefined, } } @@ -21588,7 +21621,7 @@ function game_Dialog_chunkText__P2909_mk(s) { -function game_breakIntoPages__P5010(s) { +function game_breakIntoPages__P58023(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21598,86 +21631,86 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.result___19709 = undefined; - s.currentPage___19711 = undefined; - s.lastBreakLocation___19713 = undefined; - s.lastBreak___19714 = undefined; - s.line___19715 = undefined; - s.lineLength___19716 = undefined; - s.nextLine___19719 = undefined; - s.index___19725 = undefined; + s.result___72672 = undefined; + s.currentPage___72674 = undefined; + s.lastBreakLocation___72676 = undefined; + s.lastBreak___72677 = undefined; + s.line___72678 = undefined; + s.lineLength___72679 = undefined; + s.nextLine___72682 = undefined; + s.index___72688 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.result___19709 = (r0); + s.result___72672 = (r0); r0 = pxsim_Array__mk(); - s.currentPage___19711 = (r0); - s.lastBreakLocation___19713 = (0); - s.lastBreak___19714 = (0); + s.currentPage___72674 = (r0); + s.lastBreakLocation___72676 = (0); + s.lastBreak___72677 = (0); r0 = pxsim_pxtrt.mklocRef(); - s.line___19715 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.line___19715, 0); + s.line___72678 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.line___72678, 0); r0 = pxsim_pxtrt.mklocRef(); - s.lineLength___19716 = (r0); - s.tmp_0 = r0 = s.lineLength___19716; + s.lineLength___72679 = (r0); + s.tmp_0 = r0 = s.lineLength___72679; s.tmp_2 = r0 = s.arg1; - r0 = pxsim_pxtrt_ldlocRef(s.line___19715); + r0 = pxsim_pxtrt_ldlocRef(s.line___72678); s.tmp_3 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.tmp_3); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtcore_mkAction(3, nextLine__P19719); + r0 = pxsim_pxtcore_mkAction(3, nextLine__P72682); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.line___19715); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.lineLength___19716); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.line___72678); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.lineLength___72679); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg1); - s.nextLine___19719 = (s.tmp_0); - s.index___19725 = (0); + s.nextLine___72682 = (s.tmp_0); + s.index___72688 = (0); case 1: - s.tmp_1 = r0 = s.index___19725; + s.tmp_1 = r0 = s.index___72688; 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 = 18; continue; } - r0 = pxsim_String_.charAt(s.arg0, s.index___19725); + r0 = pxsim_String_.charAt(s.arg0, s.index___72688); s.tmp_4 = r0; r0 = (s.tmp_4 === "\n"); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 2; continue; } - s.tmp_5 = r0 = s.currentPage___19711; - s.tmp_7 = game_formatLine__P5011_mk(s); - s.tmp_8 = helpers_stringSubstr__P118_mk(s); + s.tmp_5 = r0 = s.currentPage___72674; + s.tmp_7 = game_formatLine__P58024_mk(s); + s.tmp_8 = helpers_stringSubstr__P53130_mk(s); s.tmp_8.arg0 = s.arg0; - s.tmp_8.arg1 = s.lastBreak___19714; - r0 = (s.index___19725 - s.lastBreak___19714); + s.tmp_8.arg1 = s.lastBreak___72677; + r0 = (s.index___72688 - s.lastBreak___72677); s.tmp_8.arg2 = r0; - s.callLocIdx = 1570; s.pc = 24; return s.tmp_8; + s.callLocIdx = 1571; s.pc = 24; return s.tmp_8; case 24: r0 = s.retval; s.tmp_7.arg0 = r0; - s.callLocIdx = 1571; s.pc = 23; return s.tmp_7; + s.callLocIdx = 1572; s.pc = 23; return s.tmp_7; case 23: r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_Array__push(s.tmp_5, s.tmp_6); - r0 = (s.index___19725 + 1); - s.index___19725 = (r0); - s.lastBreak___19714 = (s.index___19725); + r0 = (s.index___72688 + 1); + s.index___72688 = (r0); + s.lastBreak___72677 = (s.index___72688); s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.nextLine___19719; + s.tmp_0.argL = s.nextLine___72682; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 1572; s.pc = 25; return s.tmp_0; + s.callLocIdx = 1573; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; { step = 9; continue; } case 2: - r0 = pxsim_String_.charAt(s.arg0, s.index___19725); + r0 = pxsim_String_.charAt(s.arg0, s.index___72688); s.tmp_1 = r0; r0 = (s.tmp_1 === "\\"); s.tmp_0 = r0; @@ -21687,7 +21720,7 @@ switch (step) { { step = 4; continue; } case 3: s.tmp_3 = r0 = s.arg0; - r0 = (s.index___19725 + 1); + r0 = (s.index___72688 + 1); s.tmp_4 = r0; r0 = pxsim_String_.charAt(s.tmp_3, s.tmp_4); s.tmp_2 = r0; @@ -21697,120 +21730,120 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } - s.tmp_6 = r0 = s.currentPage___19711; - s.tmp_8 = game_formatLine__P5011_mk(s); - s.tmp_9 = helpers_stringSubstr__P118_mk(s); + s.tmp_6 = r0 = s.currentPage___72674; + s.tmp_8 = game_formatLine__P58024_mk(s); + s.tmp_9 = helpers_stringSubstr__P53130_mk(s); s.tmp_9.arg0 = s.arg0; - s.tmp_9.arg1 = s.lastBreak___19714; - r0 = (s.index___19725 - s.lastBreak___19714); + s.tmp_9.arg1 = s.lastBreak___72677; + r0 = (s.index___72688 - s.lastBreak___72677); s.tmp_9.arg2 = r0; - s.callLocIdx = 1573; s.pc = 27; return s.tmp_9; + s.callLocIdx = 1574; s.pc = 27; return s.tmp_9; case 27: r0 = s.retval; s.tmp_8.arg0 = r0; - s.callLocIdx = 1574; s.pc = 26; return s.tmp_8; + s.callLocIdx = 1575; s.pc = 26; return s.tmp_8; case 26: r0 = s.retval; s.tmp_7 = r0; r0 = pxsim_Array__push(s.tmp_6, s.tmp_7); - r0 = (s.index___19725 + 2); - s.index___19725 = (r0); - s.lastBreak___19714 = (s.index___19725); + r0 = (s.index___72688 + 2); + s.index___72688 = (r0); + s.lastBreak___72677 = (s.index___72688); s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.nextLine___19719; + s.tmp_0.argL = s.nextLine___72682; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 1575; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1576; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; { step = 8; continue; } case 5: - s.tmp_1 = game_isBreakCharacter__P5009_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.index___19725); + s.tmp_1 = game_isBreakCharacter__P58022_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.index___72688); s.tmp_1.arg0 = r0; - s.callLocIdx = 1576; s.pc = 29; return s.tmp_1; + s.callLocIdx = 1577; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.lastBreakLocation___19713 = (s.index___19725); + s.lastBreakLocation___72676 = (s.index___72688); case 6: case 7: case 8: case 9: - r0 = (s.index___19725 - s.lastBreak___19714); + r0 = (s.index___72688 - s.lastBreak___72677); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.lineLength___19716); + r0 = pxsim_pxtrt_ldlocRef(s.lineLength___72679); s.tmp_2 = r0; r0 = (s.tmp_1 === s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.lastBreakLocation___19713 === s.index___19725); + r0 = (s.lastBreakLocation___72676 === s.index___72688); s.tmp_3 = r0; r0 = pxsim_numops_toBool(s.tmp_3); if (!r0) { step = 10; continue; } r0 = s.tmp_3; { step = 11; continue; } case 10: - r0 = (s.lastBreakLocation___19713 < s.lastBreak___19714); + r0 = (s.lastBreakLocation___72676 < s.lastBreak___72677); case 11: // jmp value (already in r0) s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 12; continue; } - s.tmp_5 = r0 = s.currentPage___19711; - s.tmp_7 = game_formatLine__P5011_mk(s); - s.tmp_8 = helpers_stringSubstr__P118_mk(s); + s.tmp_5 = r0 = s.currentPage___72674; + s.tmp_7 = game_formatLine__P58024_mk(s); + s.tmp_8 = helpers_stringSubstr__P53130_mk(s); s.tmp_8.arg0 = s.arg0; - s.tmp_8.arg1 = s.lastBreak___19714; - r0 = pxsim_pxtrt_ldlocRef(s.lineLength___19716); + s.tmp_8.arg1 = s.lastBreak___72677; + r0 = pxsim_pxtrt_ldlocRef(s.lineLength___72679); s.tmp_8.arg2 = r0; - s.callLocIdx = 1577; s.pc = 31; return s.tmp_8; + s.callLocIdx = 1578; s.pc = 31; return s.tmp_8; case 31: r0 = s.retval; s.tmp_7.arg0 = r0; - s.callLocIdx = 1578; s.pc = 30; return s.tmp_7; + s.callLocIdx = 1579; s.pc = 30; return s.tmp_7; case 30: r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_Array__push(s.tmp_5, s.tmp_6); - s.lastBreak___19714 = (s.index___19725); + s.lastBreak___72677 = (s.index___72688); s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.nextLine___19719; + s.tmp_0.argL = s.nextLine___72682; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 1579; s.pc = 32; return s.tmp_0; + s.callLocIdx = 1580; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; { step = 13; continue; } case 12: - s.tmp_0 = r0 = s.currentPage___19711; - s.tmp_2 = game_formatLine__P5011_mk(s); - s.tmp_3 = helpers_stringSubstr__P118_mk(s); + s.tmp_0 = r0 = s.currentPage___72674; + s.tmp_2 = game_formatLine__P58024_mk(s); + s.tmp_3 = helpers_stringSubstr__P53130_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.lastBreak___19714; - r0 = (s.lastBreakLocation___19713 - s.lastBreak___19714); + s.tmp_3.arg1 = s.lastBreak___72677; + r0 = (s.lastBreakLocation___72676 - s.lastBreak___72677); s.tmp_3.arg2 = r0; - s.callLocIdx = 1580; s.pc = 34; return s.tmp_3; + s.callLocIdx = 1581; s.pc = 34; return s.tmp_3; case 34: r0 = s.retval; s.tmp_2.arg0 = r0; - s.callLocIdx = 1581; s.pc = 33; return s.tmp_2; + s.callLocIdx = 1582; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.lastBreak___19714 = (s.lastBreakLocation___19713); + s.lastBreak___72677 = (s.lastBreakLocation___72676); s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.nextLine___19719; + s.tmp_0.argL = s.nextLine___72682; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 1582; s.pc = 35; return s.tmp_0; + s.callLocIdx = 1583; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; case 13: case 14: case 15: - r0 = pxsim_pxtrt_ldlocRef(s.line___19715); + r0 = pxsim_pxtrt_ldlocRef(s.line___72678); s.tmp_1 = r0; r0 = pxsim_Array__length(s.arg1); s.tmp_2 = r0; @@ -21818,42 +21851,42 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = pxsim_pxtrt_stlocRef(s.line___19715, 0); - s.tmp_0 = r0 = s.lineLength___19716; + r0 = pxsim_pxtrt_stlocRef(s.line___72678, 0); + s.tmp_0 = r0 = s.lineLength___72679; s.tmp_2 = r0 = s.arg1; - r0 = pxsim_pxtrt_ldlocRef(s.line___19715); + r0 = pxsim_pxtrt_ldlocRef(s.line___72678); s.tmp_3 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.tmp_3); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_Array__push(s.result___19709, s.currentPage___19711); + r0 = pxsim_Array__push(s.result___72672, s.currentPage___72674); r0 = pxsim_Array__mk(); - s.currentPage___19711 = (r0); + s.currentPage___72674 = (r0); case 16: case 17: - r0 = (s.index___19725 + 1); - s.index___19725 = (r0); + r0 = (s.index___72688 + 1); + s.index___72688 = (r0); { step = 1; continue; } case 18: - s.tmp_0 = r0 = s.currentPage___19711; - s.tmp_2 = game_formatLine__P5011_mk(s); - s.tmp_3 = helpers_stringSubstr__P118_mk(s); + s.tmp_0 = r0 = s.currentPage___72674; + s.tmp_2 = game_formatLine__P58024_mk(s); + s.tmp_3 = helpers_stringSubstr__P53130_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.lastBreak___19714; + s.tmp_3.arg1 = s.lastBreak___72677; r0 = pxsim_String_.length(s.arg0); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.lastBreak___19714); + r0 = (s.tmp_4 - s.lastBreak___72677); s.tmp_3.arg2 = r0; - s.callLocIdx = 1583; s.pc = 37; return s.tmp_3; + s.callLocIdx = 1584; s.pc = 37; return s.tmp_3; case 37: r0 = s.retval; s.tmp_2.arg0 = r0; - s.callLocIdx = 1584; s.pc = 36; return s.tmp_2; + s.callLocIdx = 1585; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim_Array__length(s.currentPage___19711); + r0 = pxsim_Array__length(s.currentPage___72674); s.tmp_1 = r0; r0 = (s.tmp_1 > 1); s.tmp_0 = r0; @@ -21862,7 +21895,7 @@ switch (step) { r0 = s.tmp_0; { step = 20; continue; } case 19: - r0 = pxsim_Array__getAt(s.currentPage___19711, 0); + r0 = pxsim_Array__getAt(s.currentPage___72674, 0); s.tmp_2 = r0; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; @@ -21872,19 +21905,19 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 21; continue; } - r0 = pxsim_Array__push(s.result___19709, s.currentPage___19711); + r0 = pxsim_Array__push(s.result___72672, s.currentPage___72674); case 21: case 22: - r0 = s.result___19709; + r0 = s.result___72672; return leave(s, r0) default: oops() } } } -game_breakIntoPages__P5010.info = {"start":32043,"length":2187,"line":908,"column":4,"endLine":969,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"breakIntoPages","argumentNames":["text","lineLengths"]} +game_breakIntoPages__P58023.info = {"start":32043,"length":2187,"line":908,"column":4,"endLine":969,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"breakIntoPages","argumentNames":["text","lineLengths"]} -function game_breakIntoPages__P5010_mk(s) { +function game_breakIntoPages__P58023_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_breakIntoPages__P5010, depth: s.depth + 1, + parent: s, fn: game_breakIntoPages__P58023, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21896,14 +21929,14 @@ function game_breakIntoPages__P5010_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - result___19709: undefined, - currentPage___19711: undefined, - lastBreakLocation___19713: undefined, - lastBreak___19714: undefined, - line___19715: undefined, - lineLength___19716: undefined, - nextLine___19719: undefined, - index___19725: undefined, + result___72672: undefined, + currentPage___72674: undefined, + lastBreakLocation___72676: undefined, + lastBreak___72677: undefined, + line___72678: undefined, + lineLength___72679: undefined, + nextLine___72682: undefined, + index___72688: undefined, arg0: undefined, arg1: undefined, } } @@ -21912,7 +21945,7 @@ function game_breakIntoPages__P5010_mk(s) { -function nextLine__P19719(s) { +function nextLine__P72682(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21939,12 +21972,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -nextLine__P19719.info = {"start":32336,"length":95,"line":918,"column":8,"endLine":921,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"nextLine","argumentNames":[]} +nextLine__P72682.info = {"start":32336,"length":95,"line":918,"column":8,"endLine":921,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"nextLine","argumentNames":[]} -function nextLine__P19719_mk(s) { +function nextLine__P72682_mk(s) { checkStack(s.depth); return { - parent: s, fn: nextLine__P19719, depth: s.depth + 1, + parent: s, fn: nextLine__P72682, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21956,7 +21989,7 @@ function nextLine__P19719_mk(s) { -function game_formatLine__P5011(s) { +function game_formatLine__P58024(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21966,44 +21999,44 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___19897 = undefined; + s.i___72860 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___19897 = (0); + s.i___72860 = (0); case 1: - r0 = pxsim_String_.charAt(s.arg0, s.i___19897); + r0 = pxsim_String_.charAt(s.arg0, s.i___72860); s.tmp_1 = r0; r0 = (s.tmp_1 === " "); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = (s.i___19897 + 1); - s.i___19897 = (r0); + r0 = (s.i___72860 + 1); + s.i___72860 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = helpers_stringSubstr__P118_mk(s); + s.tmp_0 = helpers_stringSubstr__P53130_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.i___19897; + s.tmp_0.arg1 = s.i___72860; r0 = pxsim_String_.length(s.arg0); s.tmp_0.arg2 = r0; - s.callLocIdx = 1585; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1586; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; return leave(s, r0) default: oops() } } } -game_formatLine__P5011.info = {"start":34236,"length":148,"line":971,"column":4,"endLine":975,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"formatLine","argumentNames":["text"]} +game_formatLine__P58024.info = {"start":34236,"length":148,"line":971,"column":4,"endLine":975,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"formatLine","argumentNames":["text"]} -function game_formatLine__P5011_mk(s) { +function game_formatLine__P58024_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_formatLine__P5011, depth: s.depth + 1, + parent: s, fn: game_formatLine__P58024, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___19897: undefined, + i___72860: undefined, arg0: undefined, } } @@ -22011,7 +22044,7 @@ function game_formatLine__P5011_mk(s) { -function game_isBreakCharacter__P5009(s) { +function game_isBreakCharacter__P58022(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22129,12 +22162,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_isBreakCharacter__P5009.info = {"start":31679,"length":358,"line":898,"column":4,"endLine":906,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"isBreakCharacter","argumentNames":["charCode"]} +game_isBreakCharacter__P58022.info = {"start":31679,"length":358,"line":898,"column":4,"endLine":906,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"isBreakCharacter","argumentNames":["charCode"]} -function game_isBreakCharacter__P5009_mk(s) { +function game_isBreakCharacter__P58022_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_isBreakCharacter__P5009, depth: s.depth + 1, + parent: s, fn: game_isBreakCharacter__P58022, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22158,7 +22191,7 @@ function game_isBreakCharacter__P5009_mk(s) { -function helpers_stringSubstr__P118(s) { +function helpers_stringSubstr__P53130(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22200,12 +22233,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSubstr__P118.info = {"start":11286,"length":204,"line":379,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSubstr","argumentNames":["s","start","length"]} +helpers_stringSubstr__P53130.info = {"start":11286,"length":204,"line":379,"column":4,"endLine":382,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringSubstr","argumentNames":["s","start","length"]} -function helpers_stringSubstr__P118_mk(s) { +function helpers_stringSubstr__P53130_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSubstr__P118, depth: s.depth + 1, + parent: s, fn: helpers_stringSubstr__P53130, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22220,7 +22253,7 @@ function helpers_stringSubstr__P118_mk(s) { -function game_BaseDialog_textAreaHeight__P4991(s) { +function game_BaseDialog_textAreaHeight__P58004(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22235,18 +22268,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2883_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C55895_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; r0 = s.arg0.fields["innerTop"]; s.tmp_5 = r0; - s.tmp_7 = Math_min__P131_mk(s); + s.tmp_7 = Math_min__P53143_mk(s); r0 = s.arg0.fields["unit"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = 12; - s.callLocIdx = 1439; s.pc = 1; return s.tmp_7; + s.callLocIdx = 1440; s.pc = 1; return s.tmp_7; case 1: r0 = s.retval; s.tmp_6 = r0; @@ -22260,12 +22293,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_textAreaHeight__P4991.info = {"start":5841,"length":143,"line":186,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} +game_BaseDialog_textAreaHeight__P58004.info = {"start":5841,"length":143,"line":186,"column":8,"endLine":188,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaHeight","argumentNames":["this"]} -function game_BaseDialog_textAreaHeight__P4991_mk(s) { +function game_BaseDialog_textAreaHeight__P58004_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_textAreaHeight__P4991, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_textAreaHeight__P58004, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22282,7 +22315,7 @@ function game_BaseDialog_textAreaHeight__P4991_mk(s) { -function game_BaseDialog_textAreaWidth__P4990(s) { +function game_BaseDialog_textAreaWidth__P58003(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22297,18 +22330,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2883_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C55895_VT)) failedCast(r0); r0 = s.arg0.fields["image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.width(s.tmp_2); s.tmp_1 = r0; r0 = s.arg0.fields["innerLeft"]; s.tmp_5 = r0; - s.tmp_7 = Math_min__P131_mk(s); + s.tmp_7 = Math_min__P53143_mk(s); r0 = s.arg0.fields["unit"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = 12; - s.callLocIdx = 1438; s.pc = 1; return s.tmp_7; + s.callLocIdx = 1439; s.pc = 1; return s.tmp_7; case 1: r0 = s.retval; s.tmp_6 = r0; @@ -22322,12 +22355,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_textAreaWidth__P4990.info = {"start":5689,"length":142,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} +game_BaseDialog_textAreaWidth__P58003.info = {"start":5689,"length":142,"line":182,"column":8,"endLine":184,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"textAreaWidth","argumentNames":["this"]} -function game_BaseDialog_textAreaWidth__P4990_mk(s) { +function game_BaseDialog_textAreaWidth__P58003_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_textAreaWidth__P4990, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_textAreaWidth__P58003, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22344,7 +22377,7 @@ function game_BaseDialog_textAreaWidth__P4990_mk(s) { -function game_BaseDialog_rowHeight__P4989(s) { +function game_BaseDialog_rowHeight__P58002(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22359,7 +22392,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2883_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C55895_VT)) failedCast(r0); s.tmp_1 = if_charHeight_1_mk(s); r0 = s.arg0.fields["font"]; s.tmp_1.arg0 = r0; @@ -22369,7 +22402,7 @@ 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 = 1437; s.pc = 1; return s.tmp_1; } + else { s.callLocIdx = 1438; s.pc = 1; return s.tmp_1; } } case 1: r0 = s.retval; @@ -22378,12 +22411,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_rowHeight__P4989.info = {"start":5601,"length":78,"line":178,"column":8,"endLine":180,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"rowHeight","argumentNames":["this"]} +game_BaseDialog_rowHeight__P58002.info = {"start":5601,"length":78,"line":178,"column":8,"endLine":180,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"rowHeight","argumentNames":["this"]} -function game_BaseDialog_rowHeight__P4989_mk(s) { +function game_BaseDialog_rowHeight__P58002_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_rowHeight__P4989, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_rowHeight__P58002, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22394,7 +22427,7 @@ function game_BaseDialog_rowHeight__P4989_mk(s) { -function game_Dialog_prevPage__P2908(s) { +function game_Dialog_prevPage__P55920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22409,10 +22442,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2901_VT)) failedCast(r0); - s.tmp_1 = game_Dialog_hasPrev__P2906_mk(s); + if (!checkSubtype(r0, game_Dialog__C55913_VT)) failedCast(r0); + s.tmp_1 = game_Dialog_hasPrev__P55918_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 1442; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1443; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -22430,12 +22463,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Dialog_prevPage__P2908.info = {"start":6814,"length":105,"line":221,"column":8,"endLine":225,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"prevPage","argumentNames":["this"]} +game_Dialog_prevPage__P55920.info = {"start":6814,"length":105,"line":221,"column":8,"endLine":225,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"prevPage","argumentNames":["this"]} -function game_Dialog_prevPage__P2908_mk(s) { +function game_Dialog_prevPage__P55920_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_prevPage__P2908, depth: s.depth + 1, + parent: s, fn: game_Dialog_prevPage__P55920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22449,7 +22482,7 @@ function game_Dialog_prevPage__P2908_mk(s) { -function game_Dialog_nextPage__P2907(s) { +function game_Dialog_nextPage__P55919(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22464,10 +22497,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2901_VT)) failedCast(r0); - s.tmp_1 = game_Dialog_hasNext__P2905_mk(s); + if (!checkSubtype(r0, game_Dialog__C55913_VT)) failedCast(r0); + s.tmp_1 = game_Dialog_hasNext__P55917_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 1441; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1442; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -22485,12 +22518,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Dialog_nextPage__P2907.info = {"start":6699,"length":105,"line":215,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"nextPage","argumentNames":["this"]} +game_Dialog_nextPage__P55919.info = {"start":6699,"length":105,"line":215,"column":8,"endLine":219,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"nextPage","argumentNames":["this"]} -function game_Dialog_nextPage__P2907_mk(s) { +function game_Dialog_nextPage__P55919_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_nextPage__P2907, depth: s.depth + 1, + parent: s, fn: game_Dialog_nextPage__P55919, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22504,7 +22537,7 @@ function game_Dialog_nextPage__P2907_mk(s) { -function game_Dialog_hasPrev__P2906(s) { +function game_Dialog_hasPrev__P55918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22519,7 +22552,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2901_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Dialog__C55913_VT)) failedCast(r0); r0 = s.arg0.fields["chunks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -22552,12 +22585,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Dialog_hasPrev__P2906.info = {"start":6556,"length":133,"line":210,"column":8,"endLine":213,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"hasPrev","argumentNames":["this"]} +game_Dialog_hasPrev__P55918.info = {"start":6556,"length":133,"line":210,"column":8,"endLine":213,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"hasPrev","argumentNames":["this"]} -function game_Dialog_hasPrev__P2906_mk(s) { +function game_Dialog_hasPrev__P55918_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_hasPrev__P2906, depth: s.depth + 1, + parent: s, fn: game_Dialog_hasPrev__P55918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22573,7 +22606,7 @@ function game_Dialog_hasPrev__P2906_mk(s) { -function game_Dialog_hasNext__P2905(s) { +function game_Dialog_hasNext__P55917(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22588,7 +22621,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2901_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Dialog__C55913_VT)) failedCast(r0); r0 = s.arg0.fields["chunks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -22627,12 +22660,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Dialog_hasNext__P2905.info = {"start":6392,"length":154,"line":205,"column":8,"endLine":208,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"hasNext","argumentNames":["this"]} +game_Dialog_hasNext__P55917.info = {"start":6392,"length":154,"line":205,"column":8,"endLine":208,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"hasNext","argumentNames":["this"]} -function game_Dialog_hasNext__P2905_mk(s) { +function game_Dialog_hasNext__P55917_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_hasNext__P2905, depth: s.depth + 1, + parent: s, fn: game_Dialog_hasNext__P55917, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22651,7 +22684,7 @@ function game_Dialog_hasNext__P2905_mk(s) { -function game_Dialog_constructor__P2904(s) { +function game_Dialog_constructor__P55916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22671,15 +22704,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2901_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_constructor__P2895_mk(s); + if (!checkSubtype(r0, game_Dialog__C55913_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_constructor__P55907_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = s.arg3; s.tmp_0.arg4 = s.arg4; s.tmp_0.arg5 = s.arg5; - s.callLocIdx = 1440; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1441; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["chunkIndex"] = (0); @@ -22687,12 +22720,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Dialog_constructor__P2904.info = {"start":6189,"length":193,"line":199,"column":8,"endLine":203,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} +game_Dialog_constructor__P55916.info = {"start":6189,"length":193,"line":199,"column":8,"endLine":203,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} -function game_Dialog_constructor__P2904_mk(s) { +function game_Dialog_constructor__P55916_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_constructor__P2904, depth: s.depth + 1, + parent: s, fn: game_Dialog_constructor__P55916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22707,7 +22740,7 @@ function game_Dialog_constructor__P2904_mk(s) { -function game_BaseDialog_constructor__P2895(s) { +function game_BaseDialog_constructor__P55907(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22727,28 +22760,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2883_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C55895_VT)) failedCast(r0); r0 = (s.arg0).fields["cursorCount"] = (0); - s.tmp_0 = game_BaseDialog_resize__P2896_mk(s); + s.tmp_0 = game_BaseDialog_resize__P55908_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = s.arg3; s.tmp_0.arg4 = s.arg4; s.tmp_0.arg5 = s.arg5; - s.callLocIdx = 1408; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1409; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_constructor__P2895.info = {"start":1103,"length":199,"line":53,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} +game_BaseDialog_constructor__P55907.info = {"start":1103,"length":199,"line":53,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height","frame","font","cursor"]} -function game_BaseDialog_constructor__P2895_mk(s) { +function game_BaseDialog_constructor__P55907_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_constructor__P2895, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_constructor__P55907, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22763,7 +22796,7 @@ function game_BaseDialog_constructor__P2895_mk(s) { -function game_BaseDialog_resize__P2896(s) { +function game_BaseDialog_resize__P55908(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22783,14 +22816,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2883_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C55895_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.dialogFrame___4979; + r0 = globals.dialogFrame___57992; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -22799,12 +22832,12 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - s.tmp_3 = game_defaultFrame__P5006_mk(s); - s.callLocIdx = 1409; s.pc = 13; return s.tmp_3; + s.tmp_3 = game_defaultFrame__P58019_mk(s); + s.callLocIdx = 1410; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; - globals.dialogFrame___4979 = (r0); + globals.dialogFrame___57992 = (r0); r0 = s.tmp_2; case 4: // jmp value (already in r0) @@ -22872,7 +22905,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - r0 = globals.font8___1956; + r0 = globals.font8___54968; case 6: // jmp value (already in r0) s.tmp_1 = r0; @@ -22883,7 +22916,7 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - r0 = globals.dialogCursor___4980; + r0 = globals.dialogCursor___57993; case 8: // jmp value (already in r0) s.tmp_1 = r0; @@ -22892,50 +22925,50 @@ switch (step) { r0 = s.tmp_1; { step = 10; continue; } case 9: - s.tmp_3 = game_defaultCursorImage__P5008_mk(s); - s.callLocIdx = 1410; s.pc = 14; return s.tmp_3; + s.tmp_3 = game_defaultCursorImage__P58021_mk(s); + s.callLocIdx = 1411; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; s.tmp_2 = r0; - globals.dialogCursor___4980 = (r0); + globals.dialogCursor___57993 = (r0); r0 = s.tmp_2; case 10: // jmp value (already in r0) s.tmp_4 = r0; r0 = (s.arg0).fields["cursor"] = (s.tmp_4); - r0 = (globals.dialogTextColor___4981 == undefined); + r0 = (globals.dialogTextColor___57994 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - globals.dialogTextColor___4981 = (15); + globals.dialogTextColor___57994 = (15); r0 = 15; { step = 12; continue; } case 11: - r0 = globals.dialogTextColor___4981; + r0 = globals.dialogTextColor___57994; case 12: // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg0).fields["textColor"] = (s.tmp_1); - s.tmp_0 = game_BaseDialog_drawBorder__P4984_mk(s); + s.tmp_0 = game_BaseDialog_drawBorder__P57997_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1411; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1412; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_BaseDialog_clearInterior__P4986_mk(s); + s.tmp_0 = game_BaseDialog_clearInterior__P57999_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1412; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1413; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_resize__P2896.info = {"start":1312,"length":849,"line":58,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"resize","argumentNames":["this","width","height","frame","font","cursor"]} +game_BaseDialog_resize__P55908.info = {"start":1312,"length":849,"line":58,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"resize","argumentNames":["this","width","height","frame","font","cursor"]} -function game_BaseDialog_resize__P2896_mk(s) { +function game_BaseDialog_resize__P55908_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_resize__P2896, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_resize__P55908, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22956,7 +22989,7 @@ function game_BaseDialog_resize__P2896_mk(s) { -function game_defaultCursorImage__P5008(s) { +function game_defaultCursorImage__P58021(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22966,14 +22999,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___2013); + r0 = pxsim_ImageMethods.isMono(globals.screen___55025); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex14253); + r0 = pxsim.image.ofBuffer(_hex67282); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex14255); + r0 = pxsim.image.ofBuffer(_hex67284); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -22981,24 +23014,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultCursorImage__P5008.info = {"start":28103,"length":690,"line":783,"column":4,"endLine":809,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} +game_defaultCursorImage__P58021.info = {"start":28103,"length":690,"line":783,"column":4,"endLine":809,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultCursorImage","argumentNames":[]} -function game_defaultCursorImage__P5008_mk(s) { +function game_defaultCursorImage__P58021_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultCursorImage__P5008, depth: s.depth + 1, + parent: s, fn: game_defaultCursorImage__P58021, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex14253 = pxsim.BufferMethods.createBufferFromHex("87040a000800000011111101010000010111010111100001011101010100000101000001100010000001010000100000") -const _hex14255 = pxsim.BufferMethods.createBufferFromHex("87040b000b00000000606686080000006076776686000000607777676608000076171111670800007671177766080000767117776608000076711777660800007617111167080000607777676608000060767766860000000060668608000000") +const _hex67282 = pxsim.BufferMethods.createBufferFromHex("87040a000800000011111101010000010111010111100001011101010100000101000001100010000001010000100000") +const _hex67284 = pxsim.BufferMethods.createBufferFromHex("87040b000b00000000606686080000006076776686000000607777676608000076171111670800007671177766080000767117776608000076711777660800007617111167080000607777676608000060767766860000000060668608000000") -function game_defaultFrame__P5006(s) { +function game_defaultFrame__P58019(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23008,14 +23041,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___2013); + r0 = pxsim_ImageMethods.isMono(globals.screen___55025); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex14259); + r0 = pxsim.image.ofBuffer(_hex67288); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex14261); + r0 = pxsim.image.ofBuffer(_hex67290); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -23023,24 +23056,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultFrame__P5006.info = {"start":27315,"length":556,"line":744,"column":4,"endLine":766,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} +game_defaultFrame__P58019.info = {"start":27315,"length":556,"line":744,"column":4,"endLine":766,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultFrame","argumentNames":[]} -function game_defaultFrame__P5006_mk(s) { +function game_defaultFrame__P58019_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultFrame__P5006, depth: s.depth + 1, + parent: s, fn: game_defaultFrame__P58019, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex14259 = pxsim.BufferMethods.createBufferFromHex("8704030003000000110100000101000011010000") -const _hex14261 = pxsim.BufferMethods.createBufferFromHex("87040c000c0000000000000000000000b0bbbbbbbb0b0000b0bbbbbbbbcb0000b0db1111bdcb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b0db1111bdcb0000b0bbbbbbbbcb0000b0bbbbbbbbcb000000cccccccccc0000") +const _hex67288 = pxsim.BufferMethods.createBufferFromHex("8704030003000000110100000101000011010000") +const _hex67290 = pxsim.BufferMethods.createBufferFromHex("87040c000c0000000000000000000000b0bbbbbbbb0b0000b0bbbbbbbbcb0000b0db1111bdcb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b01b1111b1cb0000b0db1111bdcb0000b0bbbbbbbbcb0000b0bbbbbbbbcb000000cccccccccc0000") -function game_BaseDialog_clearInterior__P4986(s) { +function game_BaseDialog_clearInterior__P57999(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23050,21 +23083,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___13714 = undefined; - s.s___13721 = undefined; + s.d___66743 = undefined; + s.s___66750 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2883_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C55895_VT)) failedCast(r0); r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = game_BaseDialog_fastFill__P4985_mk(s); + s.tmp_2 = game_BaseDialog_fastFill__P57998_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 4; s.tmp_2.arg2 = 1; @@ -23077,15 +23110,15 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 - 2); s.tmp_2.arg5 = r0; - s.callLocIdx = 1435; s.pc = 8; return s.tmp_2; + s.callLocIdx = 1436; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; { step = 7; continue; } case 1: case 2: - s.d___13714 = (1); + s.d___66743 = (1); case 3: - s.tmp_1 = r0 = s.d___13714; + s.tmp_1 = r0 = s.d___66743; r0 = s.arg0.fields["columns"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -23094,9 +23127,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.s___13721 = (1); + s.s___66750 = (1); case 4: - s.tmp_1 = r0 = s.s___13721; + s.tmp_1 = r0 = s.s___66750; r0 = s.arg0.fields["rows"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -23105,20 +23138,20 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P4987_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P58000_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 4; - s.tmp_4.arg2 = s.d___13714; - s.tmp_4.arg3 = s.s___13721; - s.callLocIdx = 1436; s.pc = 9; return s.tmp_4; + s.tmp_4.arg2 = s.d___66743; + s.tmp_4.arg3 = s.s___66750; + s.callLocIdx = 1437; s.pc = 9; return s.tmp_4; case 9: r0 = s.retval; - r0 = (s.s___13721 + 1); - s.s___13721 = (r0); + r0 = (s.s___66750 + 1); + s.s___66750 = (r0); { step = 4; continue; } case 5: - r0 = (s.d___13714 + 1); - s.d___13714 = (r0); + r0 = (s.d___66743 + 1); + s.d___66743 = (r0); { step = 3; continue; } case 6: case 7: @@ -23126,20 +23159,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_clearInterior__P4986.info = {"start":4543,"length":342,"line":146,"column":8,"endLine":155,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} +game_BaseDialog_clearInterior__P57999.info = {"start":4543,"length":342,"line":146,"column":8,"endLine":155,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"clearInterior","argumentNames":["this"]} -function game_BaseDialog_clearInterior__P4986_mk(s) { +function game_BaseDialog_clearInterior__P57999_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_clearInterior__P4986, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_clearInterior__P57999, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - d___13714: undefined, - s___13721: undefined, + d___66743: undefined, + s___66750: undefined, arg0: undefined, } } @@ -23147,7 +23180,7 @@ function game_BaseDialog_clearInterior__P4986_mk(s) { -function game_BaseDialog_drawPartial__P4987(s) { +function game_BaseDialog_drawPartial__P58000(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23157,12 +23190,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___13739 = undefined; - s.y0___13747 = undefined; - s.xf___13755 = undefined; - s.yf___13762 = undefined; - s.e___13769 = undefined; - s.t___13775 = undefined; + s.x0___66768 = undefined; + s.y0___66776 = undefined; + s.xf___66784 = undefined; + s.yf___66791 = undefined; + s.e___66798 = undefined; + s.t___66804 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23171,7 +23204,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2883_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C55895_VT)) failedCast(r0); r0 = s.arg0.fields["innerLeft"]; s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; @@ -23179,7 +23212,7 @@ switch (step) { r0 = (s.arg2 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.x0___13739 = (r0); + s.x0___66768 = (r0); r0 = s.arg0.fields["innerTop"]; s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; @@ -23187,68 +23220,68 @@ switch (step) { r0 = (s.arg3 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.y0___13747 = (r0); + s.y0___66776 = (r0); r0 = (s.arg1 % 3); s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.xf___13755 = (r0); + s.xf___66784 = (r0); r0 = pxsim.Math_.idiv(s.arg1, 3); s.tmp_0 = r0; r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.yf___13762 = (r0); - s.e___13769 = (0); + s.yf___66791 = (r0); + s.e___66798 = (0); case 1: r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - r0 = (s.e___13769 < s.tmp_1); + r0 = (s.e___66798 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.t___13775 = (0); + s.t___66804 = (0); case 2: r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - r0 = (s.t___13775 < s.tmp_1); + r0 = (s.t___66804 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.arg0.fields["image"]; s.tmp_2 = r0; - r0 = (s.x0___13739 + s.e___13769); + r0 = (s.x0___66768 + s.e___66798); s.tmp_3 = r0; - r0 = (s.y0___13747 + s.t___13775); + r0 = (s.y0___66776 + s.t___66804); s.tmp_4 = r0; r0 = s.arg0.fields["frame"]; s.tmp_6 = r0; - r0 = (s.xf___13755 + s.e___13769); + r0 = (s.xf___66784 + s.e___66798); s.tmp_7 = r0; - r0 = (s.yf___13762 + s.t___13775); + r0 = (s.yf___66791 + s.t___66804); s.tmp_8 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_6, s.tmp_7, s.tmp_8); s.tmp_5 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_2, s.tmp_3, s.tmp_4, s.tmp_5); - r0 = (s.t___13775 + 1); - s.t___13775 = (r0); + r0 = (s.t___66804 + 1); + s.t___66804 = (r0); { step = 2; continue; } case 3: - r0 = (s.e___13769 + 1); - s.e___13769 = (r0); + r0 = (s.e___66798 + 1); + s.e___66798 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_drawPartial__P4987.info = {"start":4895,"length":604,"line":157,"column":8,"endLine":172,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} +game_BaseDialog_drawPartial__P58000.info = {"start":4895,"length":604,"line":157,"column":8,"endLine":172,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawPartial","argumentNames":["this","index","colTo","rowTo"]} -function game_BaseDialog_drawPartial__P4987_mk(s) { +function game_BaseDialog_drawPartial__P58000_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawPartial__P4987, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawPartial__P58000, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23259,12 +23292,12 @@ function game_BaseDialog_drawPartial__P4987_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - x0___13739: undefined, - y0___13747: undefined, - xf___13755: undefined, - yf___13762: undefined, - e___13769: undefined, - t___13775: undefined, + x0___66768: undefined, + y0___66776: undefined, + xf___66784: undefined, + yf___66791: undefined, + e___66798: undefined, + t___66804: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23275,7 +23308,7 @@ function game_BaseDialog_drawPartial__P4987_mk(s) { -function game_BaseDialog_fastFill__P4985(s) { +function game_BaseDialog_fastFill__P57998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23285,7 +23318,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.color___13811 = undefined; + s.color___66840 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23296,7 +23329,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2883_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C55895_VT)) failedCast(r0); r0 = s.arg0.fields["frame"]; s.tmp_0 = r0; r0 = (s.arg1 % 3); @@ -23304,8 +23337,8 @@ switch (step) { r0 = pxsim.Math_.idiv(s.arg1, 3); s.tmp_2 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_2); - s.color___13811 = (r0); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.color___66840 = (r0); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["innerLeft"]; @@ -23318,25 +23351,25 @@ switch (step) { s.tmp_0.arg2 = r0; s.tmp_0.arg3 = s.arg4; s.tmp_0.arg4 = s.arg5; - s.tmp_0.arg5 = s.color___13811; - s.callLocIdx = 1434; s.pc = 1; return s.tmp_0; + s.tmp_0.arg5 = s.color___66840; + s.callLocIdx = 1435; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_fastFill__P4985.info = {"start":4284,"length":249,"line":141,"column":8,"endLine":144,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"fastFill","argumentNames":["this","index","x","y","w","h"]} +game_BaseDialog_fastFill__P57998.info = {"start":4284,"length":249,"line":141,"column":8,"endLine":144,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"fastFill","argumentNames":["this","index","x","y","w","h"]} -function game_BaseDialog_fastFill__P4985_mk(s) { +function game_BaseDialog_fastFill__P57998_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_fastFill__P4985, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_fastFill__P57998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - color___13811: undefined, + color___66840: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23349,7 +23382,7 @@ function game_BaseDialog_fastFill__P4985_mk(s) { -function game_BaseDialog_drawBorder__P4984(s) { +function game_BaseDialog_drawBorder__P57997(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23359,32 +23392,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.y___14184 = undefined; - s.c___14200 = undefined; - s.r___14234 = undefined; + s.y___67213 = undefined; + s.c___67229 = undefined; + s.r___67263 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2883_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C55895_VT)) failedCast(r0); r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_1 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = game_BaseDialog_fastFill__P4985_mk(s); + s.tmp_2 = game_BaseDialog_fastFill__P57998_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = 0; s.tmp_2.arg2 = 0; s.tmp_2.arg3 = 0; s.tmp_2.arg4 = 1; s.tmp_2.arg5 = 1; - s.callLocIdx = 1418; s.pc = 12; return s.tmp_2; + s.callLocIdx = 1419; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4985_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P57998_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 1; @@ -23394,10 +23427,10 @@ switch (step) { r0 = (s.tmp_1 - 2); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 1419; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1420; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4985_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P57998_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; r0 = s.arg0.fields["columns"]; @@ -23407,10 +23440,10 @@ switch (step) { s.tmp_0.arg3 = 0; s.tmp_0.arg4 = 1; s.tmp_0.arg5 = 1; - s.callLocIdx = 1420; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1421; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4985_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P57998_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 3; s.tmp_0.arg2 = 0; @@ -23420,10 +23453,10 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 2); s.tmp_0.arg5 = r0; - s.callLocIdx = 1421; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1422; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4985_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P57998_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; r0 = s.arg0.fields["columns"]; @@ -23436,73 +23469,73 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 - 2); s.tmp_0.arg5 = r0; - s.callLocIdx = 1422; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1423; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = s.arg0.fields["rows"]; s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.y___14184 = (r0); - s.tmp_0 = game_BaseDialog_fastFill__P4985_mk(s); + s.y___67213 = (r0); + s.tmp_0 = game_BaseDialog_fastFill__P57998_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = s.y___14184; + s.tmp_0.arg3 = s.y___67213; s.tmp_0.arg4 = 1; s.tmp_0.arg5 = 1; - s.callLocIdx = 1423; s.pc = 17; return s.tmp_0; + s.callLocIdx = 1424; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4985_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P57998_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; s.tmp_0.arg2 = 1; - s.tmp_0.arg3 = s.y___14184; + s.tmp_0.arg3 = s.y___67213; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 2); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 1424; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1425; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = game_BaseDialog_fastFill__P4985_mk(s); + s.tmp_0 = game_BaseDialog_fastFill__P57998_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.y___14184; + s.tmp_0.arg3 = s.y___67213; s.tmp_0.arg4 = 1; s.tmp_0.arg5 = 1; - s.callLocIdx = 1425; s.pc = 19; return s.tmp_0; + s.callLocIdx = 1426; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; { step = 11; continue; } case 1: case 2: - s.c___14200 = (0); + s.c___67229 = (0); case 3: r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; - r0 = (s.c___14200 < s.tmp_1); + r0 = (s.c___67229 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = (s.c___14200 == 0); + r0 = (s.c___67229 == 0); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_3 = game_BaseDialog_drawPartial__P4987_mk(s); + s.tmp_3 = game_BaseDialog_drawPartial__P58000_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; s.tmp_3.arg3 = 0; - s.callLocIdx = 1426; s.pc = 20; return s.tmp_3; + s.callLocIdx = 1427; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P4987_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P58000_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 6; s.tmp_0.arg2 = 0; @@ -23510,12 +23543,12 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg3 = r0; - s.callLocIdx = 1427; s.pc = 21; return s.tmp_0; + s.callLocIdx = 1428; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; { step = 7; continue; } case 4: - s.tmp_1 = r0 = s.c___14200; + s.tmp_1 = r0 = s.c___67229; r0 = s.arg0.fields["columns"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -23524,55 +23557,55 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P4987_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P58000_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 2; - s.tmp_4.arg2 = s.c___14200; + s.tmp_4.arg2 = s.c___67229; s.tmp_4.arg3 = 0; - s.callLocIdx = 1428; s.pc = 22; return s.tmp_4; + s.callLocIdx = 1429; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P4987_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P58000_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 8; - s.tmp_0.arg2 = s.c___14200; + s.tmp_0.arg2 = s.c___67229; r0 = s.arg0.fields["rows"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg3 = r0; - s.callLocIdx = 1429; s.pc = 23; return s.tmp_0; + s.callLocIdx = 1430; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = game_BaseDialog_drawPartial__P4987_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P58000_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1; - s.tmp_0.arg2 = s.c___14200; + s.tmp_0.arg2 = s.c___67229; s.tmp_0.arg3 = 0; - s.callLocIdx = 1430; s.pc = 24; return s.tmp_0; + s.callLocIdx = 1431; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P4987_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P58000_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 7; - s.tmp_0.arg2 = s.c___14200; + s.tmp_0.arg2 = s.c___67229; r0 = s.arg0.fields["rows"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg3 = r0; - s.callLocIdx = 1431; s.pc = 25; return s.tmp_0; + s.callLocIdx = 1432; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; case 6: case 7: - r0 = (s.c___14200 + 1); - s.c___14200 = (r0); + r0 = (s.c___67229 + 1); + s.c___67229 = (r0); { step = 3; continue; } case 8: - s.r___14234 = (1); + s.r___67263 = (1); case 9: - s.tmp_1 = r0 = s.r___14234; + s.tmp_1 = r0 = s.r___67263; r0 = s.arg0.fields["rows"]; s.tmp_3 = r0; r0 = (s.tmp_3 - 1); @@ -23581,27 +23614,27 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.tmp_4 = game_BaseDialog_drawPartial__P4987_mk(s); + s.tmp_4 = game_BaseDialog_drawPartial__P58000_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 3; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.r___14234; - s.callLocIdx = 1432; s.pc = 26; return s.tmp_4; + s.tmp_4.arg3 = s.r___67263; + s.callLocIdx = 1433; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawPartial__P4987_mk(s); + s.tmp_0 = game_BaseDialog_drawPartial__P58000_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 5; r0 = s.arg0.fields["columns"]; s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.r___14234; - s.callLocIdx = 1433; s.pc = 27; return s.tmp_0; + s.tmp_0.arg3 = s.r___67263; + s.callLocIdx = 1434; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - r0 = (s.r___14234 + 1); - s.r___14234 = (r0); + r0 = (s.r___67263 + 1); + s.r___67263 = (r0); { step = 9; continue; } case 10: case 11: @@ -23609,21 +23642,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_drawBorder__P4984.info = {"start":2953,"length":1321,"line":103,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} +game_BaseDialog_drawBorder__P57997.info = {"start":2953,"length":1321,"line":103,"column":8,"endLine":139,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBorder","argumentNames":["this"]} -function game_BaseDialog_drawBorder__P4984_mk(s) { +function game_BaseDialog_drawBorder__P57997_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawBorder__P4984, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawBorder__P57997, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - y___14184: undefined, - c___14200: undefined, - r___14234: undefined, + y___67213: undefined, + c___67229: undefined, + r___67263: undefined, arg0: undefined, } } @@ -23631,7 +23664,7 @@ function game_BaseDialog_drawBorder__P4984_mk(s) { -function game_BaseDialog_update__P2897(s) { +function game_BaseDialog_update__P55909(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23646,34 +23679,34 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2883_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_clearInterior__P4986_mk(s); + if (!checkSubtype(r0, game_BaseDialog__C55895_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_clearInterior__P57999_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1413; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1414; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_BaseDialog__C2883_v2_1_mk(s); + s.tmp_0 = game_BaseDialog__C55895_v2_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C2883_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C55895_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawTextCore; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = game_BaseDialog_drawCursorRow__P2900_mk(s); + s.tmp_0 = game_BaseDialog_drawCursorRow__P55912_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1414; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1415; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_update__P2897.info = {"start":2171,"length":121,"line":74,"column":8,"endLine":78,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} +game_BaseDialog_update__P55909.info = {"start":2171,"length":121,"line":74,"column":8,"endLine":78,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} -function game_BaseDialog_update__P2897_mk(s) { +function game_BaseDialog_update__P55909_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_update__P2897, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_update__P55909, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23683,7 +23716,7 @@ function game_BaseDialog_update__P2897_mk(s) { -function game_BaseDialog_drawCursorRow__P2900(s) { +function game_BaseDialog_drawCursorRow__P55912(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23693,21 +23726,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.offset___13098 = undefined; + s.offset___66127 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2883_VT)) failedCast(r0); - s.offset___13098 = (0); + if (!checkSubtype(r0, game_BaseDialog__C55895_VT)) failedCast(r0); + s.offset___66127 = (0); r0 = s.arg0.fields["cursorCount"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 20); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.offset___13098 = (1); + s.offset___66127 = (1); case 1: case 2: s.tmp_0 = r0 = s.arg0; @@ -23724,9 +23757,9 @@ switch (step) { s.tmp_1 = r0; r0 = s.arg0.fields["innerLeft"]; s.tmp_6 = r0; - s.tmp_8 = game_BaseDialog_textAreaWidth__P4990_mk(s); + s.tmp_8 = game_BaseDialog_textAreaWidth__P58003_mk(s); s.tmp_8.arg0 = s.arg0; - s.callLocIdx = 1415; s.pc = 3; return s.tmp_8; + s.callLocIdx = 1416; s.pc = 3; return s.tmp_8; case 3: r0 = s.retval; s.tmp_7 = r0; @@ -23736,7 +23769,7 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_5 + s.tmp_9); s.tmp_4 = r0; - r0 = (s.tmp_4 + s.offset___13098); + r0 = (s.tmp_4 + s.offset___66127); s.tmp_3 = r0; r0 = s.arg0.fields["cursor"]; s.tmp_11 = r0; @@ -23750,9 +23783,9 @@ switch (step) { s.tmp_17 = r0; r0 = (s.tmp_16 + s.tmp_17); s.tmp_15 = r0; - s.tmp_19 = game_BaseDialog_textAreaHeight__P4991_mk(s); + s.tmp_19 = game_BaseDialog_textAreaHeight__P58004_mk(s); s.tmp_19.arg0 = s.arg0; - s.callLocIdx = 1416; s.pc = 4; return s.tmp_19; + s.callLocIdx = 1417; s.pc = 4; return s.tmp_19; case 4: r0 = s.retval; s.tmp_18 = r0; @@ -23773,12 +23806,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_drawCursorRow__P2900.info = {"start":2464,"length":479,"line":88,"column":8,"endLine":101,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} +game_BaseDialog_drawCursorRow__P55912.info = {"start":2464,"length":479,"line":88,"column":8,"endLine":101,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawCursorRow","argumentNames":["this"]} -function game_BaseDialog_drawCursorRow__P2900_mk(s) { +function game_BaseDialog_drawCursorRow__P55912_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawCursorRow__P2900, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawCursorRow__P55912, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23803,7 +23836,7 @@ function game_BaseDialog_drawCursorRow__P2900_mk(s) { tmp_20: undefined, tmp_21: undefined, tmp_22: undefined, - offset___13098: undefined, + offset___66127: undefined, arg0: undefined, } } @@ -23811,7 +23844,7 @@ function game_BaseDialog_drawCursorRow__P2900_mk(s) { -function game_BaseDialog_cursorRowHeight__P4988(s) { +function game_BaseDialog_cursorRowHeight__P58001(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23826,7 +23859,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2883_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C55895_VT)) failedCast(r0); r0 = s.arg0.fields["cursor"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.height(s.tmp_1); @@ -23835,12 +23868,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_BaseDialog_cursorRowHeight__P4988.info = {"start":5509,"length":82,"line":174,"column":8,"endLine":176,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} +game_BaseDialog_cursorRowHeight__P58001.info = {"start":5509,"length":82,"line":174,"column":8,"endLine":176,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"cursorRowHeight","argumentNames":["this"]} -function game_BaseDialog_cursorRowHeight__P4988_mk(s) { +function game_BaseDialog_cursorRowHeight__P58001_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_cursorRowHeight__P4988, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_cursorRowHeight__P58001, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23851,7 +23884,7 @@ function game_BaseDialog_cursorRowHeight__P4988_mk(s) { -function game_BaseDialog_drawTextCore__P2899(s) { +function game_BaseDialog_drawTextCore__P55911(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23866,17 +23899,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2883_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C55895_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_drawTextCore__P2899.info = {"start":2389,"length":65,"line":84,"column":8,"endLine":86,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_BaseDialog_drawTextCore__P55911.info = {"start":2389,"length":65,"line":84,"column":8,"endLine":86,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_BaseDialog_drawTextCore__P2899_mk(s) { +function game_BaseDialog_drawTextCore__P55911_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_drawTextCore__P2899, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_drawTextCore__P55911, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23885,7 +23918,7 @@ function game_BaseDialog_drawTextCore__P2899_mk(s) { -function scene_setBackgroundImage__P2865(s) { +function scene_setBackgroundImage__P55877(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23895,36 +23928,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___14419 = undefined; + s.scene___67448 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2979_mk(s); - s.callLocIdx = 1396; s.pc = 1; return s.tmp_0; + s.tmp_0 = game_currentScene__P55991_mk(s); + s.callLocIdx = 1397; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___14419 = (r0); - s.tmp_0 = scene_Background_image__P2656_mk(s); - r0 = s.scene___14419.fields["background"]; + s.scene___67448 = (r0); + s.tmp_0 = scene_Background_image__P55668_mk(s); + r0 = s.scene___67448.fields["background"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1397; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1398; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_setBackgroundImage__P2865.info = {"start":1962,"length":135,"line":78,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} +scene_setBackgroundImage__P55877.info = {"start":1962,"length":135,"line":78,"column":4,"endLine":81,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundImage","argumentNames":["img"]} -function scene_setBackgroundImage__P2865_mk(s) { +function scene_setBackgroundImage__P55877_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setBackgroundImage__P2865, depth: s.depth + 1, + parent: s, fn: scene_setBackgroundImage__P55877, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___14419: undefined, + scene___67448: undefined, arg0: undefined, } } @@ -23932,7 +23965,7 @@ function scene_setBackgroundImage__P2865_mk(s) { -function scene_Background_image__P2656(s) { +function scene_Background_image__P55668(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23948,18 +23981,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2649_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C55661_VT)) failedCast(r0); r0 = (s.arg0).fields["_image"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Background_image__P2656.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this","image"]} +scene_Background_image__P55668.info = {"start":1003,"length":68,"line":40,"column":8,"endLine":42,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this","image"]} -function scene_Background_image__P2656_mk(s) { +function scene_Background_image__P55668_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P2656, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P55668, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -23969,7 +24002,7 @@ function scene_Background_image__P2656_mk(s) { -function scene_Background_image__P2655(s) { +function scene_Background_image__P55667(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23984,7 +24017,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2649_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C55661_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -23994,9 +24027,9 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_3 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_5 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___2013); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_6 = r0; r0 = pxsim.image.create(s.tmp_5, s.tmp_6); s.tmp_4 = r0; @@ -24007,13 +24040,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Background_image__P2655.info = {"start":811,"length":174,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this"]} -scene_Background_image__P2655.isGetter = true; +scene_Background_image__P55667.info = {"start":811,"length":174,"line":33,"column":8,"endLine":38,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"image","argumentNames":["this"]} +scene_Background_image__P55667.isGetter = true; -function scene_Background_image__P2655_mk(s) { +function scene_Background_image__P55667_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_image__P2655, depth: s.depth + 1, + parent: s, fn: scene_Background_image__P55667, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24029,7 +24062,7 @@ function scene_Background_image__P2655_mk(s) { -function Sprite_top__P2384(s) { +function Sprite_top__P55396(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24039,22 +24072,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___19942 = undefined; + s.physics___72905 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2979_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 644; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___19942 = (r0); - s.tmp_0 = PhysicsEngine__C2491_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___19942; + s.physics___72905 = (r0); + s.tmp_0 = PhysicsEngine__C55503_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___72905; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -24065,7 +24098,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__C2491_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C55503_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: @@ -24074,18 +24107,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P2384.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__P55396.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__P2384_mk(s) { +function Sprite_top__P55396_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P2384, depth: s.depth + 1, + parent: s, fn: Sprite_top__P55396, 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___19942: undefined, + physics___72905: undefined, arg0: undefined, arg1: undefined, } } @@ -24094,7 +24127,7 @@ function Sprite_top__P2384_mk(s) { -function PhysicsEngine_moveSprite__P2495(s) { +function PhysicsEngine_moveSprite__P55507(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24112,17 +24145,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2491_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C55503_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P2495.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__P55507.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__P2495_mk(s) { +function PhysicsEngine_moveSprite__P55507_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P2495, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P55507, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -24134,7 +24167,7 @@ function PhysicsEngine_moveSprite__P2495_mk(s) { -function Sprite_top__P2383(s) { +function Sprite_top__P55395(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24149,20 +24182,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2383.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__P2383.isGetter = true; +Sprite_top__P55395.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__P55395.isGetter = true; -function Sprite_top__P2383_mk(s) { +function Sprite_top__P55395_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P2383, depth: s.depth + 1, + parent: s, fn: Sprite_top__P55395, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24172,7 +24205,7 @@ function Sprite_top__P2383_mk(s) { -function Sprite_left__P2380(s) { +function Sprite_left__P55392(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24182,22 +24215,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___19924 = undefined; + s.physics___72887 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2979_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 636; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___19924 = (r0); - s.tmp_0 = PhysicsEngine__C2491_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___19924; + s.physics___72887 = (r0); + s.tmp_0 = PhysicsEngine__C55503_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___72887; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -24208,7 +24241,7 @@ switch (step) { r0 = (s.tmp_1 - s.tmp_3); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2491_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C55503_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: @@ -24217,18 +24250,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P2380.info = {"start":10853,"length":257,"line":391,"column":4,"endLine":401,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} +Sprite_left__P55392.info = {"start":10853,"length":257,"line":391,"column":4,"endLine":401,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"left","argumentNames":["this","value"]} -function Sprite_left__P2380_mk(s) { +function Sprite_left__P55392_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P2380, depth: s.depth + 1, + parent: s, fn: Sprite_left__P55392, 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___19924: undefined, + physics___72887: undefined, arg0: undefined, arg1: undefined, } } @@ -24237,7 +24270,7 @@ function Sprite_left__P2380_mk(s) { -function Sprite_left__P2379(s) { +function Sprite_left__P55391(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24252,20 +24285,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2379.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__P2379.isGetter = true; +Sprite_left__P55391.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__P55391.isGetter = true; -function Sprite_left__P2379_mk(s) { +function Sprite_left__P55391_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P2379, depth: s.depth + 1, + parent: s, fn: Sprite_left__P55391, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -24275,7 +24308,7 @@ function Sprite_left__P2379_mk(s) { -function controller__setUserEventsEnabled__P2187(s) { +function controller__setUserEventsEnabled__P55199(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24289,17 +24322,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___4818 = (s.arg0); + globals._userEventsEnabled___57831 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P2187.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__P55199.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__P2187_mk(s) { +function controller__setUserEventsEnabled__P55199_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P2187, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P55199, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -24308,7 +24341,7 @@ function controller__setUserEventsEnabled__P2187_mk(s) { -function console_inspect__P382(s) { +function console_inspect__P53394(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24318,10 +24351,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___19992 = undefined; - s.asString___20010 = undefined; - s.keys___20022 = undefined; - s.snipped___20026 = undefined; + s.asArr___72955 = undefined; + s.asString___72973 = undefined; + s.keys___72985 = undefined; + s.snipped___72989 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24362,15 +24395,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___19992 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___19992); + s.asArr___72955 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___72955); 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___19992; + s.tmp_2 = helpers_arrayJoin__P53115_mk(s); + s.tmp_2.arg0 = s.asArr___72955; s.tmp_2.arg1 = ","; s.callLocIdx = 46; s.pc = 19; return s.tmp_2; case 19: @@ -24380,9 +24413,9 @@ 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___19992; + s.tmp_7 = helpers_arrayJoin__P53115_mk(s); + s.tmp_8 = helpers_arraySlice__P53127_mk(s); + s.tmp_8.arg0 = s.asArr___72955; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.callLocIdx = 47; s.pc = 21; return s.tmp_8; @@ -24422,46 +24455,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___20010 = (r0); - r0 = (s.asString___20010 != "[object Object]"); + s.asString___72973 = (r0); + r0 = (s.asString___72973 != "[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___20010 != "[Object]"); + r0 = (s.asString___72973 != "[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___20010; + r0 = s.asString___72973; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___20022 = (r0); - r0 = pxsim_Array__length(s.keys___20022); + s.keys___72985 = (r0); + r0 = pxsim_Array__length(s.keys___72985); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___20026 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___20026); + s.snipped___72989 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___72989); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P115_mk(s); - s.tmp_0.arg0 = s.keys___20022; + s.tmp_0 = helpers_arraySlice__P53127_mk(s); + s.tmp_0.arg0 = s.keys___72985; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 49; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___20022 = (r0); + s.keys___72985 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P20043); + r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P73006); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___20026); + r0 = pxsim_numops_toBoolDecr(s.snipped___72989); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -24470,8 +24503,8 @@ 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___20022; + s.tmp_7 = helpers_arrayReduce__P53124_mk(s); + s.tmp_7.arg0 = s.keys___72985; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -24520,12 +24553,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__P53394.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__P53394_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P382, depth: s.depth + 1, + parent: s, fn: console_inspect__P53394, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24538,10 +24571,10 @@ function console_inspect__P382_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___19992: undefined, - asString___20010: undefined, - keys___20022: undefined, - snipped___20026: undefined, + asArr___72955: undefined, + asString___72973: undefined, + keys___72985: undefined, + snipped___72989: undefined, arg0: undefined, arg1: undefined, } } @@ -24550,7 +24583,7 @@ function console_inspect__P382_mk(s) { -function console_inspect_inline__P20043(s) { +function console_inspect_inline__P73006(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24613,12 +24646,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect_inline__P20043.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__P73006.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__P20043_mk(s) { +function console_inspect_inline__P73006_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect_inline__P20043, depth: s.depth + 1, + parent: s, fn: console_inspect_inline__P73006, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24636,7 +24669,7 @@ function console_inspect_inline__P20043_mk(s) { -function helpers_arrayReduce__P112(s) { +function helpers_arrayReduce__P53124(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24646,8 +24679,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___20070 = undefined; - s.i___20073 = undefined; + s.len___73033 = undefined; + s.i___73036 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24655,43 +24688,43 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___20070 = (r0); - s.i___20073 = (0); + s.len___73033 = (r0); + s.i___73036 = (0); case 1: - r0 = (s.i___20073 < s.len___20070); + r0 = (s.i___73036 < s.len___73033); 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___20073); + r0 = pxsim_Array__getAt(s.arg0, s.i___73036); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___20073; + s.tmp_1.arg2 = s.i___73036; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 9; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___20073 + 1); - s.i___20073 = (r0); + r0 = (s.i___73036 + 1); + s.i___73036 = (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__P53124.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__P53124_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P112, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P53124, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___20070: undefined, - i___20073: undefined, + len___73033: undefined, + i___73036: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -24701,7 +24734,7 @@ function helpers_arrayReduce__P112_mk(s) { -function helpers_arrayJoin__P103(s) { +function helpers_arrayJoin__P53115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24711,9 +24744,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___20098 = undefined; - s.len___20099 = undefined; - s.i___20102 = undefined; + s.r___73061 = undefined; + s.len___73062 = undefined; + s.i___73065 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24736,16 +24769,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___20098 = (r0); + s.r___73061 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___20099 = (r0); - s.i___20102 = (0); + s.len___73062 = (r0); + s.i___73065 = (0); case 5: - r0 = (s.i___20102 < s.len___20099); + r0 = (s.i___73065 < s.len___73062); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___20102 > 0); + r0 = (s.i___73065 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -24758,12 +24791,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___20098) && (s.r___20098).vtable) { + if ((s.r___73061) && (s.r___73061).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___20098); + pxsim_String__stringConv(s.r___73061); checkResumeConsumed(); return; - } else { s.retval = (s.r___20098) + ""; } + } else { s.retval = (s.r___73061) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -24777,10 +24810,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___20098 = (r0); + s.r___73061 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___20102); + r0 = pxsim_Array__getAt(s.arg0, s.i___73065); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -24789,7 +24822,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___20102); + r0 = pxsim_Array__getAt(s.arg0, s.i___73065); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -24800,16 +24833,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___20102); + r0 = pxsim_Array__getAt(s.arg0, s.i___73065); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___20098) && (s.r___20098).vtable) { + if ((s.r___73061) && (s.r___73061).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___20098); + pxsim_String__stringConv(s.r___73061); checkResumeConsumed(); return; - } else { s.retval = (s.r___20098) + ""; } + } else { s.retval = (s.r___73061) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -24823,21 +24856,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___20098 = (r0); - r0 = (s.i___20102 + 1); - s.i___20102 = (r0); + s.r___73061 = (r0); + r0 = (s.i___73065 + 1); + s.i___73065 = (r0); { step = 5; continue; } case 14: - r0 = s.r___20098; + r0 = s.r___73061; 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__P53115.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__P53115_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P103, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P53115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24846,9 +24879,9 @@ function helpers_arrayJoin__P103_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___20098: undefined, - len___20099: undefined, - i___20102: undefined, + r___73061: undefined, + len___73062: undefined, + i___73065: undefined, arg0: undefined, arg1: undefined, } } @@ -24857,7 +24890,7 @@ function helpers_arrayJoin__P103_mk(s) { -function game_splash__P2945(s) { +function game_splash__P55957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24867,28 +24900,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dialog___20158 = undefined; - s.s___20171 = undefined; - s.pressed___20178 = undefined; - s.done___20179 = undefined; + s.dialog___73121 = undefined; + s.s___73134 = undefined; + s.pressed___73141 = undefined; + s.done___73142 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = console_inspect__P382_mk(s); + s.tmp_0 = console_inspect__P53394_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 20; - s.callLocIdx = 1557; s.pc = 7; return s.tmp_0; + s.callLocIdx = 1558; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; s.arg0 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } - s.tmp_0 = console_inspect__P382_mk(s); + s.tmp_0 = console_inspect__P53394_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 20; - s.callLocIdx = 1558; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1559; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; { step = 2; continue; } @@ -24898,17 +24931,17 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; s.arg1 = (s.tmp_1); - s.tmp_0 = controller__setUserEventsEnabled__P2187_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P55199_mk(s); s.tmp_0.arg0 = false; - s.callLocIdx = 1559; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1560; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = game_pushScene__P2983_mk(s); - s.callLocIdx = 1560; s.pc = 10; return s.tmp_0; + s.tmp_0 = game_pushScene__P55995_mk(s); + s.callLocIdx = 1561; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_1 = game_currentScene__P2979_mk(s); - s.callLocIdx = 1561; s.pc = 11; return s.tmp_1; + s.tmp_1 = game_currentScene__P55991_mk(s); + s.callLocIdx = 1562; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0 = r0; @@ -24917,7 +24950,7 @@ switch (step) { r0 = (s.tmp_3 | 2); s.tmp_2 = r0; r0 = (s.tmp_0).fields["flags"] = (s.tmp_2); - r0 = pxsim_pxtcore_mkClassInstance(game_SplashDialog__C2912_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_SplashDialog__C55924_VT); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } @@ -24928,90 +24961,90 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = game_SplashDialog_constructor__P2919_mk(s); + s.tmp_2 = game_SplashDialog_constructor__P55931_mk(s); s.tmp_2.arg0 = s.tmp_0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = s.tmp_1; - s.callLocIdx = 1562; s.pc = 12; return s.tmp_2; + s.callLocIdx = 1563; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - s.dialog___20158 = (s.tmp_0); - s.tmp_0 = game_SplashDialog__C2912_v1_2_mk(s); - s.tmp_0.arg0 = s.dialog___20158; + s.dialog___73121 = (s.tmp_0); + s.tmp_0 = game_SplashDialog__C55924_v1_2_mk(s); + s.tmp_0.arg0 = s.dialog___73121; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_SplashDialog__C2912_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_SplashDialog__C55924_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.setText; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 5; continue; } - s.tmp_0 = game_SplashDialog_setSubtext__P2921_mk(s); - s.tmp_0.arg0 = s.dialog___20158; + s.tmp_0 = game_SplashDialog_setSubtext__P55933_mk(s); + s.tmp_0.arg0 = s.dialog___73121; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1563; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1564; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 5: case 6: - s.tmp_0 = sprites_create__P2256_mk(s); - r0 = s.dialog___20158.fields["image"]; + s.tmp_0 = sprites_create__P55268_mk(s); + r0 = s.dialog___73121.fields["image"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = -1; - s.callLocIdx = 1564; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1565; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.s___20171 = (r0); + s.s___73134 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.pressed___20178 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pressed___20178, true); + s.pressed___73141 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pressed___73141, true); r0 = pxsim_pxtrt.mklocRef(); - s.done___20179 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.done___20179, false); - r0 = pxsim_pxtcore_mkAction(3, game_splash_inline__P20181); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dialog___20158); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pressed___20178); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.done___20179); - s.tmp_1 = game_onUpdate__P3003_mk(s); + s.done___73142 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.done___73142, false); + r0 = pxsim_pxtcore_mkAction(3, game_splash_inline__P73144); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dialog___73121); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pressed___73141); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.done___73142); + s.tmp_1 = game_onUpdate__P56015_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 1567; s.pc = 16; return s.tmp_1; + s.callLocIdx = 1568; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, game_splash_inline__P20204); + r0 = pxsim_pxtcore_mkAction(1, game_splash_inline__P73167); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.done___20179); - s.tmp_1 = pauseUntil__P367_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.done___73142); + s.tmp_1 = pauseUntil__P53379_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1568; s.pc = 17; return s.tmp_1; + s.callLocIdx = 1569; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller__setUserEventsEnabled__P2187_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P55199_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 1569; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1570; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_splash__P2945.info = {"start":30591,"length":1082,"line":865,"column":4,"endLine":896,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"splash","argumentNames":["title","subtitle"]} +game_splash__P55957.info = {"start":30591,"length":1082,"line":865,"column":4,"endLine":896,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"splash","argumentNames":["title","subtitle"]} -function game_splash__P2945_mk(s) { +function game_splash__P55957_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_splash__P2945, depth: s.depth + 1, + parent: s, fn: game_splash__P55957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - dialog___20158: undefined, - s___20171: undefined, - pressed___20178: undefined, - done___20179: undefined, + dialog___73121: undefined, + s___73134: undefined, + pressed___73141: undefined, + done___73142: undefined, arg0: undefined, arg1: undefined, } } @@ -25020,7 +25053,7 @@ function game_splash__P2945_mk(s) { -function game_splash_inline__P20181(s) { +function game_splash_inline__P73144(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25030,23 +25063,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currentState___20184 = undefined; - s.tmp_0 = game_BaseDialog__C2883_v0_1_mk(s); + s.currentState___73147 = undefined; + s.tmp_0 = game_BaseDialog__C55895_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C2883_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_BaseDialog__C55895_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = controller_Button__C2170_v0_1_mk(s); - s.tmp_0.arg0 = globals.A___2094; - if (!checkSubtype(s.tmp_0.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0 = controller_Button__C55182_v0_1_mk(s); + s.tmp_0.arg0 = globals.A___55106; + if (!checkSubtype(s.tmp_0.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.isPressed; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.currentState___20184 = (r0); - s.tmp_0 = r0 = s.currentState___20184; + s.currentState___73147 = (r0); + s.tmp_0 = r0 = s.currentState___73147; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; @@ -25063,13 +25096,13 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } r0 = pxsim_pxtrt_stlocRef(s.caps[1], true); - s.tmp_0 = scene_setBackgroundImage__P2865_mk(s); + s.tmp_0 = scene_setBackgroundImage__P55877_mk(s); s.tmp_0.arg0 = null; - s.callLocIdx = 1565; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1566; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = game_popScene__P2984_mk(s); - s.callLocIdx = 1566; s.pc = 12; return s.tmp_0; + s.tmp_0 = game_popScene__P55996_mk(s); + s.callLocIdx = 1567; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = pxsim_pxtrt_stlocRef(s.caps[2], true); @@ -25082,7 +25115,7 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.currentState___20184); + r0 = pxsim_numops_toBoolDecr(s.currentState___73147); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); case 5: @@ -25098,25 +25131,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_splash_inline__P20181.info = {"start":31175,"length":410,"line":880,"column":22,"endLine":892,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} +game_splash_inline__P73144.info = {"start":31175,"length":410,"line":880,"column":22,"endLine":892,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} -function game_splash_inline__P20181_mk(s) { +function game_splash_inline__P73144_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_splash_inline__P20181, depth: s.depth + 1, + parent: s, fn: game_splash_inline__P73144, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - currentState___20184: undefined, + currentState___73147: undefined, } } -function game_splash_inline__P20204(s) { +function game_splash_inline__P73167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25130,12 +25163,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_splash_inline__P20204.info = {"start":31607,"length":10,"line":894,"column":19,"endLine":894,"endColumn":29,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} +game_splash_inline__P73167.info = {"start":31607,"length":10,"line":894,"column":19,"endLine":894,"endColumn":29,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":[]} -function game_splash_inline__P20204_mk(s) { +function game_splash_inline__P73167_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_splash_inline__P20204, depth: s.depth + 1, + parent: s, fn: game_splash_inline__P73167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -25143,7 +25176,7 @@ function game_splash_inline__P20204_mk(s) { -function game_SplashDialog_setSubtext__P2921(s) { +function game_SplashDialog_setSubtext__P55933(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25159,11 +25192,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C2912_VT)) failedCast(r0); + if (!checkSubtype(r0, game_SplashDialog__C55924_VT)) failedCast(r0); r0 = (s.arg0).fields["subtext"] = (s.arg1); - s.tmp_0 = game_SplashDialog_updateFont__P4995_mk(s); + s.tmp_0 = game_SplashDialog_updateFont__P58008_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1469; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1470; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -25178,14 +25211,14 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["charWidth"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["charWidth"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 1470; s.pc = 2; return s.tmp_6; } + else { s.callLocIdx = 1471; s.pc = 2; return s.tmp_6; } } case 2: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_7 = r0; r0 = (s.tmp_3 - s.tmp_7); s.tmp_2 = r0; @@ -25200,12 +25233,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_setSubtext__P2921.info = {"start":9748,"length":200,"line":300,"column":8,"endLine":304,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setSubtext","argumentNames":["this","sub"]} +game_SplashDialog_setSubtext__P55933.info = {"start":9748,"length":200,"line":300,"column":8,"endLine":304,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setSubtext","argumentNames":["this","sub"]} -function game_SplashDialog_setSubtext__P2921_mk(s) { +function game_SplashDialog_setSubtext__P55933_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_setSubtext__P2921, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_setSubtext__P55933, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25225,7 +25258,7 @@ function game_SplashDialog_setSubtext__P2921_mk(s) { -function game_SplashDialog_updateFont__P4995(s) { +function game_SplashDialog_updateFont__P58008(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25240,7 +25273,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C2912_VT)) failedCast(r0); + if (!checkSubtype(r0, game_SplashDialog__C55924_VT)) failedCast(r0); r0 = s.arg0.fields["text"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -25263,9 +25296,9 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_4 = game_BaseDialog_setFont__P4992_mk(s); + s.tmp_4 = game_BaseDialog_setFont__P58005_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_5 = image_getFontForText__P1958_mk(s); + s.tmp_5 = image_getFontForText__P54970_mk(s); if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 7); pxsim_String__stringConv(s.tmp_1); @@ -25286,23 +25319,23 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_String__concat(s.tmp_6, s.tmp_7); s.tmp_5.arg0 = r0; - s.callLocIdx = 1465; s.pc = 6; return s.tmp_5; + s.callLocIdx = 1466; s.pc = 6; return s.tmp_5; case 6: r0 = s.retval; s.tmp_4.arg1 = r0; - s.callLocIdx = 1466; s.pc = 5; return s.tmp_4; + s.callLocIdx = 1467; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_SplashDialog_updateFont__P4995.info = {"start":9357,"length":122,"line":288,"column":8,"endLine":290,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"updateFont","argumentNames":["this"]} +game_SplashDialog_updateFont__P58008.info = {"start":9357,"length":122,"line":288,"column":8,"endLine":290,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"updateFont","argumentNames":["this"]} -function game_SplashDialog_updateFont__P4995_mk(s) { +function game_SplashDialog_updateFont__P58008_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_updateFont__P4995, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_updateFont__P58008, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25319,7 +25352,7 @@ function game_SplashDialog_updateFont__P4995_mk(s) { -function game_SplashDialog_setText__P2920(s) { +function game_SplashDialog_setText__P55932(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25335,11 +25368,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C2912_VT)) failedCast(r0); + if (!checkSubtype(r0, game_SplashDialog__C55924_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); - s.tmp_0 = game_SplashDialog_updateFont__P4995_mk(s); + s.tmp_0 = game_SplashDialog_updateFont__P58008_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1467; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1468; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["offset"] = (0); @@ -25355,14 +25388,14 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["charWidth"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["charWidth"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 1468; s.pc = 2; return s.tmp_6; } + else { s.callLocIdx = 1469; s.pc = 2; return s.tmp_6; } } case 2: r0 = s.retval; s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_7 = r0; r0 = (s.tmp_3 - s.tmp_7); s.tmp_2 = r0; @@ -25378,12 +25411,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_setText__P2920.info = {"start":9489,"length":249,"line":292,"column":8,"endLine":298,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","text"]} +game_SplashDialog_setText__P55932.info = {"start":9489,"length":249,"line":292,"column":8,"endLine":298,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","text"]} -function game_SplashDialog_setText__P2920_mk(s) { +function game_SplashDialog_setText__P55932_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_setText__P2920, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_setText__P55932, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25403,7 +25436,7 @@ function game_SplashDialog_setText__P2920_mk(s) { -function game_SplashDialog_constructor__P2919(s) { +function game_SplashDialog_constructor__P55931(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25420,19 +25453,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C2912_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_constructor__P2895_mk(s); + if (!checkSubtype(r0, game_SplashDialog__C55924_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_constructor__P55907_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.tmp_1 = game_defaultSplashFrame__P5007_mk(s); - s.callLocIdx = 1463; s.pc = 2; return s.tmp_1; + s.tmp_1 = game_defaultSplashFrame__P58020_mk(s); + s.callLocIdx = 1464; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg3 = r0; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; - s.callLocIdx = 1464; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1465; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["maxOffset"] = (-1); @@ -25442,12 +25475,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_SplashDialog_constructor__P2919.info = {"start":9137,"length":210,"line":281,"column":8,"endLine":286,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height"]} +game_SplashDialog_constructor__P55931.info = {"start":9137,"length":210,"line":281,"column":8,"endLine":286,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","width","height"]} -function game_SplashDialog_constructor__P2919_mk(s) { +function game_SplashDialog_constructor__P55931_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_constructor__P2919, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_constructor__P55931, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25460,7 +25493,7 @@ function game_SplashDialog_constructor__P2919_mk(s) { -function game_defaultSplashFrame__P5007(s) { +function game_defaultSplashFrame__P58020(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25470,14 +25503,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___2013); + r0 = pxsim_ImageMethods.isMono(globals.screen___55025); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex14401); + r0 = pxsim.image.ofBuffer(_hex67430); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex14403); + r0 = pxsim.image.ofBuffer(_hex67432); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -25485,24 +25518,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_defaultSplashFrame__P5007.info = {"start":27877,"length":220,"line":768,"column":4,"endLine":781,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} +game_defaultSplashFrame__P58020.info = {"start":27877,"length":220,"line":768,"column":4,"endLine":781,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"defaultSplashFrame","argumentNames":[]} -function game_defaultSplashFrame__P5007_mk(s) { +function game_defaultSplashFrame__P58020_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_defaultSplashFrame__P5007, depth: s.depth + 1, + parent: s, fn: game_defaultSplashFrame__P58020, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex14401 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100000101000001010000") -const _hex14403 = pxsim.BufferMethods.createBufferFromHex("8704030003000000f1010000f1010000f1010000") +const _hex67430 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100000101000001010000") +const _hex67432 = pxsim.BufferMethods.createBufferFromHex("8704030003000000f1010000f1010000f1010000") -function music_stringPlayable__P1909(s) { +function music_stringPlayable__P54921(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25512,17 +25545,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.notes___20290 = undefined; - s.formattedMelody___20300 = undefined; - s.newOctave___20301 = undefined; - s.i___20302 = undefined; + s.notes___73253 = undefined; + s.formattedMelody___73263 = undefined; + s.newOctave___73264 = undefined; + s.i___73265 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arrayFilter__P110_mk(s); - s.tmp_1 = helpers_stringSplit__P122_mk(s); + s.tmp_0 = helpers_arrayFilter__P53122_mk(s); + s.tmp_1 = helpers_stringSplit__P53134_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = " "; s.tmp_1.arg2 = undefined; @@ -25530,46 +25563,46 @@ switch (step) { case 12: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = notes_inline__P20295; + s.tmp_0.arg1 = notes_inline__P73258; s.callLocIdx = 188; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.notes___20290 = (r0); + s.notes___73253 = (r0); r0 = pxsim_String_.mkEmpty(); - s.formattedMelody___20300 = (r0); - s.newOctave___20301 = (false); - s.i___20302 = (0); + s.formattedMelody___73263 = (r0); + s.newOctave___73264 = (false); + s.i___73265 = (0); case 1: - s.tmp_1 = r0 = s.i___20302; - r0 = pxsim_Array__length(s.notes___20290); + s.tmp_1 = r0 = s.i___73265; + r0 = pxsim_Array__length(s.notes___73253); 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(s.notes___20290, s.i___20302); + r0 = pxsim_Array__getAt(s.notes___73253, s.i___73265); s.tmp_4 = r0; r0 = (s.tmp_4 === "-"); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 2; continue; } - r0 = pxsim_Array_.setAt(s.notes___20290, s.i___20302, "R"); + r0 = pxsim_Array_.setAt(s.notes___73253, s.i___73265, "R"); { step = 7; continue; } case 2: - r0 = pxsim_Array__getAt(s.notes___20290, s.i___20302); + r0 = pxsim_Array__getAt(s.notes___73253, s.i___73265); s.tmp_1 = r0; r0 = (s.tmp_1 === "C5"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.newOctave___20301 = (true); + s.newOctave___73264 = (true); { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.newOctave___20301); + r0 = pxsim_numops_toBoolDecr(s.newOctave___73264); if (!r0) { step = 4; continue; } - s.tmp_0 = r0 = s.notes___20290; - s.tmp_1 = r0 = s.i___20302; - r0 = pxsim_Array__getAt(s.tmp_0, s.i___20302); + s.tmp_0 = r0 = s.notes___73253; + s.tmp_1 = r0 = s.i___73265; + r0 = pxsim_Array__getAt(s.tmp_0, s.i___73265); s.tmp_4 = r0; if ((s.tmp_4) && (s.tmp_4).vtable) { setupResume(s, 13); @@ -25583,25 +25616,25 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_3, "4"); s.tmp_2 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, s.tmp_1, s.tmp_2); - s.newOctave___20301 = (false); + s.newOctave___73264 = (false); case 4: case 5: case 6: case 7: - r0 = (s.i___20302 == 0); + r0 = (s.i___73265 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - if ((s.formattedMelody___20300) && (s.formattedMelody___20300).vtable) { + if ((s.formattedMelody___73263) && (s.formattedMelody___73263).vtable) { setupResume(s, 14); - pxsim_String__stringConv(s.formattedMelody___20300); + pxsim_String__stringConv(s.formattedMelody___73263); checkResumeConsumed(); return; - } else { s.retval = (s.formattedMelody___20300) + ""; } + } else { s.retval = (s.formattedMelody___73263) + ""; } case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.notes___20290, s.i___20302); + r0 = pxsim_Array__getAt(s.notes___73253, s.i___73265); s.tmp_9 = r0; if ((s.tmp_9) && (s.tmp_9).vtable) { setupResume(s, 15); @@ -25655,19 +25688,19 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - s.formattedMelody___20300 = (r0); + s.formattedMelody___73263 = (r0); { step = 9; continue; } case 8: - if ((s.formattedMelody___20300) && (s.formattedMelody___20300).vtable) { + if ((s.formattedMelody___73263) && (s.formattedMelody___73263).vtable) { setupResume(s, 20); - pxsim_String__stringConv(s.formattedMelody___20300); + pxsim_String__stringConv(s.formattedMelody___73263); checkResumeConsumed(); return; - } else { s.retval = (s.formattedMelody___20300) + ""; } + } else { s.retval = (s.formattedMelody___73263) + ""; } case 20: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.notes___20290, s.i___20302); + r0 = pxsim_Array__getAt(s.notes___73253, s.i___73265); s.tmp_4 = r0; if ((s.tmp_4) && (s.tmp_4).vtable) { setupResume(s, 21); @@ -25690,23 +25723,23 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.formattedMelody___20300 = (r0); + s.formattedMelody___73263 = (r0); case 9: - r0 = (s.i___20302 + 1); - s.i___20302 = (r0); + r0 = (s.i___73265 + 1); + s.i___73265 = (r0); { step = 1; continue; } case 10: - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayable__C1901_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayable__C54913_VT); s.tmp_0 = r0; - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C1626_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C54638_VT); s.tmp_1 = r0; - s.tmp_2 = music_Melody_constructor__P1629_mk(s); + s.tmp_2 = music_Melody_constructor__P54641_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = s.formattedMelody___20300; + s.tmp_2.arg1 = s.formattedMelody___73263; s.callLocIdx = 189; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; - s.tmp_3 = music_MelodyPlayable_constructor__P1902_mk(s); + s.tmp_3 = music_MelodyPlayable_constructor__P54914_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.tmp_1; s.callLocIdx = 190; s.pc = 24; return s.tmp_3; @@ -25716,12 +25749,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_stringPlayable__P1909.info = {"start":3666,"length":974,"line":137,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"stringPlayable","argumentNames":["melody","tempo"]} +music_stringPlayable__P54921.info = {"start":3666,"length":974,"line":137,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"stringPlayable","argumentNames":["melody","tempo"]} -function music_stringPlayable__P1909_mk(s) { +function music_stringPlayable__P54921_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_stringPlayable__P1909, depth: s.depth + 1, + parent: s, fn: music_stringPlayable__P54921, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25734,10 +25767,10 @@ function music_stringPlayable__P1909_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - notes___20290: undefined, - formattedMelody___20300: undefined, - newOctave___20301: undefined, - i___20302: undefined, + notes___73253: undefined, + formattedMelody___73263: undefined, + newOctave___73264: undefined, + i___73265: undefined, arg0: undefined, arg1: undefined, } } @@ -25746,7 +25779,7 @@ function music_stringPlayable__P1909_mk(s) { -function notes_inline__P20295(s) { +function notes_inline__P73258(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25770,12 +25803,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -notes_inline__P20295.info = {"start":3795,"length":8,"line":138,"column":55,"endLine":138,"endColumn":63,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["n"]} +notes_inline__P73258.info = {"start":3795,"length":8,"line":138,"column":55,"endLine":138,"endColumn":63,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["n"]} -function notes_inline__P20295_mk(s) { +function notes_inline__P73258_mk(s) { checkStack(s.depth); return { - parent: s, fn: notes_inline__P20295, depth: s.depth + 1, + parent: s, fn: notes_inline__P73258, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25787,7 +25820,7 @@ function notes_inline__P20295_mk(s) { -function music_MelodyPlayable_constructor__P1902(s) { +function music_MelodyPlayable_constructor__P54914(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25803,19 +25836,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayable__C1901_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayable__C54913_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (s.arg1); r0 = undefined; r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayable_constructor__P1902.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__P54914.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__P1902_mk(s) { +function music_MelodyPlayable_constructor__P54914_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayable_constructor__P1902, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayable_constructor__P54914, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25825,7 +25858,7 @@ function music_MelodyPlayable_constructor__P1902_mk(s) { -function music_Playable_constructor__P1898(s) { +function music_Playable_constructor__P54910(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25840,17 +25873,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Playable__C1896_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Playable__C54908_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Playable_constructor__P1898.info = {"start":1086,"length":26,"line":47,"column":8,"endLine":49,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":["this"]} +music_Playable_constructor__P54910.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__P1898_mk(s) { +function music_Playable_constructor__P54910_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Playable_constructor__P1898, depth: s.depth + 1, + parent: s, fn: music_Playable_constructor__P54910, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25859,7 +25892,7 @@ function music_Playable_constructor__P1898_mk(s) { -function music_Melody_constructor__P1629(s) { +function music_Melody_constructor__P54641(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25875,18 +25908,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1626_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C54638_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"]} +music_Melody_constructor__P54641.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) { +function music_Melody_constructor__P54641_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P1629, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P54641, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25896,7 +25929,7 @@ function music_Melody_constructor__P1629_mk(s) { -function helpers_getTilemapByName__P3315(s) { +function helpers_getTilemapByName__P56327(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25910,21 +25943,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers__getFactoryInstance__P3313_mk(s); + s.tmp_0 = helpers__getFactoryInstance__P56325_mk(s); s.tmp_0.arg0 = "tilemap"; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 2081; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2082; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -helpers_getTilemapByName__P3315.info = {"start":2768,"length":107,"line":83,"column":4,"endLine":85,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"getTilemapByName","argumentNames":["name"]} +helpers_getTilemapByName__P56327.info = {"start":2768,"length":107,"line":83,"column":4,"endLine":85,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"getTilemapByName","argumentNames":["name"]} -function helpers_getTilemapByName__P3315_mk(s) { +function helpers_getTilemapByName__P56327_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_getTilemapByName__P3315, depth: s.depth + 1, + parent: s, fn: helpers_getTilemapByName__P56327, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25934,7 +25967,7 @@ function helpers_getTilemapByName__P3315_mk(s) { -function helpers__getFactoryInstance__P3313(s) { +function helpers__getFactoryInstance__P56325(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25944,37 +25977,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___17082 = undefined; - s.unnamed1524___U1 = undefined; - s.unnamed1525___U2 = undefined; - s.data___17089 = undefined; + s.factory___70111 = undefined; + s.unnamed264___U1 = undefined; + s.unnamed265___U2 = undefined; + s.data___70118 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.factories___5441); + r0 = pxsim_numops_toBoolDecr(globals.factories___58454); if (!r0) { step = 7; continue; } - s.factory___17082 = (undefined); - s.unnamed1524___U1 = (globals.factories___5441); - s.unnamed1525___U2 = (0); + s.factory___70111 = (undefined); + s.unnamed264___U1 = (globals.factories___58454); + s.unnamed265___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1525___U2; - r0 = pxsim_Array__length(s.unnamed1524___U1); + s.tmp_0 = r0 = s.unnamed265___U2; + r0 = pxsim_Array__length(s.unnamed264___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed1524___U1, s.unnamed1525___U2); - s.factory___17082 = (r0); + r0 = pxsim_Array__getAt(s.unnamed264___U1, s.unnamed265___U2); + s.factory___70111 = (r0); s.tmp_4 = if_kind_1_mk(s); - s.tmp_4.arg0 = s.factory___17082; + s.tmp_4.arg0 = s.factory___70111; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "kind"); } else { s.tmp_4.fn = s.tmp_4.arg0.vtable.iface["kind"]; if (s.tmp_4.fn == null) { s.retval = s.tmp_4.arg0.fields["kind"]; } else if (!s.tmp_4.fn.isGetter) { s.retval = bind(s.tmp_4); } - else { s.callLocIdx = 2079; s.pc = 10; return s.tmp_4; } + else { s.callLocIdx = 2080; s.pc = 10; return s.tmp_4; } } case 10: r0 = s.retval; @@ -25984,33 +26017,33 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } s.tmp_5 = if_factory_2_mk(s); - s.tmp_5.arg0 = s.factory___17082; + s.tmp_5.arg0 = s.factory___70111; s.tmp_5.arg1 = s.arg1; if (!s.tmp_5.arg0.vtable.iface) { setupLambda(s.tmp_5, pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "factory"), 2); - s.callLocIdx = 2080; s.pc = 11; return s.tmp_5; + s.callLocIdx = 2081; s.pc = 11; return s.tmp_5; } else { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["factory"]; - if (s.tmp_5.fn == null) { setupLambda(s.tmp_5, s.tmp_5.arg0.fields["factory"], 2); s.callLocIdx = 2080; s.pc = 11; return s.tmp_5; } - else if (s.tmp_5.fn.isGetter) { s.tmp_5.stage2Call = true; s.callLocIdx = 2080; s.pc = 11; return s.tmp_5;; } - else { s.callLocIdx = 2080; s.pc = 11; return s.tmp_5; } + if (s.tmp_5.fn == null) { setupLambda(s.tmp_5, s.tmp_5.arg0.fields["factory"], 2); s.callLocIdx = 2081; s.pc = 11; return s.tmp_5; } + else if (s.tmp_5.fn.isGetter) { s.tmp_5.stage2Call = true; s.callLocIdx = 2081; s.pc = 11; return s.tmp_5;; } + else { s.callLocIdx = 2081; s.pc = 11; return s.tmp_5; } } case 11: r0 = s.retval; - s.data___17089 = (r0); - r0 = pxsim_numops_toBoolDecr(s.data___17089); + s.data___70118 = (r0); + r0 = pxsim_numops_toBoolDecr(s.data___70118); if (!r0) { step = 2; continue; } - r0 = s.data___17089; + r0 = s.data___70118; { step = 9; continue; } case 2: case 3: case 4: case 5: - r0 = (s.unnamed1525___U2 + 1); - s.unnamed1525___U2 = (r0); + r0 = (s.unnamed265___U2 + 1); + s.unnamed265___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed1524___U1 = (undefined); + s.unnamed264___U1 = (undefined); case 7: case 8: r0 = null; @@ -26018,12 +26051,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers__getFactoryInstance__P3313.info = {"start":2226,"length":348,"line":66,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"_getFactoryInstance","argumentNames":["kind","name"]} +helpers__getFactoryInstance__P56325.info = {"start":2226,"length":348,"line":66,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"_getFactoryInstance","argumentNames":["kind","name"]} -function helpers__getFactoryInstance__P3313_mk(s) { +function helpers__getFactoryInstance__P56325_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers__getFactoryInstance__P3313, depth: s.depth + 1, + parent: s, fn: helpers__getFactoryInstance__P56325, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26031,10 +26064,10 @@ function helpers__getFactoryInstance__P3313_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___17082: undefined, - unnamed1524___U1: undefined, - unnamed1525___U2: undefined, - data___17089: undefined, + factory___70111: undefined, + unnamed264___U1: undefined, + unnamed265___U2: undefined, + data___70118: undefined, arg0: undefined, arg1: undefined, } } @@ -26043,7 +26076,7 @@ function helpers__getFactoryInstance__P3313_mk(s) { -function tilemap__P3301(s) { +function tilemap__P56313(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26062,12 +26095,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tilemap__P3301.info = {"start":99,"length":78,"line":3,"column":0,"endLine":3,"endColumn":78,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"tilemap","argumentNames":["lits","args"]} +tilemap__P56313.info = {"start":99,"length":78,"line":3,"column":0,"endLine":3,"endColumn":78,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"tilemap","argumentNames":["lits","args"]} -function tilemap__P3301_mk(s) { +function tilemap__P56313_mk(s) { checkStack(s.depth); return { - parent: s, fn: tilemap__P3301, depth: s.depth + 1, + parent: s, fn: tilemap__P56313, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26077,7 +26110,7 @@ function tilemap__P3301_mk(s) { -function tiles_setTilemap__P2743(s) { +function tiles_setTilemap__P55755(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26091,7 +26124,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = tiles_setCurrentTilemap__P2744_mk(s); + s.tmp_0 = tiles_setCurrentTilemap__P55756_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1318; s.pc = 1; return s.tmp_0; case 1: @@ -26100,12 +26133,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_setTilemap__P2743.info = {"start":19264,"length":92,"line":600,"column":4,"endLine":602,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTilemap","argumentNames":["tilemap"]} +tiles_setTilemap__P55755.info = {"start":19264,"length":92,"line":600,"column":4,"endLine":602,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTilemap","argumentNames":["tilemap"]} -function tiles_setTilemap__P2743_mk(s) { +function tiles_setTilemap__P55755_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_setTilemap__P2743, depth: s.depth + 1, + parent: s, fn: tiles_setTilemap__P55755, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26115,7 +26148,7 @@ function tiles_setTilemap__P2743_mk(s) { -function tiles_setCurrentTilemap__P2744(s) { +function tiles_setCurrentTilemap__P55756(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26129,7 +26162,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_setTileMapLevel__P2868_mk(s); + s.tmp_0 = scene_setTileMapLevel__P55880_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1319; s.pc = 1; return s.tmp_0; case 1: @@ -26138,12 +26171,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_setCurrentTilemap__P2744.info = {"start":19775,"length":103,"line":614,"column":4,"endLine":616,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setCurrentTilemap","argumentNames":["tilemap"]} +tiles_setCurrentTilemap__P55756.info = {"start":19775,"length":103,"line":614,"column":4,"endLine":616,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setCurrentTilemap","argumentNames":["tilemap"]} -function tiles_setCurrentTilemap__P2744_mk(s) { +function tiles_setCurrentTilemap__P55756_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_setCurrentTilemap__P2744, depth: s.depth + 1, + parent: s, fn: tiles_setCurrentTilemap__P55756, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26153,7 +26186,7 @@ function tiles_setCurrentTilemap__P2744_mk(s) { -function scene_setTileMapLevel__P2868(s) { +function scene_setTileMapLevel__P55880(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26163,17 +26196,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___20394 = undefined; + s.scene___73357 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2979_mk(s); - s.callLocIdx = 1400; s.pc = 3; return s.tmp_0; + s.tmp_0 = game_currentScene__P55991_mk(s); + s.callLocIdx = 1401; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.scene___20394 = (r0); - r0 = s.scene___20394.fields["tileMap"]; + s.scene___73357 = (r0); + r0 = s.scene___73357.fields["tileMap"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -26181,41 +26214,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMap__C2715_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMap__C55727_VT); s.tmp_3 = r0; - s.tmp_4 = tiles_TileMap_constructor__P2717_mk(s); + s.tmp_4 = tiles_TileMap_constructor__P55729_mk(s); s.tmp_4.arg0 = s.tmp_3; s.tmp_4.arg1 = 4; - s.callLocIdx = 1401; s.pc = 4; return s.tmp_4; + s.callLocIdx = 1402; s.pc = 4; return s.tmp_4; case 4: r0 = s.retval; - r0 = (s.scene___20394).fields["tileMap"] = (s.tmp_3); + r0 = (s.scene___73357).fields["tileMap"] = (s.tmp_3); case 1: case 2: - s.tmp_0 = tiles_TileMap_setData__P2728_mk(s); - r0 = s.scene___20394.fields["tileMap"]; + s.tmp_0 = tiles_TileMap_setData__P55740_mk(s); + r0 = s.scene___73357.fields["tileMap"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1402; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1403; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_setTileMapLevel__P2868.info = {"start":3018,"length":219,"line":113,"column":4,"endLine":118,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setTileMapLevel","argumentNames":["map"]} +scene_setTileMapLevel__P55880.info = {"start":3018,"length":219,"line":113,"column":4,"endLine":118,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setTileMapLevel","argumentNames":["map"]} -function scene_setTileMapLevel__P2868_mk(s) { +function scene_setTileMapLevel__P55880_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setTileMapLevel__P2868, depth: s.depth + 1, + parent: s, fn: scene_setTileMapLevel__P55880, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - scene___20394: undefined, + scene___73357: undefined, arg0: undefined, } } @@ -26223,7 +26256,7 @@ function scene_setTileMapLevel__P2868_mk(s) { -function tiles_TileMap_setData__P2728(s) { +function tiles_TileMap_setData__P55740(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26233,22 +26266,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.previous___20411 = undefined; - s.eventHandler___20424 = undefined; - s.unnamed1514___U2 = undefined; - s.unnamed1515___U3 = undefined; - s.eventHandler___20453 = undefined; - s.unnamed1516___U5 = undefined; - s.unnamed1517___U6 = undefined; + s.previous___73374 = undefined; + s.eventHandler___73387 = undefined; + s.unnamed254___U2 = undefined; + s.unnamed255___U3 = undefined; + s.eventHandler___73416 = undefined; + s.unnamed256___U5 = undefined; + s.unnamed257___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; - s.previous___20411 = (r0); + s.previous___73374 = (r0); r0 = s.arg0.fields["handlerState"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -26256,7 +26289,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = (s.previous___20411 !== s.arg1); + r0 = (s.previous___73374 !== s.arg1); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -26265,33 +26298,33 @@ switch (step) { r0 = s.tmp_1; { step = 4; continue; } case 3: - r0 = s.previous___20411; + r0 = s.previous___73374; case 4: // jmp value (already in r0) s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 9; continue; } - s.eventHandler___20424 = (undefined); + s.eventHandler___73387 = (undefined); r0 = s.arg0.fields["handlerState"]; - s.unnamed1514___U2 = (r0); - s.unnamed1515___U3 = (0); + s.unnamed254___U2 = (r0); + s.unnamed255___U3 = (0); case 5: - s.tmp_0 = r0 = s.unnamed1515___U3; - r0 = pxsim_Array__length(s.unnamed1514___U2); + s.tmp_0 = r0 = s.unnamed255___U3; + r0 = pxsim_Array__length(s.unnamed254___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 8; continue; } - r0 = pxsim_Array__getAt(s.unnamed1514___U2, s.unnamed1515___U3); - s.eventHandler___20424 = (r0); - r0 = s.eventHandler___20424.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed254___U2, s.unnamed255___U3); + s.eventHandler___73387 = (r0); + r0 = s.eventHandler___73387.fields["event"]; s.tmp_3 = r0; r0 = (s.tmp_3 === 1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } s.tmp_4 = if_callback_2_mk(s); - s.tmp_4.arg0 = s.eventHandler___20424; - s.tmp_4.arg1 = s.previous___20411; + s.tmp_4.arg0 = s.eventHandler___73387; + s.tmp_4.arg1 = s.previous___73374; if (!s.tmp_4.arg0.vtable.iface) { setupLambda(s.tmp_4, pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "callback"), 2); s.callLocIdx = 1248; s.pc = 23; return s.tmp_4; @@ -26305,11 +26338,11 @@ switch (step) { r0 = s.retval; case 6: case 7: - r0 = (s.unnamed1515___U3 + 1); - s.unnamed1515___U3 = (r0); + r0 = (s.unnamed255___U3 + 1); + s.unnamed255___U3 = (r0); { step = 5; continue; } case 8: - s.unnamed1514___U2 = (undefined); + s.unnamed254___U2 = (undefined); case 9: case 10: r0 = (s.arg0).fields["_map"] = (s.arg1); @@ -26328,7 +26361,7 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 13: - r0 = (s.previous___20411 !== s.arg1); + r0 = (s.previous___73374 !== s.arg1); case 14: // jmp value (already in r0) s.tmp_1 = r0; @@ -26343,26 +26376,26 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 21; continue; } - s.eventHandler___20453 = (undefined); + s.eventHandler___73416 = (undefined); r0 = s.arg0.fields["handlerState"]; - s.unnamed1516___U5 = (r0); - s.unnamed1517___U6 = (0); + s.unnamed256___U5 = (r0); + s.unnamed257___U6 = (0); case 17: - s.tmp_0 = r0 = s.unnamed1517___U6; - r0 = pxsim_Array__length(s.unnamed1516___U5); + s.tmp_0 = r0 = s.unnamed257___U6; + r0 = pxsim_Array__length(s.unnamed256___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed1516___U5, s.unnamed1517___U6); - s.eventHandler___20453 = (r0); - r0 = s.eventHandler___20453.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed256___U5, s.unnamed257___U6); + s.eventHandler___73416 = (r0); + r0 = s.eventHandler___73416.fields["event"]; s.tmp_3 = r0; r0 = (s.tmp_3 === 0); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 18; continue; } s.tmp_4 = if_callback_2_mk(s); - s.tmp_4.arg0 = s.eventHandler___20453; + s.tmp_4.arg0 = s.eventHandler___73416; s.tmp_4.arg1 = s.arg1; if (!s.tmp_4.arg0.vtable.iface) { setupLambda(s.tmp_4, pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "callback"), 2); @@ -26377,36 +26410,36 @@ switch (step) { r0 = s.retval; case 18: case 19: - r0 = (s.unnamed1517___U6 + 1); - s.unnamed1517___U6 = (r0); + r0 = (s.unnamed257___U6 + 1); + s.unnamed257___U6 = (r0); { step = 17; continue; } case 20: - s.unnamed1516___U5 = (undefined); + s.unnamed256___U5 = (undefined); case 21: case 22: r0 = undefined; return leave(s, r0) default: oops() } } } -tiles_TileMap_setData__P2728.info = {"start":10253,"length":807,"line":355,"column":8,"endLine":378,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setData","argumentNames":["this","map"]} +tiles_TileMap_setData__P55740.info = {"start":10253,"length":807,"line":355,"column":8,"endLine":378,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setData","argumentNames":["this","map"]} -function tiles_TileMap_setData__P2728_mk(s) { +function tiles_TileMap_setData__P55740_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_setData__P2728, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_setData__P55740, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - previous___20411: undefined, - eventHandler___20424: undefined, - unnamed1514___U2: undefined, - unnamed1515___U3: undefined, - eventHandler___20453: undefined, - unnamed1516___U5: undefined, - unnamed1517___U6: undefined, + previous___73374: undefined, + eventHandler___73387: undefined, + unnamed254___U2: undefined, + unnamed255___U3: undefined, + eventHandler___73416: undefined, + unnamed256___U5: undefined, + unnamed257___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -26415,7 +26448,7 @@ function tiles_TileMap_setData__P2728_mk(s) { -function tiles_TileMap_constructor__P2717(s) { +function tiles_TileMap_constructor__P55729(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26431,19 +26464,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P2719_mk(s); + s.tmp_0 = tiles_TileMap_scale__P55731_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1234; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P20475); + r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P73438); 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__P2785_mk(s); + s.tmp_3 = scene_createRenderable__P55797_mk(s); s.tmp_3.arg0 = -1; s.tmp_3.arg1 = s.tmp_0; s.tmp_3.arg2 = undefined; @@ -26456,12 +26489,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P2717.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__P55729.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__P2717_mk(s) { +function tiles_TileMap_constructor__P55729_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P2717, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P55729, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26475,7 +26508,7 @@ function tiles_TileMap_constructor__P2717_mk(s) { -function tiles_TileMap_inline__P20475(s) { +function tiles_TileMap_inline__P73438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26490,7 +26523,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P4951_mk(s); + s.tmp_0 = tiles_TileMap_draw__P57964_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; @@ -26501,12 +26534,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_inline__P20475.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__P73438.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__P20475_mk(s) { +function tiles_TileMap_inline__P73438_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_inline__P20475, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_inline__P73438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26517,7 +26550,7 @@ function tiles_TileMap_inline__P20475_mk(s) { -function tiles_TileMap_draw__P4951(s) { +function tiles_TileMap_draw__P57964(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26527,21 +26560,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___20486 = undefined; - s.offsetX___20492 = undefined; - s.offsetY___20497 = undefined; - s.x0___20502 = undefined; - s.xn___20509 = undefined; - s.y0___20526 = undefined; - s.yn___20533 = undefined; - s.x___20550 = undefined; - s.y___20556 = undefined; - s.index___20562 = undefined; - s.tile___20569 = undefined; - s.x___20605 = undefined; - s.xLine___20611 = undefined; - s.y___20637 = undefined; - s.yLine___20643 = undefined; + s.bitmask___73449 = undefined; + s.offsetX___73455 = undefined; + s.offsetY___73460 = undefined; + s.x0___73465 = undefined; + s.xn___73472 = undefined; + s.y0___73489 = undefined; + s.yn___73496 = undefined; + s.x___73513 = undefined; + s.y___73519 = undefined; + s.index___73525 = undefined; + s.tile___73532 = undefined; + s.x___73568 = undefined; + s.xLine___73574 = undefined; + s.y___73600 = undefined; + s.yLine___73606 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -26549,7 +26582,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -26574,16 +26607,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___20486 = (r0); + s.bitmask___73449 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___20486); - s.offsetX___20492 = (r0); + r0 = (s.tmp_0 & s.bitmask___73449); + s.offsetX___73455 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___20486); - s.offsetY___20497 = (r0); - s.tmp_0 = Math_max__P130_mk(s); + r0 = (s.tmp_0 & s.bitmask___73449); + s.offsetY___73460 = (r0); + s.tmp_0 = Math_max__P53142_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -26594,8 +26627,8 @@ switch (step) { s.callLocIdx = 1275; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___20502 = (r0); - s.tmp_0 = Math_min__P131_mk(s); + s.x0___73465 = (r0); + s.tmp_0 = Math_min__P53143_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -26615,8 +26648,8 @@ switch (step) { s.callLocIdx = 1278; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___20509 = (r0); - s.tmp_0 = Math_max__P130_mk(s); + s.xn___73472 = (r0); + s.tmp_0 = Math_max__P53142_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -26627,8 +26660,8 @@ switch (step) { s.callLocIdx = 1280; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___20526 = (r0); - s.tmp_0 = Math_min__P131_mk(s); + s.y0___73489 = (r0); + s.tmp_0 = Math_min__P53143_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -26648,92 +26681,92 @@ switch (step) { s.callLocIdx = 1283; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___20533 = (r0); - s.x___20550 = (s.x0___20502); + s.yn___73496 = (r0); + s.x___73513 = (s.x0___73465); case 3: - r0 = (s.x___20550 <= s.xn___20509); + r0 = (s.x___73513 <= s.xn___73472); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___20556 = (s.y0___20526); + s.y___73519 = (s.y0___73489); case 4: - r0 = (s.y___20556 <= s.yn___20533); + r0 = (s.y___73519 <= s.yn___73496); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P2703_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P55715_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___20550; - s.tmp_1.arg2 = s.y___20556; + s.tmp_1.arg1 = s.x___73513; + s.tmp_1.arg2 = s.y___73519; s.callLocIdx = 1284; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___20562 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P2706_mk(s); + s.index___73525 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P55718_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___20562; + s.tmp_0.arg1 = s.index___73525; s.callLocIdx = 1285; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___20569 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___20569); + s.tile___73532 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___73532); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___20569; - r0 = (s.x___20550 - s.x0___20502); + s.tmp_1 = r0 = s.tile___73532; + r0 = (s.x___73513 - s.x0___73465); 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___20492); + r0 = (s.tmp_3 - s.offsetX___73455); s.tmp_2 = r0; - r0 = (s.y___20556 - s.y0___20526); + r0 = (s.y___73519 - s.y0___73489); 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___20497); + r0 = (s.tmp_7 - s.offsetY___73460); 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___20556 + 1); - s.y___20556 = (r0); + r0 = (s.y___73519 + 1); + s.y___73519 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___20550 + 1); - s.x___20550 = (r0); + r0 = (s.x___73513 + 1); + s.x___73513 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___2947); + r0 = pxsim_numops_toBoolDecr(globals.debug___55959); if (!r0) { step = 21; continue; } - s.x___20605 = (s.x0___20502); + s.x___73568 = (s.x0___73465); case 9: - r0 = (s.x___20605 <= s.xn___20509); + r0 = (s.x___73568 <= s.xn___73472); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___20605 - s.x0___20502); + r0 = (s.x___73568 - s.x0___73465); 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___20492); - s.xLine___20611 = (r0); - r0 = (s.xLine___20611 >= 0); + r0 = (s.tmp_1 - s.offsetX___73455); + s.xLine___73574 = (r0); + r0 = (s.xLine___73574 >= 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___20611; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + s.tmp_1 = r0 = s.xLine___73574; + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -26741,11 +26774,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P1941_mk(s); + s.tmp_4 = helpers_imageDrawLine__P54953_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___20611; + s.tmp_4.arg1 = s.xLine___73574; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___20611; + s.tmp_4.arg3 = s.xLine___73574; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; @@ -26754,33 +26787,33 @@ switch (step) { r0 = s.retval; case 12: case 13: - r0 = (s.x___20605 + 1); - s.x___20605 = (r0); + r0 = (s.x___73568 + 1); + s.x___73568 = (r0); { step = 9; continue; } case 14: - s.y___20637 = (s.y0___20526); + s.y___73600 = (s.y0___73489); case 15: - r0 = (s.y___20637 <= s.yn___20533); + r0 = (s.y___73600 <= s.yn___73496); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___20637 - s.y0___20526); + r0 = (s.y___73600 - s.y0___73489); 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___20497); - s.yLine___20643 = (r0); - r0 = (s.yLine___20643 >= 0); + r0 = (s.tmp_1 - s.offsetY___73460); + s.yLine___73606 = (r0); + r0 = (s.yLine___73606 >= 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___20643; - r0 = pxsim_ImageMethods.height(globals.screen___2013); + s.tmp_1 = r0 = s.yLine___73606; + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -26788,21 +26821,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P1941_mk(s); + s.tmp_4 = helpers_imageDrawLine__P54953_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___20643; + s.tmp_4.arg2 = s.yLine___73606; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___20643; + s.tmp_4.arg4 = s.yLine___73606; s.tmp_4.arg5 = 1; s.callLocIdx = 1291; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___20637 + 1); - s.y___20637 = (r0); + r0 = (s.y___73600 + 1); + s.y___73600 = (r0); { step = 15; continue; } case 20: case 21: @@ -26812,12 +26845,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P4951.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__P57964.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__P4951_mk(s) { +function tiles_TileMap_draw__P57964_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P4951, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P57964, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26829,21 +26862,21 @@ function tiles_TileMap_draw__P4951_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___20486: undefined, - offsetX___20492: undefined, - offsetY___20497: undefined, - x0___20502: undefined, - xn___20509: undefined, - y0___20526: undefined, - yn___20533: undefined, - x___20550: undefined, - y___20556: undefined, - index___20562: undefined, - tile___20569: undefined, - x___20605: undefined, - xLine___20611: undefined, - y___20637: undefined, - yLine___20643: undefined, + bitmask___73449: undefined, + offsetX___73455: undefined, + offsetY___73460: undefined, + x0___73465: undefined, + xn___73472: undefined, + y0___73489: undefined, + yn___73496: undefined, + x___73513: undefined, + y___73519: undefined, + index___73525: undefined, + tile___73532: undefined, + x___73568: undefined, + xLine___73574: undefined, + y___73600: undefined, + yLine___73606: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26853,7 +26886,7 @@ function tiles_TileMap_draw__P4951_mk(s) { -function helpers_imageDrawLine__P1941(s) { +function helpers_imageDrawLine__P54953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26873,14 +26906,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P4659_mk(s); + s.tmp_2 = helpers_pack__P57672_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 200; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P4659_mk(s); + s.tmp_4 = helpers_pack__P57672_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 201; s.pc = 2; return s.tmp_4; @@ -26892,12 +26925,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P1941.info = {"start":5161,"length":159,"line":164,"column":4,"endLine":166,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawLine__P54953.info = {"start":5161,"length":159,"line":164,"column":4,"endLine":166,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawLine__P1941_mk(s) { +function helpers_imageDrawLine__P54953_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P1941, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P54953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26916,7 +26949,7 @@ function helpers_imageDrawLine__P1941_mk(s) { -function scene_createRenderable__P2785(s) { +function scene_createRenderable__P55797(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26926,14 +26959,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___13838 = undefined; + s.renderable___66867 = 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__C2780_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C55792_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -26941,11 +26974,11 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = renderable_inline__P13844; + r0 = renderable_inline__P66873; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P2781_mk(s); + s.tmp_3 = scene_Renderable_constructor__P55793_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; @@ -26953,23 +26986,23 @@ switch (step) { s.callLocIdx = 1361; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___13838 = (s.tmp_0); - r0 = s.renderable___13838; + s.renderable___66867 = (s.tmp_0); + r0 = s.renderable___66867; return leave(s, r0) default: oops() } } } -scene_createRenderable__P2785.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__P55797.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__P2785_mk(s) { +function scene_createRenderable__P55797_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P2785, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P55797, 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___13838: undefined, + renderable___66867: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -26979,7 +27012,7 @@ function scene_createRenderable__P2785_mk(s) { -function renderable_inline__P13844(s) { +function renderable_inline__P66873(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26993,12 +27026,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -renderable_inline__P13844.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +renderable_inline__P66873.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__P13844_mk(s) { +function renderable_inline__P66873_mk(s) { checkStack(s.depth); return { - parent: s, fn: renderable_inline__P13844, depth: s.depth + 1, + parent: s, fn: renderable_inline__P66873, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -27006,7 +27039,7 @@ function renderable_inline__P13844_mk(s) { -function scene_Renderable_constructor__P2781(s) { +function scene_Renderable_constructor__P55793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27024,10 +27057,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C2780_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C55792_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P2077_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P55089_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 1358; s.pc = 1; return s.tmp_0; @@ -27037,12 +27070,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P2781.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__P55793.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__P2781_mk(s) { +function scene_Renderable_constructor__P55793_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P2781, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P55793, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27055,7 +27088,7 @@ function scene_Renderable_constructor__P2781_mk(s) { -function sprites_BaseSprite_constructor__P2077(s) { +function sprites_BaseSprite_constructor__P55089(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27071,15 +27104,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C2075_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P2080_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C55087_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P55092_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 250; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P2850_mk(s); - s.tmp_1 = game_currentScene__P2979_mk(s); + s.tmp_0 = scene_Scene_addSprite__P55862_mk(s); + s.tmp_1 = game_currentScene__P55991_mk(s); s.callLocIdx = 251; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -27092,12 +27125,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P2077.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__P55089.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__P2077_mk(s) { +function sprites_BaseSprite_constructor__P55089_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P2077, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P55089, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27109,7 +27142,7 @@ function sprites_BaseSprite_constructor__P2077_mk(s) { -function scene_Scene_addSprite__P2850(s) { +function scene_Scene_addSprite__P55862(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27125,7 +27158,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2823_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C55835_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -27144,7 +27177,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 = 1386; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 1387; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -27152,12 +27185,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P2850.info = {"start":7161,"length":128,"line":199,"column":8,"endLine":202,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +scene_Scene_addSprite__P55862.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__P2850_mk(s) { +function scene_Scene_addSprite__P55862_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P2850, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P55862, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27171,7 +27204,7 @@ function scene_Scene_addSprite__P2850_mk(s) { -function sprites_BaseSprite_z__P2080(s) { +function sprites_BaseSprite_z__P55092(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27187,7 +27220,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C2075_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C55087_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -27195,7 +27228,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_z"] = (s.arg1); - s.tmp_1 = game_currentScene__P2979_mk(s); + s.tmp_1 = game_currentScene__P55991_mk(s); s.callLocIdx = 253; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -27211,12 +27244,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P2080.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__P55092.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__P2080_mk(s) { +function sprites_BaseSprite_z__P55092_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P2080, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P55092, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27230,7 +27263,7 @@ function sprites_BaseSprite_z__P2080_mk(s) { -function sprites_BaseSprite_z__P2079(s) { +function sprites_BaseSprite_z__P55091(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27245,18 +27278,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C2075_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C55087_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P2079.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__P2079.isGetter = true; +sprites_BaseSprite_z__P55091.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__P55091.isGetter = true; -function sprites_BaseSprite_z__P2079_mk(s) { +function sprites_BaseSprite_z__P55091_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P2079, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P55091, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27265,7 +27298,7 @@ function sprites_BaseSprite_z__P2079_mk(s) { -function tiles_TileMap_scale__P2719(s) { +function tiles_TileMap_scale__P55731(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27281,13 +27314,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C55727_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__P2702_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P55714_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -27300,12 +27333,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P2719.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__P55731.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__P2719_mk(s) { +function tiles_TileMap_scale__P55731_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P2719, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P55731, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27317,7 +27350,7 @@ function tiles_TileMap_scale__P2719_mk(s) { -function tiles_TileMapData_scale__P2702(s) { +function tiles_TileMapData_scale__P55714(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27333,7 +27366,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2697_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C55709_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -27343,12 +27376,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P2702.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__P55714.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__P2702_mk(s) { +function tiles_TileMapData_scale__P55714_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P2702, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P55714, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27360,7 +27393,7 @@ function tiles_TileMapData_scale__P2702_mk(s) { -function halo_inline__P8938(s) { +function halo_inline__P61966(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27370,14 +27403,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore_mkClassInstance(RingFactory__C8939_VT); + r0 = pxsim_pxtcore_mkClassInstance(RingFactory__C61967_VT); s.tmp_0 = r0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_1, 4); r0 = pxsim_Array__push(s.tmp_1, 4); r0 = pxsim_Array__push(s.tmp_1, 5); - s.tmp_2 = particles_RadialFactory_constructor__P3205_mk(s); + s.tmp_2 = particles_RadialFactory_constructor__P56217_mk(s); s.tmp_2.arg0 = s.tmp_0; s.tmp_2.arg1 = 30; s.tmp_2.arg2 = 40; @@ -27390,12 +27423,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -halo_inline__P8938.info = {"start":10315,"length":373,"line":262,"column":47,"endLine":271,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":[]} +halo_inline__P61966.info = {"start":10315,"length":373,"line":262,"column":47,"endLine":271,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":[]} -function halo_inline__P8938_mk(s) { +function halo_inline__P61966_mk(s) { checkStack(s.depth); return { - parent: s, fn: halo_inline__P8938, depth: s.depth + 1, + parent: s, fn: halo_inline__P61966, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27406,7 +27439,7 @@ function halo_inline__P8938_mk(s) { -function particles_RadialFactory_constructor__P3205(s) { +function particles_RadialFactory_constructor__P56217(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27425,10 +27458,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_RadialFactory__C3204_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_RadialFactory__C56216_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P5387_mk(s); - s.callLocIdx = 1963; s.pc = 5; return s.tmp_0; + s.tmp_0 = particles_initTrig__P58400_mk(s); + s.callLocIdx = 1964; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg4; @@ -27456,10 +27489,10 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_0, 5); r0 = (s.arg0).fields["colors"] = (s.tmp_0); case 4: - s.tmp_0 = particles_RadialFactory_setRadius__P3208_mk(s); + s.tmp_0 = particles_RadialFactory_setRadius__P56220_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1964; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1965; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -27472,12 +27505,12 @@ switch (step) { r0 = (s.tmp_0).fields["speed"] = (s.tmp_1); r0 = (s.arg0).fields["spread"] = (s.arg3); r0 = (s.arg0).fields["t"] = (0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C3039_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C56051_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P3041_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P56053_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1966; s.pc = 7; return s.tmp_1; + s.callLocIdx = 1967; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; r0 = (s.arg0).fields["galois"] = (s.tmp_0); @@ -27485,12 +27518,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_RadialFactory_constructor__P3205.info = {"start":9999,"length":469,"line":325,"column":8,"endLine":339,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","radius","speed","spread","colors"]} +particles_RadialFactory_constructor__P56217.info = {"start":9999,"length":469,"line":325,"column":8,"endLine":339,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","radius","speed","spread","colors"]} -function particles_RadialFactory_constructor__P3205_mk(s) { +function particles_RadialFactory_constructor__P56217_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_RadialFactory_constructor__P3205, depth: s.depth + 1, + parent: s, fn: particles_RadialFactory_constructor__P56217, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27507,7 +27540,7 @@ function particles_RadialFactory_constructor__P3205_mk(s) { -function particles_initTrig__P5387(s) { +function particles_initTrig__P58400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27517,36 +27550,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___5373); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___58386); 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__P3165_mk(s); + s.tmp_2 = particles_cacheSin__P56177_mk(s); s.tmp_2.arg0 = 100; - s.callLocIdx = 1894; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1895; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___5373 = (r0); - s.tmp_0 = particles_cacheCos__P3166_mk(s); + globals.cachedSin___58386 = (r0); + s.tmp_0 = particles_cacheCos__P56178_mk(s); s.tmp_0.arg0 = 100; - s.callLocIdx = 1895; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1896; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___5374 = (r0); + globals.cachedCos___58387 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P5387.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P58400.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__P5387_mk(s) { +function particles_initTrig__P58400_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P5387, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P58400, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27557,7 +27590,7 @@ function particles_initTrig__P5387_mk(s) { -function particles_cacheCos__P3166(s) { +function particles_cacheCos__P56178(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27567,25 +27600,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___9002 = undefined; - s.anglePerSlice___9004 = undefined; - s.i___9010 = undefined; + s.cos___62030 = undefined; + s.anglePerSlice___62032 = undefined; + s.i___62038 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___9002 = (r0); + s.cos___62030 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___9004 = (r0); - s.i___9010 = (0); + s.anglePerSlice___62032 = (r0); + s.i___62038 = (0); case 1: - r0 = (s.i___9010 < s.arg0); + r0 = (s.i___62038 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___9002; - r0 = (s.i___9010 * s.anglePerSlice___9004); + s.tmp_1 = r0 = s.cos___62030; + r0 = (s.i___62038 * s.anglePerSlice___62032); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -27594,20 +27627,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___9010 + 1); - s.i___9010 = (r0); + r0 = (s.i___62038 + 1); + s.i___62038 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___9002; + r0 = s.cos___62030; return leave(s, r0) default: oops() } } } -particles_cacheCos__P3166.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__P56178.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__P3166_mk(s) { +function particles_cacheCos__P56178_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P3166, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P56178, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27615,9 +27648,9 @@ function particles_cacheCos__P3166_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___9002: undefined, - anglePerSlice___9004: undefined, - i___9010: undefined, + cos___62030: undefined, + anglePerSlice___62032: undefined, + i___62038: undefined, arg0: undefined, } } @@ -27625,7 +27658,7 @@ function particles_cacheCos__P3166_mk(s) { -function particles_cacheSin__P3165(s) { +function particles_cacheSin__P56177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27635,25 +27668,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___9028 = undefined; - s.anglePerSlice___9030 = undefined; - s.i___9036 = undefined; + s.sin___62056 = undefined; + s.anglePerSlice___62058 = undefined; + s.i___62064 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___9028 = (r0); + s.sin___62056 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___9030 = (r0); - s.i___9036 = (0); + s.anglePerSlice___62058 = (r0); + s.i___62064 = (0); case 1: - r0 = (s.i___9036 < s.arg0); + r0 = (s.i___62064 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___9028; - r0 = (s.i___9036 * s.anglePerSlice___9030); + s.tmp_1 = r0 = s.sin___62056; + r0 = (s.i___62064 * s.anglePerSlice___62058); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -27662,20 +27695,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___9036 + 1); - s.i___9036 = (r0); + r0 = (s.i___62064 + 1); + s.i___62064 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___9028; + r0 = s.sin___62056; return leave(s, r0) default: oops() } } } -particles_cacheSin__P3165.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__P56177.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__P3165_mk(s) { +function particles_cacheSin__P56177_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P3165, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P56177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27683,9 +27716,9 @@ function particles_cacheSin__P3165_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___9028: undefined, - anglePerSlice___9030: undefined, - i___9036: undefined, + sin___62056: undefined, + anglePerSlice___62058: undefined, + i___62064: undefined, arg0: undefined, } } @@ -27693,7 +27726,7 @@ function particles_cacheSin__P3165_mk(s) { -function particles_RadialFactory_setRadius__P3208(s) { +function particles_RadialFactory_setRadius__P56220(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27709,7 +27742,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_RadialFactory__C3204_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_RadialFactory__C56216_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 >> 1); s.tmp_2 = r0; @@ -27722,12 +27755,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_RadialFactory_setRadius__P3208.info = {"start":11352,"length":66,"line":365,"column":8,"endLine":367,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"setRadius","argumentNames":["this","r"]} +particles_RadialFactory_setRadius__P56220.info = {"start":11352,"length":66,"line":365,"column":8,"endLine":367,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"setRadius","argumentNames":["this","r"]} -function particles_RadialFactory_setRadius__P3208_mk(s) { +function particles_RadialFactory_setRadius__P56220_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_RadialFactory_setRadius__P3208, depth: s.depth + 1, + parent: s, fn: particles_RadialFactory_setRadius__P56220, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27741,7 +27774,7 @@ function particles_RadialFactory_setRadius__P3208_mk(s) { -function particles_ParticleFactory_constructor__P3168(s) { +function particles_ParticleFactory_constructor__P56180(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27756,17 +27789,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C3167_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C56179_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P3168.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__P56180.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__P3168_mk(s) { +function particles_ParticleFactory_constructor__P56180_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P3168, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P56180, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27775,7 +27808,7 @@ function particles_ParticleFactory_constructor__P3168_mk(s) { -function effects_createEffect__P5413(s) { +function effects_createEffect__P58426(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27791,29 +27824,29 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(effects_ParticleEffect__C3242_VT); + r0 = pxsim_pxtcore_mkClassInstance(effects_ParticleEffect__C56254_VT); s.tmp_0 = r0; - r0 = pxsim_pxtcore_mkAction(1, effects_createEffect_inline__P9061); + r0 = pxsim_pxtcore_mkAction(1, effects_createEffect_inline__P62089); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg2); - s.tmp_2 = effects_ParticleEffect_constructor__P3243_mk(s); + s.tmp_2 = effects_ParticleEffect_constructor__P56255_mk(s); s.tmp_2.arg0 = s.tmp_0; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = s.arg1; s.tmp_2.arg3 = s.tmp_1; - s.callLocIdx = 2028; s.pc = 1; return s.tmp_2; + s.callLocIdx = 2029; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -effects_createEffect__P5413.info = {"start":5459,"length":434,"line":146,"column":4,"endLine":151,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"createEffect","argumentNames":["defaultParticlesPerSecond","defaultLifespan","factoryFactory"]} +effects_createEffect__P58426.info = {"start":5459,"length":434,"line":146,"column":4,"endLine":151,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"createEffect","argumentNames":["defaultParticlesPerSecond","defaultLifespan","factoryFactory"]} -function effects_createEffect__P5413_mk(s) { +function effects_createEffect__P58426_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_createEffect__P5413, depth: s.depth + 1, + parent: s, fn: effects_createEffect__P58426, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27827,7 +27860,7 @@ function effects_createEffect__P5413_mk(s) { -function effects_createEffect_inline__P9061(s) { +function effects_createEffect_inline__P62089(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27842,9 +27875,9 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C3131_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C56143_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P3136_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P56148_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; @@ -27852,23 +27885,23 @@ switch (step) { s.tmp_2.argL = s.caps[0]; s.tmp_2.arg0 = undefined; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 2026; s.pc = 2; return s.tmp_2; + s.callLocIdx = 2027; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1.arg3 = r0; - s.callLocIdx = 2027; s.pc = 1; return s.tmp_1; + s.callLocIdx = 2028; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -effects_createEffect_inline__P9061.info = {"start":5751,"length":134,"line":149,"column":20,"endLine":150,"endColumn":83,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","pps"]} +effects_createEffect_inline__P62089.info = {"start":5751,"length":134,"line":149,"column":20,"endLine":150,"endColumn":83,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","pps"]} -function effects_createEffect_inline__P9061_mk(s) { +function effects_createEffect_inline__P62089_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_createEffect_inline__P9061, depth: s.depth + 1, + parent: s, fn: effects_createEffect_inline__P62089, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27881,7 +27914,7 @@ function effects_createEffect_inline__P9061_mk(s) { -function effects_ParticleEffect_constructor__P3243(s) { +function effects_ParticleEffect_constructor__P56255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27899,7 +27932,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C3242_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C56254_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -27907,12 +27940,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P3243.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__P56255.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__P3243_mk(s) { +function effects_ParticleEffect_constructor__P56255_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P3243, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P56255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -27924,7 +27957,7 @@ function effects_ParticleEffect_constructor__P3243_mk(s) { -function particles_ParticleSource_constructor__P3136(s) { +function particles_ParticleSource_constructor__P56148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27934,8 +27967,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___9077 = undefined; - s.removedSource___9086 = undefined; + s.sources___62105 = undefined; + s.removedSource___62114 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -27944,65 +27977,65 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3131_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P2077_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P55089_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1825; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1826; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = particles_init__P5366_mk(s); - s.callLocIdx = 1826; s.pc = 6; return s.tmp_0; + s.tmp_0 = particles_init__P58379_mk(s); + s.callLocIdx = 1827; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P5372_mk(s); - s.callLocIdx = 1827; s.pc = 7; return s.tmp_0; + s.tmp_0 = particles_particleSources__P58385_mk(s); + s.callLocIdx = 1828; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___9077 = (r0); - r0 = pxsim_Array__length(s.sources___9077); + s.sources___62105 = (r0); + r0 = pxsim_Array__length(s.sources___62105); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___5358); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___58371); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P5369_mk(s); - s.tmp_2.arg0 = s.sources___9077; - s.callLocIdx = 1828; s.pc = 8; return s.tmp_2; + s.tmp_2 = particles_sortSources__P58382_mk(s); + s.tmp_2.arg0 = s.sources___62105; + s.callLocIdx = 1829; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___9077, 0); - s.removedSource___9086 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P3146_mk(s); - s.tmp_0.arg0 = s.removedSource___9086; - s.callLocIdx = 1830; s.pc = 9; return s.tmp_0; + r0 = pxsim_Array_.removeAt(s.sources___62105, 0); + s.removedSource___62114 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P56158_mk(s); + s.tmp_0.arg0 = s.removedSource___62114; + s.callLocIdx = 1831; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P3145_mk(s); - s.tmp_0.arg0 = s.removedSource___9086; - s.callLocIdx = 1831; s.pc = 10; return s.tmp_0; + s.tmp_0 = particles_ParticleSource_destroy__P56157_mk(s); + s.tmp_0.arg0 = s.removedSource___62114; + s.callLocIdx = 1832; 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__P3148_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P56160_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 1832; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1833; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P3140_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P56152_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - s.callLocIdx = 1833; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1834; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P3147_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P56159_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1834; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1835; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = (s.arg0).fields["lifespan"] = (undefined); @@ -28014,39 +28047,39 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = globals.defaultFactory___3151; + r0 = globals.defaultFactory___56163; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P3150_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P56162_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 1835; s.pc = 14; return s.tmp_2; + s.callLocIdx = 1836; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___9077, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P3144_mk(s); + r0 = pxsim_Array__push(s.sources___62105, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P56156_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; - s.callLocIdx = 1836; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1837; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P3136.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__P56148.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__P3136_mk(s) { +function particles_ParticleSource_constructor__P56148_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P3136, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P56148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___9077: undefined, - removedSource___9086: undefined, + sources___62105: undefined, + removedSource___62114: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28057,7 +28090,7 @@ function particles_ParticleSource_constructor__P3136_mk(s) { -function particles_sortSources__P5369(s) { +function particles_sortSources__P58382(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28071,22 +28104,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P105_mk(s); + s.tmp_0 = helpers_arraySort__P53117_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = particles_sortSources_inline__P9336; - s.callLocIdx = 1874; s.pc = 1; return s.tmp_0; + s.tmp_0.arg1 = particles_sortSources_inline__P62364; + s.callLocIdx = 1875; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_sortSources__P5369.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__P58382.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__P5369_mk(s) { +function particles_sortSources__P58382_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P5369, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P58382, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28096,7 +28129,7 @@ function particles_sortSources__P5369_mk(s) { -function particles_sortSources_inline__P9336(s) { +function particles_sortSources_inline__P62364(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28134,12 +28167,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources_inline__P9336.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__P62364.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__P9336_mk(s) { +function particles_sortSources_inline__P62364_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources_inline__P9336, depth: s.depth + 1, + parent: s, fn: particles_sortSources_inline__P62364, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28155,7 +28188,7 @@ function particles_sortSources_inline__P9336_mk(s) { -function particles_init__P5366(s) { +function particles_init__P58379(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28165,34 +28198,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___9496 = undefined; - s.tmp_0 = game_currentScene__P2979_mk(s); - s.callLocIdx = 1864; s.pc = 4; return s.tmp_0; + s.scene___62524 = undefined; + s.tmp_0 = game_currentScene__P55991_mk(s); + s.callLocIdx = 1865; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___9496 = (r0); - r0 = s.scene___9496.fields["particleSources"]; + s.scene___62524 = (r0); + r0 = s.scene___62524.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___9496; + s.tmp_1 = r0 = s.scene___62524; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___5361 = (r0); - s.tmp_0 = game_onUpdate__P3003_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P5367; - s.callLocIdx = 1865; s.pc = 5; return s.tmp_0; + globals.lastUpdate___58374 = (r0); + s.tmp_0 = game_onUpdate__P56015_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P58380; + s.callLocIdx = 1866; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P3004_mk(s); + s.tmp_0 = game_onUpdateInterval__P56016_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P5368; - s.callLocIdx = 1866; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = particles_pruneParticles__P58381; + s.callLocIdx = 1867; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -28200,24 +28233,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P5366.info = {"start":9236,"length":276,"line":304,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P58379.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__P5366_mk(s) { +function particles_init__P58379_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P5366, depth: s.depth + 1, + parent: s, fn: particles_init__P58379, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___9496: undefined, + scene___62524: undefined, } } -function particles_updateParticles__P5367(s) { +function particles_updateParticles__P58380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28227,16 +28260,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___9623 = undefined; - s.time___9630 = undefined; - s.dt___9633 = undefined; - s.i___9639 = undefined; - s.tmp_0 = particles_particleSources__P5372_mk(s); - s.callLocIdx = 1867; s.pc = 6; return s.tmp_0; + s.sources___62651 = undefined; + s.time___62658 = undefined; + s.dt___62661 = undefined; + s.i___62667 = undefined; + s.tmp_0 = particles_particleSources__P58385_mk(s); + s.callLocIdx = 1868; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___9623 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___9623); + s.sources___62651 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___62651); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -28245,34 +28278,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P5369_mk(s); - s.tmp_2.arg0 = s.sources___9623; - s.callLocIdx = 1868; s.pc = 7; return s.tmp_2; + s.tmp_2 = particles_sortSources__P58382_mk(s); + s.tmp_2.arg0 = s.sources___62651; + s.callLocIdx = 1869; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___9630 = (r0); - r0 = (s.time___9630 - globals.lastUpdate___5361); - s.dt___9633 = (r0); - globals.lastUpdate___5361 = (s.time___9630); - s.i___9639 = (0); + s.time___62658 = (r0); + r0 = (s.time___62658 - globals.lastUpdate___58374); + s.dt___62661 = (r0); + globals.lastUpdate___58374 = (s.time___62658); + s.i___62667 = (0); case 3: - s.tmp_1 = r0 = s.i___9639; - r0 = pxsim_Array__length(s.sources___9623); + s.tmp_1 = r0 = s.i___62667; + r0 = pxsim_Array__length(s.sources___62651); 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__P3138_mk(s); - r0 = pxsim_Array__getAt(s.sources___9623, s.i___9639); + s.tmp_3 = particles_ParticleSource__update__P56150_mk(s); + r0 = pxsim_Array__getAt(s.sources___62651, s.i___62667); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___9633; - s.callLocIdx = 1869; s.pc = 8; return s.tmp_3; + s.tmp_3.arg1 = s.dt___62661; + s.callLocIdx = 1870; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___9639 + 1); - s.i___9639 = (r0); + r0 = (s.i___62667 + 1); + s.i___62667 = (r0); { step = 3; continue; } case 4: case 5: @@ -28280,28 +28313,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P5367.info = {"start":9518,"length":340,"line":313,"column":4,"endLine":325,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P58380.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__P5367_mk(s) { +function particles_updateParticles__P58380_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P5367, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P58380, 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___9623: undefined, - time___9630: undefined, - dt___9633: undefined, - i___9639: undefined, + sources___62651: undefined, + time___62658: undefined, + dt___62661: undefined, + i___62667: undefined, } } -function particles_ParticleSource__update__P3138(s) { +function particles_ParticleSource__update__P56150(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28311,16 +28344,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___9702 = undefined; - s.current___9721 = undefined; - s.fixedDt___9729 = undefined; + s.p___62730 = undefined; + s.current___62749 = undefined; + s.fixedDt___62757 = 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__C3131_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -28346,9 +28379,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__P3145_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P56157_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1840; s.pc = 28; return s.tmp_0; + s.callLocIdx = 1841; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; case 1: @@ -28371,7 +28404,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 = 1841; s.pc = 29; return s.tmp_2; } + else { s.callLocIdx = 1842; s.pc = 29; return s.tmp_2; } } case 29: r0 = s.retval; @@ -28394,7 +28427,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 = 1842; s.pc = 30; return s.tmp_5; } + else { s.callLocIdx = 1843; s.pc = 30; return s.tmp_5; } } case 30: r0 = s.retval; @@ -28419,9 +28452,9 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P3143_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P56155_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1843; s.pc = 31; return s.tmp_2; + s.callLocIdx = 1844; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; case 13: @@ -28437,18 +28470,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__C3167_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C56179_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__C3167_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C56179_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___9702 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___9702); + s.p___62730 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___62730); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -28459,8 +28492,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___9702).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___9702); + r0 = (s.p___62730).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___62730); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -28475,7 +28508,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___9721 = (r0); + s.current___62749 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -28487,36 +28520,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___9729 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___9729); + s.fixedDt___62757 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___62757); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___9721.fields["lifespan"]; + r0 = s.current___62749.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___9721; + s.tmp_2 = r0 = s.current___62749; 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__C3131_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C56143_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___9721; - s.tmp_0.arg2 = s.fixedDt___9729; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C3131_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___62749; + s.tmp_0.arg2 = s.fixedDt___62757; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C56143_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___9721.fields["next"]; + r0 = s.current___62749.fields["next"]; s.tmp_0 = r0; - s.current___9721 = (r0); + s.current___62749 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -28525,15 +28558,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___9721; + s.tmp_0 = r0 = s.current___62749; 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___9721.fields["next"]; + r0 = s.current___62749.fields["next"]; s.tmp_0 = r0; - s.current___9721 = (r0); + s.current___62749 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -28544,12 +28577,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P3138.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__P56150.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__P3138_mk(s) { +function particles_ParticleSource__update__P56150_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P3138, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P56150, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28559,9 +28592,9 @@ function particles_ParticleSource__update__P3138_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___9702: undefined, - current___9721: undefined, - fixedDt___9729: undefined, + p___62730: undefined, + current___62749: undefined, + fixedDt___62757: undefined, arg0: undefined, arg1: undefined, } } @@ -28570,7 +28603,7 @@ function particles_ParticleSource__update__P3138_mk(s) { -function particles_ParticleSource_updateParticle__P5363(s) { +function particles_ParticleSource_updateParticle__P58376(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28587,7 +28620,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3131_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -28642,12 +28675,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P5363.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__P58376.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__P5363_mk(s) { +function particles_ParticleSource_updateParticle__P58376_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P5363, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P58376, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28664,7 +28697,7 @@ function particles_ParticleSource_updateParticle__P5363_mk(s) { -function Fx_rightShift__P171(s) { +function Fx_rightShift__P53183(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28683,12 +28716,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__P53183.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__P53183_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P171, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P53183, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -28698,7 +28731,7 @@ function Fx_rightShift__P171_mk(s) { -function particles_ParticleFactory_createParticle__P3169(s) { +function particles_ParticleFactory_createParticle__P56181(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28708,17 +28741,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___9826 = undefined; + s.p___62854 = 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__C3167_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C3112_VT); - s.p___9826 = (r0); - s.tmp_0 = r0 = s.p___9826; + if (!checkSubtype(r0, particles_ParticleFactory__C56179_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C56124_VT); + s.p___62854 = (r0); + s.tmp_0 = r0 = s.p___62854; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -28727,7 +28760,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 = 1899; s.pc = 1; return s.tmp_3; } + else { s.callLocIdx = 1900; s.pc = 1; return s.tmp_3; } } case 1: r0 = s.retval; @@ -28737,7 +28770,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___9826; + s.tmp_0 = r0 = s.p___62854; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -28746,7 +28779,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 = 1901; s.pc = 2; return s.tmp_3; } + else { s.callLocIdx = 1902; s.pc = 2; return s.tmp_3; } } case 2: r0 = s.retval; @@ -28756,26 +28789,26 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___9826).fields["vx"] = (0); - r0 = (s.p___9826).fields["vy"] = (0); - r0 = (s.p___9826).fields["lifespan"] = (500); - r0 = s.p___9826; + r0 = (s.p___62854).fields["vx"] = (0); + r0 = (s.p___62854).fields["vy"] = (0); + r0 = (s.p___62854).fields["lifespan"] = (500); + r0 = s.p___62854; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P3169.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__P56181.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__P3169_mk(s) { +function particles_ParticleFactory_createParticle__P56181_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P3169, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P56181, 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___9826: undefined, + p___62854: undefined, arg0: undefined, arg1: undefined, } } @@ -28784,7 +28817,7 @@ function particles_ParticleFactory_createParticle__P3169_mk(s) { -function game_onUpdateInterval__P3004(s) { +function game_onUpdateInterval__P56016(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28794,7 +28827,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___9602 = undefined; + s.timer___62630 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28819,22 +28852,22 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___9602 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___9602, 0); - r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P9606); + s.timer___62630 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___62630, 0); + r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P62634); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___9602); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___62630); 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__P2982_mk(s); - s.callLocIdx = 1649; s.pc = 7; return s.tmp_2; + s.tmp_1 = control_EventContext_registerFrameHandler__P53415_mk(s); + s.tmp_2 = game_eventContext__P55994_mk(s); + s.callLocIdx = 1650; 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 = 1653; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1654; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; case 5: @@ -28842,17 +28875,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P3004.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__P56016.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__P3004_mk(s) { +function game_onUpdateInterval__P56016_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P3004, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P56016, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___9602: undefined, + timer___62630: undefined, arg0: undefined, arg1: undefined, } } @@ -28861,7 +28894,7 @@ function game_onUpdateInterval__P3004_mk(s) { -function game_onUpdateInterval_inline__P9606(s) { +function game_onUpdateInterval_inline__P62634(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28871,28 +28904,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___9607 = undefined; - s.tmp_1 = game_currentScene__P2979_mk(s); - s.callLocIdx = 1650; s.pc = 3; return s.tmp_1; + s.time___62635 = undefined; + s.tmp_1 = game_currentScene__P55991_mk(s); + s.callLocIdx = 1651; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___9607 = (r0); + s.time___62635 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___9607); + r0 = (s.tmp_1 <= s.time___62635); 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___9607 + s.caps[1]); + r0 = (s.time___62635 + 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 = 1652; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1653; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 1: @@ -28901,25 +28934,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval_inline__P9606.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__P62634.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__P9606_mk(s) { +function game_onUpdateInterval_inline__P62634_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval_inline__P9606, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval_inline__P62634, 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___9607: undefined, + time___62635: undefined, } } -function scene_Scene_millis__P2849(s) { +function scene_Scene_millis__P55861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28934,17 +28967,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2823_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C55835_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P2849.info = {"start":7090,"length":61,"line":195,"column":8,"endLine":197,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} +scene_Scene_millis__P55861.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__P2849_mk(s) { +function scene_Scene_millis__P55861_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P2849, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P55861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -28953,7 +28986,7 @@ function scene_Scene_millis__P2849_mk(s) { -function MAX_SOURCES_inline__P9467(s) { +function MAX_SOURCES_inline__P62495(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28963,13 +28996,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___9468 = undefined; - s.tmp_0 = control_ramSize__P346_mk(s); + s.sz___62496 = undefined; + s.tmp_0 = control_ramSize__P53358_mk(s); s.callLocIdx = 45; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___9468 = (r0); - r0 = (s.sz___9468 <= 102400); + s.sz___62496 = (r0); + r0 = (s.sz___62496 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -28977,7 +29010,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___9468 <= 204800); + r0 = (s.sz___62496 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -28994,23 +29027,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -MAX_SOURCES_inline__P9467.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__P62495.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__P9467_mk(s) { +function MAX_SOURCES_inline__P62495_mk(s) { checkStack(s.depth); return { - parent: s, fn: MAX_SOURCES_inline__P9467, depth: s.depth + 1, + parent: s, fn: MAX_SOURCES_inline__P62495, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___9468: undefined, + sz___62496: undefined, } } -function control_ramSize__P346(s) { +function control_ramSize__P53358(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29035,12 +29068,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__P53358.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__P53358_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P346, depth: s.depth + 1, + parent: s, fn: control_ramSize__P53358, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29050,7 +29083,7 @@ function control_ramSize__P346_mk(s) { -function control__ramSize__P4506(s) { +function control__ramSize__P57519(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29064,12 +29097,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P4506.info = {"start":4727,"length":60,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P57519.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__P4506_mk(s) { +function control__ramSize__P57519_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P4506, depth: s.depth + 1, + parent: s, fn: control__ramSize__P57519, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -29077,7 +29110,7 @@ function control__ramSize__P4506_mk(s) { -function particles_SprayFactory_constructor__P3172(s) { +function particles_SprayFactory_constructor__P56184(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29095,35 +29128,35 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C3171_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C56183_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P5387_mk(s); - s.callLocIdx = 1906; s.pc = 1; return s.tmp_0; + s.tmp_0 = particles_initTrig__P58400_mk(s); + s.callLocIdx = 1907; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P3175_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P56187_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1907; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1908; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P3176_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P56188_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; - s.callLocIdx = 1908; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1909; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P3172.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__P56184.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__P3172_mk(s) { +function particles_SprayFactory_constructor__P56184_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P3172, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P56184, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29136,7 +29169,7 @@ function particles_SprayFactory_constructor__P3172_mk(s) { -function particles_SprayFactory_setDirection__P3176(s) { +function particles_SprayFactory_setDirection__P56188(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29153,31 +29186,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C3171_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C56183_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P5392_mk(s); + s.tmp_4 = particles_toRadians__P58405_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 = 1916; s.pc = 1; return s.tmp_4; + s.callLocIdx = 1917; s.pc = 1; return s.tmp_4; case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___5386); + r0 = (s.tmp_3 / globals.angleSlice___58399); 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__P5392_mk(s); + s.tmp_4 = particles_toRadians__P58405_mk(s); s.tmp_4.arg0 = s.arg2; - s.callLocIdx = 1917; s.pc = 2; return s.tmp_4; + s.callLocIdx = 1918; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___5386); + r0 = (s.tmp_3 / globals.angleSlice___58399); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -29186,12 +29219,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P3176.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__P56188.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__P3176_mk(s) { +function particles_SprayFactory_setDirection__P56188_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P3176, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P56188, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29209,7 +29242,7 @@ function particles_SprayFactory_setDirection__P3176_mk(s) { -function particles_toRadians__P5392(s) { +function particles_toRadians__P58405(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29227,9 +29260,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__P53140_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1898; s.pc = 3; return s.tmp_3; + s.callLocIdx = 1899; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; @@ -29246,12 +29279,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P5392.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__P58405.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__P5392_mk(s) { +function particles_toRadians__P58405_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P5392, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P58405, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29264,7 +29297,7 @@ function particles_toRadians__P5392_mk(s) { -function Math_abs__P128(s) { +function Math_abs__P53140(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29293,12 +29326,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P128.info = {"start":16120,"length":77,"line":539,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} +Math_abs__P53140.info = {"start":16120,"length":77,"line":539,"column":4,"endLine":541,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"abs","argumentNames":["x"]} -function Math_abs__P128_mk(s) { +function Math_abs__P53140_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P128, depth: s.depth + 1, + parent: s, fn: Math_abs__P53140, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29309,7 +29342,7 @@ function Math_abs__P128_mk(s) { -function particles_SprayFactory_setSpeed__P3175(s) { +function particles_SprayFactory_setSpeed__P56187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29325,7 +29358,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C3171_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C56183_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -29336,12 +29369,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P3175.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__P56187.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__P3175_mk(s) { +function particles_SprayFactory_setSpeed__P56187_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P3175, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P56187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29354,7 +29387,7 @@ function particles_SprayFactory_setSpeed__P3175_mk(s) { -function particles_ParticleSource_setFactory__P3150(s) { +function particles_ParticleSource_setFactory__P56162(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29370,7 +29403,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3131_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -29380,12 +29413,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P3150.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__P56162.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__P3150_mk(s) { +function particles_ParticleSource_setFactory__P56162_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P3150, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P56162, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -29395,7 +29428,7 @@ function particles_ParticleSource_setFactory__P3150_mk(s) { -function particles_ParticleSource_setRate__P3148(s) { +function particles_ParticleSource_setRate__P56160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29411,7 +29444,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3131_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -29423,12 +29456,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P3148.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__P56160.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__P3148_mk(s) { +function particles_ParticleSource_setRate__P56160_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P3148, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P56160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29441,7 +29474,7 @@ function particles_ParticleSource_setRate__P3148_mk(s) { -function particles_ParticleSource_setAnchor__P3147(s) { +function particles_ParticleSource_setAnchor__P56159(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29457,18 +29490,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3131_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P3147.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__P56159.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__P3147_mk(s) { +function particles_ParticleSource_setAnchor__P56159_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P3147, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P56159, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -29478,7 +29511,7 @@ function particles_ParticleSource_setAnchor__P3147_mk(s) { -function particles_ParticleSource_destroy__P3145(s) { +function particles_ParticleSource_destroy__P56157(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29493,11 +29526,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3131_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P3144_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P56156_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; - s.callLocIdx = 1850; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1851; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; @@ -29506,21 +29539,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__P3139_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P56151_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1851; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1852; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P3145.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__P56157.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__P3145_mk(s) { +function particles_ParticleSource_destroy__P56157_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P3145, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P56157, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29532,7 +29565,7 @@ function particles_ParticleSource_destroy__P3145_mk(s) { -function particles_ParticleSource_setAcceleration__P3140(s) { +function particles_ParticleSource_setAcceleration__P56152(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29549,7 +29582,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3131_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -29566,12 +29599,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P3140.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__P56152.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__P3140_mk(s) { +function particles_ParticleSource_setAcceleration__P56152_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P3140, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P56152, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29585,7 +29618,7 @@ function particles_ParticleSource_setAcceleration__P3140_mk(s) { -function helpers_arrayShift__P102(s) { +function helpers_arrayShift__P53114(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29603,12 +29636,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__P53114.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__P53114_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P102, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P53114, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -29617,7 +29650,7 @@ function helpers_arrayShift__P102_mk(s) { -function sprites_change_flame_strength_by__P4413(s) { +function sprites_change_flame_strength_by__P57426(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29632,22 +29665,22 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = forestFire_changeFireHealth__P4425_mk(s); + s.tmp_0 = forestFire_changeFireHealth__P57438_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 2348; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2349; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_change_flame_strength_by__P4413.info = {"start":1652,"length":149,"line":66,"column":4,"endLine":68,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"change_flame_strength_by","argumentNames":["location","changeBy"]} +sprites_change_flame_strength_by__P57426.info = {"start":1652,"length":149,"line":66,"column":4,"endLine":68,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"change_flame_strength_by","argumentNames":["location","changeBy"]} -function sprites_change_flame_strength_by__P4413_mk(s) { +function sprites_change_flame_strength_by__P57426_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_change_flame_strength_by__P4413, depth: s.depth + 1, + parent: s, fn: sprites_change_flame_strength_by__P57426, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29658,7 +29691,7 @@ function sprites_change_flame_strength_by__P4413_mk(s) { -function forestFire_changeFireHealth__P4425(s) { +function forestFire_changeFireHealth__P57438(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29673,23 +29706,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = forestFire_FireState_changeFireHealth__P7158_mk(s); - s.tmp_0.arg0 = globals.state___7161; + s.tmp_0 = forestFire_FireState_changeFireHealth__P60171_mk(s); + s.tmp_0.arg0 = globals.state___60174; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 2418; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2419; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -forestFire_changeFireHealth__P4425.info = {"start":11362,"length":136,"line":305,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"changeFireHealth","argumentNames":["location","changeBy"]} +forestFire_changeFireHealth__P57438.info = {"start":11362,"length":136,"line":305,"column":4,"endLine":307,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"changeFireHealth","argumentNames":["location","changeBy"]} -function forestFire_changeFireHealth__P4425_mk(s) { +function forestFire_changeFireHealth__P57438_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_changeFireHealth__P4425, depth: s.depth + 1, + parent: s, fn: forestFire_changeFireHealth__P57438, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -29700,7 +29733,7 @@ function forestFire_changeFireHealth__P4425_mk(s) { -function forestFire_FireState_changeFireHealth__P7158(s) { +function forestFire_FireState_changeFireHealth__P60171(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29710,7 +29743,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currentHealth___9916 = undefined; + s.currentHealth___62944 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29718,43 +29751,43 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, forestFire_FireState__C7146_VT)) failedCast(r0); + if (!checkSubtype(r0, forestFire_FireState__C60159_VT)) failedCast(r0); r0 = s.arg0.fields["healthBuffer"]; s.tmp_0 = r0; - s.tmp_2 = tiles_Location_col__P2685_mk(s); + s.tmp_2 = tiles_Location_col__P55697_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 2412; s.pc = 1; return s.tmp_2; + s.callLocIdx = 2413; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; r0 = s.arg1.fields["_row"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_0, s.tmp_1, s.tmp_3); - s.currentHealth___9916 = (r0); - s.tmp_0 = forestFire_FireState_setFireHealth__P7157_mk(s); + s.currentHealth___62944 = (r0); + s.tmp_0 = forestFire_FireState_setFireHealth__P60170_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - r0 = (s.currentHealth___9916 + s.arg2); + r0 = (s.currentHealth___62944 + s.arg2); s.tmp_0.arg2 = r0; - s.callLocIdx = 2414; s.pc = 2; return s.tmp_0; + s.callLocIdx = 2415; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -forestFire_FireState_changeFireHealth__P7158.info = {"start":10536,"length":230,"line":277,"column":8,"endLine":280,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"changeFireHealth","argumentNames":["this","location","changeBy"]} +forestFire_FireState_changeFireHealth__P60171.info = {"start":10536,"length":230,"line":277,"column":8,"endLine":280,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"changeFireHealth","argumentNames":["this","location","changeBy"]} -function forestFire_FireState_changeFireHealth__P7158_mk(s) { +function forestFire_FireState_changeFireHealth__P60171_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_FireState_changeFireHealth__P7158, depth: s.depth + 1, + parent: s, fn: forestFire_FireState_changeFireHealth__P60171, 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, - currentHealth___9916: undefined, + currentHealth___62944: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29764,7 +29797,7 @@ function forestFire_FireState_changeFireHealth__P7158_mk(s) { -function forestFire_FireState_setFireHealth__P7157(s) { +function forestFire_FireState_setFireHealth__P60170(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29774,9 +29807,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handler___9957 = undefined; - s.unnamed1538___U1 = undefined; - s.unnamed1539___U2 = undefined; + s.handler___62985 = undefined; + s.unnamed278___U1 = undefined; + s.unnamed279___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29784,25 +29817,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, forestFire_FireState__C7146_VT)) failedCast(r0); - s.tmp_0 = Math_max__P130_mk(s); + if (!checkSubtype(r0, forestFire_FireState__C60159_VT)) failedCast(r0); + s.tmp_0 = Math_max__P53142_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_min__P131_mk(s); + s.tmp_1 = Math_min__P53143_mk(s); s.tmp_1.arg0 = s.arg2; s.tmp_1.arg1 = 15; - s.callLocIdx = 2405; s.pc = 6; return s.tmp_1; + s.callLocIdx = 2406; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 2406; s.pc = 5; return s.tmp_0; + s.callLocIdx = 2407; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; s.arg2 = (r0); r0 = s.arg0.fields["healthBuffer"]; s.tmp_0 = r0; - s.tmp_2 = tiles_Location_col__P2685_mk(s); + s.tmp_2 = tiles_Location_col__P55697_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 2407; s.pc = 7; return s.tmp_2; + s.callLocIdx = 2408; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; @@ -29815,60 +29848,60 @@ switch (step) { if (!r0) { step = 3; continue; } r0 = s.arg0.fields["timeBuffer"]; s.tmp_1 = r0; - s.tmp_3 = tiles_Location_col__P2685_mk(s); + s.tmp_3 = tiles_Location_col__P55697_mk(s); s.tmp_3.arg0 = s.arg1; - s.callLocIdx = 2409; s.pc = 8; return s.tmp_3; + s.callLocIdx = 2410; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; s.tmp_2 = r0; r0 = s.arg1.fields["_row"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.setPixel(s.tmp_1, s.tmp_2, s.tmp_4, 15); - s.handler___9957 = (undefined); + s.handler___62985 = (undefined); r0 = s.arg0.fields["fireDestroyedHandlers"]; - s.unnamed1538___U1 = (r0); - s.unnamed1539___U2 = (0); + s.unnamed278___U1 = (r0); + s.unnamed279___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1539___U2; - r0 = pxsim_Array__length(s.unnamed1538___U1); + s.tmp_0 = r0 = s.unnamed279___U2; + r0 = pxsim_Array__length(s.unnamed278___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1538___U1, s.unnamed1539___U2); - s.handler___9957 = (r0); + r0 = pxsim_Array__getAt(s.unnamed278___U1, s.unnamed279___U2); + s.handler___62985 = (r0); s.tmp_2 = lambda_2_mk(s); - s.tmp_2.argL = s.handler___9957; + s.tmp_2.argL = s.handler___62985; s.tmp_2.arg0 = s.arg1; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 2411; s.pc = 9; return s.tmp_2; + s.callLocIdx = 2412; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - r0 = (s.unnamed1539___U2 + 1); - s.unnamed1539___U2 = (r0); + r0 = (s.unnamed279___U2 + 1); + s.unnamed279___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed1538___U1 = (undefined); + s.unnamed278___U1 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -forestFire_FireState_setFireHealth__P7157.info = {"start":9603,"length":923,"line":255,"column":8,"endLine":275,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"setFireHealth","argumentNames":["this","location","health"]} +forestFire_FireState_setFireHealth__P60170.info = {"start":9603,"length":923,"line":255,"column":8,"endLine":275,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"setFireHealth","argumentNames":["this","location","health"]} -function forestFire_FireState_setFireHealth__P7157_mk(s) { +function forestFire_FireState_setFireHealth__P60170_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_FireState_setFireHealth__P7157, depth: s.depth + 1, + parent: s, fn: forestFire_FireState_setFireHealth__P60170, 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, - handler___9957: undefined, - unnamed1538___U1: undefined, - unnamed1539___U2: undefined, + handler___62985: undefined, + unnamed278___U1: undefined, + unnamed279___U2: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29878,7 +29911,7 @@ function forestFire_FireState_setFireHealth__P7157_mk(s) { -function ashes_inline__P9964(s) { +function ashes_inline__P62992(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29888,16 +29921,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___9967 = undefined; - s.src___9972 = undefined; + s.factory___62995 = undefined; + s.src___63000 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_AshFactory__C3211_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_AshFactory__C56223_VT); s.tmp_0 = r0; - s.tmp_1 = particles_AshFactory_constructor__P3212_mk(s); + s.tmp_1 = particles_AshFactory_constructor__P56224_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = undefined; @@ -29905,40 +29938,40 @@ switch (step) { s.callLocIdx = 61; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - s.factory___9967 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C3131_VT); + s.factory___62995 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C56143_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P3136_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P56148_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___9967; + s.tmp_1.arg3 = s.factory___62995; s.callLocIdx = 62; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.src___9972 = (s.tmp_0); - s.tmp_0 = particles_ParticleSource_setAcceleration__P3140_mk(s); - s.tmp_0.arg0 = s.src___9972; + s.src___63000 = (s.tmp_0); + s.tmp_0 = particles_ParticleSource_setAcceleration__P56152_mk(s); + s.tmp_0.arg0 = s.src___63000; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 500; s.callLocIdx = 63; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = s.src___9972; + r0 = s.src___63000; return leave(s, r0) default: oops() } } } -ashes_inline__P9964.info = {"start":10791,"length":281,"line":274,"column":54,"endLine":279,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} +ashes_inline__P62992.info = {"start":10791,"length":281,"line":274,"column":54,"endLine":279,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} -function ashes_inline__P9964_mk(s) { +function ashes_inline__P62992_mk(s) { checkStack(s.depth); return { - parent: s, fn: ashes_inline__P9964, depth: s.depth + 1, + parent: s, fn: ashes_inline__P62992, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - factory___9967: undefined, - src___9972: undefined, + factory___62995: undefined, + src___63000: undefined, arg0: undefined, arg1: undefined, } } @@ -29947,7 +29980,7 @@ function ashes_inline__P9964_mk(s) { -function particles_AshFactory_constructor__P3212(s) { +function particles_AshFactory_constructor__P56224(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29957,12 +29990,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.counts___10004 = undefined; - s.i___10006 = undefined; - s.result___10015 = undefined; - s.x___10020 = undefined; - s.y___10026 = undefined; - s.c___10032 = undefined; + s.counts___63032 = undefined; + s.i___63034 = undefined; + s.result___63043 = undefined; + s.x___63048 = undefined; + s.y___63054 = undefined; + s.c___63060 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -29971,7 +30004,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AshFactory__C3211_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AshFactory__C56223_VT)) failedCast(r0); s.tmp_1 = if_width_1_mk(s); s.tmp_1.arg0 = s.arg1; if (!s.tmp_1.arg0.vtable.iface) { @@ -29980,7 +30013,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["width"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["width"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1983; s.pc = 20; return s.tmp_1; } + else { s.callLocIdx = 1984; s.pc = 20; return s.tmp_1; } } case 20: r0 = s.retval; @@ -29995,7 +30028,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 = 1984; s.pc = 21; return s.tmp_2; } + else { s.callLocIdx = 1985; s.pc = 21; return s.tmp_2; } } case 21: r0 = s.retval; @@ -30013,7 +30046,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["height"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["height"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1985; s.pc = 22; return s.tmp_5; } + else { s.callLocIdx = 1986; s.pc = 22; return s.tmp_5; } } case 22: r0 = s.retval; @@ -30028,7 +30061,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["height"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["height"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 1986; s.pc = 23; return s.tmp_7; } + else { s.callLocIdx = 1987; s.pc = 23; return s.tmp_7; } } case 23: r0 = s.retval; @@ -30040,13 +30073,13 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_8 = r0; - s.tmp_9 = particles_AreaFactory_constructor__P3182_mk(s); + s.tmp_9 = particles_AreaFactory_constructor__P56194_mk(s); s.tmp_9.arg0 = s.arg0; s.tmp_9.arg1 = s.tmp_3; s.tmp_9.arg2 = s.tmp_8; s.tmp_9.arg3 = 300; s.tmp_9.arg4 = 700; - s.callLocIdx = 1987; s.pc = 24; return s.tmp_9; + s.callLocIdx = 1988; s.pc = 24; return s.tmp_9; case 24: r0 = s.retval; s.tmp_3 = if_image_1_mk(s); @@ -30057,7 +30090,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["image"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["image"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1988; s.pc = 25; return s.tmp_3; } + else { s.callLocIdx = 1989; s.pc = 25; return s.tmp_3; } } case 25: r0 = s.retval; @@ -30068,13 +30101,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ColorCount__C5400_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ColorCount__C58413_VT); s.tmp_4 = r0; - s.tmp_5 = particles_ColorCount_constructor__P5401_mk(s); + s.tmp_5 = particles_ColorCount_constructor__P58414_mk(s); s.tmp_5.arg0 = s.tmp_4; s.tmp_5.arg1 = 1; s.tmp_5.arg2 = 20; - s.callLocIdx = 1989; s.pc = 26; return s.tmp_5; + s.callLocIdx = 1990; s.pc = 26; return s.tmp_5; case 26: r0 = s.retval; r0 = pxsim_Array__mk(); @@ -30086,16 +30119,16 @@ switch (step) { case 5: case 6: r0 = pxsim_Array__mk(); - s.counts___10004 = (r0); - s.i___10006 = (0); + s.counts___63032 = (r0); + s.i___63034 = (0); case 7: - r0 = (s.i___10006 <= 15); + r0 = (s.i___63034 <= 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - r0 = pxsim_Array_.setAt(s.counts___10004, s.i___10006, 0); - r0 = (s.i___10006 + 1); - s.i___10006 = (r0); + r0 = pxsim_Array_.setAt(s.counts___63032, s.i___63034, 0); + r0 = (s.i___63034 + 1); + s.i___63034 = (r0); { step = 7; continue; } case 8: s.tmp_1 = if_image_1_mk(s); @@ -30106,44 +30139,44 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["image"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["image"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1990; s.pc = 27; return s.tmp_1; } + else { s.callLocIdx = 1991; s.pc = 27; return s.tmp_1; } } case 27: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.result___10015 = (r0); - s.x___10020 = (0); + s.result___63043 = (r0); + s.x___63048 = (0); case 9: - s.tmp_1 = r0 = s.x___10020; - r0 = pxsim_ImageMethods.width(s.result___10015); + s.tmp_1 = r0 = s.x___63048; + r0 = pxsim_ImageMethods.width(s.result___63043); 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 = 16; continue; } - s.y___10026 = (0); + s.y___63054 = (0); case 10: - s.tmp_1 = r0 = s.y___10026; - r0 = pxsim_ImageMethods.height(s.result___10015); + s.tmp_1 = r0 = s.y___63054; + r0 = pxsim_ImageMethods.height(s.result___63043); 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 = pxsim_ImageMethods.getPixel(s.result___10015, s.x___10020, s.y___10026); - s.c___10032 = (r0); - s.tmp_0 = r0 = s.c___10032; + r0 = pxsim_ImageMethods.getPixel(s.result___63043, s.x___63048, s.y___63054); + s.c___63060 = (r0); + s.tmp_0 = r0 = s.c___63060; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } r0 = s.tmp_0; { step = 12; continue; } case 11: - s.tmp_1 = Math_FastRandom_percentChance__P3046_mk(s); + s.tmp_1 = Math_FastRandom_percentChance__P56058_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg3; - s.callLocIdx = 1991; s.pc = 28; return s.tmp_1; + s.callLocIdx = 1992; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; case 12: @@ -30151,45 +30184,45 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 13; continue; } - s.tmp_3 = r0 = s.counts___10004; - s.tmp_4 = r0 = s.c___10032; - r0 = pxsim_Array__getAt(s.tmp_3, s.c___10032); + s.tmp_3 = r0 = s.counts___63032; + s.tmp_4 = r0 = s.c___63060; + r0 = pxsim_Array__getAt(s.tmp_3, s.c___63060); s.tmp_6 = r0; r0 = (s.tmp_6 + 1); s.tmp_5 = r0; r0 = pxsim_Array_.setAt(s.tmp_3, s.tmp_4, s.tmp_5); - r0 = pxsim_ImageMethods.setPixel(s.result___10015, s.x___10020, s.y___10026, 0); + r0 = pxsim_ImageMethods.setPixel(s.result___63043, s.x___63048, s.y___63054, 0); case 13: case 14: - r0 = (s.y___10026 + 1); - s.y___10026 = (r0); + r0 = (s.y___63054 + 1); + s.y___63054 = (r0); { step = 10; continue; } case 15: - r0 = (s.x___10020 + 1); - s.x___10020 = (r0); + r0 = (s.x___63048 + 1); + s.x___63048 = (r0); { step = 9; continue; } case 16: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 17; continue; } - s.tmp_0 = Sprite_setImage__P2371_mk(s); + s.tmp_0 = Sprite_setImage__P55383_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.result___10015; - s.callLocIdx = 1992; s.pc = 29; return s.tmp_0; + s.tmp_0.arg1 = s.result___63043; + s.callLocIdx = 1993; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; case 17: case 18: s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P110_mk(s); - s.tmp_3 = helpers_arrayMap__P106_mk(s); - s.tmp_3.arg0 = s.counts___10004; - s.tmp_3.arg1 = filter_inline__P10067; - s.callLocIdx = 1994; s.pc = 31; return s.tmp_3; + s.tmp_2 = helpers_arrayFilter__P53122_mk(s); + s.tmp_3 = helpers_arrayMap__P53118_mk(s); + s.tmp_3.arg0 = s.counts___63032; + s.tmp_3.arg1 = filter_inline__P63095; + s.callLocIdx = 1995; s.pc = 31; return s.tmp_3; case 31: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = particles_AshFactory_inline__P10074; - s.callLocIdx = 1995; s.pc = 30; return s.tmp_2; + s.tmp_2.arg1 = particles_AshFactory_inline__P63102; + s.callLocIdx = 1996; s.pc = 30; return s.tmp_2; case 30: r0 = s.retval; s.tmp_1 = r0; @@ -30199,12 +30232,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AshFactory_constructor__P3212.info = {"start":11775,"length":1466,"line":385,"column":8,"endLine":423,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","anchor","updateImage","percentKept"]} +particles_AshFactory_constructor__P56224.info = {"start":11775,"length":1466,"line":385,"column":8,"endLine":423,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","anchor","updateImage","percentKept"]} -function particles_AshFactory_constructor__P3212_mk(s) { +function particles_AshFactory_constructor__P56224_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AshFactory_constructor__P3212, depth: s.depth + 1, + parent: s, fn: particles_AshFactory_constructor__P56224, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30216,12 +30249,12 @@ function particles_AshFactory_constructor__P3212_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - counts___10004: undefined, - i___10006: undefined, - result___10015: undefined, - x___10020: undefined, - y___10026: undefined, - c___10032: undefined, + counts___63032: undefined, + i___63034: undefined, + result___63043: undefined, + x___63048: undefined, + y___63054: undefined, + c___63060: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30232,7 +30265,7 @@ function particles_AshFactory_constructor__P3212_mk(s) { -function filter_inline__P10067(s) { +function filter_inline__P63095(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30247,25 +30280,25 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ColorCount__C5400_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ColorCount__C58413_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ColorCount_constructor__P5401_mk(s); + s.tmp_1 = particles_ColorCount_constructor__P58414_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg0; - s.callLocIdx = 1993; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1994; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -filter_inline__P10067.info = {"start":13124,"length":62,"line":421,"column":21,"endLine":421,"endColumn":83,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["value","index"]} +filter_inline__P63095.info = {"start":13124,"length":62,"line":421,"column":21,"endLine":421,"endColumn":83,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["value","index"]} -function filter_inline__P10067_mk(s) { +function filter_inline__P63095_mk(s) { checkStack(s.depth); return { - parent: s, fn: filter_inline__P10067, depth: s.depth + 1, + parent: s, fn: filter_inline__P63095, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30277,7 +30310,7 @@ function filter_inline__P10067_mk(s) { -function particles_AshFactory_inline__P10074(s) { +function particles_AshFactory_inline__P63102(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30297,12 +30330,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AshFactory_inline__P10074.info = {"start":13212,"length":17,"line":422,"column":24,"endLine":422,"endColumn":41,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["v"]} +particles_AshFactory_inline__P63102.info = {"start":13212,"length":17,"line":422,"column":24,"endLine":422,"endColumn":41,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["v"]} -function particles_AshFactory_inline__P10074_mk(s) { +function particles_AshFactory_inline__P63102_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AshFactory_inline__P10074, depth: s.depth + 1, + parent: s, fn: particles_AshFactory_inline__P63102, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30312,7 +30345,7 @@ function particles_AshFactory_inline__P10074_mk(s) { -function particles_ColorCount_constructor__P5401(s) { +function particles_ColorCount_constructor__P58414(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30329,19 +30362,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ColorCount__C5400_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ColorCount__C58413_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (s.arg1); r0 = (s.arg0).fields["count"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ColorCount_constructor__P5401.info = {"start":11603,"length":59,"line":379,"column":8,"endLine":379,"endColumn":67,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","color","count"]} +particles_ColorCount_constructor__P58414.info = {"start":11603,"length":59,"line":379,"column":8,"endLine":379,"endColumn":67,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","color","count"]} -function particles_ColorCount_constructor__P5401_mk(s) { +function particles_ColorCount_constructor__P58414_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ColorCount_constructor__P5401, depth: s.depth + 1, + parent: s, fn: particles_ColorCount_constructor__P58414, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -30352,7 +30385,7 @@ function particles_ColorCount_constructor__P5401_mk(s) { -function particles_AreaFactory_constructor__P3182(s) { +function particles_AreaFactory_constructor__P56194(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30371,13 +30404,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C3177_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P3172_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C56189_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P56184_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 = 1918; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1919; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = (s.arg0).fields["xRange"] = (s.arg1); @@ -30402,12 +30435,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__C3039_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C56051_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P3041_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P56053_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1919; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1920; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; r0 = (s.arg0).fields["galois"] = (s.tmp_0); @@ -30415,12 +30448,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P3182.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__P56194.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__P3182_mk(s) { +function particles_AreaFactory_constructor__P56194_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P3182, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P56194, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30435,7 +30468,7 @@ function particles_AreaFactory_constructor__P3182_mk(s) { -function Math_FastRandom_percentChance__P3046(s) { +function Math_FastRandom_percentChance__P56058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30451,12 +30484,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C3039_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_randomRange__P3043_mk(s); + if (!checkSubtype(r0, Math_FastRandom__C56051_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_randomRange__P56055_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = 100; - s.callLocIdx = 1657; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1658; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; @@ -30464,12 +30497,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_percentChance__P3046.info = {"start":2925,"length":106,"line":88,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"percentChance","argumentNames":["this","percent"]} +Math_FastRandom_percentChance__P56058.info = {"start":2925,"length":106,"line":88,"column":8,"endLine":90,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"percentChance","argumentNames":["this","percent"]} -function Math_FastRandom_percentChance__P3046_mk(s) { +function Math_FastRandom_percentChance__P56058_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_percentChance__P3046, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_percentChance__P56058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30481,7 +30514,7 @@ function Math_FastRandom_percentChance__P3046_mk(s) { -function Math_FastRandom_randomRange__P3043(s) { +function Math_FastRandom_randomRange__P56055(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30498,14 +30531,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C3039_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C56051_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__P3042_mk(s); + s.tmp_2 = Math_FastRandom_next__P56054_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1654; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1655; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -30524,12 +30557,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P3043.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__P56055.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__P3043_mk(s) { +function Math_FastRandom_randomRange__P56055_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P3043, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P56055, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30546,7 +30579,7 @@ function Math_FastRandom_randomRange__P3043_mk(s) { -function Math_FastRandom_next__P3042(s) { +function Math_FastRandom_next__P56054(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30561,7 +30594,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C3039_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C56051_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["lfsr"]; s.tmp_3 = r0; @@ -30582,12 +30615,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P3042.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__P56054.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__P3042_mk(s) { +function Math_FastRandom_next__P56054_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P3042, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P56054, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30604,7 +30637,7 @@ function Math_FastRandom_next__P3042_mk(s) { -function helpers_arrayMap__P106(s) { +function helpers_arrayMap__P53118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30614,58 +30647,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___10082 = undefined; - s.len___10084 = undefined; - s.i___10087 = undefined; + s.res___63110 = undefined; + s.len___63112 = undefined; + s.i___63115 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___10082 = (r0); + s.res___63110 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___10084 = (r0); - s.i___10087 = (0); + s.len___63112 = (r0); + s.i___63115 = (0); case 1: - r0 = (s.i___10087 < s.len___10084); + r0 = (s.i___63115 < s.len___63112); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___10082; + s.tmp_1 = r0 = s.res___63110; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___10087); + r0 = pxsim_Array__getAt(s.arg0, s.i___63115); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___10087; + s.tmp_3.arg1 = s.i___63115; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 4; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___10087 + 1); - s.i___10087 = (r0); + r0 = (s.i___63115 + 1); + s.i___63115 = (r0); { step = 1; continue; } case 2: - r0 = s.res___10082; + r0 = s.res___63110; 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__P53118.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__P53118_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P106, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P53118, 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___10082: undefined, - len___10084: undefined, - i___10087: undefined, + res___63110: undefined, + len___63112: undefined, + i___63115: undefined, arg0: undefined, arg1: undefined, } } @@ -30674,7 +30707,7 @@ function helpers_arrayMap__P106_mk(s) { -function Sprite_destroy__P2408(s) { +function Sprite_destroy__P55420(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30691,7 +30724,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -30709,7 +30742,7 @@ switch (step) { r0 = (s.tmp_2).fields["flags"] = (s.tmp_3); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } - s.tmp_0 = effects_ParticleEffect_destroy__P3245_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P56257_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; @@ -30719,7 +30752,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P2409_mk(s); + s.tmp_0 = Sprite__destroyCore__P55421_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 728; s.pc = 7; return s.tmp_0; case 7: @@ -30730,12 +30763,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P2408.info = {"start":26333,"length":293,"line":857,"column":4,"endLine":866,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P55420.info = {"start":26333,"length":293,"line":857,"column":4,"endLine":866,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -function Sprite_destroy__P2408_mk(s) { +function Sprite_destroy__P55420_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P2408, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P55420, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30751,7 +30784,7 @@ function Sprite_destroy__P2408_mk(s) { -function effects_ParticleEffect_destroy__P3245(s) { +function effects_ParticleEffect_destroy__P56257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30769,15 +30802,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C3242_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P2399_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C56254_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P55411_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 7168; s.tmp_0.arg2 = true; - s.callLocIdx = 2010; s.pc = 3; return s.tmp_0; + s.callLocIdx = 2011; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P3244_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P56256_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -30794,7 +30827,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg4 = r0; - s.callLocIdx = 2011; s.pc = 4; return s.tmp_0; + s.callLocIdx = 2012; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -30809,22 +30842,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__P3272_mk(s); - s.tmp_0.arg0 = globals.dissolve___3275; + s.tmp_0 = effects_ImageEffect_applyTo__P56284_mk(s); + s.tmp_0.arg0 = globals.dissolve___56287; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 2012; s.pc = 5; return s.tmp_0; + s.callLocIdx = 2013; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P3245.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__P56257.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__P3245_mk(s) { +function effects_ParticleEffect_destroy__P56257_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P3245, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P56257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30842,7 +30875,7 @@ function effects_ParticleEffect_destroy__P3245_mk(s) { -function dissolve_inline__P10674(s) { +function dissolve_inline__P63702(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30852,11 +30885,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___10677 = undefined; - s.x___10688 = undefined; - s.y___10694 = undefined; - s.w___10700 = undefined; - s.h___10704 = undefined; + s.i___63705 = undefined; + s.x___63716 = undefined; + s.y___63722 = undefined; + s.w___63728 = undefined; + s.h___63732 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30869,13 +30902,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___10677 = (r0); + s.i___63705 = (r0); case 1: - r0 = (s.i___10677 > 0); + r0 = (s.i___63705 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P3043_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P56055_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -30883,8 +30916,8 @@ switch (step) { s.callLocIdx = 73; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___10688 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P3043_mk(s); + s.x___63716 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P56055_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -30892,56 +30925,56 @@ switch (step) { s.callLocIdx = 74; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___10694 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P3043_mk(s); + s.y___63722 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P56055_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 75; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___10700 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P3043_mk(s); + s.w___63728 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P56055_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 76; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___10704 = (r0); - s.tmp_0 = helpers_imageDrawRect__P1942_mk(s); + s.h___63732 = (r0); + s.tmp_0 = helpers_imageDrawRect__P54954_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___10688; - s.tmp_0.arg2 = s.y___10694; - s.tmp_0.arg3 = s.w___10700; - s.tmp_0.arg4 = s.h___10704; + s.tmp_0.arg1 = s.x___63716; + s.tmp_0.arg2 = s.y___63722; + s.tmp_0.arg3 = s.w___63728; + s.tmp_0.arg4 = s.h___63732; s.tmp_0.arg5 = 0; s.callLocIdx = 77; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___10677 - 1); - s.i___10677 = (r0); + r0 = (s.i___63705 - 1); + s.i___63705 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -dissolve_inline__P10674.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__P63702.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__P10674_mk(s) { +function dissolve_inline__P63702_mk(s) { checkStack(s.depth); return { - parent: s, fn: dissolve_inline__P10674, depth: s.depth + 1, + parent: s, fn: dissolve_inline__P63702, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___10677: undefined, - x___10688: undefined, - y___10694: undefined, - w___10700: undefined, - h___10704: undefined, + i___63705: undefined, + x___63716: undefined, + y___63722: undefined, + w___63728: undefined, + h___63732: undefined, arg0: undefined, arg1: undefined, } } @@ -30950,7 +30983,7 @@ function dissolve_inline__P10674_mk(s) { -function helpers_imageDrawRect__P1942(s) { +function helpers_imageDrawRect__P54954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30989,7 +31022,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P1941_mk(s); + s.tmp_0 = helpers_imageDrawLine__P54953_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -31000,7 +31033,7 @@ switch (step) { s.callLocIdx = 202; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P1941_mk(s); + s.tmp_0 = helpers_imageDrawLine__P54953_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -31011,7 +31044,7 @@ switch (step) { s.callLocIdx = 203; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P1941_mk(s); + s.tmp_0 = helpers_imageDrawLine__P54953_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -31024,7 +31057,7 @@ switch (step) { s.callLocIdx = 204; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P1941_mk(s); + s.tmp_0 = helpers_imageDrawLine__P54953_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -31042,12 +31075,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P1942.info = {"start":5325,"length":370,"line":167,"column":4,"endLine":175,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawRect__P54954.info = {"start":5325,"length":370,"line":167,"column":4,"endLine":175,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawRect__P1942_mk(s) { +function helpers_imageDrawRect__P54954_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P1942, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P54954, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31063,7 +31096,7 @@ function helpers_imageDrawRect__P1942_mk(s) { -function effects_ImageEffect_constructor__P3271(s) { +function effects_ImageEffect_constructor__P56283(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31080,14 +31113,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C3270_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C56282_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C3039_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C56051_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P3041_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P56053_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 2059; s.pc = 1; return s.tmp_1; + s.callLocIdx = 2060; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["fastRandom"] = (s.tmp_0); @@ -31097,12 +31130,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P3271.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__P56283.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__P3271_mk(s) { +function effects_ImageEffect_constructor__P56283_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P3271, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P56283, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31115,7 +31148,7 @@ function effects_ImageEffect_constructor__P3271_mk(s) { -function effects_ImageEffect_applyTo__P3272(s) { +function effects_ImageEffect_applyTo__P56284(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31125,14 +31158,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___10839 = undefined; + s.clonedImage___63867 = 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__C3270_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C56282_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -31158,17 +31191,17 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___10839 = (r0); - s.tmp_0 = effects_ImageEffect_change__P3273_mk(s); + s.clonedImage___63867 = (r0); + s.tmp_0 = effects_ImageEffect_change__P56285_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___10839; - s.callLocIdx = 2062; s.pc = 6; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___63867; + s.callLocIdx = 2063; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P2371_mk(s); + s.tmp_0 = Sprite_setImage__P55383_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___10839; - s.callLocIdx = 2063; s.pc = 7; return s.tmp_0; + s.tmp_0.arg1 = s.clonedImage___63867; + s.callLocIdx = 2064; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; case 5: @@ -31176,12 +31209,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P3272.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__P56284.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__P3272_mk(s) { +function effects_ImageEffect_applyTo__P56284_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P3272, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P56284, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31189,7 +31222,7 @@ function effects_ImageEffect_applyTo__P3272_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___10839: undefined, + clonedImage___63867: undefined, arg0: undefined, arg1: undefined, } } @@ -31198,7 +31231,7 @@ function effects_ImageEffect_applyTo__P3272_mk(s) { -function effects_ImageEffect_change__P3273(s) { +function effects_ImageEffect_change__P56285(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31214,7 +31247,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C3270_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C56282_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -31222,12 +31255,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 = 2064; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2065; 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 = 2064; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 2064; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 2064; 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 = 2065; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 2065; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 2065; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -31235,12 +31268,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P3273.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__P56285.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__P3273_mk(s) { +function effects_ImageEffect_change__P56285_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P3273, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P56285, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31251,7 +31284,7 @@ function effects_ImageEffect_change__P3273_mk(s) { -function effects_ParticleEffect_start__P3244(s) { +function effects_ParticleEffect_start__P56256(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31261,7 +31294,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___10863 = undefined; + s.src___63891 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31271,7 +31304,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C3242_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C56254_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -31298,18 +31331,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 = 2008; s.pc = 10; return s.tmp_4; + s.callLocIdx = 2009; 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 = 2008; s.pc = 10; return s.tmp_4; } - else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 2008; s.pc = 10; return s.tmp_4;; } - else { s.callLocIdx = 2008; 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 = 2009; s.pc = 10; return s.tmp_4; } + else if (s.tmp_4.fn.isGetter) { s.tmp_4.stage2Call = true; s.callLocIdx = 2009; s.pc = 10; return s.tmp_4;; } + else { s.callLocIdx = 2009; s.pc = 10; return s.tmp_4; } } case 10: r0 = s.retval; - s.src___10863 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P3142_mk(s); - s.tmp_0.arg0 = s.src___10863; + s.src___63891 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P56154_mk(s); + s.tmp_0.arg0 = s.src___63891; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -31318,7 +31351,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0.arg1 = r0; - s.callLocIdx = 2009; s.pc = 11; return s.tmp_0; + s.callLocIdx = 2010; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -31334,7 +31367,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___10863).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___63891).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -31342,19 +31375,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P3244.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__P56256.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__P3244_mk(s) { +function effects_ParticleEffect_start__P56256_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P3244, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P56256, 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___10863: undefined, + src___63891: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31366,7 +31399,7 @@ function effects_ParticleEffect_start__P3244_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P3142(s) { +function particles_ParticleSource_setRelativeToCamera__P56154(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31382,7 +31415,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3131_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -31408,12 +31441,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P3142.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__P56154.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__P3142_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P56154_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P3142, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P56154, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31428,7 +31461,7 @@ function particles_ParticleSource_setRelativeToCamera__P3142_mk(s) { -function Sprite__destroyCore__P2409(s) { +function Sprite__destroyCore__P55421(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31438,25 +31471,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___10580 = undefined; + s.scene___63608 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2979_mk(s); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 729; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___10580 = (r0); - r0 = s.scene___10580.fields["allSprites"]; + s.scene___63608 = (r0); + r0 = s.scene___63608.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -31468,7 +31501,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___10580.fields["spritesByKind"]; + r0 = s.scene___63608.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -31478,8 +31511,8 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - s.tmp_5 = sprites_SpriteSet_remove__P2450_mk(s); - r0 = s.scene___10580.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P55462_mk(s); + r0 = s.scene___63608.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -31491,11 +31524,11 @@ switch (step) { r0 = s.retval; case 3: case 4: - s.tmp_0 = PhysicsEngine__C2491_v1_2_mk(s); - r0 = s.scene___10580.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C55503_v1_2_mk(s); + r0 = s.scene___63608.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2491_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C55503_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: @@ -31519,15 +31552,15 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P10609); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P63637); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P10616); + r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P63644); 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___10580.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P53121_mk(s); + s.tmp_3 = helpers_arrayFilter__P53122_mk(s); + r0 = s.scene___63608.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 736; s.pc = 12; return s.tmp_3; @@ -31542,12 +31575,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P2409.info = {"start":26632,"length":522,"line":868,"column":4,"endLine":880,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P55421.info = {"start":26632,"length":522,"line":868,"column":4,"endLine":880,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -function Sprite__destroyCore__P2409_mk(s) { +function Sprite__destroyCore__P55421_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P2409, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P55421, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31557,7 +31590,7 @@ function Sprite__destroyCore__P2409_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___10580: undefined, + scene___63608: undefined, arg0: undefined, } } @@ -31565,7 +31598,7 @@ function Sprite__destroyCore__P2409_mk(s) { -function forEach_inline__P10609(s) { +function forEach_inline__P63637(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31587,12 +31620,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P10609.info = {"start":27077,"length":26,"line":878,"column":20,"endLine":878,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P63637.info = {"start":27077,"length":26,"line":878,"column":20,"endLine":878,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P10609_mk(s) { +function forEach_inline__P63637_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P10609, depth: s.depth + 1, + parent: s, fn: forEach_inline__P63637, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31603,7 +31636,7 @@ function forEach_inline__P10609_mk(s) { -function Sprite__destroyCore_inline__P10616(s) { +function Sprite__destroyCore_inline__P63644(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31635,12 +31668,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore_inline__P10616.info = {"start":27126,"length":20,"line":879,"column":21,"endLine":879,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite__destroyCore_inline__P63644.info = {"start":27126,"length":20,"line":879,"column":21,"endLine":879,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite__destroyCore_inline__P10616_mk(s) { +function Sprite__destroyCore_inline__P63644_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore_inline__P10616, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore_inline__P63644, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31650,7 +31683,7 @@ function Sprite__destroyCore_inline__P10616_mk(s) { -function PhysicsEngine_removeSprite__P2494(s) { +function PhysicsEngine_removeSprite__P55506(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31666,17 +31699,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2491_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C55503_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P2494.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__P55506.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__P2494_mk(s) { +function PhysicsEngine_removeSprite__P55506_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P2494, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P55506, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -31686,7 +31719,7 @@ function PhysicsEngine_removeSprite__P2494_mk(s) { -function sprites_SpriteSet_remove__P2450(s) { +function sprites_SpriteSet_remove__P55462(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31696,26 +31729,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___10625 = undefined; + s.i___63653 = 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__C2443_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C55455_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___10625 = (r0); - r0 = (s.i___10625 > -1); + s.i___63653 = (r0); + r0 = (s.i___63653 > -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__P53112_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___10625; + s.tmp_1.arg1 = s.i___63653; s.tmp_1.arg2 = 1; s.callLocIdx = 818; s.pc = 4; return s.tmp_1; case 4: @@ -31729,16 +31762,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P2450.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__P55462.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__P2450_mk(s) { +function sprites_SpriteSet_remove__P55462_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P2450, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P55462, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___10625: undefined, + i___63653: undefined, arg0: undefined, arg1: undefined, } } @@ -31747,7 +31780,7 @@ function sprites_SpriteSet_remove__P2450_mk(s) { -function Sprite_kind__P2387(s) { +function Sprite_kind__P55399(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31762,17 +31795,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P2387.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__P55399.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__P2387_mk(s) { +function Sprite_kind__P55399_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P2387, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P55399, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -31781,7 +31814,7 @@ function Sprite_kind__P2387_mk(s) { -function scene_onOverlapTile__P2440(s) { +function scene_onOverlapTile__P55452(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31791,7 +31824,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tileOverlapHandlers___10932 = undefined; + s.tileOverlapHandlers___63960 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31827,15 +31860,15 @@ switch (step) { { step = 7; continue; } case 5: case 6: - s.tmp_5 = game_currentScene__P2979_mk(s); + s.tmp_5 = game_currentScene__P55991_mk(s); s.callLocIdx = 815; s.pc = 8; return s.tmp_5; case 8: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___10932 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_TileOverlapHandler__C2798_VT); + s.tileOverlapHandlers___63960 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_TileOverlapHandler__C55810_VT); s.tmp_0 = r0; - s.tmp_1 = scene_TileOverlapHandler_constructor__P2799_mk(s); + s.tmp_1 = scene_TileOverlapHandler_constructor__P55811_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; @@ -31843,18 +31876,18 @@ switch (step) { s.callLocIdx = 816; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.tileOverlapHandlers___10932, s.tmp_0); + r0 = pxsim_Array__push(s.tileOverlapHandlers___63960, s.tmp_0); case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -scene_onOverlapTile__P2440.info = {"start":2786,"length":432,"line":89,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"onOverlapTile","argumentNames":["kind","tile","handler"]} +scene_onOverlapTile__P55452.info = {"start":2786,"length":432,"line":89,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"onOverlapTile","argumentNames":["kind","tile","handler"]} -function scene_onOverlapTile__P2440_mk(s) { +function scene_onOverlapTile__P55452_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_onOverlapTile__P2440, depth: s.depth + 1, + parent: s, fn: scene_onOverlapTile__P55452, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31862,7 +31895,7 @@ function scene_onOverlapTile__P2440_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tileOverlapHandlers___10932: undefined, + tileOverlapHandlers___63960: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31872,7 +31905,7 @@ function scene_onOverlapTile__P2440_mk(s) { -function scene_TileOverlapHandler_constructor__P2799(s) { +function scene_TileOverlapHandler_constructor__P55811(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31890,7 +31923,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_TileOverlapHandler__C2798_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_TileOverlapHandler__C55810_VT)) failedCast(r0); r0 = (s.arg0).fields["spriteKind"] = (s.arg1); r0 = (s.arg0).fields["tileKind"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -31898,12 +31931,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_TileOverlapHandler_constructor__P2799.info = {"start":1075,"length":180,"line":37,"column":8,"endLine":41,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","spriteKind","tileKind","handler"]} +scene_TileOverlapHandler_constructor__P55811.info = {"start":1075,"length":180,"line":37,"column":8,"endLine":41,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","spriteKind","tileKind","handler"]} -function scene_TileOverlapHandler_constructor__P2799_mk(s) { +function scene_TileOverlapHandler_constructor__P55811_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_TileOverlapHandler_constructor__P2799, depth: s.depth + 1, + parent: s, fn: scene_TileOverlapHandler_constructor__P55811, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -31915,7 +31948,7 @@ function scene_TileOverlapHandler_constructor__P2799_mk(s) { -function game_setGameOverMessage__P2989(s) { +function game_setGameOverMessage__P56001(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31925,45 +31958,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.goc___10952 = undefined; + s.goc___63980 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P5030_mk(s); + s.tmp_0 = game_init__P58043_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 1609; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1610; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.gameOverConfig___2978; + s.tmp_0.argL = globals.gameOverConfig___55990; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 1610; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1611; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.goc___10952 = (r0); - s.tmp_0 = game_GameOverConfig_setMessage__P2976_mk(s); - s.tmp_0.arg0 = s.goc___10952; + s.goc___63980 = (r0); + s.tmp_0 = game_GameOverConfig_setMessage__P55988_mk(s); + s.tmp_0.arg0 = s.goc___63980; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = true; - s.callLocIdx = 1611; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1612; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_setGameOverMessage__P2989.info = {"start":9455,"length":176,"line":289,"column":4,"endLine":293,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setGameOverMessage","argumentNames":["win","message"]} +game_setGameOverMessage__P56001.info = {"start":9455,"length":176,"line":289,"column":4,"endLine":293,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setGameOverMessage","argumentNames":["win","message"]} -function game_setGameOverMessage__P2989_mk(s) { +function game_setGameOverMessage__P56001_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setGameOverMessage__P2989, depth: s.depth + 1, + parent: s, fn: game_setGameOverMessage__P56001, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - goc___10952: undefined, + goc___63980: undefined, arg0: undefined, arg1: undefined, } } @@ -31972,7 +32005,7 @@ function game_setGameOverMessage__P2989_mk(s) { -function game_GameOverConfig_setMessage__P2976(s) { +function game_GameOverConfig_setMessage__P55988(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31990,7 +32023,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C2953_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverConfig__C55965_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg3); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -32026,12 +32059,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_setMessage__P2976.info = {"start":2974,"length":281,"line":90,"column":8,"endLine":95,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"setMessage","argumentNames":["this","win","message","explicit"]} +game_GameOverConfig_setMessage__P55988.info = {"start":2974,"length":281,"line":90,"column":8,"endLine":95,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"setMessage","argumentNames":["this","win","message","explicit"]} -function game_GameOverConfig_setMessage__P2976_mk(s) { +function game_GameOverConfig_setMessage__P55988_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_setMessage__P2976, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_setMessage__P55988, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32046,7 +32079,7 @@ function game_GameOverConfig_setMessage__P2976_mk(s) { -function game_gameOver__P2993(s) { +function game_gameOver__P56005(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32060,22 +32093,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game__gameOverImpl__P5032_mk(s); + s.tmp_0 = game__gameOverImpl__P58045_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = undefined; - s.callLocIdx = 1615; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1616; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_gameOver__P2993.info = {"start":11084,"length":74,"line":342,"column":4,"endLine":344,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"gameOver","argumentNames":["win"]} +game_gameOver__P56005.info = {"start":11084,"length":74,"line":342,"column":4,"endLine":344,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"gameOver","argumentNames":["win"]} -function game_gameOver__P2993_mk(s) { +function game_gameOver__P56005_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_gameOver__P2993, depth: s.depth + 1, + parent: s, fn: game_gameOver__P56005, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32085,7 +32118,7 @@ function game_gameOver__P2993_mk(s) { -function game__gameOverImpl__P5032(s) { +function game__gameOverImpl__P58045(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32095,53 +32128,53 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.goc___12949 = undefined; - s.judged___12952 = undefined; - s.playersWithScores___12960 = undefined; - s.prevBestScore___12963 = undefined; - s.winner___12967 = undefined; - s.scores___12973 = undefined; - s.preferMultiplayer___12994 = undefined; - s.message___13002 = undefined; - s.effect___13008 = undefined; - s.sound___13013 = undefined; - s.looping___13018 = undefined; - s.playbackMode___13023 = undefined; - s.overDialog___13049 = undefined; + s.goc___65978 = undefined; + s.judged___65981 = undefined; + s.playersWithScores___65989 = undefined; + s.prevBestScore___65992 = undefined; + s.winner___65996 = undefined; + s.scores___66002 = undefined; + s.preferMultiplayer___66023 = undefined; + s.message___66031 = undefined; + s.effect___66037 = undefined; + s.sound___66042 = undefined; + s.looping___66047 = undefined; + s.playbackMode___66052 = undefined; + s.overDialog___66078 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P5030_mk(s); + s.tmp_0 = game_init__P58043_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 1616; s.pc = 32; return s.tmp_0; + s.callLocIdx = 1617; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.__isOver___5029); + r0 = pxsim_numops_toBoolDecr(globals.__isOver___58042); if (!r0) { step = 1; continue; } { step = 31; continue; } case 1: case 2: - globals.__isOver___5029 = (true); - r0 = pxsim_numops_toBoolDecr(globals.__gameOverHandler___5027); + globals.__isOver___58042 = (true); + r0 = pxsim_numops_toBoolDecr(globals.__gameOverHandler___58040); if (!r0) { step = 3; continue; } s.tmp_0 = lambda_2_mk(s); - s.tmp_0.argL = globals.__gameOverHandler___5027; + s.tmp_0.argL = globals.__gameOverHandler___58040; s.tmp_0.arg0 = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 1617; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1618; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; { step = 30; continue; } case 3: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.gameOverConfig___2978; + s.tmp_0.argL = globals.gameOverConfig___55990; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 1618; s.pc = 34; return s.tmp_0; + s.callLocIdx = 1619; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.goc___12949 = (r0); + s.goc___65978 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -32151,33 +32184,33 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = s.goc___12949.fields["scoringType"]; + r0 = s.goc___65978.fields["scoringType"]; s.tmp_2 = r0; r0 = (s.tmp_2 !== 2); case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.judged___12952 = (s.tmp_3); - s.tmp_0 = info_playersWithScores__P2544_mk(s); - s.callLocIdx = 1619; s.pc = 35; return s.tmp_0; + s.judged___65981 = (s.tmp_3); + s.tmp_0 = info_playersWithScores__P55556_mk(s); + s.callLocIdx = 1620; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.playersWithScores___12960 = (r0); - s.tmp_0 = r0 = s.judged___12952; + s.playersWithScores___65989 = (r0); + s.tmp_0 = r0 = s.judged___65981; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 6; continue; } r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_1 = info_highScore__P2551_mk(s); - s.callLocIdx = 1620; s.pc = 36; return s.tmp_1; + s.tmp_1 = info_highScore__P55563_mk(s); + s.callLocIdx = 1621; s.pc = 36; return s.tmp_1; case 36: r0 = s.retval; case 7: // jmp value (already in r0) s.tmp_2 = r0; - s.prevBestScore___12963 = (s.tmp_2); - s.tmp_0 = r0 = s.judged___12952; + s.prevBestScore___65992 = (s.tmp_2); + s.tmp_0 = r0 = s.judged___65981; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 8; continue; } r0 = s.tmp_0; @@ -32192,42 +32225,42 @@ switch (step) { r0 = s.tmp_1; { step = 11; continue; } case 10: - s.tmp_2 = info_winningPlayer__P2546_mk(s); - s.callLocIdx = 1621; s.pc = 37; return s.tmp_2; + s.tmp_2 = info_winningPlayer__P55558_mk(s); + s.callLocIdx = 1622; s.pc = 37; return s.tmp_2; case 37: r0 = s.retval; case 11: // jmp value (already in r0) s.tmp_3 = r0; - s.winner___12967 = (s.tmp_3); - r0 = pxsim_pxtcore_mkAction(1, scores_inline__P12975); + s.winner___65996 = (s.tmp_3); + r0 = pxsim_pxtcore_mkAction(1, scores_inline__P66004); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.winner___12967); - s.tmp_1 = helpers_arrayMap__P106_mk(s); - s.tmp_1.arg0 = s.playersWithScores___12960; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.winner___65996); + s.tmp_1 = helpers_arrayMap__P53118_mk(s); + s.tmp_1.arg0 = s.playersWithScores___65989; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1625; s.pc = 38; return s.tmp_1; + s.callLocIdx = 1626; s.pc = 38; return s.tmp_1; case 38: r0 = s.retval; - s.scores___12973 = (r0); - s.tmp_0 = r0 = s.judged___12952; + s.scores___66002 = (r0); + s.tmp_0 = info_saveAllScores__P55557_mk(s); + s.callLocIdx = 1627; s.pc = 39; return s.tmp_0; + case 39: + r0 = s.retval; + s.tmp_0 = r0 = s.judged___65981; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 12; continue; } r0 = s.tmp_0; { step = 13; continue; } case 12: - r0 = s.winner___12967; + r0 = s.winner___65996; case 13: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 14; continue; } - s.tmp_2 = info_saveAllScores__P2545_mk(s); - s.callLocIdx = 1626; s.pc = 39; return s.tmp_2; - case 39: - r0 = s.retval; - s.tmp_0 = info_saveHighScore__P2548_mk(s); - s.callLocIdx = 1627; s.pc = 40; return s.tmp_0; + s.tmp_2 = info_saveHighScore__P55560_mk(s); + s.callLocIdx = 1628; s.pc = 40; return s.tmp_2; case 40: r0 = s.retval; case 14: @@ -32245,14 +32278,14 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 16: - s.tmp_4 = r0 = s.judged___12952; + s.tmp_4 = r0 = s.judged___65981; r0 = pxsim_numops_toBool(s.tmp_4); if (r0) { step = 17; continue; } r0 = s.tmp_4; { step = 18; continue; } case 17: - s.tmp_5 = info_multiplayerScoring__P2543_mk(s); - s.callLocIdx = 1628; s.pc = 41; return s.tmp_5; + s.tmp_5 = info_multiplayerScoring__P55555_mk(s); + s.callLocIdx = 1629; s.pc = 41; return s.tmp_5; case 41: r0 = s.retval; case 18: @@ -32262,37 +32295,37 @@ switch (step) { case 19: // jmp value (already in r0) s.tmp_7 = r0; - s.preferMultiplayer___12994 = (s.tmp_7); - s.tmp_0 = game_GameOverConfig_getMessage__P2977_mk(s); - s.tmp_0.arg0 = s.goc___12949; + s.preferMultiplayer___66023 = (s.tmp_7); + s.tmp_0 = game_GameOverConfig_getMessage__P55989_mk(s); + s.tmp_0.arg0 = s.goc___65978; s.tmp_0.arg1 = s.arg0; - s.tmp_0.arg2 = s.preferMultiplayer___12994; - s.callLocIdx = 1629; s.pc = 42; return s.tmp_0; + s.tmp_0.arg2 = s.preferMultiplayer___66023; + s.callLocIdx = 1630; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - s.message___13002 = (r0); - s.tmp_0 = game_GameOverConfig_getEffect__P2972_mk(s); - s.tmp_0.arg0 = s.goc___12949; + s.message___66031 = (r0); + s.tmp_0 = game_GameOverConfig_getEffect__P55984_mk(s); + s.tmp_0.arg0 = s.goc___65978; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1630; s.pc = 43; return s.tmp_0; + s.callLocIdx = 1631; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.effect___13008 = (r0); - s.tmp_0 = game_GameOverConfig_getSound__P2974_mk(s); - s.tmp_0.arg0 = s.goc___12949; + s.effect___66037 = (r0); + s.tmp_0 = game_GameOverConfig_getSound__P55986_mk(s); + s.tmp_0.arg0 = s.goc___65978; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1631; s.pc = 44; return s.tmp_0; + s.callLocIdx = 1632; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; - s.sound___13013 = (r0); - s.tmp_0 = game_GameOverConfig_getSoundLooping__P2975_mk(s); - s.tmp_0.arg0 = s.goc___12949; + s.sound___66042 = (r0); + s.tmp_0 = game_GameOverConfig_getSoundLooping__P55987_mk(s); + s.tmp_0.arg0 = s.goc___65978; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1632; s.pc = 45; return s.tmp_0; + s.callLocIdx = 1633; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; - s.looping___13018 = (r0); - r0 = pxsim_numops_toBoolDecr(s.looping___13018); + s.looping___66047 = (r0); + r0 = pxsim_numops_toBoolDecr(s.looping___66047); if (!r0) { step = 20; continue; } r0 = 2; { step = 21; continue; } @@ -32301,109 +32334,109 @@ switch (step) { case 21: // jmp value (already in r0) s.tmp_0 = r0; - s.playbackMode___13023 = (s.tmp_0); + s.playbackMode___66052 = (s.tmp_0); case 22: - s.tmp_0 = r0 = globals._sceneStack___5023; + s.tmp_0 = r0 = globals._sceneStack___58036; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 23; continue; } r0 = s.tmp_0; { step = 24; continue; } case 23: - r0 = pxsim_Array__length(globals._sceneStack___5023); + r0 = pxsim_Array__length(globals._sceneStack___58036); case 24: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 25; continue; } - s.tmp_2 = scene_Scene_destroy__P2851_mk(s); - s.tmp_2.arg0 = globals._scene___5022; - s.callLocIdx = 1633; s.pc = 46; return s.tmp_2; + s.tmp_2 = scene_Scene_destroy__P55863_mk(s); + s.tmp_2.arg0 = globals._scene___58035; + s.callLocIdx = 1634; s.pc = 46; return s.tmp_2; case 46: r0 = s.retval; - s.tmp_0 = game_popScene__P2984_mk(s); - s.callLocIdx = 1634; s.pc = 47; return s.tmp_0; + s.tmp_0 = game_popScene__P55996_mk(s); + s.callLocIdx = 1635; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; { step = 22; continue; } case 25: - s.tmp_0 = game_pushScene__P2983_mk(s); - s.callLocIdx = 1635; s.pc = 48; return s.tmp_0; + s.tmp_0 = game_pushScene__P55995_mk(s); + s.callLocIdx = 1636; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; - s.tmp_0 = scene_setBackgroundImage__P2865_mk(s); - r0 = pxsim_ImageMethods.clone(globals.screen___2013); + s.tmp_0 = scene_setBackgroundImage__P55877_mk(s); + r0 = pxsim_ImageMethods.clone(globals.screen___55025); s.tmp_0.arg0 = r0; - s.callLocIdx = 1636; s.pc = 49; return s.tmp_0; + s.callLocIdx = 1637; s.pc = 49; return s.tmp_0; case 49: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.sound___13013); + r0 = pxsim_numops_toBoolDecr(s.sound___66042); if (!r0) { step = 26; continue; } - s.tmp_0 = music_play__P1907_mk(s); - s.tmp_0.arg0 = s.sound___13013; - s.tmp_0.arg1 = s.playbackMode___13023; - s.callLocIdx = 1637; s.pc = 50; return s.tmp_0; + s.tmp_0 = music_play__P54919_mk(s); + s.tmp_0.arg0 = s.sound___66042; + s.tmp_0.arg1 = s.playbackMode___66052; + s.callLocIdx = 1638; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; case 26: case 27: - r0 = pxsim_numops_toBoolDecr(s.effect___13008); + r0 = pxsim_numops_toBoolDecr(s.effect___66037); if (!r0) { step = 28; continue; } s.tmp_0 = if_startScreenEffect_1_mk(s); - s.tmp_0.arg0 = s.effect___13008; + s.tmp_0.arg0 = s.effect___66037; if (!s.tmp_0.arg0.vtable.iface) { setupLambda(s.tmp_0, pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "startScreenEffect"), 1); - s.callLocIdx = 1638; s.pc = 51; return s.tmp_0; + s.callLocIdx = 1639; s.pc = 51; return s.tmp_0; } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["startScreenEffect"]; - if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["startScreenEffect"], 1); s.callLocIdx = 1638; s.pc = 51; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1638; s.pc = 51; return s.tmp_0;; } - else { s.callLocIdx = 1638; s.pc = 51; return s.tmp_0; } + if (s.tmp_0.fn == null) { setupLambda(s.tmp_0, s.tmp_0.arg0.fields["startScreenEffect"], 1); s.callLocIdx = 1639; s.pc = 51; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 1639; s.pc = 51; return s.tmp_0;; } + else { s.callLocIdx = 1639; s.pc = 51; return s.tmp_0; } } case 51: r0 = s.retval; case 28: case 29: - s.tmp_0 = pause__P413_mk(s); + s.tmp_0 = pause__P53425_mk(s); s.tmp_0.arg0 = 400; - s.callLocIdx = 1639; s.pc = 52; return s.tmp_0; + s.callLocIdx = 1640; s.pc = 52; return s.tmp_0; case 52: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(game_GameOverDialog__C2926_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_GameOverDialog__C55938_VT); s.tmp_0 = r0; - s.tmp_1 = game_GameOverDialog_constructor__P2933_mk(s); + s.tmp_1 = game_GameOverDialog_constructor__P55945_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.message___13002; - s.tmp_1.arg3 = s.judged___12952; - s.tmp_1.arg4 = s.scores___12973; - s.tmp_1.arg5 = s.prevBestScore___12963; + s.tmp_1.arg2 = s.message___66031; + s.tmp_1.arg3 = s.judged___65981; + s.tmp_1.arg4 = s.scores___66002; + s.tmp_1.arg5 = s.prevBestScore___65992; s.tmp_1.arg6 = s.arg1; - s.callLocIdx = 1640; s.pc = 53; return s.tmp_1; + s.callLocIdx = 1641; s.pc = 53; return s.tmp_1; case 53: r0 = s.retval; - s.overDialog___13049 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(1, game__gameOverImpl_inline__P13061); + s.overDialog___66078 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(1, game__gameOverImpl_inline__P66090); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overDialog___13049); - s.tmp_1 = scene_createRenderable__P2785_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overDialog___66078); + s.tmp_1 = scene_createRenderable__P55797_mk(s); s.tmp_1.arg0 = 100; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; - s.callLocIdx = 1641; s.pc = 54; return s.tmp_1; + s.callLocIdx = 1642; s.pc = 54; return s.tmp_1; case 54: r0 = s.retval; - s.tmp_0 = pause__P413_mk(s); + s.tmp_0 = pause__P53425_mk(s); s.tmp_0.arg0 = 500; - s.callLocIdx = 1642; s.pc = 55; return s.tmp_0; + s.callLocIdx = 1643; s.pc = 55; return s.tmp_0; case 55: r0 = s.retval; - s.tmp_0 = game_GameOverDialog_displayCursor__P2934_mk(s); - s.tmp_0.arg0 = s.overDialog___13049; - s.callLocIdx = 1643; s.pc = 56; return s.tmp_0; + s.tmp_0 = game_GameOverDialog_displayCursor__P55946_mk(s); + s.tmp_0.arg0 = s.overDialog___66078; + s.callLocIdx = 1644; s.pc = 56; return s.tmp_0; case 56: r0 = s.retval; - s.tmp_0 = game_waitAnyButton__P2981_mk(s); - s.callLocIdx = 1644; s.pc = 57; return s.tmp_0; + s.tmp_0 = game_waitAnyButton__P55993_mk(s); + s.callLocIdx = 1645; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; setupResume(s, 58); @@ -32418,12 +32451,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game__gameOverImpl__P5032.info = {"start":11264,"length":2533,"line":350,"column":4,"endLine":408,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"_gameOverImpl","argumentNames":["win","winnerOverride"]} +game__gameOverImpl__P58045.info = {"start":11264,"length":2664,"line":350,"column":4,"endLine":410,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"_gameOverImpl","argumentNames":["win","winnerOverride"]} -function game__gameOverImpl__P5032_mk(s) { +function game__gameOverImpl__P58045_mk(s) { checkStack(s.depth); return { - parent: s, fn: game__gameOverImpl__P5032, depth: s.depth + 1, + parent: s, fn: game__gameOverImpl__P58045, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32433,19 +32466,19 @@ function game__gameOverImpl__P5032_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - goc___12949: undefined, - judged___12952: undefined, - playersWithScores___12960: undefined, - prevBestScore___12963: undefined, - winner___12967: undefined, - scores___12973: undefined, - preferMultiplayer___12994: undefined, - message___13002: undefined, - effect___13008: undefined, - sound___13013: undefined, - looping___13018: undefined, - playbackMode___13023: undefined, - overDialog___13049: undefined, + goc___65978: undefined, + judged___65981: undefined, + playersWithScores___65989: undefined, + prevBestScore___65992: undefined, + winner___65996: undefined, + scores___66002: undefined, + preferMultiplayer___66023: undefined, + message___66031: undefined, + effect___66037: undefined, + sound___66042: undefined, + looping___66047: undefined, + playbackMode___66052: undefined, + overDialog___66078: undefined, arg0: undefined, arg1: undefined, } } @@ -32454,7 +32487,7 @@ function game__gameOverImpl__P5032_mk(s) { -function scores_inline__P12975(s) { +function scores_inline__P66004(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32468,34 +32501,34 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(game_GameOverPlayerScore__C2923_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_GameOverPlayerScore__C55935_VT); s.tmp_0 = r0; - s.tmp_1 = game_GameOverPlayerScore_constructor__P2925_mk(s); + s.tmp_1 = game_GameOverPlayerScore_constructor__P55937_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["_player"]; s.tmp_1.arg1 = r0; - s.tmp_2 = info_PlayerInfoImpl_score__P2586_mk(s); + s.tmp_2 = info_PlayerInfoImpl_score__P55598_mk(s); r0 = s.arg0.fields["impl"]; s.tmp_2.arg0 = r0; - s.callLocIdx = 1623; s.pc = 2; return s.tmp_2; + s.callLocIdx = 1624; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1.arg2 = r0; r0 = (s.arg0 === s.caps[0]); s.tmp_1.arg3 = r0; - s.callLocIdx = 1624; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1625; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scores_inline__P12975.info = {"start":11859,"length":88,"line":364,"column":49,"endLine":364,"endColumn":137,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["player"]} +scores_inline__P66004.info = {"start":11859,"length":88,"line":364,"column":49,"endLine":364,"endColumn":137,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["player"]} -function scores_inline__P12975_mk(s) { +function scores_inline__P66004_mk(s) { checkStack(s.depth); return { - parent: s, fn: scores_inline__P12975, depth: s.depth + 1, + parent: s, fn: scores_inline__P66004, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32507,7 +32540,7 @@ function scores_inline__P12975_mk(s) { -function game__gameOverImpl_inline__P13061(s) { +function game__gameOverImpl_inline__P66090(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32521,9 +32554,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_GameOverDialog__C2926_v0_1_mk(s); + s.tmp_0 = game_GameOverDialog__C55938_v0_1_mk(s); s.tmp_0.arg0 = s.caps[0]; - if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C2926_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C55938_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.update; s.pc = 1; return s.tmp_0; case 1: @@ -32531,7 +32564,7 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.caps[0].fields["image"]; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___2013); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_4 = r0; r0 = s.caps[0].fields["image"]; s.tmp_6 = r0; @@ -32546,12 +32579,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game__gameOverImpl_inline__P13061.info = {"start":13362,"length":254,"line":394,"column":48,"endLine":401,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["target"]} +game__gameOverImpl_inline__P66090.info = {"start":13493,"length":254,"line":396,"column":48,"endLine":403,"endColumn":13,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["target"]} -function game__gameOverImpl_inline__P13061_mk(s) { +function game__gameOverImpl_inline__P66090_mk(s) { checkStack(s.depth); return { - parent: s, fn: game__gameOverImpl_inline__P13061, depth: s.depth + 1, + parent: s, fn: game__gameOverImpl_inline__P66090, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32567,7 +32600,7 @@ function game__gameOverImpl_inline__P13061_mk(s) { -function game_waitAnyButton__P2981(s) { +function game_waitAnyButton__P55993(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32577,19 +32610,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__waitAnyButton___5026); + r0 = pxsim_numops_toBoolDecr(globals.__waitAnyButton___58039); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__waitAnyButton___5026; + s.tmp_0.argL = globals.__waitAnyButton___58039; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 1591; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1592; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = pause__P413_mk(s); + s.tmp_0 = pause__P53425_mk(s); s.tmp_0.arg0 = 3000; - s.callLocIdx = 1592; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1593; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 2: @@ -32597,12 +32630,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_waitAnyButton__P2981.info = {"start":4325,"length":111,"line":131,"column":4,"endLine":134,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"waitAnyButton","argumentNames":[]} +game_waitAnyButton__P55993.info = {"start":4325,"length":111,"line":131,"column":4,"endLine":134,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"waitAnyButton","argumentNames":[]} -function game_waitAnyButton__P2981_mk(s) { +function game_waitAnyButton__P55993_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_waitAnyButton__P2981, depth: s.depth + 1, + parent: s, fn: game_waitAnyButton__P55993, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -32611,7 +32644,7 @@ function game_waitAnyButton__P2981_mk(s) { -function game_GameOverConfig_getMessage__P2977(s) { +function game_GameOverConfig_getMessage__P55989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32628,7 +32661,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C2953_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverConfig__C55965_VT)) failedCast(r0); r0 = s.arg0.fields["messageSetByUser"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -32679,12 +32712,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_getMessage__P2977.info = {"start":3264,"length":367,"line":96,"column":8,"endLine":103,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"getMessage","argumentNames":["this","win","preferMultiplayer"]} +game_GameOverConfig_getMessage__P55989.info = {"start":3264,"length":367,"line":96,"column":8,"endLine":103,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"getMessage","argumentNames":["this","win","preferMultiplayer"]} -function game_GameOverConfig_getMessage__P2977_mk(s) { +function game_GameOverConfig_getMessage__P55989_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_getMessage__P2977, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_getMessage__P55989, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32699,7 +32732,7 @@ function game_GameOverConfig_getMessage__P2977_mk(s) { -function game_GameOverConfig_getSoundLooping__P2975(s) { +function game_GameOverConfig_getSoundLooping__P55987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32715,7 +32748,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C2953_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverConfig__C55965_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["winSoundLooping"]; @@ -32729,12 +32762,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_getSoundLooping__P2975.info = {"start":2852,"length":112,"line":86,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"getSoundLooping","argumentNames":["this","win"]} +game_GameOverConfig_getSoundLooping__P55987.info = {"start":2852,"length":112,"line":86,"column":8,"endLine":88,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"getSoundLooping","argumentNames":["this","win"]} -function game_GameOverConfig_getSoundLooping__P2975_mk(s) { +function game_GameOverConfig_getSoundLooping__P55987_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_getSoundLooping__P2975, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_getSoundLooping__P55987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32745,7 +32778,7 @@ function game_GameOverConfig_getSoundLooping__P2975_mk(s) { -function game_GameOverConfig_getSound__P2974(s) { +function game_GameOverConfig_getSound__P55986(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32761,7 +32794,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C2953_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverConfig__C55965_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["winSound"]; @@ -32775,12 +32808,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_getSound__P2974.info = {"start":2752,"length":91,"line":83,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"getSound","argumentNames":["this","win"]} +game_GameOverConfig_getSound__P55986.info = {"start":2752,"length":91,"line":83,"column":8,"endLine":85,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"getSound","argumentNames":["this","win"]} -function game_GameOverConfig_getSound__P2974_mk(s) { +function game_GameOverConfig_getSound__P55986_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_getSound__P2974, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_getSound__P55986, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32791,7 +32824,7 @@ function game_GameOverConfig_getSound__P2974_mk(s) { -function game_GameOverConfig_getEffect__P2972(s) { +function game_GameOverConfig_getEffect__P55984(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32807,7 +32840,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C2953_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverConfig__C55965_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["winEffect"]; @@ -32821,12 +32854,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_getEffect__P2972.info = {"start":2199,"length":94,"line":68,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"getEffect","argumentNames":["this","win"]} +game_GameOverConfig_getEffect__P55984.info = {"start":2199,"length":94,"line":68,"column":8,"endLine":70,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"getEffect","argumentNames":["this","win"]} -function game_GameOverConfig_getEffect__P2972_mk(s) { +function game_GameOverConfig_getEffect__P55984_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_getEffect__P2972, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_getEffect__P55984, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32837,7 +32870,7 @@ function game_GameOverConfig_getEffect__P2972_mk(s) { -function game_GameOverDialog_update__P2935(s) { +function game_GameOverDialog_update__P55947(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32852,15 +32885,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2926_VT)) failedCast(r0); - s.tmp_0 = game_BaseDialog_clearInterior__P4986_mk(s); + if (!checkSubtype(r0, game_GameOverDialog__C55938_VT)) failedCast(r0); + s.tmp_0 = game_BaseDialog_clearInterior__P57999_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1504; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1505; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = game_GameOverDialog__C2926_v2_1_mk(s); + s.tmp_0 = game_GameOverDialog__C55938_v2_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C2926_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, game_GameOverDialog__C55938_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.drawTextCore; s.pc = 4; return s.tmp_0; case 4: @@ -32869,9 +32902,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = game_BaseDialog_drawCursorRow__P2900_mk(s); + s.tmp_1 = game_BaseDialog_drawCursorRow__P55912_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 1505; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1506; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; case 1: @@ -32880,12 +32913,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_update__P2935.info = {"start":17394,"length":173,"line":497,"column":8,"endLine":504,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} +game_GameOverDialog_update__P55947.info = {"start":17394,"length":173,"line":497,"column":8,"endLine":504,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"update","argumentNames":["this"]} -function game_GameOverDialog_update__P2935_mk(s) { +function game_GameOverDialog_update__P55947_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_update__P2935, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_update__P55947, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32896,7 +32929,7 @@ function game_GameOverDialog_update__P2935_mk(s) { -function game_GameOverDialog_drawTextCore__P2939(s) { +function game_GameOverDialog_drawTextCore__P55951(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32911,32 +32944,32 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2926_VT)) failedCast(r0); - s.tmp_0 = game_GameOverDialog_drawMessage__P2936_mk(s); + if (!checkSubtype(r0, game_GameOverDialog__C55938_VT)) failedCast(r0); + s.tmp_0 = game_GameOverDialog_drawMessage__P55948_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1537; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1538; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = game_GameOverDialog_drawScores__P2937_mk(s); + s.tmp_0 = game_GameOverDialog_drawScores__P55949_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1538; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1539; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = game_GameOverDialog_drawBestScore__P2938_mk(s); + s.tmp_0 = game_GameOverDialog_drawBestScore__P55950_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1539; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1540; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_GameOverDialog_drawTextCore__P2939.info = {"start":23575,"length":123,"line":629,"column":8,"endLine":633,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_GameOverDialog_drawTextCore__P55951.info = {"start":23575,"length":123,"line":629,"column":8,"endLine":633,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_GameOverDialog_drawTextCore__P2939_mk(s) { +function game_GameOverDialog_drawTextCore__P55951_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_drawTextCore__P2939, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_drawTextCore__P55951, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32946,7 +32979,7 @@ function game_GameOverDialog_drawTextCore__P2939_mk(s) { -function game_GameOverDialog_drawBestScore__P2938(s) { +function game_GameOverDialog_drawBestScore__P55950(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32956,18 +32989,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currY___13187 = undefined; - s.label___13196 = undefined; - s.halfWidth___13207 = undefined; + s.currY___66216 = undefined; + s.label___66225 = undefined; + s.halfWidth___66236 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2926_VT)) failedCast(r0); - s.tmp_1 = game_GameOverDialog_hasBestScore__P2930_mk(s); + if (!checkSubtype(r0, game_GameOverDialog__C55938_VT)) failedCast(r0); + s.tmp_1 = game_GameOverDialog_hasBestScore__P55942_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 1528; s.pc = 7; return s.tmp_1; + s.callLocIdx = 1529; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; s.tmp_0 = r0; @@ -32976,14 +33009,14 @@ switch (step) { r0 = s.arg0.fields["height"]; s.tmp_3 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.font8___1956; + s.tmp_5.arg0 = globals.font8___54968; 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 = 1529; s.pc = 8; return s.tmp_5; } + else { s.callLocIdx = 1530; s.pc = 8; return s.tmp_5; } } case 8: r0 = s.retval; @@ -32991,34 +33024,34 @@ switch (step) { r0 = (s.tmp_3 - s.tmp_4); s.tmp_2 = r0; r0 = (s.tmp_2 - 5); - s.currY___13187 = (r0); - s.tmp_1 = game_GameOverDialog_isNewBestScore__P2931_mk(s); + s.currY___66216 = (r0); + s.tmp_1 = game_GameOverDialog_isNewBestScore__P55943_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 1530; s.pc = 9; return s.tmp_1; + s.callLocIdx = 1531; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.label___13196 = ("New Best Score!"); - s.tmp_0 = helpers_imagePrintCenter__P1970_mk(s); + s.label___66225 = ("New Best Score!"); + s.tmp_0 = helpers_imagePrintCenter__P54982_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.label___13196; - s.tmp_0.arg2 = s.currY___13187; - s.tmp_1 = game_screenColor__P4978_mk(s); + s.tmp_0.arg1 = s.label___66225; + s.tmp_0.arg2 = s.currY___66216; + s.tmp_1 = game_screenColor__P57991_mk(s); s.tmp_1.arg0 = 9; - s.callLocIdx = 1531; s.pc = 11; return s.tmp_1; + s.callLocIdx = 1532; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.font8___1956; - s.callLocIdx = 1532; s.pc = 10; return s.tmp_0; + s.tmp_0.arg4 = globals.font8___54968; + s.callLocIdx = 1533; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_3 = game_GameOverDialog_isMultiplayerGame__P2932_mk(s); + s.tmp_3 = game_GameOverDialog_isMultiplayerGame__P55944_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1533; s.pc = 12; return s.tmp_3; + s.callLocIdx = 1534; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2 = r0; @@ -33028,17 +33061,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_String_.length(s.label___13196); + r0 = pxsim_String_.length(s.label___66225); s.tmp_5 = r0; s.tmp_7 = if_charWidth_1_mk(s); - s.tmp_7.arg0 = globals.font8___1956; + s.tmp_7.arg0 = globals.font8___54968; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charWidth"); } else { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charWidth"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charWidth"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 1534; s.pc = 13; return s.tmp_7; } + else { s.callLocIdx = 1535; s.pc = 13; return s.tmp_7; } } case 13: r0 = s.retval; @@ -33046,42 +33079,42 @@ switch (step) { r0 = (s.tmp_5 * s.tmp_6); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); - s.halfWidth___13207 = (r0); + s.halfWidth___66236 = (r0); r0 = s.arg0.fields["image"]; s.tmp_0 = r0; - s.tmp_1 = r0 = globals.img_trophy_sm___4997; + s.tmp_1 = r0 = globals.img_trophy_sm___58010; r0 = s.arg0.fields["image"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.width(s.tmp_7); s.tmp_6 = r0; r0 = (s.tmp_6 >> 1); s.tmp_5 = r0; - r0 = (s.tmp_5 - s.halfWidth___13207); + r0 = (s.tmp_5 - s.halfWidth___66236); s.tmp_4 = r0; - r0 = pxsim_ImageMethods.width(globals.img_trophy_sm___4997); + r0 = pxsim_ImageMethods.width(globals.img_trophy_sm___58010); s.tmp_8 = r0; r0 = (s.tmp_4 - s.tmp_8); s.tmp_3 = r0; r0 = (s.tmp_3 - 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.currY___13187); + r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.currY___66216); r0 = s.arg0.fields["image"]; s.tmp_0 = r0; - s.tmp_1 = r0 = globals.img_trophy_sm___4997; + s.tmp_1 = r0 = globals.img_trophy_sm___58010; r0 = s.arg0.fields["image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; - r0 = (s.tmp_3 + s.halfWidth___13207); + r0 = (s.tmp_3 + s.halfWidth___66236); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.currY___13187); + r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.currY___66216); case 1: case 2: { step = 4; continue; } case 3: - s.tmp_0 = helpers_imagePrintCenter__P1970_mk(s); + s.tmp_0 = helpers_imagePrintCenter__P54982_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["bestScore"]; @@ -33097,15 +33130,15 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat("Best:", s.tmp_1); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.currY___13187; - s.tmp_3 = game_screenColor__P4978_mk(s); + s.tmp_0.arg2 = s.currY___66216; + s.tmp_3 = game_screenColor__P57991_mk(s); s.tmp_3.arg0 = 9; - s.callLocIdx = 1535; s.pc = 16; return s.tmp_3; + s.callLocIdx = 1536; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.font8___1956; - s.callLocIdx = 1536; s.pc = 14; return s.tmp_0; + s.tmp_0.arg4 = globals.font8___54968; + s.callLocIdx = 1537; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 4: @@ -33115,12 +33148,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_drawBestScore__P2938.info = {"start":22246,"length":1319,"line":600,"column":8,"endLine":627,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBestScore","argumentNames":["this"]} +game_GameOverDialog_drawBestScore__P55950.info = {"start":22246,"length":1319,"line":600,"column":8,"endLine":627,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawBestScore","argumentNames":["this"]} -function game_GameOverDialog_drawBestScore__P2938_mk(s) { +function game_GameOverDialog_drawBestScore__P55950_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_drawBestScore__P2938, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_drawBestScore__P55950, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33131,9 +33164,9 @@ function game_GameOverDialog_drawBestScore__P2938_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - currY___13187: undefined, - label___13196: undefined, - halfWidth___13207: undefined, + currY___66216: undefined, + label___66225: undefined, + halfWidth___66236: undefined, arg0: undefined, } } @@ -33141,7 +33174,7 @@ function game_GameOverDialog_drawBestScore__P2938_mk(s) { -function game_screenColor__P4978(s) { +function game_screenColor__P57991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33155,7 +33188,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.isMono(globals.screen___2013); + r0 = pxsim_ImageMethods.isMono(globals.screen___55025); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -33170,12 +33203,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_screenColor__P4978.info = {"start":581,"length":85,"line":28,"column":4,"endLine":30,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"screenColor","argumentNames":["c"]} +game_screenColor__P57991.info = {"start":581,"length":85,"line":28,"column":4,"endLine":30,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"screenColor","argumentNames":["c"]} -function game_screenColor__P4978_mk(s) { +function game_screenColor__P57991_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_screenColor__P4978, depth: s.depth + 1, + parent: s, fn: game_screenColor__P57991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33186,7 +33219,7 @@ function game_screenColor__P4978_mk(s) { -function game_GameOverDialog_isMultiplayerGame__P2932(s) { +function game_GameOverDialog_isMultiplayerGame__P55944(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33201,7 +33234,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2926_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C55938_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 8); @@ -33216,13 +33249,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_GameOverDialog_isMultiplayerGame__P2932.info = {"start":13962,"length":84,"line":422,"column":8,"endLine":422,"endColumn":92,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"isMultiplayerGame","argumentNames":["this"]} -game_GameOverDialog_isMultiplayerGame__P2932.isGetter = true; +game_GameOverDialog_isMultiplayerGame__P55944.info = {"start":13962,"length":84,"line":422,"column":8,"endLine":422,"endColumn":92,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"isMultiplayerGame","argumentNames":["this"]} +game_GameOverDialog_isMultiplayerGame__P55944.isGetter = true; -function game_GameOverDialog_isMultiplayerGame__P2932_mk(s) { +function game_GameOverDialog_isMultiplayerGame__P55944_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_isMultiplayerGame__P2932, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_isMultiplayerGame__P55944, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33236,7 +33269,7 @@ function game_GameOverDialog_isMultiplayerGame__P2932_mk(s) { -function game_GameOverDialog_isNewBestScore__P2931(s) { +function game_GameOverDialog_isNewBestScore__P55943(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33251,7 +33284,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2926_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C55938_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 4); @@ -33266,13 +33299,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_GameOverDialog_isNewBestScore__P2931.info = {"start":13875,"length":78,"line":421,"column":8,"endLine":421,"endColumn":86,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"isNewBestScore","argumentNames":["this"]} -game_GameOverDialog_isNewBestScore__P2931.isGetter = true; +game_GameOverDialog_isNewBestScore__P55943.info = {"start":13875,"length":78,"line":421,"column":8,"endLine":421,"endColumn":86,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"isNewBestScore","argumentNames":["this"]} +game_GameOverDialog_isNewBestScore__P55943.isGetter = true; -function game_GameOverDialog_isNewBestScore__P2931_mk(s) { +function game_GameOverDialog_isNewBestScore__P55943_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_isNewBestScore__P2931, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_isNewBestScore__P55943, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33286,7 +33319,7 @@ function game_GameOverDialog_isNewBestScore__P2931_mk(s) { -function game_GameOverDialog_hasBestScore__P2930(s) { +function game_GameOverDialog_hasBestScore__P55942(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33301,7 +33334,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2926_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C55938_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 2); @@ -33316,13 +33349,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_GameOverDialog_hasBestScore__P2930.info = {"start":13790,"length":76,"line":420,"column":8,"endLine":420,"endColumn":84,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"hasBestScore","argumentNames":["this"]} -game_GameOverDialog_hasBestScore__P2930.isGetter = true; +game_GameOverDialog_hasBestScore__P55942.info = {"start":13790,"length":76,"line":420,"column":8,"endLine":420,"endColumn":84,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"hasBestScore","argumentNames":["this"]} +game_GameOverDialog_hasBestScore__P55942.isGetter = true; -function game_GameOverDialog_hasBestScore__P2930_mk(s) { +function game_GameOverDialog_hasBestScore__P55942_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_hasBestScore__P2930, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_hasBestScore__P55942, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33336,7 +33369,7 @@ function game_GameOverDialog_hasBestScore__P2930_mk(s) { -function helpers_imagePrintCenter__P1970(s) { +function helpers_imagePrintCenter__P54982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33346,8 +33379,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___13282 = undefined; - s.x___13288 = undefined; + s.w___66311 = undefined; + s.x___66317 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33362,7 +33395,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P1958_mk(s); + s.tmp_2 = image_getFontForText__P54970_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 213; s.pc = 3; return s.tmp_2; case 3: @@ -33386,17 +33419,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___13282 = (r0); + s.w___66311 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___13282); + r0 = (s.tmp_1 - s.w___66311); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___13288 = (r0); - s.tmp_0 = helpers_imagePrint__P1971_mk(s); + s.x___66317 = (r0); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___13288; + s.tmp_0.arg2 = s.x___66317; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -33408,18 +33441,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P1970.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__P54982.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__P1970_mk(s) { +function helpers_imagePrintCenter__P54982_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P1970, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P54982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___13282: undefined, - x___13288: undefined, + w___66311: undefined, + x___66317: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33431,7 +33464,7 @@ function helpers_imagePrintCenter__P1970_mk(s) { -function game_GameOverDialog_drawScores__P2937(s) { +function game_GameOverDialog_drawScores__P55949(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33441,77 +33474,77 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scores___13323 = undefined; - s.currY___13336 = undefined; - s.score___13345 = undefined; - s.x___13377 = undefined; - s.strlens___13404 = undefined; - s.i___13406 = undefined; - s.col___13412 = undefined; - s.score___13415 = undefined; - s.i___13448 = undefined; - s.col___13454 = undefined; - s.score___13457 = undefined; - s.str___13461 = undefined; - s.x___13473 = undefined; - s.score___13554 = undefined; - s.currY___13575 = undefined; - s.currY___13595 = undefined; + s.scores___66352 = undefined; + s.currY___66365 = undefined; + s.score___66374 = undefined; + s.x___66406 = undefined; + s.strlens___66433 = undefined; + s.i___66435 = undefined; + s.col___66441 = undefined; + s.score___66444 = undefined; + s.i___66477 = undefined; + s.col___66483 = undefined; + s.score___66486 = undefined; + s.str___66490 = undefined; + s.x___66502 = undefined; + s.score___66583 = undefined; + s.currY___66604 = undefined; + s.currY___66624 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2926_VT)) failedCast(r0); - s.tmp_1 = game_GameOverDialog_hasScores__P2929_mk(s); + if (!checkSubtype(r0, game_GameOverDialog__C55938_VT)) failedCast(r0); + s.tmp_1 = game_GameOverDialog_hasScores__P55941_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 1508; s.pc = 23; return s.tmp_1; + s.callLocIdx = 1509; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - s.tmp_2 = helpers_arrayFilter__P110_mk(s); + s.tmp_2 = helpers_arrayFilter__P53122_mk(s); r0 = s.arg0.fields["scores"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = scores_inline__P13325; - s.callLocIdx = 1509; s.pc = 24; return s.tmp_2; + s.tmp_2.arg1 = scores_inline__P66354; + s.callLocIdx = 1510; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; - s.scores___13323 = (r0); + s.scores___66352 = (r0); s.tmp_1 = if_charHeight_1_mk(s); - s.tmp_1.arg0 = globals.font5___1961; + s.tmp_1.arg0 = globals.font5___54973; if (!s.tmp_1.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "charHeight"); } else { 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 = 1510; s.pc = 25; return s.tmp_1; } + else { s.callLocIdx = 1511; s.pc = 25; return s.tmp_1; } } case 25: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 16); - s.currY___13336 = (r0); - s.tmp_1 = game_GameOverDialog_isMultiplayerGame__P2932_mk(s); + s.currY___66365 = (r0); + s.tmp_1 = game_GameOverDialog_isMultiplayerGame__P55944_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 1511; s.pc = 26; return s.tmp_1; + s.callLocIdx = 1512; s.pc = 26; return s.tmp_1; case 26: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - r0 = pxsim_Array__length(s.scores___13323); + r0 = pxsim_Array__length(s.scores___66352); s.tmp_3 = r0; r0 = (s.tmp_3 === 1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - r0 = pxsim_Array__getAt(s.scores___13323, 0); - s.score___13345 = (r0); - s.tmp_0 = r0 = s.score___13345; - r0 = s.score___13345.fields["player"]; + r0 = pxsim_Array__getAt(s.scores___66352, 0); + s.score___66374 = (r0); + s.tmp_0 = r0 = s.score___66374; + r0 = s.score___66374.fields["player"]; s.tmp_7 = r0; if ((s.tmp_7) && (s.tmp_7).vtable) { setupResume(s, 27); @@ -33544,7 +33577,7 @@ switch (step) { case 29: r0 = s.retval; s.tmp_2 = r0; - r0 = s.score___13345.fields["value"]; + r0 = s.score___66374.fields["value"]; s.tmp_9 = r0; if ((s.tmp_9) && (s.tmp_9).vtable) { setupResume(s, 30); @@ -33558,23 +33591,23 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_2, s.tmp_8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["str"] = (s.tmp_1); - s.tmp_0 = helpers_imagePrintCenter__P1970_mk(s); + s.tmp_0 = helpers_imagePrintCenter__P54982_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; - r0 = s.score___13345.fields["str"]; + r0 = s.score___66374.fields["str"]; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.currY___13336; - s.tmp_1 = game_screenColor__P4978_mk(s); + s.tmp_0.arg2 = s.currY___66365; + s.tmp_1 = game_screenColor__P57991_mk(s); s.tmp_1.arg0 = 1; - s.callLocIdx = 1512; s.pc = 32; return s.tmp_1; + s.callLocIdx = 1513; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.font5___1961; - s.callLocIdx = 1513; s.pc = 31; return s.tmp_0; + s.tmp_0.arg4 = globals.font5___54973; + s.callLocIdx = 1514; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; - r0 = s.score___13345.fields["winner"]; + r0 = s.score___66374.fields["winner"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -33584,19 +33617,19 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; - r0 = s.score___13345.fields["str"]; + r0 = s.score___66374.fields["str"]; s.tmp_7 = r0; r0 = pxsim_String_.length(s.tmp_7); s.tmp_6 = r0; s.tmp_9 = if_charWidth_1_mk(s); - s.tmp_9.arg0 = globals.font5___1961; + s.tmp_9.arg0 = globals.font5___54973; if (!s.tmp_9.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_9.arg0, "charWidth"); } else { s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["charWidth"]; if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["charWidth"]; } else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.callLocIdx = 1514; s.pc = 33; return s.tmp_9; } + else { s.callLocIdx = 1515; s.pc = 33; return s.tmp_9; } } case 33: r0 = s.retval; @@ -33606,18 +33639,18 @@ switch (step) { r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; r0 = (s.tmp_1 - s.tmp_4); - s.x___13377 = (r0); + s.x___66406 = (r0); r0 = s.arg0.fields["image"]; s.tmp_0 = r0; - s.tmp_1 = r0 = globals.img_trophy_sm___4997; - s.tmp_4 = r0 = s.x___13377; - r0 = pxsim_ImageMethods.width(globals.img_trophy_sm___4997); + s.tmp_1 = r0 = globals.img_trophy_sm___58010; + s.tmp_4 = r0 = s.x___66406; + r0 = pxsim_ImageMethods.width(globals.img_trophy_sm___58010); s.tmp_5 = r0; r0 = (s.tmp_4 - s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_3 - 3); s.tmp_2 = r0; - r0 = (s.currY___13336 - 2); + r0 = (s.currY___66365 - 2); s.tmp_6 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_6); case 1: @@ -33628,22 +33661,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, 0); r0 = pxsim_Array__push(s.tmp_0, 0); - s.strlens___13404 = (s.tmp_0); - s.i___13406 = (0); + s.strlens___66433 = (s.tmp_0); + s.i___66435 = (0); case 4: - s.tmp_1 = r0 = s.i___13406; - r0 = pxsim_Array__length(s.scores___13323); + s.tmp_1 = r0 = s.i___66435; + r0 = pxsim_Array__length(s.scores___66352); 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 = 5; continue; } - r0 = (s.i___13406 % 2); - s.col___13412 = (r0); - r0 = pxsim_Array__getAt(s.scores___13323, s.i___13406); - s.score___13415 = (r0); - s.tmp_0 = r0 = s.score___13415; - r0 = s.score___13415.fields["player"]; + r0 = (s.i___66435 % 2); + s.col___66441 = (r0); + r0 = pxsim_Array__getAt(s.scores___66352, s.i___66435); + s.score___66444 = (r0); + s.tmp_0 = r0 = s.score___66444; + r0 = s.score___66444.fields["player"]; s.tmp_7 = r0; if ((s.tmp_7) && (s.tmp_7).vtable) { setupResume(s, 34); @@ -33676,7 +33709,7 @@ switch (step) { case 36: r0 = s.retval; s.tmp_2 = r0; - r0 = s.score___13415.fields["value"]; + r0 = s.score___66444.fields["value"]; s.tmp_9 = r0; if ((s.tmp_9) && (s.tmp_9).vtable) { setupResume(s, 37); @@ -33690,59 +33723,59 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_2, s.tmp_8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["str"] = (s.tmp_1); - s.tmp_0 = r0 = s.strlens___13404; - s.tmp_1 = r0 = s.col___13412; - s.tmp_3 = Math_max__P130_mk(s); - r0 = pxsim_Array__getAt(s.strlens___13404, s.col___13412); + s.tmp_0 = r0 = s.strlens___66433; + s.tmp_1 = r0 = s.col___66441; + s.tmp_3 = Math_max__P53142_mk(s); + r0 = pxsim_Array__getAt(s.strlens___66433, s.col___66441); s.tmp_3.arg0 = r0; - r0 = s.score___13415.fields["str"]; + r0 = s.score___66444.fields["str"]; s.tmp_4 = r0; r0 = pxsim_String_.length(s.tmp_4); s.tmp_3.arg1 = r0; - s.callLocIdx = 1515; s.pc = 38; return s.tmp_3; + s.callLocIdx = 1516; s.pc = 38; return s.tmp_3; case 38: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, s.tmp_1, s.tmp_2); - r0 = (s.i___13406 + 1); - s.i___13406 = (r0); + r0 = (s.i___66435 + 1); + s.i___66435 = (r0); { step = 4; continue; } case 5: - s.i___13448 = (0); + s.i___66477 = (0); case 6: - s.tmp_1 = r0 = s.i___13448; - r0 = pxsim_Array__length(s.scores___13323); + s.tmp_1 = r0 = s.i___66477; + r0 = pxsim_Array__length(s.scores___66352); 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.i___13448 % 2); - s.col___13454 = (r0); - r0 = pxsim_Array__getAt(s.scores___13323, s.i___13448); - s.score___13457 = (r0); - s.tmp_0 = game_padStr__P4976_mk(s); - r0 = pxsim_Array__getAt(s.strlens___13404, s.col___13454); + r0 = (s.i___66477 % 2); + s.col___66483 = (r0); + r0 = pxsim_Array__getAt(s.scores___66352, s.i___66477); + s.score___66486 = (r0); + s.tmp_0 = game_padStr__P57989_mk(s); + r0 = pxsim_Array__getAt(s.strlens___66433, s.col___66483); s.tmp_0.arg0 = r0; - s.callLocIdx = 1516; s.pc = 39; return s.tmp_0; + s.callLocIdx = 1517; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.str___13461 = (r0); - s.tmp_0 = game_replaceRange__P4977_mk(s); - s.tmp_0.arg0 = s.str___13461; - r0 = s.score___13457.fields["str"]; + s.str___66490 = (r0); + s.tmp_0 = game_replaceRange__P57990_mk(s); + s.tmp_0.arg0 = s.str___66490; + r0 = s.score___66486.fields["str"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = s.score___13457.fields["str"]; + r0 = s.score___66486.fields["str"]; s.tmp_1 = r0; r0 = pxsim_String_.length(s.tmp_1); s.tmp_0.arg3 = r0; - s.callLocIdx = 1517; s.pc = 40; return s.tmp_0; + s.callLocIdx = 1518; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.str___13461 = (r0); - s.x___13473 = (0); - r0 = (s.col___13454 === 0); + s.str___66490 = (r0); + s.x___66502 = (0); + r0 = (s.col___66483 === 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -33752,17 +33785,17 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; - r0 = pxsim_Array__getAt(s.strlens___13404, s.col___13454); + r0 = pxsim_Array__getAt(s.strlens___66433, s.col___66483); s.tmp_6 = r0; s.tmp_8 = if_charWidth_1_mk(s); - s.tmp_8.arg0 = globals.font5___1961; + s.tmp_8.arg0 = globals.font5___54973; if (!s.tmp_8.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_8.arg0, "charWidth"); } else { s.tmp_8.fn = s.tmp_8.arg0.vtable.iface["charWidth"]; if (s.tmp_8.fn == null) { s.retval = s.tmp_8.arg0.fields["charWidth"]; } else if (!s.tmp_8.fn.isGetter) { s.retval = bind(s.tmp_8); } - else { s.callLocIdx = 1518; s.pc = 41; return s.tmp_8; } + else { s.callLocIdx = 1519; s.pc = 41; return s.tmp_8; } } case 41: r0 = s.retval; @@ -33772,7 +33805,7 @@ switch (step) { r0 = (s.tmp_2 - s.tmp_5); s.tmp_1 = r0; r0 = (s.tmp_1 - 3); - s.x___13473 = (r0); + s.x___66502 = (r0); { step = 8; continue; } case 7: r0 = s.arg0.fields["image"]; @@ -33782,13 +33815,13 @@ switch (step) { r0 = (s.tmp_1 >> 1); s.tmp_0 = r0; r0 = (s.tmp_0 + 3); - s.x___13473 = (r0); + s.x___66502 = (r0); case 8: - r0 = s.score___13457.fields["winner"]; + r0 = s.score___66486.fields["winner"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.i___13448 % 2); + r0 = (s.i___66477 % 2); s.tmp_2 = r0; r0 = (s.tmp_2 === 0); s.tmp_1 = r0; @@ -33796,36 +33829,36 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = s.arg0.fields["image"]; s.tmp_3 = r0; - s.tmp_4 = r0 = globals.img_trophy_sm___4997; - s.tmp_7 = r0 = s.x___13473; - r0 = pxsim_ImageMethods.width(globals.img_trophy_sm___4997); + s.tmp_4 = r0 = globals.img_trophy_sm___58010; + s.tmp_7 = r0 = s.x___66502; + r0 = pxsim_ImageMethods.width(globals.img_trophy_sm___58010); s.tmp_8 = r0; r0 = (s.tmp_7 - s.tmp_8); s.tmp_6 = r0; r0 = (s.tmp_6 - 3); s.tmp_5 = r0; - r0 = (s.currY___13336 - 2); + r0 = (s.currY___66365 - 2); s.tmp_9 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_3, s.tmp_4, s.tmp_5, s.tmp_9); { step = 10; continue; } case 9: r0 = s.arg0.fields["image"]; s.tmp_0 = r0; - s.tmp_1 = r0 = globals.img_trophy_sm___4997; - s.tmp_4 = r0 = s.x___13473; - r0 = s.score___13457.fields["str"]; + s.tmp_1 = r0 = globals.img_trophy_sm___58010; + s.tmp_4 = r0 = s.x___66502; + r0 = s.score___66486.fields["str"]; s.tmp_7 = r0; r0 = pxsim_String_.length(s.tmp_7); s.tmp_6 = r0; s.tmp_9 = if_charWidth_1_mk(s); - s.tmp_9.arg0 = globals.font5___1961; + s.tmp_9.arg0 = globals.font5___54973; if (!s.tmp_9.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_9.arg0, "charWidth"); } else { s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["charWidth"]; if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["charWidth"]; } else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.callLocIdx = 1519; s.pc = 42; return s.tmp_9; } + else { s.callLocIdx = 1520; s.pc = 42; return s.tmp_9; } } case 42: r0 = s.retval; @@ -33836,45 +33869,45 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 + 2); s.tmp_2 = r0; - r0 = (s.currY___13336 - 2); + r0 = (s.currY___66365 - 2); s.tmp_10 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_10); case 10: case 11: case 12: - s.tmp_0 = helpers_imagePrint__P1971_mk(s); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.str___13461; - s.tmp_0.arg2 = s.x___13473; - s.tmp_0.arg3 = s.currY___13336; - s.tmp_1 = game_screenColor__P4978_mk(s); + s.tmp_0.arg1 = s.str___66490; + s.tmp_0.arg2 = s.x___66502; + s.tmp_0.arg3 = s.currY___66365; + s.tmp_1 = game_screenColor__P57991_mk(s); s.tmp_1.arg0 = 1; - s.callLocIdx = 1520; s.pc = 44; return s.tmp_1; + s.callLocIdx = 1521; s.pc = 44; return s.tmp_1; case 44: r0 = s.retval; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = globals.font5___1961; + s.tmp_0.arg5 = globals.font5___54973; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1521; s.pc = 43; return s.tmp_0; + s.callLocIdx = 1522; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - r0 = (s.i___13448 % 2); + r0 = (s.i___66477 % 2); s.tmp_1 = r0; r0 = (s.tmp_1 === 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_2 = r0 = s.currY___13336; + s.tmp_2 = r0 = s.currY___66365; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.font5___1961; + s.tmp_5.arg0 = globals.font5___54973; 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 = 1522; s.pc = 45; return s.tmp_5; } + else { s.callLocIdx = 1523; s.pc = 45; return s.tmp_5; } } case 45: r0 = s.retval; @@ -33882,20 +33915,20 @@ switch (step) { r0 = (s.tmp_4 + 2); s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.currY___13336 = (r0); + s.currY___66365 = (r0); case 13: case 14: - r0 = (s.i___13448 + 1); - s.i___13448 = (r0); + r0 = (s.i___66477 + 1); + s.i___66477 = (r0); { step = 6; continue; } case 15: case 16: { step = 18; continue; } case 17: - r0 = pxsim_Array__getAt(s.scores___13323, 0); - s.score___13554 = (r0); - s.tmp_0 = r0 = s.score___13554; - r0 = s.score___13554.fields["value"]; + r0 = pxsim_Array__getAt(s.scores___66352, 0); + s.score___66583 = (r0); + s.tmp_0 = r0 = s.score___66583; + r0 = s.score___66583.fields["value"]; s.tmp_3 = r0; if ((s.tmp_3) && (s.tmp_3).vtable) { setupResume(s, 46); @@ -33909,110 +33942,110 @@ switch (step) { r0 = pxsim_String__concat("Score:", s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["str"] = (s.tmp_1); - s.tmp_0 = helpers_imagePrintCenter__P1970_mk(s); + s.tmp_0 = helpers_imagePrintCenter__P54982_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; - r0 = s.score___13554.fields["str"]; + r0 = s.score___66583.fields["str"]; s.tmp_0.arg1 = r0; - r0 = (s.currY___13336 - 1); + r0 = (s.currY___66365 - 1); s.tmp_0.arg2 = r0; - s.tmp_1 = game_screenColor__P4978_mk(s); + s.tmp_1 = game_screenColor__P57991_mk(s); s.tmp_1.arg0 = 1; - s.callLocIdx = 1523; s.pc = 48; return s.tmp_1; + s.callLocIdx = 1524; s.pc = 48; return s.tmp_1; case 48: r0 = s.retval; s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.font8___1956; - s.callLocIdx = 1524; s.pc = 47; return s.tmp_0; + s.tmp_0.arg4 = globals.font8___54968; + s.callLocIdx = 1525; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; case 18: { step = 22; continue; } case 19: - s.tmp_1 = game_GameOverDialog_isWinCondition__P2927_mk(s); + s.tmp_1 = game_GameOverDialog_isWinCondition__P55939_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 1525; s.pc = 49; return s.tmp_1; + s.callLocIdx = 1526; s.pc = 49; return s.tmp_1; case 49: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = globals.font5___1961; + s.tmp_3.arg0 = globals.font5___54973; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); } else { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["charHeight"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["charHeight"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1526; s.pc = 50; return s.tmp_3; } + else { s.callLocIdx = 1527; s.pc = 50; return s.tmp_3; } } case 50: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_2 + 14); - s.currY___13575 = (r0); + s.currY___66604 = (r0); r0 = s.arg0.fields["image"]; s.tmp_0 = r0; - s.tmp_1 = r0 = globals.img_trophy_lg___5000; + s.tmp_1 = r0 = globals.img_trophy_lg___58013; r0 = s.arg0.fields["image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; - r0 = pxsim_ImageMethods.width(globals.img_trophy_lg___5000); + r0 = pxsim_ImageMethods.width(globals.img_trophy_lg___58013); s.tmp_7 = r0; r0 = (s.tmp_7 >> 1); s.tmp_6 = r0; r0 = (s.tmp_3 - s.tmp_6); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.currY___13575); + r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.currY___66604); { step = 21; continue; } case 20: s.tmp_1 = if_charHeight_1_mk(s); - s.tmp_1.arg0 = globals.font5___1961; + s.tmp_1.arg0 = globals.font5___54973; if (!s.tmp_1.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "charHeight"); } else { 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 = 1527; s.pc = 51; return s.tmp_1; } + else { s.callLocIdx = 1528; s.pc = 51; return s.tmp_1; } } case 51: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 14); - s.currY___13595 = (r0); + s.currY___66624 = (r0); r0 = s.arg0.fields["image"]; s.tmp_0 = r0; - s.tmp_1 = r0 = globals.img_sleepy_sim___5003; + s.tmp_1 = r0 = globals.img_sleepy_sim___58016; r0 = s.arg0.fields["image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; - r0 = pxsim_ImageMethods.width(globals.img_sleepy_sim___5003); + r0 = pxsim_ImageMethods.width(globals.img_sleepy_sim___58016); s.tmp_7 = r0; r0 = (s.tmp_7 >> 1); s.tmp_6 = r0; r0 = (s.tmp_3 - s.tmp_6); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.currY___13595); + r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.currY___66624); case 21: case 22: r0 = undefined; return leave(s, r0) default: oops() } } } -game_GameOverDialog_drawScores__P2937.info = {"start":17805,"length":4431,"line":516,"column":8,"endLine":598,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawScores","argumentNames":["this"]} +game_GameOverDialog_drawScores__P55949.info = {"start":17805,"length":4431,"line":516,"column":8,"endLine":598,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawScores","argumentNames":["this"]} -function game_GameOverDialog_drawScores__P2937_mk(s) { +function game_GameOverDialog_drawScores__P55949_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_drawScores__P2937, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_drawScores__P55949, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34025,22 +34058,22 @@ function game_GameOverDialog_drawScores__P2937_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scores___13323: undefined, - currY___13336: undefined, - score___13345: undefined, - x___13377: undefined, - strlens___13404: undefined, - i___13406: undefined, - col___13412: undefined, - score___13415: undefined, - i___13448: undefined, - col___13454: undefined, - score___13457: undefined, - str___13461: undefined, - x___13473: undefined, - score___13554: undefined, - currY___13575: undefined, - currY___13595: undefined, + scores___66352: undefined, + currY___66365: undefined, + score___66374: undefined, + x___66406: undefined, + strlens___66433: undefined, + i___66435: undefined, + col___66441: undefined, + score___66444: undefined, + i___66477: undefined, + col___66483: undefined, + score___66486: undefined, + str___66490: undefined, + x___66502: undefined, + score___66583: undefined, + currY___66604: undefined, + currY___66624: undefined, arg0: undefined, } } @@ -34048,7 +34081,7 @@ function game_GameOverDialog_drawScores__P2937_mk(s) { -function scores_inline__P13325(s) { +function scores_inline__P66354(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34068,12 +34101,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scores_inline__P13325.info = {"start":17904,"length":28,"line":518,"column":50,"endLine":518,"endColumn":78,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["score"]} +scores_inline__P66354.info = {"start":17904,"length":28,"line":518,"column":50,"endLine":518,"endColumn":78,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["score"]} -function scores_inline__P13325_mk(s) { +function scores_inline__P66354_mk(s) { checkStack(s.depth); return { - parent: s, fn: scores_inline__P13325, depth: s.depth + 1, + parent: s, fn: scores_inline__P66354, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34083,7 +34116,7 @@ function scores_inline__P13325_mk(s) { -function game_replaceRange__P4977(s) { +function game_replaceRange__P57990(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34100,11 +34133,11 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_4 = helpers_stringSubstr__P118_mk(s); + s.tmp_4 = helpers_stringSubstr__P53130_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = 0; s.tmp_4.arg2 = s.arg2; - s.callLocIdx = 1405; s.pc = 1; return s.tmp_4; + s.callLocIdx = 1406; s.pc = 1; return s.tmp_4; case 1: r0 = s.retval; s.tmp_3 = r0; @@ -34117,11 +34150,11 @@ switch (step) { case 2: r0 = s.retval; s.tmp_2 = r0; - s.tmp_7 = helpers_stringSubstr__P118_mk(s); + s.tmp_7 = helpers_stringSubstr__P53130_mk(s); s.tmp_7.arg0 = s.arg1; s.tmp_7.arg1 = 0; s.tmp_7.arg2 = s.arg3; - s.callLocIdx = 1406; s.pc = 3; return s.tmp_7; + s.callLocIdx = 1407; s.pc = 3; return s.tmp_7; case 3: r0 = s.retval; s.tmp_6 = r0; @@ -34145,12 +34178,12 @@ switch (step) { case 5: r0 = s.retval; s.tmp_0 = r0; - s.tmp_10 = helpers_stringSubstr__P118_mk(s); + s.tmp_10 = helpers_stringSubstr__P53130_mk(s); s.tmp_10.arg0 = s.arg0; r0 = (s.arg2 + s.arg3); s.tmp_10.arg1 = r0; s.tmp_10.arg2 = undefined; - s.callLocIdx = 1407; s.pc = 6; return s.tmp_10; + s.callLocIdx = 1408; s.pc = 6; return s.tmp_10; case 6: r0 = s.retval; s.tmp_9 = r0; @@ -34167,12 +34200,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_replaceRange__P4977.info = {"start":400,"length":175,"line":24,"column":4,"endLine":26,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"replaceRange","argumentNames":["dst","src","start","len"]} +game_replaceRange__P57990.info = {"start":400,"length":175,"line":24,"column":4,"endLine":26,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"replaceRange","argumentNames":["dst","src","start","len"]} -function game_replaceRange__P4977_mk(s) { +function game_replaceRange__P57990_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_replaceRange__P4977, depth: s.depth + 1, + parent: s, fn: game_replaceRange__P57990, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34195,7 +34228,7 @@ function game_replaceRange__P4977_mk(s) { -function game_padStr__P4976(s) { +function game_padStr__P57989(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34205,50 +34238,50 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.str___13666 = undefined; - s.i___13667 = undefined; + s.str___66695 = undefined; + s.i___66696 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_String_.mkEmpty(); - s.str___13666 = (r0); - s.i___13667 = (0); + s.str___66695 = (r0); + s.i___66696 = (0); case 1: - r0 = (s.i___13667 < s.arg0); + r0 = (s.i___66696 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - if ((s.str___13666) && (s.str___13666).vtable) { + if ((s.str___66695) && (s.str___66695).vtable) { setupResume(s, 3); - pxsim_String__stringConv(s.str___13666); + pxsim_String__stringConv(s.str___66695); checkResumeConsumed(); return; - } else { s.retval = (s.str___13666) + ""; } + } else { s.retval = (s.str___66695) + ""; } case 3: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, " "); - s.str___13666 = (r0); - r0 = (s.i___13667 + 1); - s.i___13667 = (r0); + s.str___66695 = (r0); + r0 = (s.i___66696 + 1); + s.i___66696 = (r0); { step = 1; continue; } case 2: - r0 = s.str___13666; + r0 = s.str___66695; return leave(s, r0) default: oops() } } } -game_padStr__P4976.info = {"start":234,"length":160,"line":16,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"padStr","argumentNames":["len"]} +game_padStr__P57989.info = {"start":234,"length":160,"line":16,"column":4,"endLine":22,"endColumn":5,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"padStr","argumentNames":["len"]} -function game_padStr__P4976_mk(s) { +function game_padStr__P57989_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_padStr__P4976, depth: s.depth + 1, + parent: s, fn: game_padStr__P57989, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - str___13666: undefined, - i___13667: undefined, + str___66695: undefined, + i___66696: undefined, arg0: undefined, } } @@ -34256,7 +34289,7 @@ function game_padStr__P4976_mk(s) { -function game_GameOverDialog_hasScores__P2929(s) { +function game_GameOverDialog_hasScores__P55941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34271,7 +34304,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2926_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C55938_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 16); @@ -34286,13 +34319,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_GameOverDialog_hasScores__P2929.info = {"start":13706,"length":75,"line":419,"column":8,"endLine":419,"endColumn":83,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"hasScores","argumentNames":["this"]} -game_GameOverDialog_hasScores__P2929.isGetter = true; +game_GameOverDialog_hasScores__P55941.info = {"start":13706,"length":75,"line":419,"column":8,"endLine":419,"endColumn":83,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"hasScores","argumentNames":["this"]} +game_GameOverDialog_hasScores__P55941.isGetter = true; -function game_GameOverDialog_hasScores__P2929_mk(s) { +function game_GameOverDialog_hasScores__P55941_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_hasScores__P2929, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_hasScores__P55941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34306,7 +34339,7 @@ function game_GameOverDialog_hasScores__P2929_mk(s) { -function game_GameOverDialog_isWinCondition__P2927(s) { +function game_GameOverDialog_isWinCondition__P55939(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34321,7 +34354,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2926_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C55938_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -34336,13 +34369,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_GameOverDialog_isWinCondition__P2927.info = {"start":13573,"length":73,"line":417,"column":8,"endLine":417,"endColumn":81,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"isWinCondition","argumentNames":["this"]} -game_GameOverDialog_isWinCondition__P2927.isGetter = true; +game_GameOverDialog_isWinCondition__P55939.info = {"start":13573,"length":73,"line":417,"column":8,"endLine":417,"endColumn":81,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"isWinCondition","argumentNames":["this"]} +game_GameOverDialog_isWinCondition__P55939.isGetter = true; -function game_GameOverDialog_isWinCondition__P2927_mk(s) { +function game_GameOverDialog_isWinCondition__P55939_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_isWinCondition__P2927, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_isWinCondition__P55939, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34356,7 +34389,7 @@ function game_GameOverDialog_isWinCondition__P2927_mk(s) { -function game_GameOverDialog_drawMessage__P2936(s) { +function game_GameOverDialog_drawMessage__P55948(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34371,33 +34404,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2926_VT)) failedCast(r0); - s.tmp_0 = helpers_imagePrintCenter__P1970_mk(s); + if (!checkSubtype(r0, game_GameOverDialog__C55938_VT)) failedCast(r0); + s.tmp_0 = helpers_imagePrintCenter__P54982_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["message"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 5; - s.tmp_1 = game_screenColor__P4978_mk(s); + s.tmp_1 = game_screenColor__P57991_mk(s); s.tmp_1.arg0 = 5; - s.callLocIdx = 1506; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1507; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.font8___1956; - s.callLocIdx = 1507; s.pc = 1; return s.tmp_0; + s.tmp_0.arg4 = globals.font8___54968; + s.callLocIdx = 1508; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_GameOverDialog_drawMessage__P2936.info = {"start":17577,"length":218,"line":506,"column":8,"endLine":514,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawMessage","argumentNames":["this"]} +game_GameOverDialog_drawMessage__P55948.info = {"start":17577,"length":218,"line":506,"column":8,"endLine":514,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawMessage","argumentNames":["this"]} -function game_GameOverDialog_drawMessage__P2936_mk(s) { +function game_GameOverDialog_drawMessage__P55948_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_drawMessage__P2936, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_drawMessage__P55948, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34408,7 +34441,7 @@ function game_GameOverDialog_drawMessage__P2936_mk(s) { -function game_GameOverDialog_displayCursor__P2934(s) { +function game_GameOverDialog_displayCursor__P55946(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34423,18 +34456,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2926_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C55938_VT)) failedCast(r0); r0 = (s.arg0).fields["cursorOn"] = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -game_GameOverDialog_displayCursor__P2934.info = {"start":17323,"length":61,"line":493,"column":8,"endLine":495,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"displayCursor","argumentNames":["this"]} +game_GameOverDialog_displayCursor__P55946.info = {"start":17323,"length":61,"line":493,"column":8,"endLine":495,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"displayCursor","argumentNames":["this"]} -function game_GameOverDialog_displayCursor__P2934_mk(s) { +function game_GameOverDialog_displayCursor__P55946_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_displayCursor__P2934, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_displayCursor__P55946, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -34443,7 +34476,7 @@ function game_GameOverDialog_displayCursor__P2934_mk(s) { -function game_GameOverDialog_constructor__P2933(s) { +function game_GameOverDialog_constructor__P55945(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34453,10 +34486,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.score___13885 = undefined; - s.winner___13940 = undefined; - s.scoresWithValues___14017 = undefined; - s.scoreRows___14049 = undefined; + s.score___66914 = undefined; + s.winner___66969 = undefined; + s.scoresWithValues___67046 = undefined; + s.scoreRows___67078 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34468,25 +34501,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2926_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C55938_VT)) failedCast(r0); r0 = (s.arg0).fields["message"] = (s.arg2); r0 = (s.arg0).fields["judged"] = (s.arg3); r0 = (s.arg0).fields["scores"] = (s.arg4); r0 = (s.arg0).fields["bestScore"] = (s.arg5); r0 = (s.arg0).fields["winnerOverride"] = (s.arg6); - s.tmp_0 = game_BaseDialog_constructor__P2895_mk(s); + s.tmp_0 = game_BaseDialog_constructor__P55907_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 46; - s.tmp_1 = game_defaultSplashFrame__P5007_mk(s); - s.callLocIdx = 1483; s.pc = 34; return s.tmp_1; + s.tmp_1 = game_defaultSplashFrame__P58020_mk(s); + s.callLocIdx = 1484; s.pc = 34; return s.tmp_1; case 34: r0 = s.retval; s.tmp_0.arg3 = r0; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; - s.callLocIdx = 1484; s.pc = 33; return s.tmp_0; + s.callLocIdx = 1485; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; r0 = (s.arg0).fields["cursorOn"] = (false); @@ -34516,48 +34549,48 @@ switch (step) { r0 = (s.tmp_2 | 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); - r0 = pxsim_pxtcore_mkAction(1, score_inline__P13887); + r0 = pxsim_pxtcore_mkAction(1, score_inline__P66916); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg6); - s.tmp_1 = helpers_arrayFind__P111_mk(s); + s.tmp_1 = helpers_arrayFind__P53123_mk(s); s.tmp_1.arg0 = s.arg4; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1485; s.pc = 35; return s.tmp_1; + s.callLocIdx = 1486; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - s.score___13885 = (r0); - r0 = pxsim_numops_toBoolDecr(s.score___13885); + s.score___66914 = (r0); + r0 = pxsim_numops_toBoolDecr(s.score___66914); 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 = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(game_GameOverPlayerScore__C2923_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_GameOverPlayerScore__C55935_VT); s.tmp_2 = r0; - s.tmp_3 = game_GameOverPlayerScore_constructor__P2925_mk(s); + s.tmp_3 = game_GameOverPlayerScore_constructor__P55937_mk(s); s.tmp_3.arg0 = s.tmp_2; s.tmp_3.arg1 = s.arg6; s.tmp_3.arg2 = null; s.tmp_3.arg3 = true; - s.callLocIdx = 1486; s.pc = 36; return s.tmp_3; + s.callLocIdx = 1487; s.pc = 36; return s.tmp_3; case 36: r0 = s.retval; r0 = pxsim_Array__push(s.arg4, s.tmp_2); - s.tmp_0 = helpers_arraySort__P105_mk(s); + s.tmp_0 = helpers_arraySort__P53117_mk(s); s.tmp_0.arg0 = s.arg4; - s.tmp_0.arg1 = game_GameOverDialog_inline__P13906; - s.callLocIdx = 1487; s.pc = 37; return s.tmp_0; + s.tmp_0.arg1 = game_GameOverDialog_inline__P66935; + s.callLocIdx = 1488; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkAction(1, game_GameOverDialog_inline__P13916); + r0 = pxsim_pxtcore_mkAction(1, game_GameOverDialog_inline__P66945); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg6); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); + s.tmp_1 = helpers_arrayForEach__P53121_mk(s); s.tmp_1.arg0 = s.arg4; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 1488; s.pc = 38; return s.tmp_1; + s.callLocIdx = 1489; s.pc = 38; return s.tmp_1; case 38: r0 = s.retval; case 5: @@ -34566,25 +34599,25 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 21; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_GameOverDialog_inline__P13928); + r0 = pxsim_pxtcore_mkAction(1, game_GameOverDialog_inline__P66957); 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__P53121_mk(s); s.tmp_2.arg0 = s.arg4; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 1489; s.pc = 39; return s.tmp_2; + s.callLocIdx = 1490; s.pc = 39; return s.tmp_2; case 39: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 19; continue; } - s.tmp_0 = helpers_arrayFind__P111_mk(s); + s.tmp_0 = helpers_arrayFind__P53123_mk(s); s.tmp_0.arg0 = s.arg4; - s.tmp_0.arg1 = winner_inline__P13943; - s.callLocIdx = 1490; s.pc = 40; return s.tmp_0; + s.tmp_0.arg1 = winner_inline__P66972; + s.callLocIdx = 1491; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.winner___13940 = (r0); - r0 = pxsim_numops_toBoolDecr(s.winner___13940); + s.winner___66969 = (r0); + r0 = pxsim_numops_toBoolDecr(s.winner___66969); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -34602,12 +34635,12 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 9; continue; } r0 = pxsim_Array__getAt(s.arg4, 0); - s.winner___13940 = (r0); + s.winner___66969 = (r0); case 9: case 10: - r0 = pxsim_numops_toBoolDecr(s.winner___13940); + r0 = pxsim_numops_toBoolDecr(s.winner___66969); if (!r0) { step = 17; continue; } - r0 = s.winner___13940.fields["value"]; + r0 = s.winner___66969.fields["value"]; s.tmp_1 = r0; r0 = (s.tmp_1 != null); s.tmp_0 = r0; @@ -34617,7 +34650,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 11; continue; } - r0 = s.winner___13940.fields["value"]; + r0 = s.winner___66969.fields["value"]; s.tmp_3 = r0; r0 = (s.arg0).fields["bestScore"] = (s.tmp_3); s.tmp_0 = r0 = s.arg0; @@ -34628,17 +34661,17 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); { step = 14; continue; } case 11: - s.tmp_1 = info_isBetterScore__P2547_mk(s); - r0 = s.winner___13940.fields["value"]; + s.tmp_1 = info_isBetterScore__P55559_mk(s); + r0 = s.winner___66969.fields["value"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg5; - s.callLocIdx = 1491; s.pc = 41; return s.tmp_1; + s.callLocIdx = 1492; s.pc = 41; return s.tmp_1; case 41: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - r0 = s.winner___13940.fields["value"]; + r0 = s.winner___66969.fields["value"]; s.tmp_2 = r0; r0 = (s.arg0).fields["bestScore"] = (s.tmp_2); s.tmp_0 = r0 = s.arg0; @@ -34653,14 +34686,14 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_stringReplaceAll__P117_mk(s); - s.tmp_3 = helpers_stringReplaceAll__P117_mk(s); - s.tmp_4 = helpers_stringReplaceAll__P117_mk(s); - s.tmp_5 = helpers_stringReplaceAll__P117_mk(s); + s.tmp_2 = helpers_stringReplaceAll__P53129_mk(s); + s.tmp_3 = helpers_stringReplaceAll__P53129_mk(s); + s.tmp_4 = helpers_stringReplaceAll__P53129_mk(s); + s.tmp_5 = helpers_stringReplaceAll__P53129_mk(s); r0 = s.arg0.fields["message"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = "${WINNER}"; - r0 = s.winner___13940.fields["player"]; + r0 = s.winner___66969.fields["player"]; s.tmp_7 = r0; if ((s.tmp_7) && (s.tmp_7).vtable) { setupResume(s, 46); @@ -34673,12 +34706,12 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat("PLAYER ", s.tmp_6); s.tmp_5.arg2 = r0; - s.callLocIdx = 1492; s.pc = 45; return s.tmp_5; + s.callLocIdx = 1493; s.pc = 45; return s.tmp_5; case 45: r0 = s.retval; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = "${Winner}"; - r0 = s.winner___13940.fields["player"]; + r0 = s.winner___66969.fields["player"]; s.tmp_9 = r0; if ((s.tmp_9) && (s.tmp_9).vtable) { setupResume(s, 47); @@ -34691,12 +34724,12 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat("Player ", s.tmp_8); s.tmp_4.arg2 = r0; - s.callLocIdx = 1493; s.pc = 44; return s.tmp_4; + s.callLocIdx = 1494; s.pc = 44; return s.tmp_4; case 44: r0 = s.retval; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = "${winner}"; - r0 = s.winner___13940.fields["player"]; + r0 = s.winner___66969.fields["player"]; s.tmp_11 = r0; if ((s.tmp_11) && (s.tmp_11).vtable) { setupResume(s, 48); @@ -34709,12 +34742,12 @@ switch (step) { s.tmp_10 = r0; r0 = pxsim_String__concat("player ", s.tmp_10); s.tmp_3.arg2 = r0; - s.callLocIdx = 1494; s.pc = 43; return s.tmp_3; + s.callLocIdx = 1495; s.pc = 43; return s.tmp_3; case 43: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = "${winner_short}"; - r0 = s.winner___13940.fields["player"]; + r0 = s.winner___66969.fields["player"]; s.tmp_13 = r0; if ((s.tmp_13) && (s.tmp_13).vtable) { setupResume(s, 49); @@ -34727,7 +34760,7 @@ switch (step) { s.tmp_12 = r0; r0 = pxsim_String__concat("P", s.tmp_12); s.tmp_2.arg2 = r0; - s.callLocIdx = 1495; s.pc = 42; return s.tmp_2; + s.callLocIdx = 1496; s.pc = 42; return s.tmp_2; case 42: r0 = s.retval; s.tmp_1 = r0; @@ -34738,14 +34771,14 @@ switch (step) { case 20: case 21: case 22: - s.tmp_0 = helpers_arrayFilter__P110_mk(s); + s.tmp_0 = helpers_arrayFilter__P53122_mk(s); s.tmp_0.arg0 = s.arg4; - s.tmp_0.arg1 = scoresWithValues_inline__P14019; - s.callLocIdx = 1496; s.pc = 50; return s.tmp_0; + s.tmp_0.arg1 = scoresWithValues_inline__P67048; + s.callLocIdx = 1497; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.scoresWithValues___14017 = (r0); - r0 = pxsim_Array__length(s.scoresWithValues___14017); + s.scoresWithValues___67046 = (r0); + r0 = pxsim_Array__length(s.scoresWithValues___67046); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } @@ -34757,9 +34790,9 @@ switch (step) { r0 = (s.tmp_1).fields["flags"] = (s.tmp_2); case 23: case 24: - s.tmp_1 = game_GameOverDialog_isWinCondition__P2927_mk(s); + s.tmp_1 = game_GameOverDialog_isWinCondition__P55939_mk(s); s.tmp_1.arg0 = s.arg0; - s.callLocIdx = 1497; s.pc = 51; return s.tmp_1; + s.callLocIdx = 1498; s.pc = 51; return s.tmp_1; case 51: r0 = s.retval; s.tmp_0 = r0; @@ -34777,9 +34810,9 @@ switch (step) { r0 = s.tmp_2; { step = 28; continue; } case 27: - s.tmp_3 = game_GameOverDialog_hasScores__P2929_mk(s); + s.tmp_3 = game_GameOverDialog_hasScores__P55941_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1499; s.pc = 52; return s.tmp_3; + s.callLocIdx = 1500; s.pc = 52; return s.tmp_3; case 52: r0 = s.retval; case 28: @@ -34806,29 +34839,29 @@ switch (step) { r0 = (s.tmp_7).fields["flags"] = (s.tmp_8); case 31: case 32: - s.tmp_1 = Math_max__P130_mk(s); + s.tmp_1 = Math_max__P53142_mk(s); s.tmp_1.arg0 = 0; - r0 = pxsim_Array__length(s.scoresWithValues___14017); + r0 = pxsim_Array__length(s.scoresWithValues___67046); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 1500; s.pc = 53; return s.tmp_1; + s.callLocIdx = 1501; s.pc = 53; return s.tmp_1; case 53: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 >> 1); - s.scoreRows___14049 = (r0); + s.scoreRows___67078 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = r0 = s.scoreRows___14049; + s.tmp_3 = r0 = s.scoreRows___67078; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.font5___1961; + s.tmp_5.arg0 = globals.font5___54973; 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 = 1501; s.pc = 54; return s.tmp_5; } + else { s.callLocIdx = 1502; s.pc = 54; return s.tmp_5; } } case 54: r0 = s.retval; @@ -34838,32 +34871,32 @@ switch (step) { r0 = (47 + s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["height"] = (s.tmp_1); - s.tmp_0 = game_BaseDialog_resize__P2896_mk(s); + s.tmp_0 = game_BaseDialog_resize__P55908_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_0.arg1 = r0; r0 = s.arg0.fields["height"]; s.tmp_0.arg2 = r0; - s.tmp_1 = game_defaultSplashFrame__P5007_mk(s); - s.callLocIdx = 1502; s.pc = 56; return s.tmp_1; + s.tmp_1 = game_defaultSplashFrame__P58020_mk(s); + s.callLocIdx = 1503; s.pc = 56; return s.tmp_1; case 56: r0 = s.retval; s.tmp_0.arg3 = r0; s.tmp_0.arg4 = undefined; s.tmp_0.arg5 = undefined; - s.callLocIdx = 1503; s.pc = 55; return s.tmp_0; + s.callLocIdx = 1504; s.pc = 55; return s.tmp_0; case 55: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_GameOverDialog_constructor__P2933.info = {"start":14056,"length":3257,"line":424,"column":8,"endLine":491,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","win","message","judged","scores","bestScore","winnerOverride"]} +game_GameOverDialog_constructor__P55945.info = {"start":14056,"length":3257,"line":424,"column":8,"endLine":491,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","win","message","judged","scores","bestScore","winnerOverride"]} -function game_GameOverDialog_constructor__P2933_mk(s) { +function game_GameOverDialog_constructor__P55945_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_constructor__P2933, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_constructor__P55945, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34879,10 +34912,10 @@ function game_GameOverDialog_constructor__P2933_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - score___13885: undefined, - winner___13940: undefined, - scoresWithValues___14017: undefined, - scoreRows___14049: undefined, + score___66914: undefined, + winner___66969: undefined, + scoresWithValues___67046: undefined, + scoreRows___67078: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34896,7 +34929,7 @@ function game_GameOverDialog_constructor__P2933_mk(s) { -function score_inline__P13887(s) { +function score_inline__P66916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34916,12 +34949,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -score_inline__P13887.info = {"start":14893,"length":40,"line":446,"column":42,"endLine":446,"endColumn":82,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["score"]} +score_inline__P66916.info = {"start":14893,"length":40,"line":446,"column":42,"endLine":446,"endColumn":82,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["score"]} -function score_inline__P13887_mk(s) { +function score_inline__P66916_mk(s) { checkStack(s.depth); return { - parent: s, fn: score_inline__P13887, depth: s.depth + 1, + parent: s, fn: score_inline__P66916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -34931,7 +34964,7 @@ function score_inline__P13887_mk(s) { -function game_GameOverDialog_inline__P13906(s) { +function game_GameOverDialog_inline__P66935(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34954,12 +34987,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_inline__P13906.info = {"start":15084,"length":29,"line":449,"column":32,"endLine":449,"endColumn":61,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["a","b"]} +game_GameOverDialog_inline__P66935.info = {"start":15084,"length":29,"line":449,"column":32,"endLine":449,"endColumn":61,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["a","b"]} -function game_GameOverDialog_inline__P13906_mk(s) { +function game_GameOverDialog_inline__P66935_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_inline__P13906, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_inline__P66935, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34971,7 +35004,7 @@ function game_GameOverDialog_inline__P13906_mk(s) { -function game_GameOverDialog_inline__P13916(s) { +function game_GameOverDialog_inline__P66945(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34995,12 +35028,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_inline__P13916.info = {"start":15165,"length":55,"line":451,"column":31,"endLine":451,"endColumn":86,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["score"]} +game_GameOverDialog_inline__P66945.info = {"start":15165,"length":55,"line":451,"column":31,"endLine":451,"endColumn":86,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["score"]} -function game_GameOverDialog_inline__P13916_mk(s) { +function game_GameOverDialog_inline__P66945_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_inline__P13916, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_inline__P66945, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35012,7 +35045,7 @@ function game_GameOverDialog_inline__P13916_mk(s) { -function game_GameOverDialog_inline__P13928(s) { +function game_GameOverDialog_inline__P66957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35049,12 +35082,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverDialog_inline__P13928.info = {"start":15393,"length":76,"line":456,"column":31,"endLine":456,"endColumn":107,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["score"]} +game_GameOverDialog_inline__P66957.info = {"start":15393,"length":76,"line":456,"column":31,"endLine":456,"endColumn":107,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["score"]} -function game_GameOverDialog_inline__P13928_mk(s) { +function game_GameOverDialog_inline__P66957_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_inline__P13928, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_inline__P66957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35069,7 +35102,7 @@ function game_GameOverDialog_inline__P13928_mk(s) { -function winner_inline__P13943(s) { +function winner_inline__P66972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35087,12 +35120,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -winner_inline__P13943.info = {"start":15544,"length":21,"line":458,"column":45,"endLine":458,"endColumn":66,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["score"]} +winner_inline__P66972.info = {"start":15544,"length":21,"line":458,"column":45,"endLine":458,"endColumn":66,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["score"]} -function winner_inline__P13943_mk(s) { +function winner_inline__P66972_mk(s) { checkStack(s.depth); return { - parent: s, fn: winner_inline__P13943, depth: s.depth + 1, + parent: s, fn: winner_inline__P66972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35101,7 +35134,7 @@ function winner_inline__P13943_mk(s) { -function scoresWithValues_inline__P14019(s) { +function scoresWithValues_inline__P67048(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35121,12 +35154,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scoresWithValues_inline__P14019.info = {"start":16752,"length":28,"line":480,"column":51,"endLine":480,"endColumn":79,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["score"]} +scoresWithValues_inline__P67048.info = {"start":16752,"length":28,"line":480,"column":51,"endLine":480,"endColumn":79,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["score"]} -function scoresWithValues_inline__P14019_mk(s) { +function scoresWithValues_inline__P67048_mk(s) { checkStack(s.depth); return { - parent: s, fn: scoresWithValues_inline__P14019, depth: s.depth + 1, + parent: s, fn: scoresWithValues_inline__P67048, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35136,7 +35169,7 @@ function scoresWithValues_inline__P14019_mk(s) { -function game_GameOverDialog_isJudgedGame__P2928(s) { +function game_GameOverDialog_isJudgedGame__P55940(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35151,18 +35184,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverDialog__C2926_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverDialog__C55938_VT)) failedCast(r0); r0 = s.arg0.fields["judged"]; return leaveAccessor(s, r0) default: oops() } } } -game_GameOverDialog_isJudgedGame__P2928.info = {"start":13655,"length":42,"line":418,"column":8,"endLine":418,"endColumn":50,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"isJudgedGame","argumentNames":["this"]} -game_GameOverDialog_isJudgedGame__P2928.isGetter = true; +game_GameOverDialog_isJudgedGame__P55940.info = {"start":13655,"length":42,"line":418,"column":8,"endLine":418,"endColumn":50,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"isJudgedGame","argumentNames":["this"]} +game_GameOverDialog_isJudgedGame__P55940.isGetter = true; -function game_GameOverDialog_isJudgedGame__P2928_mk(s) { +function game_GameOverDialog_isJudgedGame__P55940_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverDialog_isJudgedGame__P2928, depth: s.depth + 1, + parent: s, fn: game_GameOverDialog_isJudgedGame__P55940, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35171,7 +35204,7 @@ function game_GameOverDialog_isJudgedGame__P2928_mk(s) { -function info_isBetterScore__P2547(s) { +function info_isBetterScore__P55559(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35181,20 +35214,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.goc___14355 = undefined; + s.goc___67384 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.gameOverConfig___2978; + s.tmp_0.argL = globals.gameOverConfig___55990; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 1129; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.goc___14355 = (r0); - r0 = s.goc___14355.fields["scoringType"]; + s.goc___67384 = (r0); + r0 = s.goc___67384.fields["scoringType"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); if (r0) { step = 1; continue; } @@ -35236,19 +35269,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_isBetterScore__P2547.info = {"start":8360,"length":446,"line":273,"column":4,"endLine":284,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"isBetterScore","argumentNames":["newScore","prevScore"]} +info_isBetterScore__P55559.info = {"start":8360,"length":446,"line":273,"column":4,"endLine":284,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"isBetterScore","argumentNames":["newScore","prevScore"]} -function info_isBetterScore__P2547_mk(s) { +function info_isBetterScore__P55559_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_isBetterScore__P2547, depth: s.depth + 1, + parent: s, fn: info_isBetterScore__P55559, 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, - goc___14355: undefined, + goc___67384: undefined, arg0: undefined, arg1: undefined, } } @@ -35257,7 +35290,7 @@ function info_isBetterScore__P2547_mk(s) { -function helpers_stringReplaceAll__P117(s) { +function helpers_stringReplaceAll__P53129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35267,10 +35300,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.split___14274 = undefined; - s.empty___14280 = undefined; - s.output___14284 = undefined; - s.i___14299 = undefined; + s.split___67303 = undefined; + s.empty___67309 = undefined; + s.output___67313 = undefined; + s.i___67328 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35290,21 +35323,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); s.arg1 = (r0); - s.tmp_0 = helpers_stringSplit__P122_mk(s); + s.tmp_0 = helpers_stringSplit__P53134_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = undefined; s.callLocIdx = 11; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.split___14274 = (r0); + s.split___67303 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - s.empty___14280 = (r0); - r0 = pxsim_numops_toBoolDecr(s.empty___14280); + s.empty___67309 = (r0); + r0 = pxsim_numops_toBoolDecr(s.empty___67309); if (!r0) { step = 1; continue; } - s.tmp_0 = applyReplace__P14287_mk(s); + s.tmp_0 = applyReplace__P67316_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 13; s.pc = 13; return s.tmp_0; @@ -35316,21 +35349,21 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.output___14284 = (s.tmp_1); - r0 = pxsim_Array__length(s.split___14274); + s.output___67313 = (s.tmp_1); + r0 = pxsim_Array__length(s.split___67303); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - if ((s.output___14284) && (s.output___14284).vtable) { + if ((s.output___67313) && (s.output___67313).vtable) { setupResume(s, 14); - pxsim_String__stringConv(s.output___14284); + pxsim_String__stringConv(s.output___67313); checkResumeConsumed(); return; - } else { s.retval = (s.output___14284) + ""; } + } else { s.retval = (s.output___67313) + ""; } case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_Array__getAt(s.split___14274, 0); + r0 = pxsim_Array__getAt(s.split___67303, 0); s.tmp_3 = r0; if ((s.tmp_3) && (s.tmp_3).vtable) { setupResume(s, 15); @@ -35342,28 +35375,28 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - s.output___14284 = (r0); + s.output___67313 = (r0); case 3: case 4: - s.i___14299 = (1); + s.i___67328 = (1); case 5: - s.tmp_1 = r0 = s.i___14299; - r0 = pxsim_Array__length(s.split___14274); + s.tmp_1 = r0 = s.i___67328; + r0 = pxsim_Array__length(s.split___67303); 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 = 6; continue; } - if ((s.output___14284) && (s.output___14284).vtable) { + if ((s.output___67313) && (s.output___67313).vtable) { setupResume(s, 16); - pxsim_String__stringConv(s.output___14284); + pxsim_String__stringConv(s.output___67313); checkResumeConsumed(); return; - } else { s.retval = (s.output___14284) + ""; } + } else { s.retval = (s.output___67313) + ""; } case 16: r0 = s.retval; s.tmp_3 = r0; - s.tmp_8 = applyReplace__P14287_mk(s); + s.tmp_8 = applyReplace__P67316_mk(s); s.tmp_8.arg0 = s.arg1; s.tmp_8.arg1 = s.arg2; s.callLocIdx = 14; s.pc = 17; return s.tmp_8; @@ -35379,7 +35412,7 @@ switch (step) { case 18: r0 = s.retval; s.tmp_6 = r0; - r0 = pxsim_Array__getAt(s.split___14274, s.i___14299); + r0 = pxsim_Array__getAt(s.split___67303, s.i___67328); s.tmp_10 = r0; if ((s.tmp_10) && (s.tmp_10).vtable) { setupResume(s, 19); @@ -35402,9 +35435,9 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.output___14284 = (r0); - r0 = (s.i___14299 + 1); - s.i___14299 = (r0); + s.output___67313 = (r0); + r0 = (s.i___67328 + 1); + s.i___67328 = (r0); { step = 5; continue; } case 6: r0 = pxsim_numops_toBoolDecr(s.arg0); @@ -35420,22 +35453,22 @@ switch (step) { r0 = s.tmp_0; { step = 8; continue; } case 7: - r0 = s.empty___14280; + r0 = s.empty___67309; case 8: // jmp value (already in r0) s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 9; continue; } - if ((s.output___14284) && (s.output___14284).vtable) { + if ((s.output___67313) && (s.output___67313).vtable) { setupResume(s, 21); - pxsim_String__stringConv(s.output___14284); + pxsim_String__stringConv(s.output___67313); checkResumeConsumed(); return; - } else { s.retval = (s.output___14284) + ""; } + } else { s.retval = (s.output___67313) + ""; } case 21: r0 = s.retval; s.tmp_5 = r0; - s.tmp_8 = applyReplace__P14287_mk(s); + s.tmp_8 = applyReplace__P67316_mk(s); s.tmp_8.arg0 = s.arg1; s.tmp_8.arg1 = s.arg2; s.callLocIdx = 16; s.pc = 22; return s.tmp_8; @@ -35452,19 +35485,19 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.output___14284 = (r0); + s.output___67313 = (r0); case 9: case 10: - r0 = s.output___14284; + r0 = s.output___67313; return leave(s, r0) default: oops() } } } -helpers_stringReplaceAll__P117.info = {"start":10239,"length":919,"line":346,"column":4,"endLine":374,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringReplaceAll","argumentNames":["s","toReplace","replacer"]} +helpers_stringReplaceAll__P53129.info = {"start":10239,"length":919,"line":346,"column":4,"endLine":374,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringReplaceAll","argumentNames":["s","toReplace","replacer"]} -function helpers_stringReplaceAll__P117_mk(s) { +function helpers_stringReplaceAll__P53129_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringReplaceAll__P117, depth: s.depth + 1, + parent: s, fn: helpers_stringReplaceAll__P53129, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35477,10 +35510,10 @@ function helpers_stringReplaceAll__P117_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - split___14274: undefined, - empty___14280: undefined, - output___14284: undefined, - i___14299: undefined, + split___67303: undefined, + empty___67309: undefined, + output___67313: undefined, + i___67328: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35490,7 +35523,7 @@ function helpers_stringReplaceAll__P117_mk(s) { -function applyReplace__P14287(s) { +function applyReplace__P67316(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35540,12 +35573,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -applyReplace__P14287.info = {"start":10880,"length":272,"line":367,"column":8,"endLine":373,"endColumn":9,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"applyReplace","argumentNames":["r","replacer"]} +applyReplace__P67316.info = {"start":10880,"length":272,"line":367,"column":8,"endLine":373,"endColumn":9,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"applyReplace","argumentNames":["r","replacer"]} -function applyReplace__P14287_mk(s) { +function applyReplace__P67316_mk(s) { checkStack(s.depth); return { - parent: s, fn: applyReplace__P14287, depth: s.depth + 1, + parent: s, fn: applyReplace__P67316, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35560,7 +35593,7 @@ function applyReplace__P14287_mk(s) { -function helpers_stringEmpty__P125(s) { +function helpers_stringEmpty__P53137(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35580,12 +35613,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringEmpty__P125.info = {"start":15544,"length":74,"line":522,"column":4,"endLine":524,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringEmpty","argumentNames":["S"]} +helpers_stringEmpty__P53137.info = {"start":15544,"length":74,"line":522,"column":4,"endLine":524,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringEmpty","argumentNames":["S"]} -function helpers_stringEmpty__P125_mk(s) { +function helpers_stringEmpty__P53137_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringEmpty__P125, depth: s.depth + 1, + parent: s, fn: helpers_stringEmpty__P53137, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -35595,7 +35628,7 @@ function helpers_stringEmpty__P125_mk(s) { -function helpers_arrayFind__P111(s) { +function helpers_arrayFind__P53123(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35605,28 +35638,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___14379 = undefined; - s.i___14382 = undefined; - s.v___14387 = undefined; + s.len___67408 = undefined; + s.i___67411 = undefined; + s.v___67416 = 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___14379 = (r0); - s.i___14382 = (0); + s.len___67408 = (r0); + s.i___67411 = (0); case 1: - r0 = (s.i___14382 < s.len___14379); + r0 = (s.i___67411 < s.len___67408); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___14382); - s.v___14387 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___67411); + s.v___67416 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___14387; - s.tmp_1.arg1 = s.i___14382; + s.tmp_1.arg0 = s.v___67416; + s.tmp_1.arg1 = s.i___67411; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 8; s.pc = 6; return s.tmp_1; case 6: @@ -35634,12 +35667,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = s.v___14387; + r0 = s.v___67416; { step = 5; continue; } case 2: case 3: - r0 = (s.i___14382 + 1); - s.i___14382 = (r0); + r0 = (s.i___67411 + 1); + s.i___67411 = (r0); { step = 1; continue; } case 4: r0 = undefined; @@ -35647,18 +35680,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayFind__P111.info = {"start":8018,"length":292,"line":271,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} +helpers_arrayFind__P53123.info = {"start":8018,"length":292,"line":271,"column":4,"endLine":278,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"arrayFind","argumentNames":["arr","callbackfn"]} -function helpers_arrayFind__P111_mk(s) { +function helpers_arrayFind__P53123_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFind__P111, depth: s.depth + 1, + parent: s, fn: helpers_arrayFind__P53123, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___14379: undefined, - i___14382: undefined, - v___14387: undefined, + len___67408: undefined, + i___67411: undefined, + v___67416: undefined, arg0: undefined, arg1: undefined, } } @@ -35667,7 +35700,7 @@ function helpers_arrayFind__P111_mk(s) { -function game_GameOverPlayerScore_constructor__P2925(s) { +function game_GameOverPlayerScore_constructor__P55937(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35685,7 +35718,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverPlayerScore__C2923_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverPlayerScore__C55935_VT)) failedCast(r0); r0 = (s.arg0).fields["player"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["winner"] = (s.arg3); @@ -35693,12 +35726,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverPlayerScore_constructor__P2925.info = {"start":13111,"length":121,"line":398,"column":8,"endLine":401,"endColumn":39,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","player","value","winner"]} +game_GameOverPlayerScore_constructor__P55937.info = {"start":13111,"length":121,"line":398,"column":8,"endLine":401,"endColumn":39,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"inline","argumentNames":["this","player","value","winner"]} -function game_GameOverPlayerScore_constructor__P2925_mk(s) { +function game_GameOverPlayerScore_constructor__P55937_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverPlayerScore_constructor__P2925, depth: s.depth + 1, + parent: s, fn: game_GameOverPlayerScore_constructor__P55937, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -35710,7 +35743,7 @@ function game_GameOverPlayerScore_constructor__P2925_mk(s) { -function scene_Scene_destroy__P2851(s) { +function scene_Scene_destroy__P55863(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35725,7 +35758,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C2823_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C55835_VT)) failedCast(r0); r0 = (s.arg0).fields["eventContext"] = (undefined); r0 = (s.arg0).fields["background"] = (undefined); r0 = (s.arg0).fields["tileMap"] = (undefined); @@ -35747,12 +35780,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_destroy__P2851.info = {"start":7299,"length":764,"line":204,"column":8,"endLine":222,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"destroy","argumentNames":["this"]} +scene_Scene_destroy__P55863.info = {"start":7356,"length":764,"line":205,"column":8,"endLine":223,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"destroy","argumentNames":["this"]} -function scene_Scene_destroy__P2851_mk(s) { +function scene_Scene_destroy__P55863_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_destroy__P2851, depth: s.depth + 1, + parent: s, fn: scene_Scene_destroy__P55863, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35761,7 +35794,7 @@ function scene_Scene_destroy__P2851_mk(s) { -function info_PlayerInfo_number__P2600(s) { +function info_PlayerInfo_number__P55612(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35776,18 +35809,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2597_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C55609_VT)) failedCast(r0); r0 = s.arg0.fields["_player"]; return leaveAccessor(s, r0) default: oops() } } } -info_PlayerInfo_number__P2600.info = {"start":25302,"length":57,"line":813,"column":8,"endLine":815,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"number","argumentNames":["this"]} -info_PlayerInfo_number__P2600.isGetter = true; +info_PlayerInfo_number__P55612.info = {"start":25302,"length":57,"line":813,"column":8,"endLine":815,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"number","argumentNames":["this"]} +info_PlayerInfo_number__P55612.isGetter = true; -function info_PlayerInfo_number__P2600_mk(s) { +function info_PlayerInfo_number__P55612_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_number__P2600, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_number__P55612, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -35796,7 +35829,7 @@ function info_PlayerInfo_number__P2600_mk(s) { -function info_PlayerInfoImpl_score__P2586(s) { +function info_PlayerInfoImpl_score__P55598(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35806,60 +35839,60 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___15248 = undefined; + s.state___68277 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfoImpl__C2575_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfoImpl_getState__P2584_mk(s); + if (!checkSubtype(r0, info_PlayerInfoImpl__C55587_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfoImpl_getState__P55596_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1156; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.state___15248 = (r0); - r0 = s.state___15248.fields["showScore"]; + s.state___68277 = (r0); + r0 = s.state___68277.fields["showScore"]; s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = (s.state___15248).fields["showScore"] = (true); + r0 = (s.state___68277).fields["showScore"] = (true); case 1: case 2: - r0 = s.state___15248.fields["showPlayer"]; + r0 = s.state___68277.fields["showPlayer"]; s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = (s.state___15248).fields["showPlayer"] = (true); + r0 = (s.state___68277).fields["showPlayer"] = (true); case 3: case 4: - r0 = s.state___15248.fields["score"]; + r0 = s.state___68277.fields["score"]; s.tmp_1 = r0; r0 = (s.tmp_1 == null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.state___15248).fields["score"] = (0); + r0 = (s.state___68277).fields["score"] = (0); case 5: case 6: - r0 = s.state___15248.fields["score"]; + r0 = s.state___68277.fields["score"]; return leave(s, r0) default: oops() } } } -info_PlayerInfoImpl_score__P2586.info = {"start":21410,"length":318,"line":691,"column":8,"endLine":700,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"score","argumentNames":["this"]} +info_PlayerInfoImpl_score__P55598.info = {"start":21410,"length":318,"line":691,"column":8,"endLine":700,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"score","argumentNames":["this"]} -function info_PlayerInfoImpl_score__P2586_mk(s) { +function info_PlayerInfoImpl_score__P55598_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfoImpl_score__P2586, depth: s.depth + 1, + parent: s, fn: info_PlayerInfoImpl_score__P55598, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - state___15248: undefined, + state___68277: undefined, arg0: undefined, } } @@ -35867,7 +35900,7 @@ function info_PlayerInfoImpl_score__P2586_mk(s) { -function info_PlayerInfoImpl_getState__P2584(s) { +function info_PlayerInfoImpl_getState__P55596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35882,13 +35915,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfoImpl__C2575_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfoImpl_init__P4939_mk(s); + if (!checkSubtype(r0, info_PlayerInfoImpl__C55587_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfoImpl_init__P57952_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1155; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.infoState___4887.fields["playerStates"]; + r0 = globals.infoState___57900.fields["playerStates"]; s.tmp_0 = r0; r0 = s.arg0.fields["_player"]; s.tmp_2 = r0; @@ -35898,12 +35931,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfoImpl_getState__P2584.info = {"start":21172,"length":121,"line":681,"column":8,"endLine":684,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"getState","argumentNames":["this"]} +info_PlayerInfoImpl_getState__P55596.info = {"start":21172,"length":121,"line":681,"column":8,"endLine":684,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"getState","argumentNames":["this"]} -function info_PlayerInfoImpl_getState__P2584_mk(s) { +function info_PlayerInfoImpl_getState__P55596_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfoImpl_getState__P2584, depth: s.depth + 1, + parent: s, fn: info_PlayerInfoImpl_getState__P55596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35915,7 +35948,7 @@ function info_PlayerInfoImpl_getState__P2584_mk(s) { -function info_PlayerInfoImpl_init__P4939(s) { +function info_PlayerInfoImpl_init__P57952(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35930,8 +35963,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfoImpl__C2575_VT)) failedCast(r0); - s.tmp_0 = info_initHUD__P4933_mk(s); + if (!checkSubtype(r0, info_PlayerInfoImpl__C55587_VT)) failedCast(r0); + s.tmp_0 = info_initHUD__P57946_mk(s); s.callLocIdx = 1152; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -35941,13 +35974,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = info_initMultiHUD__P4934_mk(s); + s.tmp_2 = info_initMultiHUD__P57947_mk(s); s.callLocIdx = 1153; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; case 1: case 2: - r0 = globals.infoState___4887.fields["playerStates"]; + r0 = globals.infoState___57900.fields["playerStates"]; s.tmp_3 = r0; r0 = s.arg0.fields["_player"]; s.tmp_5 = r0; @@ -35961,14 +35994,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(info_PlayerState__C2533_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_PlayerState__C55545_VT); s.tmp_6 = r0; - s.tmp_7 = info_PlayerState_constructor__P2542_mk(s); + s.tmp_7 = info_PlayerState_constructor__P55554_mk(s); s.tmp_7.arg0 = s.tmp_6; s.callLocIdx = 1154; s.pc = 7; return s.tmp_7; case 7: r0 = s.retval; - r0 = globals.infoState___4887.fields["playerStates"]; + r0 = globals.infoState___57900.fields["playerStates"]; s.tmp_8 = r0; r0 = s.arg0.fields["_player"]; s.tmp_10 = r0; @@ -35981,12 +36014,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfoImpl_init__P4939.info = {"start":20910,"length":252,"line":673,"column":8,"endLine":679,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"init","argumentNames":["this"]} +info_PlayerInfoImpl_init__P57952.info = {"start":20910,"length":252,"line":673,"column":8,"endLine":679,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"init","argumentNames":["this"]} -function info_PlayerInfoImpl_init__P4939_mk(s) { +function info_PlayerInfoImpl_init__P57952_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfoImpl_init__P4939, depth: s.depth + 1, + parent: s, fn: info_PlayerInfoImpl_init__P57952, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36006,7 +36039,7 @@ function info_PlayerInfoImpl_init__P4939_mk(s) { -function info_initMultiHUD__P4934(s) { +function info_initMultiHUD__P57947(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36016,7 +36049,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.infoState___4887.fields["visibilityFlag"]; + r0 = globals.infoState___57900.fields["visibilityFlag"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; @@ -36025,13 +36058,13 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = r0 = globals.infoState___4887; + s.tmp_2 = r0 = globals.infoState___57900; r0 = s.tmp_2.fields["visibilityFlag"]; s.tmp_4 = r0; r0 = (s.tmp_4 | 16); s.tmp_3 = r0; r0 = (s.tmp_2).fields["visibilityFlag"] = (s.tmp_3); - r0 = globals.infoState___4887.fields["visibilityFlag"]; + r0 = globals.infoState___57900.fields["visibilityFlag"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 32); s.tmp_2 = r0; @@ -36041,8 +36074,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = r0 = globals.infoState___4887; - s.tmp_6 = info_defaultMultiplayerHeartImage__P4936_mk(s); + s.tmp_4 = r0 = globals.infoState___57900; + s.tmp_6 = info_defaultMultiplayerHeartImage__P57949_mk(s); s.callLocIdx = 1115; s.pc = 6; return s.tmp_6; case 6: r0 = s.retval; @@ -36050,8 +36083,8 @@ switch (step) { r0 = (s.tmp_4).fields["heartImage"] = (s.tmp_5); case 3: case 4: - s.tmp_0 = r0 = globals.infoState___4887; - r0 = pxsim.image.ofBuffer(_hex15338); + s.tmp_0 = r0 = globals.infoState___57900; + r0 = pxsim.image.ofBuffer(_hex68367); s.tmp_1 = r0; r0 = (s.tmp_0).fields["multiplierImage"] = (s.tmp_1); case 5: @@ -36059,12 +36092,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initMultiHUD__P4934.info = {"start":5646,"length":393,"line":173,"column":4,"endLine":184,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initMultiHUD","argumentNames":[]} +info_initMultiHUD__P57947.info = {"start":5646,"length":393,"line":173,"column":4,"endLine":184,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initMultiHUD","argumentNames":[]} -function info_initMultiHUD__P4934_mk(s) { +function info_initMultiHUD__P57947_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initMultiHUD__P4934, depth: s.depth + 1, + parent: s, fn: info_initMultiHUD__P57947, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36075,12 +36108,12 @@ function info_initMultiHUD__P4934_mk(s) { tmp_6: undefined, } } -const _hex15338 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100001000000001010000") +const _hex68367 = pxsim.BufferMethods.createBufferFromHex("8704030003000000010100001000000001010000") -function info_defaultMultiplayerHeartImage__P4936(s) { +function info_defaultMultiplayerHeartImage__P57949(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36090,14 +36123,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___2013); + r0 = pxsim_ImageMethods.isMono(globals.screen___55025); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex15342); + r0 = pxsim.image.ofBuffer(_hex68371); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex15344); + r0 = pxsim.image.ofBuffer(_hex68373); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -36105,24 +36138,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_defaultMultiplayerHeartImage__P4936.info = {"start":6643,"length":503,"line":209,"column":4,"endLine":226,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultMultiplayerHeartImage","argumentNames":[]} +info_defaultMultiplayerHeartImage__P57949.info = {"start":6643,"length":503,"line":209,"column":4,"endLine":226,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultMultiplayerHeartImage","argumentNames":[]} -function info_defaultMultiplayerHeartImage__P4936_mk(s) { +function info_defaultMultiplayerHeartImage__P57949_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_defaultMultiplayerHeartImage__P4936, depth: s.depth + 1, + parent: s, fn: info_defaultMultiplayerHeartImage__P57949, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex15342 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100000110000010000100011000001001000000000000") -const _hex15344 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100002112000010240100411200001001000000000000") +const _hex68371 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100000110000010000100011000001001000000000000") +const _hex68373 = pxsim.BufferMethods.createBufferFromHex("870407000500000000000000100100002112000010240100411200001001000000000000") -function info_initHUD__P4933(s) { +function info_initHUD__P57946(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36132,22 +36165,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.infoState___4887); + r0 = pxsim_numops_toBoolDecr(globals.infoState___57900); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(info_InfoState__C4884_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_InfoState__C57897_VT); s.tmp_0 = r0; - s.tmp_1 = info_InfoState_constructor__P4885_mk(s); + s.tmp_1 = info_InfoState_constructor__P57898_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1095; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; - globals.infoState___4887 = (s.tmp_0); - s.tmp_0 = scene_createRenderable__P2785_mk(s); + globals.infoState___57900 = (s.tmp_0); + s.tmp_0 = scene_createRenderable__P55797_mk(s); s.tmp_0.arg0 = 100; - s.tmp_0.arg1 = info_initHUD_inline__P15352; + s.tmp_0.arg1 = info_initHUD_inline__P68381; s.tmp_0.arg2 = undefined; s.callLocIdx = 1114; s.pc = 5; return s.tmp_0; case 5: @@ -36157,12 +36190,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initHUD__P4933.info = {"start":3246,"length":2394,"line":117,"column":4,"endLine":171,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initHUD","argumentNames":[]} +info_initHUD__P57946.info = {"start":3246,"length":2394,"line":117,"column":4,"endLine":171,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"initHUD","argumentNames":[]} -function info_initHUD__P4933_mk(s) { +function info_initHUD__P57946_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initHUD__P4933, depth: s.depth + 1, + parent: s, fn: info_initHUD__P57946, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36172,7 +36205,7 @@ function info_initHUD__P4933_mk(s) { -function info_initHUD_inline__P15352(s) { +function info_initHUD_inline__P68381(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36182,13 +36215,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ps___15361 = undefined; - s.p___15383 = undefined; - s.scene___15420 = undefined; - s.elapsed___15423 = undefined; - s.t___15431 = undefined; - s.goc___15451 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.infoState___4887); + s.ps___68390 = undefined; + s.p___68412 = undefined; + s.scene___68449 = undefined; + s.elapsed___68452 = undefined; + s.t___68460 = undefined; + s.goc___68480 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.infoState___57900); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -36197,36 +36230,36 @@ switch (step) { { step = 23; continue; } case 1: case 2: - r0 = globals.infoState___4887.fields["visibilityFlag"]; + r0 = globals.infoState___57900.fields["visibilityFlag"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 16); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = helpers_arrayFilter__P110_mk(s); - s.tmp_2.arg0 = globals.players___4888; - s.tmp_2.arg1 = ps_inline__P15363; + s.tmp_2 = helpers_arrayFilter__P53122_mk(s); + s.tmp_2.arg0 = globals.players___57901; + s.tmp_2.arg1 = ps_inline__P68392; s.callLocIdx = 1096; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; - s.ps___15361 = (r0); - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.ps___15361; - s.tmp_0.arg1 = info_initHUD_inline__P15372; + s.ps___68390 = (r0); + s.tmp_0 = helpers_arrayForEach__P53121_mk(s); + s.tmp_0.arg0 = s.ps___68390; + s.tmp_0.arg1 = info_initHUD_inline__P68401; s.callLocIdx = 1098; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = helpers_arrayForEach__P109_mk(s); - s.tmp_0.arg0 = s.ps___15361; - s.tmp_0.arg1 = info_initHUD_inline__P15378; + s.tmp_0 = helpers_arrayForEach__P53121_mk(s); + s.tmp_0.arg0 = s.ps___68390; + s.tmp_0.arg1 = info_initHUD_inline__P68407; s.callLocIdx = 1100; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; { step = 12; continue; } case 3: - s.p___15383 = (globals.player1___2641); - s.tmp_1 = info_PlayerInfoImpl_hasScore__P2589_mk(s); - r0 = s.p___15383.fields["impl"]; + s.p___68412 = (globals.player1___55653); + s.tmp_1 = info_PlayerInfoImpl_hasScore__P55601_mk(s); + r0 = s.p___68412.fields["impl"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1101; s.pc = 27; return s.tmp_1; case 27: @@ -36237,7 +36270,7 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 4: - r0 = globals.infoState___4887.fields["visibilityFlag"]; + r0 = globals.infoState___57900.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 2); case 5: @@ -36245,15 +36278,15 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 6; continue; } - s.tmp_4 = info_PlayerInfo_drawScore__P2636_mk(s); - s.tmp_4.arg0 = s.p___15383; + s.tmp_4 = info_PlayerInfo_drawScore__P55648_mk(s); + s.tmp_4.arg0 = s.p___68412; s.callLocIdx = 1102; s.pc = 28; return s.tmp_4; case 28: r0 = s.retval; case 6: case 7: - s.tmp_1 = info_PlayerInfoImpl_hasLife__P2593_mk(s); - r0 = s.p___15383.fields["impl"]; + s.tmp_1 = info_PlayerInfoImpl_hasLife__P55605_mk(s); + r0 = s.p___68412.fields["impl"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1103; s.pc = 29; return s.tmp_1; case 29: @@ -36264,7 +36297,7 @@ switch (step) { r0 = s.tmp_0; { step = 9; continue; } case 8: - r0 = globals.infoState___4887.fields["visibilityFlag"]; + r0 = globals.infoState___57900.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 4); case 9: @@ -36272,22 +36305,22 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_4 = info_PlayerInfo_drawLives__P2637_mk(s); - s.tmp_4.arg0 = s.p___15383; + s.tmp_4 = info_PlayerInfo_drawLives__P55649_mk(s); + s.tmp_4.arg0 = s.p___68412; s.callLocIdx = 1104; s.pc = 30; return s.tmp_4; case 30: r0 = s.retval; case 10: case 11: - s.tmp_0 = info_PlayerInfoImpl_raiseLifeZero__P2596_mk(s); - r0 = s.p___15383.fields["impl"]; + s.tmp_0 = info_PlayerInfoImpl_raiseLifeZero__P55608_mk(s); + r0 = s.p___68412.fields["impl"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = true; s.callLocIdx = 1105; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; case 12: - r0 = globals.infoState___4887.fields["gameEnd"]; + r0 = globals.infoState___57900.fields["gameEnd"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); s.tmp_0 = r0; @@ -36296,7 +36329,7 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 13: - r0 = globals.infoState___4887.fields["visibilityFlag"]; + r0 = globals.infoState___57900.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 1); case 14: @@ -36304,30 +36337,30 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 21; continue; } - s.tmp_4 = game_currentScene__P2979_mk(s); + s.tmp_4 = game_currentScene__P55991_mk(s); s.callLocIdx = 1106; s.pc = 32; return s.tmp_4; case 32: r0 = s.retval; - s.scene___15420 = (r0); - r0 = globals.infoState___4887.fields["gameEnd"]; + s.scene___68449 = (r0); + r0 = globals.infoState___57900.fields["gameEnd"]; s.tmp_0 = r0; - r0 = s.scene___15420.fields["_millis"]; + r0 = s.scene___68449.fields["_millis"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.elapsed___15423 = (r0); - s.tmp_0 = info_drawTimer__P4938_mk(s); - s.tmp_0.arg0 = s.elapsed___15423; + s.elapsed___68452 = (r0); + s.tmp_0 = info_drawTimer__P57951_mk(s); + s.tmp_0.arg0 = s.elapsed___68452; s.callLocIdx = 1108; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - r0 = (s.elapsed___15423 / 1000); - s.t___15431 = (r0); - r0 = (s.t___15431 <= 0); + r0 = (s.elapsed___68452 / 1000); + s.t___68460 = (r0); + r0 = (s.t___68460 <= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - s.t___15431 = (0); - r0 = globals.infoState___4887.fields["countdownExpired"]; + s.t___68460 = (0); + r0 = globals.infoState___57900.fields["countdownExpired"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -36335,14 +36368,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - r0 = (globals.infoState___4887).fields["countdownExpired"] = (true); - r0 = (globals.infoState___4887).fields["gameEnd"] = (undefined); - r0 = globals.infoState___4887.fields["countdownEndHandler"]; + r0 = (globals.infoState___57900).fields["countdownExpired"] = (true); + r0 = (globals.infoState___57900).fields["gameEnd"] = (undefined); + r0 = globals.infoState___57900.fields["countdownEndHandler"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } s.tmp_1 = if_countdownEndHandler_1_mk(s); - s.tmp_1.arg0 = globals.infoState___4887; + s.tmp_1.arg0 = globals.infoState___57900; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "countdownEndHandler"), 1); s.callLocIdx = 1109; s.pc = 34; return s.tmp_1; @@ -36357,22 +36390,22 @@ switch (step) { { step = 16; continue; } case 15: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.gameOverConfig___2978; + s.tmp_0.argL = globals.gameOverConfig___55990; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 1110; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.goc___15451 = (r0); - s.tmp_0 = game_GameOverConfig_setEffect__P2971_mk(s); - s.tmp_0.arg0 = s.goc___15451; + s.goc___68480 = (r0); + s.tmp_0 = game_GameOverConfig_setEffect__P55983_mk(s); + s.tmp_0.arg0 = s.goc___68480; s.tmp_0.arg1 = false; s.tmp_0.arg2 = null; s.tmp_0.arg3 = false; s.callLocIdx = 1111; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = game_GameOverConfig_setSound__P2973_mk(s); - s.tmp_0.arg0 = s.goc___15451; + s.tmp_0 = game_GameOverConfig_setSound__P55985_mk(s); + s.tmp_0.arg0 = s.goc___68480; s.tmp_0.arg1 = false; s.tmp_0.arg2 = null; s.tmp_0.arg3 = false; @@ -36380,7 +36413,7 @@ switch (step) { s.callLocIdx = 1112; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = game_gameOver__P2993_mk(s); + s.tmp_0 = game_gameOver__P56005_mk(s); s.tmp_0.arg0 = false; s.callLocIdx = 1113; s.pc = 38; return s.tmp_0; case 38: @@ -36397,31 +36430,31 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initHUD_inline__P15352.info = {"start":3406,"length":2217,"line":124,"column":12,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +info_initHUD_inline__P68381.info = {"start":3406,"length":2217,"line":124,"column":12,"endLine":169,"endColumn":13,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function info_initHUD_inline__P15352_mk(s) { +function info_initHUD_inline__P68381_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initHUD_inline__P15352, depth: s.depth + 1, + parent: s, fn: info_initHUD_inline__P68381, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, tmp_4: undefined, - ps___15361: undefined, - p___15383: undefined, - scene___15420: undefined, - elapsed___15423: undefined, - t___15431: undefined, - goc___15451: undefined, + ps___68390: undefined, + p___68412: undefined, + scene___68449: undefined, + elapsed___68452: undefined, + t___68460: undefined, + goc___68480: undefined, } } -function ps_inline__P15363(s) { +function ps_inline__P68392(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36445,12 +36478,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ps_inline__P15363.info = {"start":3654,"length":8,"line":129,"column":46,"endLine":129,"endColumn":54,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +ps_inline__P68392.info = {"start":3654,"length":8,"line":129,"column":46,"endLine":129,"endColumn":54,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function ps_inline__P15363_mk(s) { +function ps_inline__P68392_mk(s) { checkStack(s.depth); return { - parent: s, fn: ps_inline__P15363, depth: s.depth + 1, + parent: s, fn: ps_inline__P68392, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36462,7 +36495,7 @@ function ps_inline__P15363_mk(s) { -function info_initHUD_inline__P15372(s) { +function info_initHUD_inline__P68401(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36476,7 +36509,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfo_drawPlayer__P2635_mk(s); + s.tmp_0 = info_PlayerInfo_drawPlayer__P55647_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1097; s.pc = 1; return s.tmp_0; case 1: @@ -36485,12 +36518,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initHUD_inline__P15372.info = {"start":3738,"length":19,"line":131,"column":31,"endLine":131,"endColumn":50,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +info_initHUD_inline__P68401.info = {"start":3738,"length":19,"line":131,"column":31,"endLine":131,"endColumn":50,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function info_initHUD_inline__P15372_mk(s) { +function info_initHUD_inline__P68401_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initHUD_inline__P15372, depth: s.depth + 1, + parent: s, fn: info_initHUD_inline__P68401, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36500,7 +36533,7 @@ function info_initHUD_inline__P15372_mk(s) { -function info_initHUD_inline__P15378(s) { +function info_initHUD_inline__P68407(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36514,7 +36547,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfoImpl_raiseLifeZero__P2596_mk(s); + s.tmp_0 = info_PlayerInfoImpl_raiseLifeZero__P55608_mk(s); r0 = s.arg0.fields["impl"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = false; @@ -36525,12 +36558,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_initHUD_inline__P15378.info = {"start":3840,"length":32,"line":133,"column":31,"endLine":133,"endColumn":63,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +info_initHUD_inline__P68407.info = {"start":3840,"length":32,"line":133,"column":31,"endLine":133,"endColumn":63,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function info_initHUD_inline__P15378_mk(s) { +function info_initHUD_inline__P68407_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_initHUD_inline__P15378, depth: s.depth + 1, + parent: s, fn: info_initHUD_inline__P68407, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36540,7 +36573,7 @@ function info_initHUD_inline__P15378_mk(s) { -function info_drawTimer__P4938(s) { +function info_drawTimer__P57951(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36550,18 +36583,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.font___15513 = undefined; - s.smallFont___15515 = undefined; - s.seconds___15517 = undefined; - s.width___15521 = undefined; - s.left___15526 = undefined; - s.color1___15536 = undefined; - s.color2___15540 = undefined; - s.temp___15553 = undefined; - s.remainder___15589 = undefined; - s.decimalLeft___15608 = undefined; - s.minutes___15626 = undefined; - s.remainder___15630 = undefined; + s.font___68542 = undefined; + s.smallFont___68544 = undefined; + s.seconds___68546 = undefined; + s.width___68550 = undefined; + s.left___68555 = undefined; + s.color1___68565 = undefined; + s.color2___68569 = undefined; + s.temp___68582 = undefined; + s.remainder___68618 = undefined; + s.decimalLeft___68637 = undefined; + s.minutes___68655 = undefined; + s.remainder___68659 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -36575,12 +36608,12 @@ switch (step) { case 2: r0 = (s.arg0 | 0); s.arg0 = (r0); - s.font___15513 = (globals.font8___1956); - s.smallFont___15515 = (globals.font5___1961); + s.font___68542 = (globals.font8___54968); + s.smallFont___68544 = (globals.font5___54973); r0 = pxsim.Math_.idiv(s.arg0, 1000); - s.seconds___15517 = (r0); + s.seconds___68546 = (r0); s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___15513; + s.tmp_2.arg0 = s.font___68542; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -36595,29 +36628,29 @@ switch (step) { r0 = (s.tmp_1 * 5); s.tmp_0 = r0; r0 = (s.tmp_0 - 2); - s.width___15521 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___2013); + s.width___68550 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; - r0 = (s.width___15521 >> 1); + r0 = (s.width___68550 >> 1); s.tmp_3 = r0; r0 = (s.tmp_1 - s.tmp_3); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.left___15526 = (r0); - r0 = globals.infoState___4887.fields["fontColor"]; - s.color1___15536 = (r0); - r0 = globals.infoState___4887.fields["bgColor"]; - s.color2___15540 = (r0); - r0 = (s.seconds___15517 < 10); + s.left___68555 = (r0); + r0 = globals.infoState___57900.fields["fontColor"]; + s.color1___68565 = (r0); + r0 = globals.infoState___57900.fields["bgColor"]; + s.color2___68569 = (r0); + r0 = (s.seconds___68546 < 10); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 3; continue; } r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = (s.seconds___15517 & 1); + r0 = (s.seconds___68546 & 1); case 4: // jmp value (already in r0) s.tmp_1 = r0; @@ -36626,7 +36659,7 @@ switch (step) { r0 = s.tmp_1; { step = 6; continue; } case 5: - r0 = pxsim_ImageMethods.isMono(globals.screen___2013); + r0 = pxsim_ImageMethods.isMono(globals.screen___55025); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -36636,20 +36669,20 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 7; continue; } - s.temp___15553 = (s.color1___15536); - s.color1___15536 = (s.color2___15540); - s.color2___15540 = (s.temp___15553); + s.temp___68582 = (s.color1___68565); + s.color1___68565 = (s.color2___68569); + s.color2___68569 = (s.temp___68582); case 7: case 8: - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - r0 = (s.left___15526 - 3); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + r0 = (s.left___68555 - 3); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = (s.width___15521 + 6); + r0 = (s.width___68550 + 6); s.tmp_0.arg3 = r0; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___15513; + s.tmp_2.arg0 = s.font___68542; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -36663,20 +36696,20 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4887.fields["borderColor"]; + r0 = globals.infoState___57900.fields["borderColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 1141; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - r0 = (s.left___15526 - 2); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + r0 = (s.left___68555 - 2); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = (s.width___15521 + 4); + r0 = (s.width___68550 + 4); s.tmp_0.arg3 = r0; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___15513; + s.tmp_2.arg0 = s.font___68542; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -36690,22 +36723,22 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 2); s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.color2___15540; + s.tmp_0.arg5 = s.color2___68569; s.callLocIdx = 1143; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - r0 = (s.seconds___15517 < 60); + r0 = (s.seconds___68546 < 60); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } r0 = (s.arg0 % 1000); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 10); - s.remainder___15589 = (r0); - s.tmp_0 = helpers_imagePrint__P1971_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - s.tmp_3 = info_formatDecimal__P4941_mk(s); - s.tmp_3.arg0 = s.seconds___15517; + s.remainder___68618 = (r0); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + s.tmp_3 = info_formatDecimal__P57954_mk(s); + s.tmp_3.arg0 = s.seconds___68546; s.callLocIdx = 1144; s.pc = 17; return s.tmp_3; case 17: r0 = s.retval; @@ -36721,17 +36754,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "."); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___15526; + s.tmp_0.arg2 = s.left___68555; s.tmp_0.arg3 = 1; - s.tmp_0.arg4 = s.color1___15536; - s.tmp_0.arg5 = s.font___15513; + s.tmp_0.arg4 = s.color1___68565; + s.tmp_0.arg5 = s.font___68542; s.tmp_0.arg6 = undefined; s.callLocIdx = 1145; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.left___15526; + s.tmp_0 = r0 = s.left___68555; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___15513; + s.tmp_3.arg0 = s.font___68542; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -36746,33 +36779,33 @@ switch (step) { r0 = (3 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.decimalLeft___15608 = (r0); - s.tmp_0 = helpers_imagePrint__P1971_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - s.tmp_1 = info_formatDecimal__P4941_mk(s); - s.tmp_1.arg0 = s.remainder___15589; + s.decimalLeft___68637 = (r0); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + s.tmp_1 = info_formatDecimal__P57954_mk(s); + s.tmp_1.arg0 = s.remainder___68618; s.callLocIdx = 1147; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.decimalLeft___15608; + s.tmp_0.arg2 = s.decimalLeft___68637; s.tmp_0.arg3 = 3; - s.tmp_0.arg4 = s.color1___15536; - s.tmp_0.arg5 = s.smallFont___15515; + s.tmp_0.arg4 = s.color1___68565; + s.tmp_0.arg5 = s.smallFont___68544; s.tmp_0.arg6 = undefined; s.callLocIdx = 1148; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim.Math_.idiv(s.seconds___15517, 60); - s.minutes___15626 = (r0); - r0 = (s.seconds___15517 % 60); - s.remainder___15630 = (r0); - s.tmp_0 = helpers_imagePrint__P1971_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - s.tmp_5 = info_formatDecimal__P4941_mk(s); - s.tmp_5.arg0 = s.minutes___15626; + r0 = pxsim.Math_.idiv(s.seconds___68546, 60); + s.minutes___68655 = (r0); + r0 = (s.seconds___68546 % 60); + s.remainder___68659 = (r0); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + s.tmp_5 = info_formatDecimal__P57954_mk(s); + s.tmp_5.arg0 = s.minutes___68655; s.callLocIdx = 1149; s.pc = 23; return s.tmp_5; case 23: r0 = s.retval; @@ -36797,8 +36830,8 @@ switch (step) { case 25: r0 = s.retval; s.tmp_1 = r0; - s.tmp_8 = info_formatDecimal__P4941_mk(s); - s.tmp_8.arg0 = s.remainder___15630; + s.tmp_8 = info_formatDecimal__P57954_mk(s); + s.tmp_8.arg0 = s.remainder___68659; s.callLocIdx = 1150; s.pc = 26; return s.tmp_8; case 26: r0 = s.retval; @@ -36814,10 +36847,10 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_6); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___15526; + s.tmp_0.arg2 = s.left___68555; s.tmp_0.arg3 = 1; - s.tmp_0.arg4 = s.color1___15536; - s.tmp_0.arg5 = s.font___15513; + s.tmp_0.arg4 = s.color1___68565; + s.tmp_0.arg5 = s.font___68542; s.tmp_0.arg6 = undefined; s.callLocIdx = 1151; s.pc = 22; return s.tmp_0; case 22: @@ -36827,12 +36860,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_drawTimer__P4938.info = {"start":17602,"length":1328,"line":587,"column":4,"endLine":622,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"drawTimer","argumentNames":["millis"]} +info_drawTimer__P57951.info = {"start":17602,"length":1328,"line":587,"column":4,"endLine":622,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"drawTimer","argumentNames":["millis"]} -function info_drawTimer__P4938_mk(s) { +function info_drawTimer__P57951_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_drawTimer__P4938, depth: s.depth + 1, + parent: s, fn: info_drawTimer__P57951, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36843,18 +36876,18 @@ function info_drawTimer__P4938_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - font___15513: undefined, - smallFont___15515: undefined, - seconds___15517: undefined, - width___15521: undefined, - left___15526: undefined, - color1___15536: undefined, - color2___15540: undefined, - temp___15553: undefined, - remainder___15589: undefined, - decimalLeft___15608: undefined, - minutes___15626: undefined, - remainder___15630: undefined, + font___68542: undefined, + smallFont___68544: undefined, + seconds___68546: undefined, + width___68550: undefined, + left___68555: undefined, + color1___68565: undefined, + color2___68569: undefined, + temp___68582: undefined, + remainder___68618: undefined, + decimalLeft___68637: undefined, + minutes___68655: undefined, + remainder___68659: undefined, arg0: undefined, } } @@ -36862,7 +36895,7 @@ function info_drawTimer__P4938_mk(s) { -function info_formatDecimal__P4941(s) { +function info_formatDecimal__P57954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36900,12 +36933,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_formatDecimal__P4941.info = {"start":38279,"length":156,"line":1248,"column":4,"endLine":1254,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"formatDecimal","argumentNames":["val"]} +info_formatDecimal__P57954.info = {"start":38279,"length":156,"line":1248,"column":4,"endLine":1254,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"formatDecimal","argumentNames":["val"]} -function info_formatDecimal__P4941_mk(s) { +function info_formatDecimal__P57954_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_formatDecimal__P4941, depth: s.depth + 1, + parent: s, fn: info_formatDecimal__P57954, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36916,7 +36949,7 @@ function info_formatDecimal__P4941_mk(s) { -function info_InfoState_constructor__P4885(s) { +function info_InfoState_constructor__P57898(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36931,24 +36964,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_InfoState__C4884_VT)) failedCast(r0); + if (!checkSubtype(r0, info_InfoState__C57897_VT)) failedCast(r0); r0 = (s.arg0).fields["visibilityFlag"] = (8); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["playerStates"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = info_defaultHeartImage__P4935_mk(s); + s.tmp_2 = info_defaultHeartImage__P57948_mk(s); s.callLocIdx = 1089; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["heartImage"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - r0 = pxsim.image.ofBuffer(_hex16428); + r0 = pxsim.image.ofBuffer(_hex69457); s.tmp_1 = r0; r0 = (s.tmp_0).fields["multiplierImage"] = (s.tmp_1); - r0 = pxsim_ImageMethods.isMono(globals.screen___2013); + r0 = pxsim_ImageMethods.isMono(globals.screen___55025); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -36960,7 +36993,7 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg0).fields["bgColor"] = (s.tmp_1); - r0 = pxsim_ImageMethods.isMono(globals.screen___2013); + r0 = pxsim_ImageMethods.isMono(globals.screen___55025); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -36972,7 +37005,7 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg0).fields["borderColor"] = (s.tmp_1); - r0 = pxsim_ImageMethods.isMono(globals.screen___2013); + r0 = pxsim_ImageMethods.isMono(globals.screen___55025); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -36995,12 +37028,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_InfoState_constructor__P4885.info = {"start":1696,"length":674,"line":63,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} +info_InfoState_constructor__P57898.info = {"start":1696,"length":674,"line":63,"column":8,"endLine":81,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} -function info_InfoState_constructor__P4885_mk(s) { +function info_InfoState_constructor__P57898_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_InfoState_constructor__P4885, depth: s.depth + 1, + parent: s, fn: info_InfoState_constructor__P57898, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37008,12 +37041,12 @@ function info_InfoState_constructor__P4885_mk(s) { arg0: undefined, } } -const _hex16428 = pxsim.BufferMethods.createBufferFromHex("87040500050000000100010010100000000100001010000001000100") +const _hex69457 = pxsim.BufferMethods.createBufferFromHex("87040500050000000100010010100000000100001010000001000100") -function info_defaultHeartImage__P4935(s) { +function info_defaultHeartImage__P57948(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37023,14 +37056,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_ImageMethods.isMono(globals.screen___2013); + r0 = pxsim_ImageMethods.isMono(globals.screen___55025); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.image.ofBuffer(_hex16456); + r0 = pxsim.image.ofBuffer(_hex69485); { step = 2; continue; } case 1: - r0 = pxsim.image.ofBuffer(_hex16458); + r0 = pxsim.image.ofBuffer(_hex69487); case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -37038,24 +37071,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_defaultHeartImage__P4935.info = {"start":6045,"length":592,"line":186,"column":4,"endLine":207,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultHeartImage","argumentNames":[]} +info_defaultHeartImage__P57948.info = {"start":6045,"length":592,"line":186,"column":4,"endLine":207,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"defaultHeartImage","argumentNames":[]} -function info_defaultHeartImage__P4935_mk(s) { +function info_defaultHeartImage__P57948_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_defaultHeartImage__P4935, depth: s.depth + 1, + parent: s, fn: info_defaultHeartImage__P57948, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, } } -const _hex16456 = pxsim.BufferMethods.createBufferFromHex("87040800070000001011000001000100010010001000000101001000010001001011000000000000") -const _hex16458 = pxsim.BufferMethods.createBufferFromHex("8704080007000000c0cc00002c220c002222c2002222220c20222202222422004222020020220000") +const _hex69485 = pxsim.BufferMethods.createBufferFromHex("87040800070000001011000001000100010010001000000101001000010001001011000000000000") +const _hex69487 = pxsim.BufferMethods.createBufferFromHex("8704080007000000c0cc00002c220c002222c2002222220c20222202222422004222020020220000") -function game_GameOverConfig_setSound__P2973(s) { +function game_GameOverConfig_setSound__P55985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37074,7 +37107,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C2953_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverConfig__C55965_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -37112,12 +37145,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_setSound__P2973.info = {"start":2303,"length":440,"line":72,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"setSound","argumentNames":["this","win","sound","looping","explicit"]} +game_GameOverConfig_setSound__P55985.info = {"start":2303,"length":440,"line":72,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"setSound","argumentNames":["this","win","sound","looping","explicit"]} -function game_GameOverConfig_setSound__P2973_mk(s) { +function game_GameOverConfig_setSound__P55985_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_setSound__P2973, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_setSound__P55985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37133,7 +37166,7 @@ function game_GameOverConfig_setSound__P2973_mk(s) { -function game_GameOverConfig_setEffect__P2971(s) { +function game_GameOverConfig_setEffect__P55983(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37151,7 +37184,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C2953_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverConfig__C55965_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg3); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -37187,12 +37220,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_setEffect__P2971.info = {"start":1899,"length":291,"line":62,"column":8,"endLine":67,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"setEffect","argumentNames":["this","win","effect","explicit"]} +game_GameOverConfig_setEffect__P55983.info = {"start":1899,"length":291,"line":62,"column":8,"endLine":67,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"setEffect","argumentNames":["this","win","effect","explicit"]} -function game_GameOverConfig_setEffect__P2971_mk(s) { +function game_GameOverConfig_setEffect__P55983_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_setEffect__P2971, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_setEffect__P55983, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37207,7 +37240,7 @@ function game_GameOverConfig_setEffect__P2971_mk(s) { -function info_PlayerInfo_constructor__P2599(s) { +function info_PlayerInfo_constructor__P55611(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37223,28 +37256,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2597_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C55609_VT)) failedCast(r0); r0 = (s.arg0).fields["_player"] = (s.arg1); - r0 = pxsim_pxtcore_mkClassInstance(info_PlayerInfoImpl__C2575_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_PlayerInfoImpl__C55587_VT); s.tmp_0 = r0; - s.tmp_1 = info_PlayerInfoImpl_constructor__P2583_mk(s); + s.tmp_1 = info_PlayerInfoImpl_constructor__P55595_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 1170; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["impl"] = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.players___4888); + r0 = pxsim_numops_toBoolDecr(globals.players___57901); 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___4888 = (r0); + globals.players___57901 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals.players___4888; + s.tmp_0 = r0 = globals.players___57901; r0 = s.arg0.fields["_player"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -37254,12 +37287,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_constructor__P2599.info = {"start":24739,"length":213,"line":794,"column":8,"endLine":800,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this","player"]} +info_PlayerInfo_constructor__P55611.info = {"start":24739,"length":213,"line":794,"column":8,"endLine":800,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this","player"]} -function info_PlayerInfo_constructor__P2599_mk(s) { +function info_PlayerInfo_constructor__P55611_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_constructor__P2599, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_constructor__P55611, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37272,7 +37305,7 @@ function info_PlayerInfo_constructor__P2599_mk(s) { -function info_PlayerInfoImpl_constructor__P2583(s) { +function info_PlayerInfoImpl_constructor__P55595(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37288,7 +37321,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfoImpl__C2575_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfoImpl__C55587_VT)) failedCast(r0); r0 = (s.arg0).fields["_player"] = (s.arg1); r0 = (s.arg0).fields["border"] = (1); r0 = (s.arg0).fields["fc"] = (1); @@ -37300,7 +37333,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___2013); + r0 = pxsim_ImageMethods.isMono(globals.screen___55025); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } @@ -37320,7 +37353,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___2013); + r0 = pxsim_ImageMethods.isMono(globals.screen___55025); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 4; continue; } @@ -37333,7 +37366,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.arg0).fields["bg"] = (s.tmp_2); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_1 = r0; r0 = (s.tmp_0).fields["x"] = (s.tmp_1); r0 = (s.arg0).fields["y"] = (0); @@ -37344,7 +37377,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = pxsim_ImageMethods.isMono(globals.screen___2013); + r0 = pxsim_ImageMethods.isMono(globals.screen___55025); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } @@ -37358,13 +37391,13 @@ switch (step) { r0 = (s.arg0).fields["bg"] = (s.tmp_2); r0 = (s.arg0).fields["x"] = (0); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.height(globals.screen___2013); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_1 = r0; r0 = (s.tmp_0).fields["y"] = (s.tmp_1); r0 = (s.arg0).fields["up"] = (true); { step = 12; continue; } case 9: - r0 = pxsim_ImageMethods.isMono(globals.screen___2013); + r0 = pxsim_ImageMethods.isMono(globals.screen___55025); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } @@ -37377,11 +37410,11 @@ switch (step) { s.tmp_1 = r0; r0 = (s.arg0).fields["bg"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); 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___2013); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_1 = r0; r0 = (s.tmp_0).fields["y"] = (s.tmp_1); r0 = (s.arg0).fields["left"] = (true); @@ -37393,12 +37426,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfoImpl_constructor__P2583.info = {"start":19784,"length":1116,"line":641,"column":8,"endLine":671,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this","player"]} +info_PlayerInfoImpl_constructor__P55595.info = {"start":19784,"length":1116,"line":641,"column":8,"endLine":671,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this","player"]} -function info_PlayerInfoImpl_constructor__P2583_mk(s) { +function info_PlayerInfoImpl_constructor__P55595_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfoImpl_constructor__P2583, depth: s.depth + 1, + parent: s, fn: info_PlayerInfoImpl_constructor__P55595, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37412,7 +37445,7 @@ function info_PlayerInfoImpl_constructor__P2583_mk(s) { -function info_PlayerInfo_drawLives__P2637(s) { +function info_PlayerInfo_drawLives__P55649(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37422,25 +37455,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___15667 = undefined; - s.font___15673 = undefined; - s.i___15716 = undefined; - s.num___15738 = undefined; - s.textWidth___15745 = undefined; - s.mult___15797 = undefined; + s.state___68696 = undefined; + s.font___68702 = undefined; + s.i___68745 = undefined; + s.num___68767 = undefined; + s.textWidth___68774 = undefined; + s.mult___68826 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2597_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P2623_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C55609_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P55635_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1200; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.state___15667 = (r0); - r0 = s.state___15667.fields["life"]; + s.state___68696 = (r0); + r0 = s.state___68696.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -37449,20 +37482,20 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.font___15673 = (globals.font8___1956); - r0 = s.state___15667.fields["life"]; + s.font___68702 = (globals.font8___54968); + r0 = s.state___68696.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 <= 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_imageFillRect__P1939_mk(s); - s.tmp_2.arg0 = globals.screen___2013; + s.tmp_2 = helpers_imageFillRect__P54951_mk(s); + s.tmp_2.arg0 = globals.screen___55025; s.tmp_2.arg1 = 0; s.tmp_2.arg2 = 0; - r0 = s.state___15667.fields["life"]; + r0 = s.state___68696.fields["life"]; s.tmp_4 = r0; - r0 = globals.infoState___4887.fields["heartImage"]; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.width(s.tmp_7); s.tmp_6 = r0; @@ -37472,24 +37505,24 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 + 3); s.tmp_2.arg3 = r0; - r0 = globals.infoState___4887.fields["heartImage"]; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_9 = r0; r0 = pxsim_ImageMethods.height(s.tmp_9); s.tmp_8 = r0; r0 = (s.tmp_8 + 4); s.tmp_2.arg4 = r0; - r0 = globals.infoState___4887.fields["borderColor"]; + r0 = globals.infoState___57900.fields["borderColor"]; s.tmp_2.arg5 = r0; s.callLocIdx = 1201; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); - s.tmp_0.arg0 = globals.screen___2013; + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); + s.tmp_0.arg0 = globals.screen___55025; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = s.state___15667.fields["life"]; + r0 = s.state___68696.fields["life"]; s.tmp_2 = r0; - r0 = globals.infoState___4887.fields["heartImage"]; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; @@ -37499,30 +37532,30 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 2); s.tmp_0.arg3 = r0; - r0 = globals.infoState___4887.fields["heartImage"]; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.height(s.tmp_7); s.tmp_6 = r0; r0 = (s.tmp_6 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4887.fields["bgColor"]; + r0 = globals.infoState___57900.fields["bgColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 1202; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.i___15716 = (0); + s.i___68745 = (0); case 3: - r0 = s.state___15667.fields["life"]; + r0 = s.state___68696.fields["life"]; s.tmp_1 = r0; - r0 = (s.i___15716 < s.tmp_1); + r0 = (s.i___68745 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = r0 = globals.screen___2013; - r0 = globals.infoState___4887.fields["heartImage"]; + s.tmp_2 = r0 = globals.screen___55025; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_3 = r0; - s.tmp_6 = r0 = s.i___15716; - r0 = globals.infoState___4887.fields["heartImage"]; + s.tmp_6 = r0 = s.i___68745; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_9 = r0; r0 = pxsim_ImageMethods.width(s.tmp_9); s.tmp_8 = r0; @@ -37533,13 +37566,13 @@ switch (step) { r0 = (1 + s.tmp_5); s.tmp_4 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_2, s.tmp_3, s.tmp_4, 1); - r0 = (s.i___15716 + 1); - s.i___15716 = (r0); + r0 = (s.i___68745 + 1); + s.i___68745 = (r0); { step = 3; continue; } case 4: { step = 6; continue; } case 5: - r0 = s.state___15667.fields["life"]; + r0 = s.state___68696.fields["life"]; s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 11); @@ -37553,11 +37586,11 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_2); - s.num___15738 = (r0); - r0 = pxsim_String_.length(s.num___15738); + s.num___68767 = (r0); + r0 = pxsim_String_.length(s.num___68767); s.tmp_1 = r0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___15673; + s.tmp_3.arg0 = s.font___68702; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -37572,85 +37605,85 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.textWidth___15745 = (r0); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); - s.tmp_0.arg0 = globals.screen___2013; + s.textWidth___68774 = (r0); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); + s.tmp_0.arg0 = globals.screen___55025; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = globals.infoState___4887.fields["heartImage"]; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = globals.infoState___4887.fields["multiplierImage"]; + r0 = globals.infoState___57900.fields["multiplierImage"]; s.tmp_6 = r0; r0 = pxsim_ImageMethods.width(s.tmp_6); s.tmp_5 = r0; r0 = (s.tmp_3 + s.tmp_5); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.textWidth___15745); + r0 = (s.tmp_2 + s.textWidth___68774); s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg3 = r0; - r0 = globals.infoState___4887.fields["heartImage"]; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_8 = r0; r0 = pxsim_ImageMethods.height(s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 + 4); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4887.fields["borderColor"]; + r0 = globals.infoState___57900.fields["borderColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 1204; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); - s.tmp_0.arg0 = globals.screen___2013; + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); + s.tmp_0.arg0 = globals.screen___55025; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = globals.infoState___4887.fields["heartImage"]; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; - r0 = globals.infoState___4887.fields["multiplierImage"]; + r0 = globals.infoState___57900.fields["multiplierImage"]; s.tmp_6 = r0; r0 = pxsim_ImageMethods.width(s.tmp_6); s.tmp_5 = r0; r0 = (s.tmp_3 + s.tmp_5); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.textWidth___15745); + r0 = (s.tmp_2 + s.textWidth___68774); s.tmp_1 = r0; r0 = (s.tmp_1 + 4); s.tmp_0.arg3 = r0; - r0 = globals.infoState___4887.fields["heartImage"]; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_8 = r0; r0 = pxsim_ImageMethods.height(s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4887.fields["bgColor"]; + r0 = globals.infoState___57900.fields["bgColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 1205; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - r0 = globals.infoState___4887.fields["heartImage"]; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___2013, s.tmp_0, 1, 1); - r0 = globals.infoState___4887.fields["multiplierImage"]; + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___55025, s.tmp_0, 1, 1); + r0 = globals.infoState___57900.fields["multiplierImage"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.mult___15797 = (r0); - r0 = globals.infoState___4887.fields["fontColor"]; + s.mult___68826 = (r0); + r0 = globals.infoState___57900.fields["fontColor"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.mult___15797, 1, s.tmp_0); - s.tmp_0 = r0 = globals.screen___2013; - s.tmp_1 = r0 = s.mult___15797; - r0 = globals.infoState___4887.fields["heartImage"]; + r0 = pxsim_ImageMethods.replace(s.mult___68826, 1, s.tmp_0); + s.tmp_0 = r0 = globals.screen___55025; + s.tmp_1 = r0 = s.mult___68826; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.tmp_4); s.tmp_3 = r0; r0 = (s.tmp_3 + 2); s.tmp_2 = r0; s.tmp_8 = if_charHeight_1_mk(s); - s.tmp_8.arg0 = s.font___15673; + s.tmp_8.arg0 = s.font___68702; if (!s.tmp_8.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_8.arg0, "charHeight"); } else { @@ -37662,7 +37695,7 @@ switch (step) { case 15: r0 = s.retval; s.tmp_7 = r0; - r0 = globals.infoState___4887.fields["multiplierImage"]; + r0 = globals.infoState___57900.fields["multiplierImage"]; s.tmp_10 = r0; r0 = pxsim_ImageMethods.height(s.tmp_10); s.tmp_9 = r0; @@ -37671,25 +37704,25 @@ switch (step) { r0 = (s.tmp_6 - 1); s.tmp_5 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_5); - s.tmp_0 = helpers_imagePrint__P1971_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - s.tmp_0.arg1 = s.num___15738; - r0 = globals.infoState___4887.fields["heartImage"]; + s.tmp_0 = helpers_imagePrint__P54983_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + s.tmp_0.arg1 = s.num___68767; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); s.tmp_2 = r0; r0 = (s.tmp_2 + 3); s.tmp_1 = r0; - r0 = globals.infoState___4887.fields["multiplierImage"]; + r0 = globals.infoState___57900.fields["multiplierImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_1 + s.tmp_4); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 1; - r0 = globals.infoState___4887.fields["fontColor"]; + r0 = globals.infoState___57900.fields["fontColor"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___15673; + s.tmp_0.arg5 = s.font___68702; s.tmp_0.arg6 = undefined; s.callLocIdx = 1207; s.pc = 16; return s.tmp_0; case 16: @@ -37700,12 +37733,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_drawLives__P2637.info = {"start":35809,"length":2458,"line":1179,"column":8,"endLine":1245,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawLives","argumentNames":["this"]} +info_PlayerInfo_drawLives__P55649.info = {"start":35809,"length":2458,"line":1179,"column":8,"endLine":1245,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawLives","argumentNames":["this"]} -function info_PlayerInfo_drawLives__P2637_mk(s) { +function info_PlayerInfo_drawLives__P55649_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_drawLives__P2637, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_drawLives__P55649, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37718,12 +37751,12 @@ function info_PlayerInfo_drawLives__P2637_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - state___15667: undefined, - font___15673: undefined, - i___15716: undefined, - num___15738: undefined, - textWidth___15745: undefined, - mult___15797: undefined, + state___68696: undefined, + font___68702: undefined, + i___68745: undefined, + num___68767: undefined, + textWidth___68774: undefined, + mult___68826: undefined, arg0: undefined, } } @@ -37731,7 +37764,7 @@ function info_PlayerInfo_drawLives__P2637_mk(s) { -function info_PlayerInfo_getState__P2623(s) { +function info_PlayerInfo_getState__P55635(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37746,13 +37779,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2597_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_init__P4940_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C55609_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_init__P57953_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1174; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.infoState___4887.fields["playerStates"]; + r0 = globals.infoState___57900.fields["playerStates"]; s.tmp_0 = r0; r0 = s.arg0.fields["_player"]; s.tmp_2 = r0; @@ -37762,12 +37795,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_getState__P2623.info = {"start":27235,"length":121,"line":905,"column":8,"endLine":908,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"getState","argumentNames":["this"]} +info_PlayerInfo_getState__P55635.info = {"start":27235,"length":121,"line":905,"column":8,"endLine":908,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"getState","argumentNames":["this"]} -function info_PlayerInfo_getState__P2623_mk(s) { +function info_PlayerInfo_getState__P55635_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_getState__P2623, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_getState__P55635, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37779,7 +37812,7 @@ function info_PlayerInfo_getState__P2623_mk(s) { -function info_PlayerInfo_init__P4940(s) { +function info_PlayerInfo_init__P57953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37794,8 +37827,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2597_VT)) failedCast(r0); - s.tmp_0 = info_initHUD__P4933_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C55609_VT)) failedCast(r0); + s.tmp_0 = info_initHUD__P57946_mk(s); s.callLocIdx = 1171; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -37805,13 +37838,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = info_initMultiHUD__P4934_mk(s); + s.tmp_2 = info_initMultiHUD__P57947_mk(s); s.callLocIdx = 1172; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; case 1: case 2: - r0 = globals.infoState___4887.fields["playerStates"]; + r0 = globals.infoState___57900.fields["playerStates"]; s.tmp_3 = r0; r0 = s.arg0.fields["_player"]; s.tmp_5 = r0; @@ -37825,14 +37858,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(info_PlayerState__C2533_VT); + r0 = pxsim_pxtcore_mkClassInstance(info_PlayerState__C55545_VT); s.tmp_6 = r0; - s.tmp_7 = info_PlayerState_constructor__P2542_mk(s); + s.tmp_7 = info_PlayerState_constructor__P55554_mk(s); s.tmp_7.arg0 = s.tmp_6; s.callLocIdx = 1173; s.pc = 7; return s.tmp_7; case 7: r0 = s.retval; - r0 = globals.infoState___4887.fields["playerStates"]; + r0 = globals.infoState___57900.fields["playerStates"]; s.tmp_8 = r0; r0 = s.arg0.fields["_player"]; s.tmp_10 = r0; @@ -37845,12 +37878,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_init__P4940.info = {"start":24962,"length":252,"line":802,"column":8,"endLine":808,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"init","argumentNames":["this"]} +info_PlayerInfo_init__P57953.info = {"start":24962,"length":252,"line":802,"column":8,"endLine":808,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"init","argumentNames":["this"]} -function info_PlayerInfo_init__P4940_mk(s) { +function info_PlayerInfo_init__P57953_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_init__P4940, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_init__P57953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37870,7 +37903,7 @@ function info_PlayerInfo_init__P4940_mk(s) { -function info_PlayerInfo_drawScore__P2636(s) { +function info_PlayerInfo_drawScore__P55648(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37880,18 +37913,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___15882 = undefined; - s.font___15888 = undefined; - s.offsetY___15889 = undefined; - s.num___15898 = undefined; - s.width___15902 = undefined; + s.s___68911 = undefined; + s.font___68917 = undefined; + s.offsetY___68918 = undefined; + s.num___68927 = undefined; + s.width___68931 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2597_VT)) failedCast(r0); - s.tmp_1 = info_PlayerInfoImpl_score__P2586_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C55609_VT)) failedCast(r0); + s.tmp_1 = info_PlayerInfoImpl_score__P55598_mk(s); r0 = s.arg0.fields["impl"]; s.tmp_1.arg0 = r0; s.callLocIdx = 1193; s.pc = 3; return s.tmp_1; @@ -37899,24 +37932,24 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.s___15882 = (r0); - r0 = (s.s___15882 >= 1000000); + s.s___68911 = (r0); + r0 = (s.s___68911 >= 1000000); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.offsetY___15889 = (2); - s.font___15888 = (globals.font5___1961); + s.offsetY___68918 = (2); + s.font___68917 = (globals.font5___54973); { step = 2; continue; } case 1: - s.offsetY___15889 = (1); - s.font___15888 = (globals.font8___1956); + s.offsetY___68918 = (1); + s.font___68917 = (globals.font8___54968); case 2: - r0 = pxsim_numops.toString(s.s___15882); - s.num___15898 = (r0); - r0 = pxsim_String_.length(s.num___15898); + r0 = pxsim_numops.toString(s.s___68911); + s.num___68927 = (r0); + r0 = pxsim_String_.length(s.num___68927); s.tmp_0 = r0; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___15888; + s.tmp_2.arg0 = s.font___68917; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -37929,20 +37962,20 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.width___15902 = (r0); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + s.width___68931 = (r0); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.width___15902); + r0 = (s.tmp_2 - s.width___68931); s.tmp_1 = r0; r0 = (s.tmp_1 - 2); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_0.arg3 = r0; s.tmp_4 = if_charHeight_1_mk(s); - s.tmp_4.arg0 = globals.font8___1956; + s.tmp_4.arg0 = globals.font8___54968; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charHeight"); } else { @@ -37956,24 +37989,24 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 + 3); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4887.fields["borderColor"]; + r0 = globals.infoState___57900.fields["borderColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 1196; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.width___15902); + r0 = (s.tmp_2 - s.width___68931); s.tmp_1 = r0; r0 = (s.tmp_1 - 1); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_0.arg3 = r0; s.tmp_4 = if_charHeight_1_mk(s); - s.tmp_4.arg0 = globals.font8___1956; + s.tmp_4.arg0 = globals.font8___54968; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charHeight"); } else { @@ -37987,22 +38020,22 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_3 + 2); s.tmp_0.arg4 = r0; - r0 = globals.infoState___4887.fields["bgColor"]; + r0 = globals.infoState___57900.fields["bgColor"]; s.tmp_0.arg5 = r0; s.callLocIdx = 1198; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P1971_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - s.tmp_0.arg1 = s.num___15898; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + s.tmp_0.arg1 = s.num___68927; + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.width___15902); + r0 = (s.tmp_1 - s.width___68931); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.offsetY___15889; - r0 = globals.infoState___4887.fields["fontColor"]; + s.tmp_0.arg3 = s.offsetY___68918; + r0 = globals.infoState___57900.fields["fontColor"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___15888; + s.tmp_0.arg5 = s.font___68917; s.tmp_0.arg6 = undefined; s.callLocIdx = 1199; s.pc = 9; return s.tmp_0; case 9: @@ -38011,23 +38044,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_drawScore__P2636.info = {"start":34746,"length":1053,"line":1139,"column":8,"endLine":1177,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawScore","argumentNames":["this"]} +info_PlayerInfo_drawScore__P55648.info = {"start":34746,"length":1053,"line":1139,"column":8,"endLine":1177,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawScore","argumentNames":["this"]} -function info_PlayerInfo_drawScore__P2636_mk(s) { +function info_PlayerInfo_drawScore__P55648_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_drawScore__P2636, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_drawScore__P55648, 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___15882: undefined, - font___15888: undefined, - offsetY___15889: undefined, - num___15898: undefined, - width___15902: undefined, + s___68911: undefined, + font___68917: undefined, + offsetY___68918: undefined, + num___68927: undefined, + width___68931: undefined, arg0: undefined, } } @@ -38035,7 +38068,7 @@ function info_PlayerInfo_drawScore__P2636_mk(s) { -function info_PlayerInfo_drawPlayer__P2635(s) { +function info_PlayerInfo_drawPlayer__P55647(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38045,77 +38078,77 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___16080 = undefined; - s.font___16083 = undefined; - s.score___16085 = undefined; - s.life___16086 = undefined; - s.height___16087 = undefined; - s.scoreWidth___16088 = undefined; - s.lifeWidth___16089 = undefined; - s.offsetY___16092 = undefined; - s.showScore___16093 = undefined; - s.showLife___16101 = undefined; - s.width___16169 = undefined; - s.x___16179 = undefined; - s.y___16188 = undefined; - s.bump___16225 = undefined; - s.xLoc___16252 = undefined; - s.mult___16264 = undefined; - s.pNum___16328 = undefined; - s.iconWidth___16335 = undefined; - s.iconHeight___16343 = undefined; - s.iconX___16351 = undefined; - s.iconY___16364 = undefined; + s.state___69109 = undefined; + s.font___69112 = undefined; + s.score___69114 = undefined; + s.life___69115 = undefined; + s.height___69116 = undefined; + s.scoreWidth___69117 = undefined; + s.lifeWidth___69118 = undefined; + s.offsetY___69121 = undefined; + s.showScore___69122 = undefined; + s.showLife___69130 = undefined; + s.width___69198 = undefined; + s.x___69208 = undefined; + s.y___69217 = undefined; + s.bump___69254 = undefined; + s.xLoc___69281 = undefined; + s.mult___69293 = undefined; + s.pNum___69357 = undefined; + s.iconWidth___69364 = undefined; + s.iconHeight___69372 = undefined; + s.iconX___69380 = undefined; + s.iconY___69393 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2597_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfo_getState__P2623_mk(s); + if (!checkSubtype(r0, info_PlayerInfo__C55609_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfo_getState__P55635_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1176; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; - s.state___16080 = (r0); - s.font___16083 = (globals.font5___1961); - s.height___16087 = (4); - s.scoreWidth___16088 = (0); - s.lifeWidth___16089 = (0); - s.offsetY___16092 = (2); - r0 = s.state___16080.fields["showScore"]; + s.state___69109 = (r0); + s.font___69112 = (globals.font5___54973); + s.height___69116 = (4); + s.scoreWidth___69117 = (0); + s.lifeWidth___69118 = (0); + s.offsetY___69121 = (2); + r0 = s.state___69109.fields["showScore"]; 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.state___16080.fields["score"]; + r0 = s.state___69109.fields["score"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.showScore___16093 = (s.tmp_2); - r0 = s.state___16080.fields["showLife"]; + s.showScore___69122 = (s.tmp_2); + r0 = s.state___69109.fields["showLife"]; 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.state___16080.fields["life"]; + r0 = s.state___69109.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.showLife___16101 = (s.tmp_2); - r0 = pxsim_numops_toBoolDecr(s.showScore___16093); + s.showLife___69130 = (s.tmp_2); + r0 = pxsim_numops_toBoolDecr(s.showScore___69122); if (!r0) { step = 5; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_0 = r0; - r0 = s.state___16080.fields["score"]; + r0 = s.state___69109.fields["score"]; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 44); @@ -38127,11 +38160,11 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.score___16085 = (r0); - r0 = pxsim_String_.length(s.score___16085); + s.score___69114 = (r0); + r0 = pxsim_String_.length(s.score___69114); s.tmp_1 = r0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___16083; + s.tmp_3.arg0 = s.font___69112; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -38146,10 +38179,10 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 3); - s.scoreWidth___16088 = (r0); - s.tmp_0 = r0 = s.height___16087; + s.scoreWidth___69117 = (r0); + s.tmp_0 = r0 = s.height___69116; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___16083; + s.tmp_2.arg0 = s.font___69112; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -38162,10 +38195,10 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___16087 = (r0); - s.tmp_0 = r0 = s.offsetY___16092; + s.height___69116 = (r0); + s.tmp_0 = r0 = s.offsetY___69121; s.tmp_3 = if_charHeight_1_mk(s); - s.tmp_3.arg0 = s.font___16083; + s.tmp_3.arg0 = s.font___69112; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charHeight"); } else { @@ -38180,12 +38213,12 @@ switch (step) { r0 = (s.tmp_2 + 1); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.offsetY___16092 = (r0); + s.offsetY___69121 = (r0); case 5: case 6: - r0 = pxsim_numops_toBoolDecr(s.showLife___16101); + r0 = pxsim_numops_toBoolDecr(s.showLife___69130); if (!r0) { step = 9; continue; } - r0 = s.state___16080.fields["life"]; + r0 = s.state___69109.fields["life"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 7; continue; } @@ -38208,21 +38241,21 @@ switch (step) { r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_String__concat(s.tmp_2, s.tmp_3); - s.life___16086 = (r0); - r0 = globals.infoState___4887.fields["heartImage"]; + s.life___69115 = (r0); + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); s.tmp_2 = r0; - r0 = globals.infoState___4887.fields["multiplierImage"]; + r0 = globals.infoState___57900.fields["multiplierImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; - r0 = pxsim_String_.length(s.life___16086); + r0 = pxsim_String_.length(s.life___69115); s.tmp_7 = r0; s.tmp_9 = if_charWidth_1_mk(s); - s.tmp_9.arg0 = s.font___16083; + s.tmp_9.arg0 = s.font___69112; if (!s.tmp_9.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_9.arg0, "charWidth"); } else { @@ -38239,37 +38272,37 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_6); s.tmp_0 = r0; r0 = (s.tmp_0 + 3); - s.lifeWidth___16089 = (r0); - s.tmp_0 = r0 = s.height___16087; - r0 = globals.infoState___4887.fields["heartImage"]; + s.lifeWidth___69118 = (r0); + s.tmp_0 = r0 = s.height___69116; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.height(s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___16087 = (r0); + s.height___69116 = (r0); case 9: case 10: - s.tmp_0 = Math_max__P130_mk(s); - s.tmp_0.arg0 = s.scoreWidth___16088; - s.tmp_0.arg1 = s.lifeWidth___16089; + s.tmp_0 = Math_max__P53142_mk(s); + s.tmp_0.arg0 = s.scoreWidth___69117; + s.tmp_0.arg1 = s.lifeWidth___69118; s.callLocIdx = 1181; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - s.width___16169 = (r0); - s.tmp_0 = r0 = s.showScore___16093; + s.width___69198 = (r0); + s.tmp_0 = r0 = s.showScore___69122; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } r0 = s.tmp_0; { step = 12; continue; } case 11: - r0 = s.showLife___16101; + r0 = s.showLife___69130; case 12: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - r0 = (s.height___16087 + 1); - s.height___16087 = (r0); + r0 = (s.height___69116 + 1); + s.height___69116 = (r0); case 13: case 14: r0 = s.arg0.fields["impl"]; @@ -38277,7 +38310,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = s.width___16169; + r0 = s.width___69198; { step = 16; continue; } case 15: r0 = 0; @@ -38288,13 +38321,13 @@ switch (step) { r0 = r0.fields["x"]; s.tmp_2 = r0; r0 = (s.tmp_2 - s.tmp_1); - s.x___16179 = (r0); + s.x___69208 = (r0); r0 = s.arg0.fields["impl"]; r0 = r0.fields["up"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - r0 = s.height___16087; + r0 = s.height___69116; { step = 18; continue; } case 17: r0 = 0; @@ -38305,40 +38338,40 @@ switch (step) { r0 = r0.fields["y"]; s.tmp_2 = r0; r0 = (s.tmp_2 - s.tmp_1); - s.y___16188 = (r0); - s.tmp_0 = r0 = s.showScore___16093; + s.y___69217 = (r0); + s.tmp_0 = r0 = s.showScore___69122; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 19; continue; } r0 = s.tmp_0; { step = 20; continue; } case 19: - r0 = s.showLife___16101; + r0 = s.showLife___69130; case 20: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 21; continue; } - s.tmp_2 = helpers_imageFillRect__P1939_mk(s); - s.tmp_2.arg0 = globals.screen___2013; - s.tmp_2.arg1 = s.x___16179; - s.tmp_2.arg2 = s.y___16188; - s.tmp_2.arg3 = s.width___16169; - s.tmp_2.arg4 = s.height___16087; + s.tmp_2 = helpers_imageFillRect__P54951_mk(s); + s.tmp_2.arg0 = globals.screen___55025; + s.tmp_2.arg1 = s.x___69208; + s.tmp_2.arg2 = s.y___69217; + s.tmp_2.arg3 = s.width___69198; + s.tmp_2.arg4 = s.height___69116; r0 = s.arg0.fields["impl"]; r0 = r0.fields["border"]; s.tmp_2.arg5 = r0; s.callLocIdx = 1182; s.pc = 51; return s.tmp_2; case 51: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - r0 = (s.x___16179 + 1); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + r0 = (s.x___69208 + 1); s.tmp_0.arg1 = r0; - r0 = (s.y___16188 + 1); + r0 = (s.y___69217 + 1); s.tmp_0.arg2 = r0; - r0 = (s.width___16169 - 2); + r0 = (s.width___69198 - 2); s.tmp_0.arg3 = r0; - r0 = (s.height___16087 - 2); + r0 = (s.height___69116 - 2); s.tmp_0.arg4 = r0; r0 = s.arg0.fields["impl"]; r0 = r0.fields["bg"]; @@ -38348,88 +38381,88 @@ switch (step) { r0 = s.retval; case 21: case 22: - r0 = pxsim_numops_toBoolDecr(s.showScore___16093); + r0 = pxsim_numops_toBoolDecr(s.showScore___69122); if (!r0) { step = 25; continue; } r0 = s.arg0.fields["impl"]; r0 = r0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - r0 = (s.width___16169 - s.scoreWidth___16088); + r0 = (s.width___69198 - s.scoreWidth___69117); { step = 24; continue; } case 23: r0 = 0; case 24: // jmp value (already in r0) s.tmp_1 = r0; - s.bump___16225 = (s.tmp_1); - s.tmp_0 = helpers_imagePrint__P1971_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - s.tmp_0.arg1 = s.score___16085; - r0 = (s.x___16179 + 1); + s.bump___69254 = (s.tmp_1); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + s.tmp_0.arg1 = s.score___69114; + r0 = (s.x___69208 + 1); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.bump___16225); + r0 = (s.tmp_2 + s.bump___69254); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = (s.y___16188 + 2); + r0 = (s.y___69217 + 2); s.tmp_0.arg3 = r0; r0 = s.arg0.fields["impl"]; r0 = r0.fields["fc"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___16083; + s.tmp_0.arg5 = s.font___69112; s.tmp_0.arg6 = undefined; s.callLocIdx = 1184; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; case 25: case 26: - r0 = pxsim_numops_toBoolDecr(s.showLife___16101); + r0 = pxsim_numops_toBoolDecr(s.showLife___69130); if (!r0) { step = 29; continue; } r0 = s.arg0.fields["impl"]; r0 = r0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - r0 = (s.width___16169 - s.lifeWidth___16089); + r0 = (s.width___69198 - s.lifeWidth___69118); { step = 28; continue; } case 27: r0 = 0; case 28: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___16179 + 1); + r0 = (s.x___69208 + 1); s.tmp_2 = r0; r0 = (s.tmp_2 + s.tmp_1); - s.xLoc___16252 = (r0); - r0 = globals.infoState___4887.fields["multiplierImage"]; + s.xLoc___69281 = (r0); + r0 = globals.infoState___57900.fields["multiplierImage"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.mult___16264 = (r0); + s.mult___69293 = (r0); r0 = s.arg0.fields["impl"]; r0 = r0.fields["fc"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.mult___16264, 1, s.tmp_0); - s.tmp_0 = r0 = globals.screen___2013; - r0 = globals.infoState___4887.fields["heartImage"]; + r0 = pxsim_ImageMethods.replace(s.mult___69293, 1, s.tmp_0); + s.tmp_0 = r0 = globals.screen___55025; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_1 = r0; - s.tmp_2 = r0 = s.xLoc___16252; - r0 = (s.y___16188 + s.offsetY___16092); + s.tmp_2 = r0 = s.xLoc___69281; + r0 = (s.y___69217 + s.offsetY___69121); s.tmp_3 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_3); - s.tmp_0 = r0 = globals.screen___2013; - s.tmp_1 = r0 = s.mult___16264; - s.tmp_3 = r0 = s.xLoc___16252; - r0 = globals.infoState___4887.fields["heartImage"]; + s.tmp_0 = r0 = globals.screen___55025; + s.tmp_1 = r0 = s.mult___69293; + s.tmp_3 = r0 = s.xLoc___69281; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; - r0 = (s.y___16188 + s.offsetY___16092); + r0 = (s.y___69217 + s.offsetY___69121); s.tmp_9 = r0; s.tmp_11 = if_charHeight_1_mk(s); - s.tmp_11.arg0 = s.font___16083; + s.tmp_11.arg0 = s.font___69112; if (!s.tmp_11.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_11.arg0, "charHeight"); } else { @@ -38443,7 +38476,7 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_9 + s.tmp_10); s.tmp_8 = r0; - r0 = globals.infoState___4887.fields["multiplierImage"]; + r0 = globals.infoState___57900.fields["multiplierImage"]; s.tmp_13 = r0; r0 = pxsim_ImageMethods.height(s.tmp_13); s.tmp_12 = r0; @@ -38452,17 +38485,17 @@ switch (step) { r0 = (s.tmp_7 - 1); s.tmp_6 = r0; r0 = pxsim_ImageMethods.drawTransparentImage(s.tmp_0, s.tmp_1, s.tmp_2, s.tmp_6); - s.tmp_0 = helpers_imagePrint__P1971_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - s.tmp_0.arg1 = s.life___16086; - s.tmp_3 = r0 = s.xLoc___16252; - r0 = globals.infoState___4887.fields["heartImage"]; + s.tmp_0 = helpers_imagePrint__P54983_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + s.tmp_0.arg1 = s.life___69115; + s.tmp_3 = r0 = s.xLoc___69281; + r0 = globals.infoState___57900.fields["heartImage"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; - r0 = globals.infoState___4887.fields["multiplierImage"]; + r0 = globals.infoState___57900.fields["multiplierImage"]; s.tmp_7 = r0; r0 = pxsim_ImageMethods.width(s.tmp_7); s.tmp_6 = r0; @@ -38470,19 +38503,19 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg2 = r0; - r0 = (s.y___16188 + s.offsetY___16092); + r0 = (s.y___69217 + s.offsetY___69121); s.tmp_0.arg3 = r0; r0 = s.arg0.fields["impl"]; r0 = r0.fields["fc"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___16083; + s.tmp_0.arg5 = s.font___69112; s.tmp_0.arg6 = undefined; s.callLocIdx = 1186; s.pc = 55; return s.tmp_0; case 55: r0 = s.retval; case 29: case 30: - r0 = s.state___16080.fields["showPlayer"]; + r0 = s.state___69109.fields["showPlayer"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 41; continue; } @@ -38500,11 +38533,11 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - s.pNum___16328 = (r0); - r0 = pxsim_String_.length(s.pNum___16328); + s.pNum___69357 = (r0); + r0 = pxsim_String_.length(s.pNum___69357); s.tmp_1 = r0; s.tmp_3 = if_charWidth_1_mk(s); - s.tmp_3.arg0 = s.font___16083; + s.tmp_3.arg0 = s.font___69112; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "charWidth"); } else { @@ -38519,11 +38552,11 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.iconWidth___16335 = (r0); - s.tmp_0 = Math_max__P130_mk(s); - s.tmp_0.arg0 = s.height___16087; + s.iconWidth___69364 = (r0); + s.tmp_0 = Math_max__P53142_mk(s); + s.tmp_0.arg0 = s.height___69116; s.tmp_2 = if_charHeight_1_mk(s); - s.tmp_2.arg0 = s.font___16083; + s.tmp_2.arg0 = s.font___69112; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charHeight"); } else { @@ -38540,26 +38573,26 @@ switch (step) { s.callLocIdx = 1189; s.pc = 58; return s.tmp_0; case 58: r0 = s.retval; - s.iconHeight___16343 = (r0); + s.iconHeight___69372 = (r0); r0 = s.arg0.fields["impl"]; r0 = r0.fields["left"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = (s.x___16179 - s.iconWidth___16335); + r0 = (s.x___69208 - s.iconWidth___69364); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); { step = 32; continue; } case 31: - r0 = (s.x___16179 + s.width___16169); + r0 = (s.x___69208 + s.width___69198); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); case 32: // jmp value (already in r0) s.tmp_3 = r0; - s.iconX___16351 = (s.tmp_3); - s.iconY___16364 = (s.y___16188); - r0 = pxsim_numops_toBoolDecr(s.showScore___16093); + s.iconX___69380 = (s.tmp_3); + s.iconY___69393 = (s.y___69217); + r0 = pxsim_numops_toBoolDecr(s.showScore___69122); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -38568,7 +38601,7 @@ switch (step) { r0 = s.tmp_0; { step = 34; continue; } case 33: - r0 = pxsim_numops_toBoolDecr(s.showLife___16101); + r0 = pxsim_numops_toBoolDecr(s.showLife___69130); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 34: @@ -38588,43 +38621,43 @@ switch (step) { case 36: // jmp value (already in r0) s.tmp_5 = r0; - r0 = (s.iconX___16351 + s.tmp_5); - s.iconX___16351 = (r0); + r0 = (s.iconX___69380 + s.tmp_5); + s.iconX___69380 = (r0); r0 = s.arg0.fields["impl"]; r0 = r0.fields["up"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 37; continue; } - r0 = (s.iconY___16364 - 3); - s.iconY___16364 = (r0); + r0 = (s.iconY___69393 - 3); + s.iconY___69393 = (r0); case 37: case 38: case 39: case 40: - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - s.tmp_0.arg1 = s.iconX___16351; - s.tmp_0.arg2 = s.iconY___16364; - s.tmp_0.arg3 = s.iconWidth___16335; - s.tmp_0.arg4 = s.iconHeight___16343; + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + s.tmp_0.arg1 = s.iconX___69380; + s.tmp_0.arg2 = s.iconY___69393; + s.tmp_0.arg3 = s.iconWidth___69364; + s.tmp_0.arg4 = s.iconHeight___69372; r0 = s.arg0.fields["impl"]; r0 = r0.fields["border"]; s.tmp_0.arg5 = r0; s.callLocIdx = 1190; s.pc = 60; return s.tmp_0; case 60: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P1971_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - s.tmp_0.arg1 = s.pNum___16328; - r0 = (s.iconX___16351 + 1); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + s.tmp_0.arg1 = s.pNum___69357; + r0 = (s.iconX___69380 + 1); s.tmp_0.arg2 = r0; - s.tmp_2 = r0 = s.iconY___16364; - r0 = (s.iconHeight___16343 >> 1); + s.tmp_2 = r0 = s.iconY___69393; + r0 = (s.iconHeight___69372 >> 1); s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; s.tmp_6 = if_charHeight_1_mk(s); - s.tmp_6.arg0 = s.font___16083; + s.tmp_6.arg0 = s.font___69112; if (!s.tmp_6.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "charHeight"); } else { @@ -38643,7 +38676,7 @@ switch (step) { r0 = s.arg0.fields["impl"]; r0 = r0.fields["bg"]; s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = s.font___16083; + s.tmp_0.arg5 = s.font___69112; s.tmp_0.arg6 = undefined; s.callLocIdx = 1192; s.pc = 61; return s.tmp_0; case 61: @@ -38654,12 +38687,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_drawPlayer__P2635.info = {"start":31018,"length":3718,"line":1034,"column":8,"endLine":1137,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawPlayer","argumentNames":["this"]} +info_PlayerInfo_drawPlayer__P55647.info = {"start":31018,"length":3718,"line":1034,"column":8,"endLine":1137,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"drawPlayer","argumentNames":["this"]} -function info_PlayerInfo_drawPlayer__P2635_mk(s) { +function info_PlayerInfo_drawPlayer__P55647_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_drawPlayer__P2635, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_drawPlayer__P55647, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38675,27 +38708,27 @@ function info_PlayerInfo_drawPlayer__P2635_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - state___16080: undefined, - font___16083: undefined, - score___16085: undefined, - life___16086: undefined, - height___16087: undefined, - scoreWidth___16088: undefined, - lifeWidth___16089: undefined, - offsetY___16092: undefined, - showScore___16093: undefined, - showLife___16101: undefined, - width___16169: undefined, - x___16179: undefined, - y___16188: undefined, - bump___16225: undefined, - xLoc___16252: undefined, - mult___16264: undefined, - pNum___16328: undefined, - iconWidth___16335: undefined, - iconHeight___16343: undefined, - iconX___16351: undefined, - iconY___16364: undefined, + state___69109: undefined, + font___69112: undefined, + score___69114: undefined, + life___69115: undefined, + height___69116: undefined, + scoreWidth___69117: undefined, + lifeWidth___69118: undefined, + offsetY___69121: undefined, + showScore___69122: undefined, + showLife___69130: undefined, + width___69198: undefined, + x___69208: undefined, + y___69217: undefined, + bump___69254: undefined, + xLoc___69281: undefined, + mult___69293: undefined, + pNum___69357: undefined, + iconWidth___69364: undefined, + iconHeight___69372: undefined, + iconX___69380: undefined, + iconY___69393: undefined, arg0: undefined, } } @@ -38703,7 +38736,7 @@ function info_PlayerInfo_drawPlayer__P2635_mk(s) { -function info_PlayerInfoImpl_raiseLifeZero__P2596(s) { +function info_PlayerInfoImpl_raiseLifeZero__P55608(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38713,22 +38746,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___16050 = undefined; - s.goc___16069 = undefined; + s.state___69079 = undefined; + s.goc___69098 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfoImpl__C2575_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfoImpl_getState__P2584_mk(s); + if (!checkSubtype(r0, info_PlayerInfoImpl__C55587_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfoImpl_getState__P55596_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1164; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.state___16050 = (r0); - r0 = s.state___16050.fields["life"]; + s.state___69079 = (r0); + r0 = s.state___69079.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== null); s.tmp_0 = r0; @@ -38737,7 +38770,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.state___16050.fields["life"]; + r0 = s.state___69079.fields["life"]; s.tmp_2 = r0; r0 = (s.tmp_2 <= 0); case 2: @@ -38745,13 +38778,13 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - r0 = (s.state___16050).fields["life"] = (null); - r0 = s.state___16050.fields["lifeZeroHandler"]; + r0 = (s.state___69079).fields["life"] = (null); + r0 = s.state___69079.fields["lifeZeroHandler"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } s.tmp_1 = if_lifeZeroHandler_1_mk(s); - s.tmp_1.arg0 = s.state___16050; + s.tmp_1.arg0 = s.state___69079; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "lifeZeroHandler"), 1); s.callLocIdx = 1165; s.pc = 10; return s.tmp_1; @@ -38768,22 +38801,22 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 4; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.gameOverConfig___2978; + s.tmp_0.argL = globals.gameOverConfig___55990; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 1166; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.goc___16069 = (r0); - s.tmp_0 = game_GameOverConfig_setEffect__P2971_mk(s); - s.tmp_0.arg0 = s.goc___16069; + s.goc___69098 = (r0); + s.tmp_0 = game_GameOverConfig_setEffect__P55983_mk(s); + s.tmp_0.arg0 = s.goc___69098; s.tmp_0.arg1 = false; s.tmp_0.arg2 = null; s.tmp_0.arg3 = false; s.callLocIdx = 1167; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = game_GameOverConfig_setSound__P2973_mk(s); - s.tmp_0.arg0 = s.goc___16069; + s.tmp_0 = game_GameOverConfig_setSound__P55985_mk(s); + s.tmp_0.arg0 = s.goc___69098; s.tmp_0.arg1 = false; s.tmp_0.arg2 = null; s.tmp_0.arg3 = false; @@ -38791,7 +38824,7 @@ switch (step) { s.callLocIdx = 1168; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = game_gameOver__P2993_mk(s); + s.tmp_0 = game_gameOver__P56005_mk(s); s.tmp_0.arg0 = false; s.callLocIdx = 1169; s.pc = 14; return s.tmp_0; case 14: @@ -38805,19 +38838,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfoImpl_raiseLifeZero__P2596.info = {"start":23958,"length":620,"line":771,"column":8,"endLine":785,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"raiseLifeZero","argumentNames":["this","gameOver"]} +info_PlayerInfoImpl_raiseLifeZero__P55608.info = {"start":23958,"length":620,"line":771,"column":8,"endLine":785,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"raiseLifeZero","argumentNames":["this","gameOver"]} -function info_PlayerInfoImpl_raiseLifeZero__P2596_mk(s) { +function info_PlayerInfoImpl_raiseLifeZero__P55608_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfoImpl_raiseLifeZero__P2596, depth: s.depth + 1, + parent: s, fn: info_PlayerInfoImpl_raiseLifeZero__P55608, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - state___16050: undefined, - goc___16069: undefined, + state___69079: undefined, + goc___69098: undefined, arg0: undefined, arg1: undefined, } } @@ -38826,7 +38859,7 @@ function info_PlayerInfoImpl_raiseLifeZero__P2596_mk(s) { -function info_PlayerInfoImpl_hasLife__P2593(s) { +function info_PlayerInfoImpl_hasLife__P55605(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38836,20 +38869,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___15869 = undefined; + s.state___68898 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfoImpl__C2575_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfoImpl_getState__P2584_mk(s); + if (!checkSubtype(r0, info_PlayerInfoImpl__C55587_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfoImpl_getState__P55596_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1162; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.state___15869 = (r0); - r0 = s.state___15869.fields["life"]; + s.state___68898 = (r0); + r0 = s.state___68898.fields["life"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); s.tmp_0 = r0; @@ -38858,7 +38891,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.state___15869.fields["life"]; + r0 = s.state___68898.fields["life"]; s.tmp_2 = r0; r0 = (s.tmp_2 !== null); case 2: @@ -38868,18 +38901,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfoImpl_hasLife__P2593.info = {"start":23477,"length":141,"line":756,"column":8,"endLine":759,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasLife","argumentNames":["this"]} +info_PlayerInfoImpl_hasLife__P55605.info = {"start":23477,"length":141,"line":756,"column":8,"endLine":759,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasLife","argumentNames":["this"]} -function info_PlayerInfoImpl_hasLife__P2593_mk(s) { +function info_PlayerInfoImpl_hasLife__P55605_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfoImpl_hasLife__P2593, depth: s.depth + 1, + parent: s, fn: info_PlayerInfoImpl_hasLife__P55605, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, tmp_3: undefined, - state___15869: undefined, + state___68898: undefined, arg0: undefined, } } @@ -38887,7 +38920,7 @@ function info_PlayerInfoImpl_hasLife__P2593_mk(s) { -function info_PlayerInfoImpl_hasScore__P2589(s) { +function info_PlayerInfoImpl_hasScore__P55601(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38897,34 +38930,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___15951 = undefined; + s.state___68980 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfoImpl__C2575_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfoImpl_getState__P2584_mk(s); + if (!checkSubtype(r0, info_PlayerInfoImpl__C55587_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfoImpl_getState__P55596_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1161; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.state___15951 = (r0); - r0 = s.state___15951.fields["score"]; + s.state___68980 = (r0); + r0 = s.state___68980.fields["score"]; s.tmp_0 = r0; r0 = (s.tmp_0 !== undefined); return leave(s, r0) default: oops() } } } -info_PlayerInfoImpl_hasScore__P2589.info = {"start":22576,"length":111,"line":725,"column":8,"endLine":728,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasScore","argumentNames":["this"]} +info_PlayerInfoImpl_hasScore__P55601.info = {"start":22576,"length":111,"line":725,"column":8,"endLine":728,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"hasScore","argumentNames":["this"]} -function info_PlayerInfoImpl_hasScore__P2589_mk(s) { +function info_PlayerInfoImpl_hasScore__P55601_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfoImpl_hasScore__P2589, depth: s.depth + 1, + parent: s, fn: info_PlayerInfoImpl_hasScore__P55601, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - state___15951: undefined, + state___68980: undefined, arg0: undefined, } } @@ -38932,7 +38965,7 @@ function info_PlayerInfoImpl_hasScore__P2589_mk(s) { -function info_PlayerState_constructor__P2542(s) { +function info_PlayerState_constructor__P55554(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38947,7 +38980,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerState__C2533_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerState__C55545_VT)) failedCast(r0); r0 = (s.arg0).fields["visibility"] = (0); r0 = (s.arg0).fields["showScore"] = (undefined); r0 = (s.arg0).fields["showLife"] = (undefined); @@ -38956,12 +38989,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerState_constructor__P2542.info = {"start":1084,"length":192,"line":42,"column":8,"endLine":47,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} +info_PlayerState_constructor__P55554.info = {"start":1084,"length":192,"line":42,"column":8,"endLine":47,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["this"]} -function info_PlayerState_constructor__P2542_mk(s) { +function info_PlayerState_constructor__P55554_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerState_constructor__P2542, depth: s.depth + 1, + parent: s, fn: info_PlayerState_constructor__P55554, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -38970,7 +39003,7 @@ function info_PlayerState_constructor__P2542_mk(s) { -function info_highScore__P2551(s) { +function info_highScore__P55563(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38980,7 +39013,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P2049_mk(s); + s.tmp_1 = settings_readNumber__P55061_mk(s); s.tmp_1.arg0 = "high-score"; s.callLocIdx = 1135; s.pc = 3; return s.tmp_1; case 3: @@ -38999,12 +39032,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_highScore__P2551.info = {"start":9662,"length":98,"line":321,"column":4,"endLine":323,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"highScore","argumentNames":[]} +info_highScore__P55563.info = {"start":9662,"length":98,"line":321,"column":4,"endLine":323,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"highScore","argumentNames":[]} -function info_highScore__P2551_mk(s) { +function info_highScore__P55563_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_highScore__P2551, depth: s.depth + 1, + parent: s, fn: info_highScore__P55563, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39015,7 +39048,7 @@ function info_highScore__P2551_mk(s) { -function settings_readNumber__P2049(s) { +function settings_readNumber__P55061(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39025,15 +39058,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___14819 = undefined; - s.nums___14826 = undefined; + s.buf___67848 = undefined; + s.nums___67855 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___14819 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___14819); + s.buf___67848 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___67848); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -39043,20 +39076,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___14819; + s.tmp_2 = msgpack_unpackNumberArray__P53195_mk(s); + s.tmp_2.arg0 = s.buf___67848; s.tmp_2.arg1 = 0; s.callLocIdx = 249; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___14826 = (r0); - s.tmp_0 = r0 = s.nums___14826; + s.nums___67855 = (r0); + s.tmp_0 = r0 = s.nums___67855; 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___14826); + r0 = pxsim_Array__length(s.nums___67855); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -39064,7 +39097,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___14826, 0); + r0 = pxsim_Array__getAt(s.nums___67855, 0); { step = 7; continue; } case 4: case 5: @@ -39076,18 +39109,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P2049.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__P55061.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__P2049_mk(s) { +function settings_readNumber__P55061_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P2049, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P55061, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___14819: undefined, - nums___14826: undefined, + buf___67848: undefined, + nums___67855: undefined, arg0: undefined, } } @@ -39095,7 +39128,7 @@ function settings_readNumber__P2049_mk(s) { -function settings_readBuffer__P2046(s) { +function settings_readBuffer__P55058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39113,12 +39146,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P2046.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__P55058.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__P2046_mk(s) { +function settings_readBuffer__P55058_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P2046, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P55058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -39127,7 +39160,7 @@ function settings_readBuffer__P2046_mk(s) { -function msgpack_unpackNumberArray__P183(s) { +function msgpack_unpackNumberArray__P53195(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39137,16 +39170,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___14839 = undefined; - s.fmt___14846 = undefined; - s.v___14855 = undefined; + s.res___67868 = undefined; + s.fmt___67875 = undefined; + s.v___67884 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___14839 = (r0); + s.res___67868 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -39158,14 +39191,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P4479_mk(s); + s.tmp_4 = msgpack_tagFormat__P57492_mk(s); r0 = pxsim.BufferMethods.getByte(s.arg0, s.tmp_3); s.tmp_4.arg0 = r0; s.callLocIdx = 31; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___14846 = (r0); - r0 = (s.fmt___14846 === null); + s.fmt___67875 = (r0); + r0 = (s.fmt___67875 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -39173,21 +39206,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___14855 = (r0); - r0 = (-31 <= s.v___14855); + s.v___67884 = (r0); + r0 = (-31 <= s.v___67884); 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___14855 <= 127); + r0 = (s.v___67884 <= 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___14839, s.v___14855); + r0 = pxsim_Array__push(s.res___67868, s.v___67884); { step = 5; continue; } case 4: r0 = null; @@ -39195,13 +39228,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___14839; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___14846, s.arg1); + s.tmp_0 = r0 = s.res___67868; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___67875, 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___14846; + s.tmp_2 = pins_sizeOf__P53187_mk(s); + s.tmp_2.arg0 = s.fmt___67875; s.callLocIdx = 32; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -39222,26 +39255,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___14839; + r0 = s.res___67868; 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__P53195.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__P53195_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P183, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P53195, 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___14839: undefined, - fmt___14846: undefined, - v___14855: undefined, + res___67868: undefined, + fmt___67875: undefined, + v___67884: undefined, arg0: undefined, arg1: undefined, } } @@ -39250,7 +39283,7 @@ function msgpack_unpackNumberArray__P183_mk(s) { -function msgpack_tagFormat__P4479(s) { +function msgpack_tagFormat__P57492(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39310,12 +39343,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P4479.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__P57492.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__P4479_mk(s) { +function msgpack_tagFormat__P57492_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P4479, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P57492, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39325,7 +39358,7 @@ function msgpack_tagFormat__P4479_mk(s) { -function pins_sizeOf__P175(s) { +function pins_sizeOf__P53187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39339,7 +39372,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P215_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P53227_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 28; s.pc = 1; return s.tmp_0; case 1: @@ -39347,12 +39380,12 @@ switch (step) { 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__P53187.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__P53187_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P175, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P53187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39362,7 +39395,7 @@ function pins_sizeOf__P175_mk(s) { -function Buffer_sizeOfNumberFormat__P215(s) { +function Buffer_sizeOfNumberFormat__P53227(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39441,12 +39474,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__P53227.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__P53227_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P215, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P53227, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39456,7 +39489,7 @@ function Buffer_sizeOfNumberFormat__P215_mk(s) { -function info_saveHighScore__P2548(s) { +function info_saveHighScore__P55560(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39466,41 +39499,41 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.winner___14656 = undefined; - s.hs___14660 = undefined; - s.curr___14664 = undefined; - s.tmp_0 = info_winningPlayer__P2546_mk(s); + s.winner___67685 = undefined; + s.hs___67689 = undefined; + s.curr___67693 = undefined; + s.tmp_0 = info_winningPlayer__P55558_mk(s); s.callLocIdx = 1130; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.winner___14656 = (r0); - r0 = pxsim_numops_toBoolDecr(s.winner___14656); + s.winner___67685 = (r0); + r0 = pxsim_numops_toBoolDecr(s.winner___67685); if (!r0) { step = 3; continue; } - s.tmp_0 = info_PlayerInfoImpl_score__P2586_mk(s); - r0 = s.winner___14656.fields["impl"]; + s.tmp_0 = info_PlayerInfoImpl_score__P55598_mk(s); + r0 = s.winner___67685.fields["impl"]; s.tmp_0.arg0 = r0; s.callLocIdx = 1131; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.hs___14660 = (r0); - s.tmp_0 = settings_readNumber__P2049_mk(s); + s.hs___67689 = (r0); + s.tmp_0 = settings_readNumber__P55061_mk(s); s.tmp_0.arg0 = "high-score"; s.callLocIdx = 1132; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.curr___14664 = (r0); - s.tmp_1 = info_isBetterScore__P2547_mk(s); - s.tmp_1.arg0 = s.hs___14660; - s.tmp_1.arg1 = s.curr___14664; + s.curr___67693 = (r0); + s.tmp_1 = info_isBetterScore__P55559_mk(s); + s.tmp_1.arg0 = s.hs___67689; + s.tmp_1.arg1 = s.curr___67693; s.callLocIdx = 1133; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = settings_writeNumber__P2044_mk(s); + s.tmp_2 = settings_writeNumber__P55056_mk(s); s.tmp_2.arg0 = "high-score"; - s.tmp_2.arg1 = s.hs___14660; + s.tmp_2.arg1 = s.hs___67689; s.callLocIdx = 1134; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; @@ -39512,26 +39545,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_saveHighScore__P2548.info = {"start":8812,"length":324,"line":286,"column":4,"endLine":295,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"saveHighScore","argumentNames":[]} +info_saveHighScore__P55560.info = {"start":8812,"length":324,"line":286,"column":4,"endLine":295,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"saveHighScore","argumentNames":[]} -function info_saveHighScore__P2548_mk(s) { +function info_saveHighScore__P55560_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_saveHighScore__P2548, depth: s.depth + 1, + parent: s, fn: info_saveHighScore__P55560, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - winner___14656: undefined, - hs___14660: undefined, - curr___14664: undefined, + winner___67685: undefined, + hs___67689: undefined, + curr___67693: undefined, } } -function settings_writeNumber__P2044(s) { +function settings_writeNumber__P55056(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39549,9 +39582,9 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); - s.tmp_1 = settings_writeBuffer__P2041_mk(s); + s.tmp_1 = settings_writeBuffer__P55053_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P184_mk(s); + s.tmp_2 = msgpack_packNumberArray__P53196_mk(s); s.tmp_2.arg0 = s.tmp_0; s.callLocIdx = 245; s.pc = 2; return s.tmp_2; case 2: @@ -39564,12 +39597,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeNumber__P2044.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__P55056.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__P2044_mk(s) { +function settings_writeNumber__P55056_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P2044, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P55056, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39582,7 +39615,7 @@ function settings_writeNumber__P2044_mk(s) { -function settings_writeBuffer__P2041(s) { +function settings_writeBuffer__P55053(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39609,12 +39642,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P2041.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__P55053.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__P2041_mk(s) { +function settings_writeBuffer__P55053_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P2041, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P55053, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39625,7 +39658,7 @@ function settings_writeBuffer__P2041_mk(s) { -function msgpack_packNumberArray__P184(s) { +function msgpack_packNumberArray__P53196(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39635,100 +39668,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___14679 = undefined; - s.n___14681 = undefined; - s.unnamed1474___U2 = undefined; - s.unnamed1475___U3 = undefined; - s.buf___14691 = undefined; - s.n___14697 = undefined; - s.unnamed1476___U6 = undefined; - s.unnamed1477___U7 = undefined; + s.off___67708 = undefined; + s.n___67710 = undefined; + s.unnamed214___U2 = undefined; + s.unnamed215___U3 = undefined; + s.buf___67720 = undefined; + s.n___67726 = undefined; + s.unnamed216___U6 = undefined; + s.unnamed217___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___14679 = (0); - s.n___14681 = (undefined); - s.unnamed1474___U2 = (s.arg0); - s.unnamed1475___U3 = (0); + s.off___67708 = (0); + s.n___67710 = (undefined); + s.unnamed214___U2 = (s.arg0); + s.unnamed215___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1475___U3; - r0 = pxsim_Array__length(s.unnamed1474___U2); + s.tmp_0 = r0 = s.unnamed215___U3; + r0 = pxsim_Array__length(s.unnamed214___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1474___U2, s.unnamed1475___U3); - s.n___14681 = (r0); - s.tmp_2 = r0 = s.off___14679; - s.tmp_4 = msgpack_packNumberCore__P4480_mk(s); + r0 = pxsim_Array__getAt(s.unnamed214___U2, s.unnamed215___U3); + s.n___67710 = (r0); + s.tmp_2 = r0 = s.off___67708; + s.tmp_4 = msgpack_packNumberCore__P57493_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___14679; - s.tmp_4.arg2 = s.n___14681; + s.tmp_4.arg1 = s.off___67708; + s.tmp_4.arg2 = s.n___67710; s.callLocIdx = 33; 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___14679 = (r0); - r0 = (s.unnamed1475___U3 + 1); - s.unnamed1475___U3 = (r0); + s.off___67708 = (r0); + r0 = (s.unnamed215___U3 + 1); + s.unnamed215___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed1474___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___14679); - s.buf___14691 = (r0); - s.off___14679 = (0); - s.n___14697 = (undefined); - s.unnamed1476___U6 = (s.arg0); - s.unnamed1477___U7 = (0); + s.unnamed214___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___67708); + s.buf___67720 = (r0); + s.off___67708 = (0); + s.n___67726 = (undefined); + s.unnamed216___U6 = (s.arg0); + s.unnamed217___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed1477___U7; - r0 = pxsim_Array__length(s.unnamed1476___U6); + s.tmp_0 = r0 = s.unnamed217___U7; + r0 = pxsim_Array__length(s.unnamed216___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed1476___U6, s.unnamed1477___U7); - s.n___14697 = (r0); - s.tmp_2 = r0 = s.off___14679; - s.tmp_4 = msgpack_packNumberCore__P4480_mk(s); - s.tmp_4.arg0 = s.buf___14691; - s.tmp_4.arg1 = s.off___14679; - s.tmp_4.arg2 = s.n___14697; + r0 = pxsim_Array__getAt(s.unnamed216___U6, s.unnamed217___U7); + s.n___67726 = (r0); + s.tmp_2 = r0 = s.off___67708; + s.tmp_4 = msgpack_packNumberCore__P57493_mk(s); + s.tmp_4.arg0 = s.buf___67720; + s.tmp_4.arg1 = s.off___67708; + s.tmp_4.arg2 = s.n___67726; s.callLocIdx = 34; 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___14679 = (r0); - r0 = (s.unnamed1477___U7 + 1); - s.unnamed1477___U7 = (r0); + s.off___67708 = (r0); + r0 = (s.unnamed217___U7 + 1); + s.unnamed217___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed1476___U6 = (undefined); - r0 = s.buf___14691; + s.unnamed216___U6 = (undefined); + r0 = s.buf___67720; 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__P53196.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__P53196_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P184, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P53196, 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___14679: undefined, - n___14681: undefined, - unnamed1474___U2: undefined, - unnamed1475___U3: undefined, - buf___14691: undefined, - n___14697: undefined, - unnamed1476___U6: undefined, - unnamed1477___U7: undefined, + off___67708: undefined, + n___67710: undefined, + unnamed214___U2: undefined, + unnamed215___U3: undefined, + buf___67720: undefined, + n___67726: undefined, + unnamed216___U6: undefined, + unnamed217___U7: undefined, arg0: undefined, } } @@ -39736,7 +39769,7 @@ function msgpack_packNumberArray__P184_mk(s) { -function msgpack_packNumberCore__P4480(s) { +function msgpack_packNumberCore__P57493(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39746,15 +39779,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___14711 = undefined; - s.fmt___14754 = undefined; + s.tag___67740 = undefined; + s.fmt___67783 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___14711 = (203); + s.tag___67740 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -39804,17 +39837,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___14711 = (204); + s.tag___67740 = (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___14711 = (205); + s.tag___67740 = (205); { step = 10; continue; } case 9: - s.tag___14711 = (206); + s.tag___67740 = (206); case 10: case 11: { step = 17; continue; } @@ -39823,41 +39856,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___14711 = (208); + s.tag___67740 = (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___14711 = (209); + s.tag___67740 = (209); { step = 15; continue; } case 14: - s.tag___14711 = (210); + s.tag___67740 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P4479_mk(s); - s.tmp_0.arg0 = s.tag___14711; + s.tmp_0 = msgpack_tagFormat__P57492_mk(s); + s.tmp_0.arg0 = s.tag___67740; s.callLocIdx = 29; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___14754 = (r0); + s.fmt___67783 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___14711); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___67740); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___14754; + s.tmp_1 = r0 = s.fmt___67783; 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___14754; + s.tmp_1 = pins_sizeOf__P53187_mk(s); + s.tmp_1.arg0 = s.fmt___67783; s.callLocIdx = 30; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -39867,12 +39900,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P4480.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__P57493.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__P4480_mk(s) { +function msgpack_packNumberCore__P57493_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P4480, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P57493, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39882,8 +39915,8 @@ function msgpack_packNumberCore__P4480_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___14711: undefined, - fmt___14754: undefined, + tag___67740: undefined, + fmt___67783: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39893,7 +39926,7 @@ function msgpack_packNumberCore__P4480_mk(s) { -function info_winningPlayer__P2546(s) { +function info_winningPlayer__P55558(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39903,66 +39936,66 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.winner___16463 = undefined; - s.pws___16465 = undefined; - s.goc___16469 = undefined; - s.hs___16472 = undefined; + s.winner___69492 = undefined; + s.pws___69494 = undefined; + s.goc___69498 = undefined; + s.hs___69501 = undefined; r0 = pxsim_pxtrt.mklocRef(); - s.winner___16463 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.winner___16463, null); - s.tmp_0 = info_playersWithScores__P2544_mk(s); + s.winner___69492 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.winner___69492, null); + s.tmp_0 = info_playersWithScores__P55556_mk(s); s.callLocIdx = 1124; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.pws___16465 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pws___16465); + s.pws___69494 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pws___69494); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.gameOverConfig___2978; + s.tmp_0.argL = globals.gameOverConfig___55990; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 1125; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.goc___16469 = (r0); + s.goc___69498 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.hs___16472 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.hs___16472, null); - r0 = pxsim_pxtcore_mkAction(2, info_winningPlayer_inline__P16476); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hs___16472); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.winner___16463); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = s.pws___16465; + s.hs___69501 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.hs___69501, null); + r0 = pxsim_pxtcore_mkAction(2, info_winningPlayer_inline__P69505); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hs___69501); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.winner___69492); + s.tmp_1 = helpers_arrayForEach__P53121_mk(s); + s.tmp_1.arg0 = s.pws___69494; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 1128; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtrt_ldlocRef(s.winner___16463); + r0 = pxsim_pxtrt_ldlocRef(s.winner___69492); return leave(s, r0) default: oops() } } } -info_winningPlayer__P2546.info = {"start":7878,"length":476,"line":256,"column":4,"endLine":271,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"winningPlayer","argumentNames":[]} +info_winningPlayer__P55558.info = {"start":7878,"length":476,"line":256,"column":4,"endLine":271,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"winningPlayer","argumentNames":[]} -function info_winningPlayer__P2546_mk(s) { +function info_winningPlayer__P55558_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_winningPlayer__P2546, depth: s.depth + 1, + parent: s, fn: info_winningPlayer__P55558, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - winner___16463: undefined, - pws___16465: undefined, - goc___16469: undefined, - hs___16472: undefined, + winner___69492: undefined, + pws___69494: undefined, + goc___69498: undefined, + hs___69501: undefined, } } -function info_winningPlayer_inline__P16476(s) { +function info_winningPlayer_inline__P69505(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39972,20 +40005,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___16478 = undefined; + s.s___69507 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfoImpl_score__P2586_mk(s); + s.tmp_0 = info_PlayerInfoImpl_score__P55598_mk(s); r0 = s.arg0.fields["impl"]; s.tmp_0.arg0 = r0; s.callLocIdx = 1126; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___16478 = (r0); - s.tmp_1 = info_isBetterScore__P2547_mk(s); - s.tmp_1.arg0 = s.s___16478; + s.s___69507 = (r0); + s.tmp_1 = info_isBetterScore__P55559_mk(s); + s.tmp_1.arg0 = s.s___69507; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1.arg1 = r0; s.callLocIdx = 1127; s.pc = 4; return s.tmp_1; @@ -39994,7 +40027,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtrt_stlocRef(s.caps[0], s.s___16478); + r0 = pxsim_pxtrt_stlocRef(s.caps[0], s.s___69507); r0 = pxsim_pxtrt_stlocRef(s.caps[1], s.arg0); case 1: case 2: @@ -40002,16 +40035,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_winningPlayer_inline__P16476.info = {"start":8129,"length":184,"line":262,"column":24,"endLine":268,"endColumn":13,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} +info_winningPlayer_inline__P69505.info = {"start":8129,"length":184,"line":262,"column":24,"endLine":268,"endColumn":13,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["p"]} -function info_winningPlayer_inline__P16476_mk(s) { +function info_winningPlayer_inline__P69505_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_winningPlayer_inline__P16476, depth: s.depth + 1, + parent: s, fn: info_winningPlayer_inline__P69505, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - s___16478: undefined, + s___69507: undefined, arg0: undefined, } } @@ -40019,7 +40052,7 @@ function info_winningPlayer_inline__P16476_mk(s) { -function info_saveAllScores__P2545(s) { +function info_saveAllScores__P55557(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40029,32 +40062,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.allScoresKey___14900 = undefined; - s.allScores___14902 = undefined; - s.pws___14903 = undefined; - s.allScoresKey___14900 = ("all-scores"); - s.tmp_0 = info_playersWithScores__P2544_mk(s); + s.allScoresKey___67929 = undefined; + s.allScores___67931 = undefined; + s.pws___67932 = undefined; + s.allScoresKey___67929 = ("all-scores"); + s.tmp_0 = info_playersWithScores__P55556_mk(s); s.callLocIdx = 1120; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.pws___14903 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pws___14903); + s.pws___67932 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pws___67932); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayMap__P106_mk(s); - s.tmp_0.arg0 = s.pws___14903; - s.tmp_0.arg1 = info_saveAllScores_inline__P14910; + s.tmp_0 = helpers_arrayMap__P53118_mk(s); + s.tmp_0.arg0 = s.pws___67932; + s.tmp_0.arg1 = info_saveAllScores_inline__P67939; s.callLocIdx = 1122; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.allScores___14902 = (r0); + s.allScores___67931 = (r0); { step = 2; continue; } case 1: r0 = pxsim_Array__mk(); - s.allScores___14902 = (r0); + s.allScores___67931 = (r0); case 2: - s.tmp_0 = settings_writeJSON__P2043_mk(s); - s.tmp_0.arg0 = s.allScoresKey___14900; - s.tmp_0.arg1 = s.allScores___14902; + s.tmp_0 = settings_writeJSON__P55055_mk(s); + s.tmp_0.arg0 = s.allScoresKey___67929; + s.tmp_0.arg1 = s.allScores___67931; s.callLocIdx = 1123; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -40062,24 +40095,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_saveAllScores__P2545.info = {"start":7520,"length":352,"line":242,"column":4,"endLine":254,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"saveAllScores","argumentNames":[]} +info_saveAllScores__P55557.info = {"start":7520,"length":352,"line":242,"column":4,"endLine":254,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"saveAllScores","argumentNames":[]} -function info_saveAllScores__P2545_mk(s) { +function info_saveAllScores__P55557_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_saveAllScores__P2545, depth: s.depth + 1, + parent: s, fn: info_saveAllScores__P55557, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - allScoresKey___14900: undefined, - allScores___14902: undefined, - pws___14903: undefined, + allScoresKey___67929: undefined, + allScores___67931: undefined, + pws___67932: undefined, } } -function info_saveAllScores_inline__P14910(s) { +function info_saveAllScores_inline__P67939(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40093,7 +40126,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfoImpl_score__P2586_mk(s); + s.tmp_0 = info_PlayerInfoImpl_score__P55598_mk(s); r0 = s.arg0.fields["impl"]; s.tmp_0.arg0 = r0; s.callLocIdx = 1121; s.pc = 1; return s.tmp_0; @@ -40102,12 +40135,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_saveAllScores_inline__P14910.info = {"start":7722,"length":25,"line":247,"column":32,"endLine":247,"endColumn":57,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["item"]} +info_saveAllScores_inline__P67939.info = {"start":7722,"length":25,"line":247,"column":32,"endLine":247,"endColumn":57,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["item"]} -function info_saveAllScores_inline__P14910_mk(s) { +function info_saveAllScores_inline__P67939_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_saveAllScores_inline__P14910, depth: s.depth + 1, + parent: s, fn: info_saveAllScores_inline__P67939, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40117,7 +40150,7 @@ function info_saveAllScores_inline__P14910_mk(s) { -function settings_writeJSON__P2043(s) { +function settings_writeJSON__P55055(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40132,9 +40165,9 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeString__P2042_mk(s); + s.tmp_0 = settings_writeString__P55054_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = JSON_stringify__P387_mk(s); + s.tmp_1 = JSON_stringify__P53399_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = null; s.tmp_1.arg2 = 0; @@ -40149,12 +40182,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeJSON__P2043.info = {"start":2092,"length":106,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeJSON","argumentNames":["key","value"]} +settings_writeJSON__P55055.info = {"start":2092,"length":106,"line":82,"column":4,"endLine":84,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"writeJSON","argumentNames":["key","value"]} -function settings_writeJSON__P2043_mk(s) { +function settings_writeJSON__P55055_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeJSON__P2043, depth: s.depth + 1, + parent: s, fn: settings_writeJSON__P55055, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40166,7 +40199,7 @@ function settings_writeJSON__P2043_mk(s) { -function settings_writeString__P2042(s) { +function settings_writeString__P55054(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40181,7 +40214,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P2041_mk(s); + s.tmp_0 = settings_writeBuffer__P55053_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; @@ -40192,12 +40225,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeString__P2042.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__P55054.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__P2042_mk(s) { +function settings_writeString__P55054_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P2042, depth: s.depth + 1, + parent: s, fn: settings_writeString__P55054, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -40208,7 +40241,7 @@ function settings_writeString__P2042_mk(s) { -function JSON_stringify__P387(s) { +function JSON_stringify__P53399(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40218,16 +40251,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ss___14930 = undefined; + s.ss___67959 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(JSON_Stringifier__C4532_VT); - s.ss___14930 = (r0); - s.tmp_0 = r0 = s.ss___14930; + r0 = pxsim_pxtcore_mkClassInstance(JSON_Stringifier__C57545_VT); + s.ss___67959 = (r0); + s.tmp_0 = r0 = s.ss___67959; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["currIndent"] = (s.tmp_1); @@ -40247,15 +40280,15 @@ switch (step) { s.arg2 = (10); case 3: case 4: - s.tmp_0 = r0 = s.ss___14930; + s.tmp_0 = r0 = s.ss___67959; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["indentStep"] = (s.tmp_1); - s.tmp_0 = r0 = s.ss___14930; + s.tmp_0 = r0 = s.ss___67959; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["currIndent"] = (s.tmp_1); - r0 = (s.ss___14930).fields["indent"] = (s.arg2); + r0 = (s.ss___67959).fields["indent"] = (s.arg2); case 5: s.tmp_0 = r0 = s.arg2; r0 = (s.tmp_0 - 1); @@ -40264,7 +40297,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 6; continue; } - s.tmp_2 = r0 = s.ss___14930; + s.tmp_2 = r0 = s.ss___67959; r0 = s.tmp_2.fields["indentStep"]; s.tmp_5 = r0; if ((s.tmp_5) && (s.tmp_5).vtable) { @@ -40281,8 +40314,8 @@ switch (step) { r0 = (s.tmp_2).fields["indentStep"] = (s.tmp_3); { step = 5; continue; } case 6: - s.tmp_0 = JSON_Stringifier_go__P4534_mk(s); - s.tmp_0.arg0 = s.ss___14930; + s.tmp_0 = JSON_Stringifier_go__P57547_mk(s); + s.tmp_0.arg0 = s.ss___67959; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 57; s.pc = 8; return s.tmp_0; case 8: @@ -40290,12 +40323,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -JSON_stringify__P387.info = {"start":8773,"length":414,"line":288,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/base/json.ts","functionName":"stringify","argumentNames":["value","replacer","indent"]} +JSON_stringify__P53399.info = {"start":8773,"length":414,"line":288,"column":4,"endLine":300,"endColumn":5,"fileName":"pxt_modules/base/json.ts","functionName":"stringify","argumentNames":["value","replacer","indent"]} -function JSON_stringify__P387_mk(s) { +function JSON_stringify__P53399_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_stringify__P387, depth: s.depth + 1, + parent: s, fn: JSON_stringify__P53399, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40303,7 +40336,7 @@ function JSON_stringify__P387_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - ss___14930: undefined, + ss___67959: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -40313,7 +40346,7 @@ function JSON_stringify__P387_mk(s) { -function JSON_Stringifier_go__P4534(s) { +function JSON_Stringifier_go__P57547(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40323,28 +40356,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___14971 = undefined; - s.arr___14995 = undefined; - s.r___15001 = undefined; - s.i___15018 = undefined; - s.keys___15082 = undefined; - s.r___15089 = undefined; - s.i___15106 = undefined; - s.k___15112 = undefined; + s.t___68000 = undefined; + s.arr___68024 = undefined; + s.r___68030 = undefined; + s.i___68047 = undefined; + s.keys___68111 = undefined; + s.r___68118 = undefined; + s.i___68135 = undefined; + s.k___68141 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, JSON_Stringifier__C4532_VT)) failedCast(r0); + if (!checkSubtype(r0, JSON_Stringifier__C57545_VT)) failedCast(r0); r0 = pxsim_pxtcore.typeOf(s.arg1); - s.t___14971 = (r0); - r0 = (s.t___14971 == "string"); + s.t___68000 = (r0); + r0 = (s.t___68000 == "string"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = JSON_Stringifier_doString__P4533_mk(s); + s.tmp_1 = JSON_Stringifier_doString__P57546_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 51; s.pc = 38; return s.tmp_1; @@ -40353,14 +40386,14 @@ switch (step) { { step = 37; continue; } { step = 36; continue; } case 1: - r0 = (s.t___14971 == "boolean"); + r0 = (s.t___68000 == "boolean"); s.tmp_2 = r0; r0 = pxsim_numops_toBool(s.tmp_2); if (!r0) { step = 2; continue; } r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = (s.t___14971 == "number"); + r0 = (s.t___68000 == "number"); case 3: // jmp value (already in r0) s.tmp_3 = r0; @@ -40394,8 +40427,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 19; continue; } - s.arr___14995 = (s.arg1); - r0 = pxsim_Array__length(s.arr___14995); + s.arr___68024 = (s.arg1); + r0 = pxsim_Array__length(s.arr___68024); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -40405,7 +40438,7 @@ switch (step) { { step = 37; continue; } { step = 18; continue; } case 7: - s.r___15001 = ("["); + s.r___68030 = ("["); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -40436,34 +40469,34 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_3, s.tmp_5); s.tmp_2 = r0; r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); - if ((s.r___15001) && (s.r___15001).vtable) { + if ((s.r___68030) && (s.r___68030).vtable) { setupResume(s, 42); - pxsim_String__stringConv(s.r___15001); + pxsim_String__stringConv(s.r___68030); checkResumeConsumed(); return; - } else { s.retval = (s.r___15001) + ""; } + } else { s.retval = (s.r___68030) + ""; } case 42: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.r___15001 = (r0); + s.r___68030 = (r0); case 8: case 9: - s.i___15018 = (0); + s.i___68047 = (0); case 10: - s.tmp_1 = r0 = s.i___15018; - r0 = pxsim_Array__length(s.arr___14995); + s.tmp_1 = r0 = s.i___68047; + r0 = pxsim_Array__length(s.arr___68024); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - if ((s.r___15001) && (s.r___15001).vtable) { + if ((s.r___68030) && (s.r___68030).vtable) { setupResume(s, 43); - pxsim_String__stringConv(s.r___15001); + pxsim_String__stringConv(s.r___68030); checkResumeConsumed(); return; - } else { s.retval = (s.r___15001) + ""; } + } else { s.retval = (s.r___68030) + ""; } case 43: r0 = s.retval; s.tmp_3 = r0; @@ -40478,9 +40511,9 @@ switch (step) { case 44: r0 = s.retval; s.tmp_6 = r0; - s.tmp_10 = JSON_Stringifier_go__P4534_mk(s); + s.tmp_10 = JSON_Stringifier_go__P57547_mk(s); s.tmp_10.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.arr___14995, s.i___15018); + r0 = pxsim_Array__getAt(s.arr___68024, s.i___68047); s.tmp_10.arg1 = r0; s.callLocIdx = 52; s.pc = 45; return s.tmp_10; case 45: @@ -40507,9 +40540,9 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___15001 = (r0); - s.tmp_1 = r0 = s.i___15018; - r0 = pxsim_Array__length(s.arr___14995); + s.r___68030 = (r0); + s.tmp_1 = r0 = s.i___68047; + r0 = pxsim_Array__length(s.arr___68024); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -40517,38 +40550,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - if ((s.r___15001) && (s.r___15001).vtable) { + if ((s.r___68030) && (s.r___68030).vtable) { setupResume(s, 48); - pxsim_String__stringConv(s.r___15001); + pxsim_String__stringConv(s.r___68030); checkResumeConsumed(); return; - } else { s.retval = (s.r___15001) + ""; } + } else { s.retval = (s.r___68030) + ""; } case 48: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ","); - s.r___15001 = (r0); + s.r___68030 = (r0); case 11: case 12: r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - if ((s.r___15001) && (s.r___15001).vtable) { + if ((s.r___68030) && (s.r___68030).vtable) { setupResume(s, 49); - pxsim_String__stringConv(s.r___15001); + pxsim_String__stringConv(s.r___68030); checkResumeConsumed(); return; - } else { s.retval = (s.r___15001) + ""; } + } else { s.retval = (s.r___68030) + ""; } case 49: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.r___15001 = (r0); + s.r___68030 = (r0); case 13: case 14: - r0 = (s.i___15018 + 1); - s.i___15018 = (r0); + r0 = (s.i___68047 + 1); + s.i___68047 = (r0); { step = 10; continue; } case 15: r0 = s.arg0.fields["indent"]; @@ -40556,7 +40589,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } s.tmp_1 = r0 = s.arg0; - s.tmp_3 = helpers_stringSlice__P119_mk(s); + s.tmp_3 = helpers_stringSlice__P53131_mk(s); r0 = s.arg0.fields["currIndent"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["indent"]; @@ -40569,12 +40602,12 @@ switch (step) { r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); case 16: case 17: - if ((s.r___15001) && (s.r___15001).vtable) { + if ((s.r___68030) && (s.r___68030).vtable) { setupResume(s, 51); - pxsim_String__stringConv(s.r___15001); + pxsim_String__stringConv(s.r___68030); checkResumeConsumed(); return; - } else { s.retval = (s.r___15001) + ""; } + } else { s.retval = (s.r___68030) + ""; } case 51: r0 = s.retval; s.tmp_0 = r0; @@ -40601,15 +40634,15 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___15001 = (r0); - r0 = s.r___15001; + s.r___68030 = (r0); + r0 = s.r___68030; { step = 37; continue; } case 18: { step = 34; continue; } case 19: r0 = pxsim_pxtrt.keysOf(s.arg1); - s.keys___15082 = (r0); - r0 = pxsim_Array__length(s.keys___15082); + s.keys___68111 = (r0); + r0 = pxsim_Array__length(s.keys___68111); s.tmp_1 = r0; r0 = (s.tmp_1 == 0); s.tmp_0 = r0; @@ -40619,7 +40652,7 @@ switch (step) { { step = 37; continue; } case 20: case 21: - s.r___15089 = ("{"); + s.r___68118 = ("{"); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -40650,36 +40683,36 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_3, s.tmp_5); s.tmp_2 = r0; r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); - if ((s.r___15089) && (s.r___15089).vtable) { + if ((s.r___68118) && (s.r___68118).vtable) { setupResume(s, 56); - pxsim_String__stringConv(s.r___15089); + pxsim_String__stringConv(s.r___68118); checkResumeConsumed(); return; - } else { s.retval = (s.r___15089) + ""; } + } else { s.retval = (s.r___68118) + ""; } case 56: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.r___15089 = (r0); + s.r___68118 = (r0); case 22: case 23: - s.i___15106 = (0); + s.i___68135 = (0); case 24: - s.tmp_1 = r0 = s.i___15106; - r0 = pxsim_Array__length(s.keys___15082); + s.tmp_1 = r0 = s.i___68135; + r0 = pxsim_Array__length(s.keys___68111); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = pxsim_Array__getAt(s.keys___15082, s.i___15106); - s.k___15112 = (r0); - if ((s.r___15089) && (s.r___15089).vtable) { + r0 = pxsim_Array__getAt(s.keys___68111, s.i___68135); + s.k___68141 = (r0); + if ((s.r___68118) && (s.r___68118).vtable) { setupResume(s, 57); - pxsim_String__stringConv(s.r___15089); + pxsim_String__stringConv(s.r___68118); checkResumeConsumed(); return; - } else { s.retval = (s.r___15089) + ""; } + } else { s.retval = (s.r___68118) + ""; } case 57: r0 = s.retval; s.tmp_0 = r0; @@ -40694,9 +40727,9 @@ switch (step) { case 58: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = JSON_Stringifier_doString__P4533_mk(s); + s.tmp_7 = JSON_Stringifier_doString__P57546_mk(s); s.tmp_7.arg0 = s.arg0; - s.tmp_7.arg1 = s.k___15112; + s.tmp_7.arg1 = s.k___68141; s.callLocIdx = 54; s.pc = 59; return s.tmp_7; case 59: r0 = s.retval; @@ -40722,48 +40755,48 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___15089 = (r0); + s.r___68118 = (r0); r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } - if ((s.r___15089) && (s.r___15089).vtable) { + if ((s.r___68118) && (s.r___68118).vtable) { setupResume(s, 62); - pxsim_String__stringConv(s.r___15089); + pxsim_String__stringConv(s.r___68118); checkResumeConsumed(); return; - } else { s.retval = (s.r___15089) + ""; } + } else { s.retval = (s.r___68118) + ""; } case 62: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, ": "); - s.r___15089 = (r0); + s.r___68118 = (r0); { step = 26; continue; } case 25: - if ((s.r___15089) && (s.r___15089).vtable) { + if ((s.r___68118) && (s.r___68118).vtable) { setupResume(s, 63); - pxsim_String__stringConv(s.r___15089); + pxsim_String__stringConv(s.r___68118); checkResumeConsumed(); return; - } else { s.retval = (s.r___15089) + ""; } + } else { s.retval = (s.r___68118) + ""; } case 63: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, ":"); - s.r___15089 = (r0); + s.r___68118 = (r0); case 26: - if ((s.r___15089) && (s.r___15089).vtable) { + if ((s.r___68118) && (s.r___68118).vtable) { setupResume(s, 64); - pxsim_String__stringConv(s.r___15089); + pxsim_String__stringConv(s.r___68118); checkResumeConsumed(); return; - } else { s.retval = (s.r___15089) + ""; } + } else { s.retval = (s.r___68118) + ""; } case 64: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = JSON_Stringifier_go__P4534_mk(s); + s.tmp_3 = JSON_Stringifier_go__P57547_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.arg1, s.k___15112); + r0 = pxsim_pxtrt.mapGetGeneric(s.arg1, s.k___68141); s.tmp_3.arg1 = r0; s.callLocIdx = 55; s.pc = 65; return s.tmp_3; case 65: @@ -40779,9 +40812,9 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___15089 = (r0); - s.tmp_1 = r0 = s.i___15106; - r0 = pxsim_Array__length(s.keys___15082); + s.r___68118 = (r0); + s.tmp_1 = r0 = s.i___68135; + r0 = pxsim_Array__length(s.keys___68111); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -40789,38 +40822,38 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - if ((s.r___15089) && (s.r___15089).vtable) { + if ((s.r___68118) && (s.r___68118).vtable) { setupResume(s, 67); - pxsim_String__stringConv(s.r___15089); + pxsim_String__stringConv(s.r___68118); checkResumeConsumed(); return; - } else { s.retval = (s.r___15089) + ""; } + } else { s.retval = (s.r___68118) + ""; } case 67: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ","); - s.r___15089 = (r0); + s.r___68118 = (r0); case 27: case 28: r0 = s.arg0.fields["indent"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - if ((s.r___15089) && (s.r___15089).vtable) { + if ((s.r___68118) && (s.r___68118).vtable) { setupResume(s, 68); - pxsim_String__stringConv(s.r___15089); + pxsim_String__stringConv(s.r___68118); checkResumeConsumed(); return; - } else { s.retval = (s.r___15089) + ""; } + } else { s.retval = (s.r___68118) + ""; } case 68: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_1, "\n"); - s.r___15089 = (r0); + s.r___68118 = (r0); case 29: case 30: - r0 = (s.i___15106 + 1); - s.i___15106 = (r0); + r0 = (s.i___68135 + 1); + s.i___68135 = (r0); { step = 24; continue; } case 31: r0 = s.arg0.fields["indent"]; @@ -40828,7 +40861,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } s.tmp_1 = r0 = s.arg0; - s.tmp_3 = helpers_stringSlice__P119_mk(s); + s.tmp_3 = helpers_stringSlice__P53131_mk(s); r0 = s.arg0.fields["currIndent"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["indent"]; @@ -40841,12 +40874,12 @@ switch (step) { r0 = (s.tmp_1).fields["currIndent"] = (s.tmp_2); case 32: case 33: - if ((s.r___15089) && (s.r___15089).vtable) { + if ((s.r___68118) && (s.r___68118).vtable) { setupResume(s, 70); - pxsim_String__stringConv(s.r___15089); + pxsim_String__stringConv(s.r___68118); checkResumeConsumed(); return; - } else { s.retval = (s.r___15089) + ""; } + } else { s.retval = (s.r___68118) + ""; } case 70: r0 = s.retval; s.tmp_0 = r0; @@ -40873,8 +40906,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___15089 = (r0); - r0 = s.r___15089; + s.r___68118 = (r0); + r0 = s.r___68118; { step = 37; continue; } case 34: case 35: @@ -40884,12 +40917,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -JSON_Stringifier_go__P4534.info = {"start":6319,"length":2076,"line":223,"column":8,"endLine":279,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"go","argumentNames":["this","v"]} +JSON_Stringifier_go__P57547.info = {"start":6319,"length":2076,"line":223,"column":8,"endLine":279,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"go","argumentNames":["this","v"]} -function JSON_Stringifier_go__P4534_mk(s) { +function JSON_Stringifier_go__P57547_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_Stringifier_go__P4534, depth: s.depth + 1, + parent: s, fn: JSON_Stringifier_go__P57547, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -40902,14 +40935,14 @@ function JSON_Stringifier_go__P4534_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - t___14971: undefined, - arr___14995: undefined, - r___15001: undefined, - i___15018: undefined, - keys___15082: undefined, - r___15089: undefined, - i___15106: undefined, - k___15112: undefined, + t___68000: undefined, + arr___68024: undefined, + r___68030: undefined, + i___68047: undefined, + keys___68111: undefined, + r___68118: undefined, + i___68135: undefined, + k___68141: undefined, arg0: undefined, arg1: undefined, } } @@ -40918,7 +40951,7 @@ function JSON_Stringifier_go__P4534_mk(s) { -function JSON_Stringifier_doString__P4533(s) { +function JSON_Stringifier_doString__P57546(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -40928,68 +40961,68 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___15198 = undefined; - s.i___15199 = undefined; - s.c___15205 = undefined; + s.r___68227 = undefined; + s.i___68228 = undefined; + s.c___68234 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, JSON_Stringifier__C4532_VT)) failedCast(r0); - s.r___15198 = ("\""); - s.i___15199 = (0); + if (!checkSubtype(r0, JSON_Stringifier__C57545_VT)) failedCast(r0); + s.r___68227 = ("\""); + s.i___68228 = (0); case 1: - s.tmp_1 = r0 = s.i___15199; + s.tmp_1 = r0 = s.i___68228; r0 = pxsim_String_.length(s.arg1); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = pxsim_String_.charAt(s.arg1, s.i___15199); - s.c___15205 = (r0); - r0 = (s.c___15205 == "\n"); + r0 = pxsim_String_.charAt(s.arg1, s.i___68228); + s.c___68234 = (r0); + r0 = (s.c___68234 == "\n"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.c___15205 = ("\\n"); + s.c___68234 = ("\\n"); { step = 13; continue; } case 2: - r0 = (s.c___15205 == "\r"); + r0 = (s.c___68234 == "\r"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.c___15205 = ("\\r"); + s.c___68234 = ("\\r"); { step = 12; continue; } case 3: - r0 = (s.c___15205 == "\t"); + r0 = (s.c___68234 == "\t"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.c___15205 = ("\\t"); + s.c___68234 = ("\\t"); { step = 11; continue; } case 4: - r0 = (s.c___15205 == "\b"); + r0 = (s.c___68234 == "\b"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.c___15205 = ("\\b"); + s.c___68234 = ("\\b"); { step = 10; continue; } case 5: - r0 = (s.c___15205 == "\\"); + r0 = (s.c___68234 == "\\"); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.c___15205 = ("\\\\"); + s.c___68234 = ("\\\\"); { step = 9; continue; } case 6: - r0 = (s.c___15205 == "\""); + r0 = (s.c___68234 == "\""); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.c___15205 = ("\\\""); + s.c___68234 = ("\\\""); case 7: case 8: case 9: @@ -40997,36 +41030,36 @@ switch (step) { case 11: case 12: case 13: - if ((s.r___15198) && (s.r___15198).vtable) { + if ((s.r___68227) && (s.r___68227).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___15198); + pxsim_String__stringConv(s.r___68227); checkResumeConsumed(); return; - } else { s.retval = (s.r___15198) + ""; } + } else { s.retval = (s.r___68227) + ""; } case 15: r0 = s.retval; s.tmp_0 = r0; - if ((s.c___15205) && (s.c___15205).vtable) { + if ((s.c___68234) && (s.c___68234).vtable) { setupResume(s, 16); - pxsim_String__stringConv(s.c___15205); + pxsim_String__stringConv(s.c___68234); checkResumeConsumed(); return; - } else { s.retval = (s.c___15205) + ""; } + } else { s.retval = (s.c___68234) + ""; } case 16: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_String__concat(s.tmp_0, s.tmp_1); - s.r___15198 = (r0); - r0 = (s.i___15199 + 1); - s.i___15199 = (r0); + s.r___68227 = (r0); + r0 = (s.i___68228 + 1); + s.i___68228 = (r0); { step = 1; continue; } case 14: - if ((s.r___15198) && (s.r___15198).vtable) { + if ((s.r___68227) && (s.r___68227).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___15198); + pxsim_String__stringConv(s.r___68227); checkResumeConsumed(); return; - } else { s.retval = (s.r___15198) + ""; } + } else { s.retval = (s.r___68227) + ""; } case 17: r0 = s.retval; s.tmp_0 = r0; @@ -41034,19 +41067,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -JSON_Stringifier_doString__P4533.info = {"start":5837,"length":472,"line":208,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"doString","argumentNames":["this","s"]} +JSON_Stringifier_doString__P57546.info = {"start":5837,"length":472,"line":208,"column":8,"endLine":221,"endColumn":9,"fileName":"pxt_modules/base/json.ts","functionName":"doString","argumentNames":["this","s"]} -function JSON_Stringifier_doString__P4533_mk(s) { +function JSON_Stringifier_doString__P57546_mk(s) { checkStack(s.depth); return { - parent: s, fn: JSON_Stringifier_doString__P4533, depth: s.depth + 1, + parent: s, fn: JSON_Stringifier_doString__P57546, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - r___15198: undefined, - i___15199: undefined, - c___15205: undefined, + r___68227: undefined, + i___68228: undefined, + c___68234: undefined, arg0: undefined, arg1: undefined, } } @@ -41055,7 +41088,7 @@ function JSON_Stringifier_doString__P4533_mk(s) { -function info_playersWithScores__P2544(s) { +function info_playersWithScores__P55556(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41065,11 +41098,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.players___4888); + r0 = pxsim_numops_toBoolDecr(globals.players___57901); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayFilter__P110_mk(s); - s.tmp_0.arg0 = globals.players___4888; - s.tmp_0.arg1 = info_playersWithScores_inline__P16498; + s.tmp_0 = helpers_arrayFilter__P53122_mk(s); + s.tmp_0.arg0 = globals.players___57901; + s.tmp_0.arg1 = info_playersWithScores_inline__P69527; s.callLocIdx = 1119; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; @@ -41083,12 +41116,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_playersWithScores__P2544.info = {"start":7381,"length":133,"line":238,"column":4,"endLine":240,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"playersWithScores","argumentNames":[]} +info_playersWithScores__P55556.info = {"start":7381,"length":133,"line":238,"column":4,"endLine":240,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"playersWithScores","argumentNames":[]} -function info_playersWithScores__P2544_mk(s) { +function info_playersWithScores__P55556_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_playersWithScores__P2544, depth: s.depth + 1, + parent: s, fn: info_playersWithScores__P55556, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41098,7 +41131,7 @@ function info_playersWithScores__P2544_mk(s) { -function info_playersWithScores_inline__P16498(s) { +function info_playersWithScores_inline__P69527(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41112,7 +41145,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfoImpl_hasScore__P2589_mk(s); + s.tmp_0 = info_PlayerInfoImpl_hasScore__P55601_mk(s); r0 = s.arg0.fields["impl"]; s.tmp_0.arg0 = r0; s.callLocIdx = 1118; s.pc = 1; return s.tmp_0; @@ -41121,12 +41154,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_playersWithScores_inline__P16498.info = {"start":7473,"length":28,"line":239,"column":40,"endLine":239,"endColumn":68,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["item"]} +info_playersWithScores_inline__P69527.info = {"start":7473,"length":28,"line":239,"column":40,"endLine":239,"endColumn":68,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["item"]} -function info_playersWithScores_inline__P16498_mk(s) { +function info_playersWithScores_inline__P69527_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_playersWithScores_inline__P16498, depth: s.depth + 1, + parent: s, fn: info_playersWithScores_inline__P69527, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41136,7 +41169,7 @@ function info_playersWithScores_inline__P16498_mk(s) { -function info_multiplayerScoring__P2543(s) { +function info_multiplayerScoring__P55555(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41146,27 +41179,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pws___14647 = undefined; - s.p___14651 = undefined; - s.unnamed1512___U2 = undefined; - s.unnamed1513___U3 = undefined; - s.tmp_0 = info_playersWithScores__P2544_mk(s); + s.pws___67676 = undefined; + s.p___67680 = undefined; + s.unnamed252___U2 = undefined; + s.unnamed253___U3 = undefined; + s.tmp_0 = info_playersWithScores__P55556_mk(s); s.callLocIdx = 1116; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.pws___14647 = (r0); - s.p___14651 = (undefined); - s.unnamed1512___U2 = (s.pws___14647); - s.unnamed1513___U3 = (0); + s.pws___67676 = (r0); + s.p___67680 = (undefined); + s.unnamed252___U2 = (s.pws___67676); + s.unnamed253___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1513___U3; - r0 = pxsim_Array__length(s.unnamed1512___U2); + s.tmp_0 = r0 = s.unnamed253___U3; + r0 = pxsim_Array__length(s.unnamed252___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed1512___U2, s.unnamed1513___U3); - s.p___14651 = (r0); - r0 = s.p___14651.fields["_player"]; + r0 = pxsim_Array__getAt(s.unnamed252___U2, s.unnamed253___U3); + s.p___67680 = (r0); + r0 = s.p___67680.fields["_player"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 1); s.tmp_2 = r0; @@ -41176,38 +41209,38 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed1513___U3 + 1); - s.unnamed1513___U3 = (r0); + r0 = (s.unnamed253___U3 + 1); + s.unnamed253___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed1512___U2 = (undefined); + s.unnamed252___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -info_multiplayerScoring__P2543.info = {"start":7152,"length":223,"line":228,"column":4,"endLine":236,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"multiplayerScoring","argumentNames":[]} +info_multiplayerScoring__P55555.info = {"start":7152,"length":223,"line":228,"column":4,"endLine":236,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"multiplayerScoring","argumentNames":[]} -function info_multiplayerScoring__P2543_mk(s) { +function info_multiplayerScoring__P55555_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_multiplayerScoring__P2543, depth: s.depth + 1, + parent: s, fn: info_multiplayerScoring__P55555, 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, - pws___14647: undefined, - p___14651: undefined, - unnamed1512___U2: undefined, - unnamed1513___U3: undefined, + pws___67676: undefined, + p___67680: undefined, + unnamed252___U2: undefined, + unnamed253___U3: undefined, } } -function info_onLifeZero__P2558(s) { +function info_onLifeZero__P55570(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41221,8 +41254,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfoImpl_onLifeZero__P2594_mk(s); - r0 = globals.player1___2641.fields["impl"]; + s.tmp_0 = info_PlayerInfoImpl_onLifeZero__P55606_mk(s); + r0 = globals.player1___55653.fields["impl"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1137; s.pc = 1; return s.tmp_0; @@ -41232,12 +41265,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_onLifeZero__P2558.info = {"start":11619,"length":97,"line":396,"column":4,"endLine":398,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"onLifeZero","argumentNames":["handler"]} +info_onLifeZero__P55570.info = {"start":11619,"length":97,"line":396,"column":4,"endLine":398,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"onLifeZero","argumentNames":["handler"]} -function info_onLifeZero__P2558_mk(s) { +function info_onLifeZero__P55570_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_onLifeZero__P2558, depth: s.depth + 1, + parent: s, fn: info_onLifeZero__P55570, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41247,7 +41280,7 @@ function info_onLifeZero__P2558_mk(s) { -function info_PlayerInfoImpl_onLifeZero__P2594(s) { +function info_PlayerInfoImpl_onLifeZero__P55606(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41257,34 +41290,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___16511 = undefined; + s.state___69540 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfoImpl__C2575_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfoImpl_getState__P2584_mk(s); + if (!checkSubtype(r0, info_PlayerInfoImpl__C55587_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfoImpl_getState__P55596_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1163; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.state___16511 = (r0); - r0 = (s.state___16511).fields["lifeZeroHandler"] = (s.arg1); + s.state___69540 = (r0); + r0 = (s.state___69540).fields["lifeZeroHandler"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -info_PlayerInfoImpl_onLifeZero__P2594.info = {"start":23628,"length":131,"line":761,"column":8,"endLine":764,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"onLifeZero","argumentNames":["this","handler"]} +info_PlayerInfoImpl_onLifeZero__P55606.info = {"start":23628,"length":131,"line":761,"column":8,"endLine":764,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"onLifeZero","argumentNames":["this","handler"]} -function info_PlayerInfoImpl_onLifeZero__P2594_mk(s) { +function info_PlayerInfoImpl_onLifeZero__P55606_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfoImpl_onLifeZero__P2594, depth: s.depth + 1, + parent: s, fn: info_PlayerInfoImpl_onLifeZero__P55606, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - state___16511: undefined, + state___69540: undefined, arg0: undefined, arg1: undefined, } } @@ -41293,7 +41326,7 @@ function info_PlayerInfoImpl_onLifeZero__P2594_mk(s) { -function helpers_getTileByName__P3318(s) { +function helpers_getTileByName__P56330(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41307,21 +41340,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers__getFactoryInstance__P3313_mk(s); + s.tmp_0 = helpers__getFactoryInstance__P56325_mk(s); s.tmp_0.arg0 = "tile"; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 2084; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2085; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -helpers_getTileByName__P3318.info = {"start":3107,"length":101,"line":95,"column":4,"endLine":97,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"getTileByName","argumentNames":["name"]} +helpers_getTileByName__P56330.info = {"start":3107,"length":101,"line":95,"column":4,"endLine":97,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"getTileByName","argumentNames":["name"]} -function helpers_getTileByName__P3318_mk(s) { +function helpers_getTileByName__P56330_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_getTileByName__P3318, depth: s.depth + 1, + parent: s, fn: helpers_getTileByName__P56330, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41331,7 +41364,7 @@ function helpers_getTileByName__P3318_mk(s) { -function assets_tile__P3308(s) { +function assets_tile__P56320(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41350,12 +41383,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -assets_tile__P3308.info = {"start":1108,"length":70,"line":31,"column":4,"endLine":31,"endColumn":74,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"tile","argumentNames":["lits","args"]} +assets_tile__P56320.info = {"start":1108,"length":70,"line":31,"column":4,"endLine":31,"endColumn":74,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"tile","argumentNames":["lits","args"]} -function assets_tile__P3308_mk(s) { +function assets_tile__P56320_mk(s) { checkStack(s.depth); return { - parent: s, fn: assets_tile__P3308, depth: s.depth + 1, + parent: s, fn: assets_tile__P56320, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -41365,7 +41398,7 @@ function assets_tile__P3308_mk(s) { -function tiles_setTileAt__P2745(s) { +function tiles_setTileAt__P55757(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41375,19 +41408,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___16525 = undefined; - s.scale___16538 = undefined; - s.index___16542 = undefined; + s.scene___69554 = undefined; + s.scale___69567 = undefined; + s.index___69571 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2979_mk(s); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 1320; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.scene___16525 = (r0); + s.scene___69554 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -41408,7 +41441,7 @@ switch (step) { r0 = s.tmp_3; { step = 4; continue; } case 3: - r0 = s.scene___16525.fields["tileMap"]; + r0 = s.scene___69554.fields["tileMap"]; s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); s.tmp_4 = r0; @@ -41422,38 +41455,38 @@ switch (step) { { step = 7; continue; } case 5: case 6: - r0 = s.scene___16525.fields["tileMap"]; + r0 = s.scene___69554.fields["tileMap"]; s.tmp_7 = r0; r0 = s.tmp_7.fields["_scale"]; - s.scale___16538 = (r0); - s.tmp_0 = tiles_TileMap_getImageType__P2732_mk(s); - r0 = s.scene___16525.fields["tileMap"]; + s.scale___69567 = (r0); + s.tmp_0 = tiles_TileMap_getImageType__P55744_mk(s); + r0 = s.scene___69554.fields["tileMap"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1322; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.index___16542 = (r0); - s.tmp_0 = tiles_TileMap_setTileAt__P2731_mk(s); - r0 = s.scene___16525.fields["tileMap"]; + s.index___69571 = (r0); + s.tmp_0 = tiles_TileMap_setTileAt__P55743_mk(s); + r0 = s.scene___69554.fields["tileMap"]; s.tmp_0.arg0 = r0; - s.tmp_2 = tiles_Location_x__P2678_mk(s); + s.tmp_2 = tiles_Location_x__P55690_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1323; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 >> s.scale___16538); + r0 = (s.tmp_1 >> s.scale___69567); s.tmp_0.arg1 = r0; - s.tmp_4 = tiles_Location_y__P2679_mk(s); + s.tmp_4 = tiles_Location_y__P55691_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 1324; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 >> s.scale___16538); + r0 = (s.tmp_3 >> s.scale___69567); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.index___16542; + s.tmp_0.arg3 = s.index___69571; s.callLocIdx = 1325; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; @@ -41462,12 +41495,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_setTileAt__P2745.info = {"start":20268,"length":339,"line":629,"column":4,"endLine":635,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTileAt","argumentNames":["loc","tile"]} +tiles_setTileAt__P55757.info = {"start":20268,"length":339,"line":629,"column":4,"endLine":635,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTileAt","argumentNames":["loc","tile"]} -function tiles_setTileAt__P2745_mk(s) { +function tiles_setTileAt__P55757_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_setTileAt__P2745, depth: s.depth + 1, + parent: s, fn: tiles_setTileAt__P55757, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41477,9 +41510,9 @@ function tiles_setTileAt__P2745_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___16525: undefined, - scale___16538: undefined, - index___16542: undefined, + scene___69554: undefined, + scale___69567: undefined, + index___69571: undefined, arg0: undefined, arg1: undefined, } } @@ -41488,7 +41521,7 @@ function tiles_setTileAt__P2745_mk(s) { -function tiles_TileMap_setTileAt__P2731(s) { +function tiles_TileMap_setTileAt__P55743(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41506,8 +41539,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); - s.tmp_3 = tiles_TileMapData_isOutsideMap__P2709_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); + s.tmp_3 = tiles_TileMapData_isOutsideMap__P55721_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.arg1; @@ -41525,7 +41558,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_6 = tiles_TileMap_isInvalidIndex__P4950_mk(s); + s.tmp_6 = tiles_TileMap_isInvalidIndex__P57963_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = s.arg3; s.callLocIdx = 1255; s.pc = 6; return s.tmp_6; @@ -41540,7 +41573,7 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 3; continue; } - s.tmp_8 = tiles_TileMapData_setTile__P2704_mk(s); + s.tmp_8 = tiles_TileMapData_setTile__P55716_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; @@ -41555,12 +41588,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_setTileAt__P2731.info = {"start":11306,"length":209,"line":388,"column":8,"endLine":391,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} +tiles_TileMap_setTileAt__P55743.info = {"start":11306,"length":209,"line":388,"column":8,"endLine":391,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTileAt","argumentNames":["this","col","row","index"]} -function tiles_TileMap_setTileAt__P2731_mk(s) { +function tiles_TileMap_setTileAt__P55743_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_setTileAt__P2731, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_setTileAt__P55743, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41581,7 +41614,7 @@ function tiles_TileMap_setTileAt__P2731_mk(s) { -function tiles_TileMapData_setTile__P2704(s) { +function tiles_TileMapData_setTile__P55716(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41599,8 +41632,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2697_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P2709_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C55709_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P55721_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -41647,12 +41680,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_setTile__P2704.info = {"start":6962,"length":315,"line":237,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTile","argumentNames":["this","col","row","tile"]} +tiles_TileMapData_setTile__P55716.info = {"start":6962,"length":315,"line":237,"column":8,"endLine":245,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"setTile","argumentNames":["this","col","row","tile"]} -function tiles_TileMapData_setTile__P2704_mk(s) { +function tiles_TileMapData_setTile__P55716_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_setTile__P2704, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_setTile__P55716, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41671,7 +41704,7 @@ function tiles_TileMapData_setTile__P2704_mk(s) { -function tiles_Location_y__P2679(s) { +function tiles_Location_y__P55691(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41681,26 +41714,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___16561 = undefined; + s.scale___69590 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2673_VT)) failedCast(r0); - s.tmp_1 = tiles_Location_tileMap__P2675_mk(s); + if (!checkSubtype(r0, tiles_Location__C55685_VT)) failedCast(r0); + s.tmp_1 = tiles_Location_tileMap__P55687_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 1217; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___16561 = (r0); + s.scale___69590 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___16561); + r0 = (s.tmp_1 << s.scale___69590); s.tmp_0 = r0; - r0 = (s.scale___16561 - 1); + r0 = (s.scale___69590 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -41708,19 +41741,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P2679.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__P2679.isGetter = true; +tiles_Location_y__P55691.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__P55691.isGetter = true; -function tiles_Location_y__P2679_mk(s) { +function tiles_Location_y__P55691_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P2679, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P55691, 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___16561: undefined, + scale___69590: undefined, arg0: undefined, } } @@ -41728,7 +41761,7 @@ function tiles_Location_y__P2679_mk(s) { -function tiles_Location_x__P2678(s) { +function tiles_Location_x__P55690(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41738,26 +41771,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___16577 = undefined; + s.scale___69606 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2673_VT)) failedCast(r0); - s.tmp_1 = tiles_Location_tileMap__P2675_mk(s); + if (!checkSubtype(r0, tiles_Location__C55685_VT)) failedCast(r0); + s.tmp_1 = tiles_Location_tileMap__P55687_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 1215; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___16577 = (r0); + s.scale___69606 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___16577); + r0 = (s.tmp_1 << s.scale___69606); s.tmp_0 = r0; - r0 = (s.scale___16577 - 1); + r0 = (s.scale___69606 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -41765,19 +41798,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P2678.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__P2678.isGetter = true; +tiles_Location_x__P55690.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__P55690.isGetter = true; -function tiles_Location_x__P2678_mk(s) { +function tiles_Location_x__P55690_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P2678, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P55690, 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___16577: undefined, + scale___69606: undefined, arg0: undefined, } } @@ -41785,7 +41818,7 @@ function tiles_Location_x__P2678_mk(s) { -function scene_clearParticleEffectsAtLocation__P4404(s) { +function scene_clearParticleEffectsAtLocation__P57417(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41795,18 +41828,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___16695 = undefined; + s.sources___69724 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2979_mk(s); - s.callLocIdx = 2332; s.pc = 4; return s.tmp_0; + s.tmp_0 = game_currentScene__P55991_mk(s); + s.callLocIdx = 2333; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___16695 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___16695); + s.sources___69724 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___69724); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -41815,19 +41848,19 @@ switch (step) { { step = 3; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P16704); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P69733); s.tmp_2 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.arg0); - s.tmp_3 = helpers_arrayForEach__P109_mk(s); - s.tmp_4 = helpers_arrayFilter__P110_mk(s); - s.tmp_4.arg0 = s.sources___16695; + s.tmp_3 = helpers_arrayForEach__P53121_mk(s); + s.tmp_4 = helpers_arrayFilter__P53122_mk(s); + s.tmp_4.arg0 = s.sources___69724; s.tmp_4.arg1 = s.tmp_2; - s.callLocIdx = 2337; s.pc = 6; return s.tmp_4; + s.callLocIdx = 2338; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = scene_clearParticleEffectsAtLocation_inline__P16719; - s.callLocIdx = 2339; s.pc = 5; return s.tmp_3; + s.tmp_3.arg1 = scene_clearParticleEffectsAtLocation_inline__P69748; + s.callLocIdx = 2340; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; case 3: @@ -41835,19 +41868,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_clearParticleEffectsAtLocation__P4404.info = {"start":492,"length":313,"line":12,"column":4,"endLine":18,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/particles.ts","functionName":"clearParticleEffectsAtLocation","argumentNames":["location"]} +scene_clearParticleEffectsAtLocation__P57417.info = {"start":492,"length":313,"line":12,"column":4,"endLine":18,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/particles.ts","functionName":"clearParticleEffectsAtLocation","argumentNames":["location"]} -function scene_clearParticleEffectsAtLocation__P4404_mk(s) { +function scene_clearParticleEffectsAtLocation__P57417_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_clearParticleEffectsAtLocation__P4404, depth: s.depth + 1, + parent: s, fn: scene_clearParticleEffectsAtLocation__P57417, 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, - sources___16695: undefined, + sources___69724: undefined, arg0: undefined, } } @@ -41855,7 +41888,7 @@ function scene_clearParticleEffectsAtLocation__P4404_mk(s) { -function forEach_inline__P16704(s) { +function forEach_inline__P69733(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41878,14 +41911,14 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["x"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["x"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 2333; s.pc = 3; return s.tmp_2; } + else { s.callLocIdx = 2334; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = tiles_Location_x__P2678_mk(s); + s.tmp_4 = tiles_Location_x__P55690_mk(s); s.tmp_4.arg0 = s.caps[0]; - s.callLocIdx = 2334; s.pc = 4; return s.tmp_4; + s.callLocIdx = 2335; s.pc = 4; return s.tmp_4; case 4: r0 = s.retval; s.tmp_3 = r0; @@ -41905,14 +41938,14 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["y"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["y"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 2335; s.pc = 5; return s.tmp_6; } + else { s.callLocIdx = 2336; s.pc = 5; return s.tmp_6; } } case 5: r0 = s.retval; s.tmp_5 = r0; - s.tmp_8 = tiles_Location_y__P2679_mk(s); + s.tmp_8 = tiles_Location_y__P55691_mk(s); s.tmp_8.arg0 = s.caps[0]; - s.callLocIdx = 2336; s.pc = 6; return s.tmp_8; + s.callLocIdx = 2337; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; s.tmp_7 = r0; @@ -41924,12 +41957,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P16704.info = {"start":694,"length":62,"line":16,"column":20,"endLine":16,"endColumn":82,"fileName":"pxt_modules/pxt-arcade-forest-fire/particles.ts","functionName":"inline","argumentNames":["ps"]} +forEach_inline__P69733.info = {"start":694,"length":62,"line":16,"column":20,"endLine":16,"endColumn":82,"fileName":"pxt_modules/pxt-arcade-forest-fire/particles.ts","functionName":"inline","argumentNames":["ps"]} -function forEach_inline__P16704_mk(s) { +function forEach_inline__P69733_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P16704, depth: s.depth + 1, + parent: s, fn: forEach_inline__P69733, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -41948,7 +41981,7 @@ function forEach_inline__P16704_mk(s) { -function scene_clearParticleEffectsAtLocation_inline__P16719(s) { +function scene_clearParticleEffectsAtLocation_inline__P69748(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -41962,21 +41995,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_destroy__P3145_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P56157_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2338; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2339; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_clearParticleEffectsAtLocation_inline__P16719.info = {"start":779,"length":18,"line":17,"column":21,"endLine":17,"endColumn":39,"fileName":"pxt_modules/pxt-arcade-forest-fire/particles.ts","functionName":"inline","argumentNames":["ps"]} +scene_clearParticleEffectsAtLocation_inline__P69748.info = {"start":779,"length":18,"line":17,"column":21,"endLine":17,"endColumn":39,"fileName":"pxt_modules/pxt-arcade-forest-fire/particles.ts","functionName":"inline","argumentNames":["ps"]} -function scene_clearParticleEffectsAtLocation_inline__P16719_mk(s) { +function scene_clearParticleEffectsAtLocation_inline__P69748_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_clearParticleEffectsAtLocation_inline__P16719, depth: s.depth + 1, + parent: s, fn: scene_clearParticleEffectsAtLocation_inline__P69748, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -41986,7 +42019,7 @@ function scene_clearParticleEffectsAtLocation_inline__P16719_mk(s) { -function sprites_on_fire_destroyed__P4417(s) { +function sprites_on_fire_destroyed__P57430(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42000,21 +42033,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = forestFire_onFireDestroyed__P4427_mk(s); + s.tmp_0 = forestFire_onFireDestroyed__P57440_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2354; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2355; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_on_fire_destroyed__P4417.info = {"start":4606,"length":131,"line":154,"column":4,"endLine":156,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"on_fire_destroyed","argumentNames":["handler"]} +sprites_on_fire_destroyed__P57430.info = {"start":4606,"length":131,"line":154,"column":4,"endLine":156,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"on_fire_destroyed","argumentNames":["handler"]} -function sprites_on_fire_destroyed__P4417_mk(s) { +function sprites_on_fire_destroyed__P57430_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_on_fire_destroyed__P4417, depth: s.depth + 1, + parent: s, fn: sprites_on_fire_destroyed__P57430, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42024,7 +42057,7 @@ function sprites_on_fire_destroyed__P4417_mk(s) { -function forestFire_onFireDestroyed__P4427(s) { +function forestFire_onFireDestroyed__P57440(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42038,22 +42071,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = forestFire_FireState_onFireDestroyed__P7156_mk(s); - s.tmp_0.arg0 = globals.state___7161; + s.tmp_0 = forestFire_FireState_onFireDestroyed__P60169_mk(s); + s.tmp_0.arg0 = globals.state___60174; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 2420; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2421; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -forestFire_onFireDestroyed__P4427.info = {"start":11576,"length":124,"line":313,"column":4,"endLine":315,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"onFireDestroyed","argumentNames":["handler"]} +forestFire_onFireDestroyed__P57440.info = {"start":11576,"length":124,"line":313,"column":4,"endLine":315,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"onFireDestroyed","argumentNames":["handler"]} -function forestFire_onFireDestroyed__P4427_mk(s) { +function forestFire_onFireDestroyed__P57440_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_onFireDestroyed__P4427, depth: s.depth + 1, + parent: s, fn: forestFire_onFireDestroyed__P57440, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42063,7 +42096,7 @@ function forestFire_onFireDestroyed__P4427_mk(s) { -function forestFire_FireState_onFireDestroyed__P7156(s) { +function forestFire_FireState_onFireDestroyed__P60169(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42079,7 +42112,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, forestFire_FireState__C7146_VT)) failedCast(r0); + if (!checkSubtype(r0, forestFire_FireState__C60159_VT)) failedCast(r0); r0 = s.arg0.fields["fireDestroyedHandlers"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -42087,12 +42120,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forestFire_FireState_onFireDestroyed__P7156.info = {"start":9467,"length":126,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"onFireDestroyed","argumentNames":["this","handler"]} +forestFire_FireState_onFireDestroyed__P60169.info = {"start":9467,"length":126,"line":251,"column":8,"endLine":253,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"onFireDestroyed","argumentNames":["this","handler"]} -function forestFire_FireState_onFireDestroyed__P7156_mk(s) { +function forestFire_FireState_onFireDestroyed__P60169_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_FireState_onFireDestroyed__P7156, depth: s.depth + 1, + parent: s, fn: forestFire_FireState_onFireDestroyed__P60169, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42103,7 +42136,7 @@ function forestFire_FireState_onFireDestroyed__P7156_mk(s) { -function choose_plane__P101379(s) { +function choose_plane__P97376(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42113,13 +42146,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_setBackgroundColor__P2863_mk(s); + s.tmp_0 = scene_setBackgroundColor__P55875_mk(s); s.tmp_0.arg0 = 9; s.callLocIdx = 219; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = tiles_setTilemap__P2743_mk(s); - s.tmp_1 = helpers_getTilemapByName__P3315_mk(s); + s.tmp_0 = tiles_setTilemap__P55755_mk(s); + s.tmp_1 = helpers_getTilemapByName__P56327_mk(s); s.tmp_1.arg0 = "airport"; s.callLocIdx = 220; s.pc = 5; return s.tmp_1; case 5: @@ -42128,19 +42161,19 @@ switch (step) { s.callLocIdx = 221; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = (globals.setting_plane___101247 == 1); + r0 = (globals.setting_plane___97244 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = game_splash__P2945_mk(s); + s.tmp_1 = game_splash__P55957_mk(s); s.tmp_1.arg0 = "Benvingut/da"; s.tmp_1.arg1 = "bomber/a!"; s.callLocIdx = 222; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.tmp_0 = music_play__P1907_mk(s); - s.tmp_1 = music_stringPlayable__P1909_mk(s); - s.tmp_1.arg0 = "G F F A B C D E F E D D D D C B A G B A A G F A G D "; + s.tmp_0 = music_play__P54919_mk(s); + s.tmp_1 = music_stringPlayable__P54921_mk(s); + s.tmp_1.arg0 = "E E F G G F E D C C D E E D D E E F G G F E D C C D E D C C "; s.tmp_1.arg1 = 110; s.callLocIdx = 223; s.pc = 8; return s.tmp_1; case 8: @@ -42150,115 +42183,115 @@ switch (step) { s.callLocIdx = 224; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = game_splash__P2945_mk(s); + s.tmp_0 = game_splash__P55957_mk(s); s.tmp_0.arg0 = "Escull un avió"; s.tmp_0.arg1 = undefined; s.callLocIdx = 225; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = sprites_create__P2256_mk(s); - s.tmp_1 = helpers_getImageByName__P3316_mk(s); + s.tmp_0 = sprites_create__P55268_mk(s); + s.tmp_1 = helpers_getImageByName__P56328_mk(s); s.tmp_1.arg0 = "\n Fire Plane 2 Right\n "; s.callLocIdx = 226; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.button___101085; + s.tmp_0.arg1 = globals.button___97082; s.callLocIdx = 227; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - globals.red_plane___101363 = (r0); - s.tmp_0 = Sprite_setPosition__P2389_mk(s); - s.tmp_0.arg0 = globals.red_plane___101363; + globals.red_plane___97360 = (r0); + s.tmp_0 = Sprite_setPosition__P55401_mk(s); + s.tmp_0.arg0 = globals.red_plane___97360; s.tmp_0.arg1 = 50; s.tmp_0.arg2 = 20; s.callLocIdx = 228; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = sprites_create__P2256_mk(s); - s.tmp_1 = helpers_getImageByName__P3316_mk(s); + s.tmp_0 = sprites_create__P55268_mk(s); + s.tmp_1 = helpers_getImageByName__P56328_mk(s); s.tmp_1.arg0 = "\n ryanair\n "; s.callLocIdx = 229; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.button___101085; + s.tmp_0.arg1 = globals.button___97082; s.callLocIdx = 230; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals.ryanair_plane___101384 = (r0); - s.tmp_0 = Sprite_setPosition__P2389_mk(s); - s.tmp_0.arg0 = globals.ryanair_plane___101384; + globals.ryanair_plane___97381 = (r0); + s.tmp_0 = Sprite_setPosition__P55401_mk(s); + s.tmp_0.arg0 = globals.ryanair_plane___97381; s.tmp_0.arg1 = 75; s.tmp_0.arg2 = 52; s.callLocIdx = 231; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = sprites_create__P2256_mk(s); - s.tmp_1 = helpers_getImageByName__P3316_mk(s); + s.tmp_0 = sprites_create__P55268_mk(s); + s.tmp_1 = helpers_getImageByName__P56328_mk(s); s.tmp_1.arg0 = "\n vuelingair\n "; s.callLocIdx = 232; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.button___101085; + s.tmp_0.arg1 = globals.button___97082; s.callLocIdx = 233; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - globals.vueling_plane___101404 = (r0); - s.tmp_0 = Sprite_setPosition__P2389_mk(s); - s.tmp_0.arg0 = globals.vueling_plane___101404; + globals.vueling_plane___97401 = (r0); + s.tmp_0 = Sprite_setPosition__P55401_mk(s); + s.tmp_0.arg0 = globals.vueling_plane___97401; s.tmp_0.arg1 = 120; s.tmp_0.arg2 = 85; s.callLocIdx = 234; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = sprites_create__P2256_mk(s); - s.tmp_1 = helpers_getImageByName__P3316_mk(s); + s.tmp_0 = sprites_create__P55268_mk(s); + s.tmp_1 = helpers_getImageByName__P56328_mk(s); s.tmp_1.arg0 = "\n aalines\n "; s.callLocIdx = 235; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.button___101085; + s.tmp_0.arg1 = globals.button___97082; s.callLocIdx = 236; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - globals.aalines_plane___101424 = (r0); - s.tmp_0 = Sprite_setPosition__P2389_mk(s); - s.tmp_0.arg0 = globals.aalines_plane___101424; + globals.aalines_plane___97421 = (r0); + s.tmp_0 = Sprite_setPosition__P55401_mk(s); + s.tmp_0.arg0 = globals.aalines_plane___97421; s.tmp_0.arg1 = 85; s.tmp_0.arg2 = 112; s.callLocIdx = 237; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.tmp_0 = sprites_create__P2256_mk(s); - s.tmp_1 = helpers_getImageByName__P3316_mk(s); + s.tmp_0 = sprites_create__P55268_mk(s); + s.tmp_1 = helpers_getImageByName__P56328_mk(s); s.tmp_1.arg0 = "\n monkey-player\n "; s.callLocIdx = 238; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.monkey_type___101088; + s.tmp_0.arg1 = globals.monkey_type___97085; s.callLocIdx = 239; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - globals.monkey___101251 = (r0); - s.tmp_0 = Sprite_setPosition__P2389_mk(s); - s.tmp_0.arg0 = globals.monkey___101251; + globals.monkey___97248 = (r0); + s.tmp_0 = Sprite_setPosition__P55401_mk(s); + s.tmp_0.arg0 = globals.monkey___97248; s.tmp_0.arg1 = 9; s.tmp_0.arg2 = 62; s.callLocIdx = 240; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = Sprite_setStayInScreen__P2397_mk(s); - s.tmp_0.arg0 = globals.monkey___101251; + s.tmp_0 = Sprite_setStayInScreen__P55409_mk(s); + s.tmp_0.arg0 = globals.monkey___97248; s.tmp_0.arg1 = true; s.callLocIdx = 241; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = controller_moveSprite__P2148_mk(s); - s.tmp_0.arg0 = globals.monkey___101251; + s.tmp_0 = controller_moveSprite__P55160_mk(s); + s.tmp_0.arg0 = globals.monkey___97248; s.tmp_0.arg1 = 100; s.tmp_0.arg2 = 100; s.callLocIdx = 242; s.pc = 26; return s.tmp_0; @@ -42266,44 +42299,44 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - globals.setting_plane___101247 = (0); - s.tmp_0 = sprites_destroy__P2258_mk(s); - s.tmp_0.arg0 = globals.red_plane___101363; + globals.setting_plane___97244 = (0); + s.tmp_0 = sprites_destroy__P55270_mk(s); + s.tmp_0.arg0 = globals.red_plane___97360; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 243; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.tmp_0 = sprites_destroy__P2258_mk(s); - s.tmp_0.arg0 = globals.ryanair_plane___101384; + s.tmp_0 = sprites_destroy__P55270_mk(s); + s.tmp_0.arg0 = globals.ryanair_plane___97381; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 244; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.tmp_0 = sprites_destroy__P2258_mk(s); - s.tmp_0.arg0 = globals.vueling_plane___101404; + s.tmp_0 = sprites_destroy__P55270_mk(s); + s.tmp_0.arg0 = globals.vueling_plane___97401; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 245; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tmp_0 = sprites_destroy__P2258_mk(s); - s.tmp_0.arg0 = globals.aalines_plane___101424; + s.tmp_0 = sprites_destroy__P55270_mk(s); + s.tmp_0.arg0 = globals.aalines_plane___97421; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 246; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; - s.tmp_0 = sprites_destroy__P2258_mk(s); - s.tmp_0.arg0 = globals.monkey___101251; + s.tmp_0 = sprites_destroy__P55270_mk(s); + s.tmp_0.arg0 = globals.monkey___97248; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 247; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; s.tmp_0 = if_z_2_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = 1; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapSetByString(s.tmp_0.arg0, "z", s.tmp_0.arg1); @@ -42315,8 +42348,8 @@ switch (step) { } case 32: r0 = s.retval; - s.tmp_0 = Sprite_sayText__P2392_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + s.tmp_0 = Sprite_sayText__P55404_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = "Yuhuu!!"; s.tmp_0.arg2 = undefined; s.tmp_0.arg3 = false; @@ -42325,44 +42358,44 @@ switch (step) { s.callLocIdx = 249; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; - s.tmp_0 = Sprite_setVelocity__P2390_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + s.tmp_0 = Sprite_setVelocity__P55402_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = 50; s.tmp_0.arg2 = 0; s.callLocIdx = 250; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; - s.tmp_0 = basic_pause__P415_mk(s); + s.tmp_0 = basic_pause__P53427_mk(s); s.tmp_0.arg0 = 2000; s.callLocIdx = 251; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = Sprite_setPosition__P2389_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + s.tmp_0 = Sprite_setPosition__P55401_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = 50; s.tmp_0.arg2 = 50; s.callLocIdx = 252; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = Sprite_setVelocity__P2390_mk(s); - s.tmp_0.arg0 = globals.fire_plane___101100; + s.tmp_0 = Sprite_setVelocity__P55402_mk(s); + s.tmp_0.arg0 = globals.fire_plane___97097; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; s.callLocIdx = 253; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = music_stopAllSounds__P1625_mk(s); + s.tmp_0 = music_stopAllSounds__P54637_mk(s); s.callLocIdx = 254; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.tmp_0 = effects_ScreenEffect_startScreenEffect__P3248_mk(s); - s.tmp_0.arg0 = globals.blizzard___3264; + s.tmp_0 = effects_ScreenEffect_startScreenEffect__P56260_mk(s); + s.tmp_0.arg0 = globals.blizzard___56276; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 255; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = choose_level__P101112_mk(s); + s.tmp_0 = choose_level__P97109_mk(s); s.callLocIdx = 256; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; @@ -42371,12 +42404,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -choose_plane__P101379.info = {"start":7205,"length":1709,"line":206,"column":0,"endLine":254,"endColumn":1,"fileName":"main.ts","functionName":"choose_plane","argumentNames":[]} +choose_plane__P97376.info = {"start":7211,"length":1772,"line":206,"column":0,"endLine":255,"endColumn":1,"fileName":"main.ts","functionName":"choose_plane","argumentNames":[]} -function choose_plane__P101379_mk(s) { +function choose_plane__P97376_mk(s) { checkStack(s.depth); return { - parent: s, fn: choose_plane__P101379, depth: s.depth + 1, + parent: s, fn: choose_plane__P97376, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42386,7 +42419,7 @@ function choose_plane__P101379_mk(s) { -function blizzard_inline__P16738(s) { +function blizzard_inline__P69767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42396,14 +42429,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___16745 = undefined; - s.src___16756 = undefined; + s.factory___69774 = undefined; + s.src___69785 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(SnowFactory__C16741_VT); + r0 = pxsim_pxtcore_mkClassInstance(SnowFactory__C69770_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -42471,42 +42504,42 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_8 = r0; - s.tmp_9 = SnowFactory_constructor__P16744_mk(s); + s.tmp_9 = SnowFactory_constructor__P69773_mk(s); s.tmp_9.arg0 = s.tmp_0; s.tmp_9.arg1 = s.tmp_4; s.tmp_9.arg2 = s.tmp_8; s.callLocIdx = 69; s.pc = 9; return s.tmp_9; case 9: r0 = s.retval; - s.factory___16745 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C3131_VT); + s.factory___69774 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C56143_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P3136_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P56148_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___16745; + s.tmp_1.arg3 = s.factory___69774; s.callLocIdx = 70; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.src___16756 = (s.tmp_0); - s.tmp_0 = particles_ParticleSource_setAcceleration__P3140_mk(s); - s.tmp_0.arg0 = s.src___16756; + s.src___69785 = (s.tmp_0); + s.tmp_0 = particles_ParticleSource_setAcceleration__P56152_mk(s); + s.tmp_0.arg0 = s.src___69785; s.tmp_0.arg1 = -300; s.tmp_0.arg2 = -100; s.callLocIdx = 71; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - r0 = s.src___16756; + r0 = s.src___69785; return leave(s, r0) default: oops() } } } -blizzard_inline__P16738.info = {"start":11661,"length":960,"line":292,"column":59,"endLine":315,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} +blizzard_inline__P69767.info = {"start":11661,"length":960,"line":292,"column":59,"endLine":315,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} -function blizzard_inline__P16738_mk(s) { +function blizzard_inline__P69767_mk(s) { checkStack(s.depth); return { - parent: s, fn: blizzard_inline__P16738, depth: s.depth + 1, + parent: s, fn: blizzard_inline__P69767, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42518,8 +42551,8 @@ function blizzard_inline__P16738_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - factory___16745: undefined, - src___16756: undefined, + factory___69774: undefined, + src___69785: undefined, arg0: undefined, arg1: undefined, } } @@ -42528,7 +42561,7 @@ function blizzard_inline__P16738_mk(s) { -function SnowFactory_constructor__P16744(s) { +function SnowFactory_constructor__P69773(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42545,21 +42578,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, SnowFactory__C16741_VT)) failedCast(r0); - s.tmp_0 = particles_ShapeFactory_constructor__P3194_mk(s); + if (!checkSubtype(r0, SnowFactory__C69770_VT)) failedCast(r0); + s.tmp_0 = particles_ShapeFactory_constructor__P56206_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - r0 = pxsim.image.ofBuffer(_hex16776); + r0 = pxsim.image.ofBuffer(_hex69805); s.tmp_0.arg3 = r0; - s.callLocIdx = 2047; s.pc = 3; return s.tmp_0; + s.callLocIdx = 2048; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = particles_ShapeFactory_addShape__P3195_mk(s); + s.tmp_0 = particles_ShapeFactory_addShape__P56207_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = pxsim.image.ofBuffer(_hex16779); + r0 = pxsim.image.ofBuffer(_hex69808); s.tmp_0.arg1 = r0; - s.callLocIdx = 2048; s.pc = 4; return s.tmp_0; + s.callLocIdx = 2049; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = (s.arg0).fields["minLifespan"] = (200); @@ -42581,12 +42614,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -SnowFactory_constructor__P16744.info = {"start":11806,"length":310,"line":294,"column":12,"endLine":302,"endColumn":13,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this","xRange","yRange"]} +SnowFactory_constructor__P69773.info = {"start":11806,"length":310,"line":294,"column":12,"endLine":302,"endColumn":13,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this","xRange","yRange"]} -function SnowFactory_constructor__P16744_mk(s) { +function SnowFactory_constructor__P69773_mk(s) { checkStack(s.depth); return { - parent: s, fn: SnowFactory_constructor__P16744, depth: s.depth + 1, + parent: s, fn: SnowFactory_constructor__P69773, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42596,13 +42629,13 @@ function SnowFactory_constructor__P16744_mk(s) { arg2: undefined, } } -const _hex16776 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex16779 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex69805 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex69808 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -function particles_ShapeFactory_addShape__P3195(s) { +function particles_ShapeFactory_addShape__P56207(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42618,7 +42651,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C3193_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C56205_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -42630,12 +42663,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P3195.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__P56207.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__P3195_mk(s) { +function particles_ShapeFactory_addShape__P56207_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P3195, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P56207, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42646,7 +42679,7 @@ function particles_ShapeFactory_addShape__P3195_mk(s) { -function particles_ShapeFactory_constructor__P3194(s) { +function particles_ShapeFactory_constructor__P56206(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42664,14 +42697,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C3193_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P3182_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C56205_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P56194_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 = 1930; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1931; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim_Array__mk(); @@ -42702,12 +42735,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P3194.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__P56206.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__P3194_mk(s) { +function particles_ShapeFactory_constructor__P56206_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P3194, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P56206, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42724,7 +42757,7 @@ function particles_ShapeFactory_constructor__P3194_mk(s) { -function effects_ScreenEffect_constructor__P3247(s) { +function effects_ScreenEffect_constructor__P56259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42743,13 +42776,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C3246_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P3243_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C56258_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P56255_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 = 2016; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2017; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["sceneDefaultRate"] = (s.arg2); @@ -42757,12 +42790,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P3247.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__P56259.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__P3247_mk(s) { +function effects_ScreenEffect_constructor__P56259_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P3247, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P56259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -42776,7 +42809,7 @@ function effects_ScreenEffect_constructor__P3247_mk(s) { -function effects_ScreenEffect_startScreenEffect__P3248(s) { +function effects_ScreenEffect_startScreenEffect__P56260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42793,7 +42826,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C3246_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ScreenEffect__C56258_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -42812,10 +42845,10 @@ switch (step) { r0 = s.tmp_3; { step = 4; continue; } case 3: - s.tmp_4 = particles_ParticleSource_enabled__P3143_mk(s); + s.tmp_4 = particles_ParticleSource_enabled__P56155_mk(s); r0 = s.arg0.fields["source"]; s.tmp_4.arg0 = r0; - s.callLocIdx = 2017; s.pc = 14; return s.tmp_4; + s.callLocIdx = 2018; s.pc = 14; return s.tmp_4; case 14: r0 = s.retval; case 4: @@ -42833,16 +42866,16 @@ switch (step) { { step = 13; continue; } case 7: case 8: - s.tmp_0 = effects_ScreenEffect_endScreenEffect__P3249_mk(s); + s.tmp_0 = effects_ScreenEffect_endScreenEffect__P56261_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2018; s.pc = 15; return s.tmp_0; + s.callLocIdx = 2019; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(effects_SceneAnchor__C5406_VT); + r0 = pxsim_pxtcore_mkClassInstance(effects_SceneAnchor__C58419_VT); s.tmp_0 = r0; - s.tmp_1 = effects_SceneAnchor_constructor__P5411_mk(s); + s.tmp_1 = effects_SceneAnchor_constructor__P58424_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 2019; s.pc = 16; return s.tmp_1; + s.callLocIdx = 2020; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); @@ -42861,12 +42894,12 @@ switch (step) { s.tmp_5.arg2 = s.tmp_2; if (!s.tmp_5.arg0.vtable.iface) { setupLambda(s.tmp_5, pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "sourceFactory"), 3); - s.callLocIdx = 2020; s.pc = 17; return s.tmp_5; + s.callLocIdx = 2021; s.pc = 17; return s.tmp_5; } else { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["sourceFactory"]; - if (s.tmp_5.fn == null) { setupLambda(s.tmp_5, s.tmp_5.arg0.fields["sourceFactory"], 3); s.callLocIdx = 2020; s.pc = 17; return s.tmp_5; } - else if (s.tmp_5.fn.isGetter) { s.tmp_5.stage2Call = true; s.callLocIdx = 2020; s.pc = 17; return s.tmp_5;; } - else { s.callLocIdx = 2020; s.pc = 17; return s.tmp_5; } + if (s.tmp_5.fn == null) { setupLambda(s.tmp_5, s.tmp_5.arg0.fields["sourceFactory"], 3); s.callLocIdx = 2021; s.pc = 17; return s.tmp_5; } + else if (s.tmp_5.fn.isGetter) { s.tmp_5.stage2Call = true; s.callLocIdx = 2021; s.pc = 17; return s.tmp_5;; } + else { s.callLocIdx = 2021; s.pc = 17; return s.tmp_5; } } case 17: r0 = s.retval; @@ -42887,12 +42920,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_startScreenEffect__P3248.info = {"start":3680,"length":601,"line":97,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"startScreenEffect","argumentNames":["this","duration","particlesPerSecond"]} +effects_ScreenEffect_startScreenEffect__P56260.info = {"start":3680,"length":601,"line":97,"column":8,"endLine":112,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"startScreenEffect","argumentNames":["this","duration","particlesPerSecond"]} -function effects_ScreenEffect_startScreenEffect__P3248_mk(s) { +function effects_ScreenEffect_startScreenEffect__P56260_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_startScreenEffect__P3248, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_startScreenEffect__P56260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42910,7 +42943,7 @@ function effects_ScreenEffect_startScreenEffect__P3248_mk(s) { -function effects_SceneAnchor_constructor__P5411(s) { +function effects_SceneAnchor_constructor__P58424(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42925,10 +42958,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C5406_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_SceneAnchor__C58419_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = game_currentScene__P2979_mk(s); - s.callLocIdx = 2013; s.pc = 1; return s.tmp_2; + s.tmp_2 = game_currentScene__P55991_mk(s); + s.callLocIdx = 2014; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; r0 = r0.fields["camera"]; @@ -42938,12 +42971,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_SceneAnchor_constructor__P5411.info = {"start":2296,"length":79,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this"]} +effects_SceneAnchor_constructor__P58424.info = {"start":2296,"length":79,"line":55,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["this"]} -function effects_SceneAnchor_constructor__P5411_mk(s) { +function effects_SceneAnchor_constructor__P58424_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_constructor__P5411, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_constructor__P58424, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -42955,7 +42988,7 @@ function effects_SceneAnchor_constructor__P5411_mk(s) { -function effects_ScreenEffect_endScreenEffect__P3249(s) { +function effects_ScreenEffect_endScreenEffect__P56261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -42970,15 +43003,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C3246_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ScreenEffect__C56258_VT)) failedCast(r0); r0 = s.arg0.fields["source"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = particles_ParticleSource_destroy__P3145_mk(s); + s.tmp_1 = particles_ParticleSource_destroy__P56157_mk(s); r0 = s.arg0.fields["source"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 2021; s.pc = 3; return s.tmp_1; + s.callLocIdx = 2022; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["source"] = (undefined); @@ -42988,12 +43021,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_endScreenEffect__P3249.info = {"start":4677,"length":160,"line":122,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"endScreenEffect","argumentNames":["this"]} +effects_ScreenEffect_endScreenEffect__P56261.info = {"start":4677,"length":160,"line":122,"column":8,"endLine":127,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"endScreenEffect","argumentNames":["this"]} -function effects_ScreenEffect_endScreenEffect__P3249_mk(s) { +function effects_ScreenEffect_endScreenEffect__P56261_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_endScreenEffect__P3249, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_endScreenEffect__P56261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43004,7 +43037,7 @@ function effects_ScreenEffect_endScreenEffect__P3249_mk(s) { -function basic_pause__P415(s) { +function basic_pause__P53427(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43028,12 +43061,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -basic_pause__P415.info = {"start":450,"length":74,"line":15,"column":4,"endLine":17,"endColumn":5,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["millis"]} +basic_pause__P53427.info = {"start":450,"length":74,"line":15,"column":4,"endLine":17,"endColumn":5,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["millis"]} -function basic_pause__P415_mk(s) { +function basic_pause__P53427_mk(s) { checkStack(s.depth); return { - parent: s, fn: basic_pause__P415, depth: s.depth + 1, + parent: s, fn: basic_pause__P53427, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -43042,7 +43075,7 @@ function basic_pause__P415_mk(s) { -function Sprite_setVelocity__P2390(s) { +function Sprite_setVelocity__P55402(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43059,14 +43092,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_0 = Sprite_vx__P2339_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_0 = Sprite_vx__P55351_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 661; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_vy__P2341_mk(s); + s.tmp_0 = Sprite_vy__P55353_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 662; s.pc = 2; return s.tmp_0; @@ -43076,12 +43109,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setVelocity__P2390.info = {"start":14495,"length":93,"line":516,"column":4,"endLine":519,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setVelocity","argumentNames":["this","vx","vy"]} +Sprite_setVelocity__P55402.info = {"start":14495,"length":93,"line":516,"column":4,"endLine":519,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setVelocity","argumentNames":["this","vx","vy"]} -function Sprite_setVelocity__P2390_mk(s) { +function Sprite_setVelocity__P55402_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setVelocity__P2390, depth: s.depth + 1, + parent: s, fn: Sprite_setVelocity__P55402, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43093,7 +43126,7 @@ function Sprite_setVelocity__P2390_mk(s) { -function Sprite_vy__P2341(s) { +function Sprite_vy__P55353(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43109,7 +43142,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -43120,12 +43153,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P2341.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__P55353.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__P2341_mk(s) { +function Sprite_vy__P55353_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P2341, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P55353, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43138,7 +43171,7 @@ function Sprite_vy__P2341_mk(s) { -function Sprite_vy__P2340(s) { +function Sprite_vy__P55352(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43153,20 +43186,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2340.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__P2340.isGetter = true; +Sprite_vy__P55352.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__P55352.isGetter = true; -function Sprite_vy__P2340_mk(s) { +function Sprite_vy__P55352_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P2340, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P55352, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43176,7 +43209,7 @@ function Sprite_vy__P2340_mk(s) { -function Sprite_vx__P2339(s) { +function Sprite_vx__P55351(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43192,7 +43225,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -43203,12 +43236,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P2339.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__P55351.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__P2339_mk(s) { +function Sprite_vx__P55351_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P2339, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P55351, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43221,7 +43254,7 @@ function Sprite_vx__P2339_mk(s) { -function Sprite_vx__P2338(s) { +function Sprite_vx__P55350(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43236,20 +43269,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2338.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__P2338.isGetter = true; +Sprite_vx__P55350.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__P55350.isGetter = true; -function Sprite_vx__P2338_mk(s) { +function Sprite_vx__P55350_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P2338, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P55350, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43259,7 +43292,7 @@ function Sprite_vx__P2338_mk(s) { -function scene_setBackgroundColor__P2863(s) { +function scene_setBackgroundColor__P55875(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43269,32 +43302,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___16920 = undefined; + s.scene___69949 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2979_mk(s); - s.callLocIdx = 1395; s.pc = 1; return s.tmp_0; + s.tmp_0 = game_currentScene__P55991_mk(s); + s.callLocIdx = 1396; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___16920 = (r0); - r0 = s.scene___16920.fields["background"]; + s.scene___69949 = (r0); + r0 = s.scene___69949.fields["background"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["color"] = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_setBackgroundColor__P2863.info = {"start":1231,"length":140,"line":53,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundColor","argumentNames":["color"]} +scene_setBackgroundColor__P55875.info = {"start":1231,"length":140,"line":53,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"setBackgroundColor","argumentNames":["color"]} -function scene_setBackgroundColor__P2863_mk(s) { +function scene_setBackgroundColor__P55875_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_setBackgroundColor__P2863, depth: s.depth + 1, + parent: s, fn: scene_setBackgroundColor__P55875, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___16920: undefined, + scene___69949: undefined, arg0: undefined, } } @@ -43302,7 +43335,7 @@ function scene_setBackgroundColor__P2863_mk(s) { -function effects_clearParticles__P3250(s) { +function effects_clearParticles__P56262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43312,18 +43345,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___16928 = undefined; + s.sources___69957 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2979_mk(s); - s.callLocIdx = 2022; s.pc = 4; return s.tmp_0; + s.tmp_0 = game_currentScene__P55991_mk(s); + s.callLocIdx = 2023; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___16928 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___16928); + s.sources___69957 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___69957); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -43332,19 +43365,19 @@ switch (step) { { step = 3; continue; } case 1: case 2: - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P16937); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P69966); s.tmp_2 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.arg0); - s.tmp_3 = helpers_arrayForEach__P109_mk(s); - s.tmp_4 = helpers_arrayFilter__P110_mk(s); - s.tmp_4.arg0 = s.sources___16928; + s.tmp_3 = helpers_arrayForEach__P53121_mk(s); + s.tmp_4 = helpers_arrayFilter__P53122_mk(s); + s.tmp_4.arg0 = s.sources___69957; s.tmp_4.arg1 = s.tmp_2; - s.callLocIdx = 2023; s.pc = 6; return s.tmp_4; + s.callLocIdx = 2024; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = effects_clearParticles_inline__P16943; - s.callLocIdx = 2025; s.pc = 5; return s.tmp_3; + s.tmp_3.arg1 = effects_clearParticles_inline__P69972; + s.callLocIdx = 2026; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; case 3: @@ -43352,19 +43385,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_clearParticles__P3250.info = {"start":5175,"length":278,"line":138,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"clearParticles","argumentNames":["anchor"]} +effects_clearParticles__P56262.info = {"start":5175,"length":278,"line":138,"column":4,"endLine":144,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"clearParticles","argumentNames":["anchor"]} -function effects_clearParticles__P3250_mk(s) { +function effects_clearParticles__P56262_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_clearParticles__P3250, depth: s.depth + 1, + parent: s, fn: effects_clearParticles__P56262, 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, - sources___16928: undefined, + sources___69957: undefined, arg0: undefined, } } @@ -43372,7 +43405,7 @@ function effects_clearParticles__P3250_mk(s) { -function forEach_inline__P16937(s) { +function forEach_inline__P69966(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43392,12 +43425,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P16937.info = {"start":5378,"length":26,"line":142,"column":20,"endLine":142,"endColumn":46,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["ps"]} +forEach_inline__P69966.info = {"start":5378,"length":26,"line":142,"column":20,"endLine":142,"endColumn":46,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["ps"]} -function forEach_inline__P16937_mk(s) { +function forEach_inline__P69966_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P16937, depth: s.depth + 1, + parent: s, fn: forEach_inline__P69966, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43407,7 +43440,7 @@ function forEach_inline__P16937_mk(s) { -function effects_clearParticles_inline__P16943(s) { +function effects_clearParticles_inline__P69972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43421,21 +43454,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_destroy__P3145_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P56157_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2024; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2025; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -effects_clearParticles_inline__P16943.info = {"start":5427,"length":18,"line":143,"column":21,"endLine":143,"endColumn":39,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["ps"]} +effects_clearParticles_inline__P69972.info = {"start":5427,"length":18,"line":143,"column":21,"endLine":143,"endColumn":39,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["ps"]} -function effects_clearParticles_inline__P16943_mk(s) { +function effects_clearParticles_inline__P69972_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_clearParticles_inline__P16943, depth: s.depth + 1, + parent: s, fn: effects_clearParticles_inline__P69972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43445,7 +43478,7 @@ function effects_clearParticles_inline__P16943_mk(s) { -function Sprite_setPosition__P2389(s) { +function Sprite_setPosition__P55401(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43455,7 +43488,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___19219 = undefined; + s.physics___72182 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -43463,18 +43496,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P2979_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 656; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___19219 = (r0); - s.tmp_0 = PhysicsEngine__C2491_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___19219; + s.physics___72182 = (r0); + s.tmp_0 = PhysicsEngine__C55503_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___72182; s.tmp_0.arg1 = s.arg0; s.tmp_2 = r0 = s.arg1; - s.tmp_4 = Sprite_x__P2334_mk(s); + s.tmp_4 = Sprite_x__P55346_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 657; s.pc = 3; return s.tmp_4; case 3: @@ -43487,7 +43520,7 @@ switch (step) { r0 = (s.tmp_5 | 0); s.tmp_0.arg2 = r0; s.tmp_7 = r0 = s.arg2; - s.tmp_9 = Sprite_y__P2336_mk(s); + s.tmp_9 = Sprite_y__P55348_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 659; s.pc = 4; return s.tmp_9; case 4: @@ -43499,7 +43532,7 @@ switch (step) { s.tmp_10 = r0; r0 = (s.tmp_10 | 0); s.tmp_0.arg3 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2491_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C55503_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: @@ -43508,12 +43541,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setPosition__P2389.info = {"start":13931,"length":220,"line":496,"column":4,"endLine":503,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setPosition","argumentNames":["this","x","y"]} +Sprite_setPosition__P55401.info = {"start":13931,"length":220,"line":496,"column":4,"endLine":503,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"setPosition","argumentNames":["this","x","y"]} -function Sprite_setPosition__P2389_mk(s) { +function Sprite_setPosition__P55401_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setPosition__P2389, depth: s.depth + 1, + parent: s, fn: Sprite_setPosition__P55401, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43526,7 +43559,7 @@ function Sprite_setPosition__P2389_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - physics___19219: undefined, + physics___72182: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -43536,7 +43569,7 @@ function Sprite_setPosition__P2389_mk(s) { -function sprites_create__P2256(s) { +function sprites_create__P55268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43546,51 +43579,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___19245 = undefined; - s.sprite___19248 = undefined; + s.scene___72208 = undefined; + s.sprite___72211 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2979_mk(s); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 564; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___19245 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C2321_VT); + s.scene___72208 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C55333_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P2368_mk(s); + s.tmp_1 = Sprite_constructor__P55380_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 565; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___19248 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P2388_mk(s); - s.tmp_0.arg0 = s.sprite___19248; + s.sprite___72211 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P55400_mk(s); + s.tmp_0.arg0 = s.sprite___72211; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 566; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C2491_v0_2_mk(s); - r0 = s.scene___19245.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C55503_v0_2_mk(s); + r0 = s.scene___72208.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___19248; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2491_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___72211; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C55503_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__P19263); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P72226); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P19269); + r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P72232); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___19248); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); - s.tmp_3 = helpers_arrayFilter__P110_mk(s); - r0 = s.scene___19245.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___72211); + s.tmp_2 = helpers_arrayForEach__P53121_mk(s); + s.tmp_3 = helpers_arrayFilter__P53122_mk(s); + r0 = s.scene___72208.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 567; s.pc = 6; return s.tmp_3; @@ -43601,23 +43634,23 @@ switch (step) { s.callLocIdx = 569; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___19248; + r0 = s.sprite___72211; return leave(s, r0) default: oops() } } } -sprites_create__P2256.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__P55268.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__P2256_mk(s) { +function sprites_create__P55268_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P2256, depth: s.depth + 1, + parent: s, fn: sprites_create__P55268, 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___19245: undefined, - sprite___19248: undefined, + scene___72208: undefined, + sprite___72211: undefined, arg0: undefined, arg1: undefined, } } @@ -43626,7 +43659,7 @@ function sprites_create__P2256_mk(s) { -function forEach_inline__P19263(s) { +function forEach_inline__P72226(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43646,12 +43679,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P19263.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__P72226.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__P19263_mk(s) { +function forEach_inline__P72226_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P19263, depth: s.depth + 1, + parent: s, fn: forEach_inline__P72226, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43661,7 +43694,7 @@ function forEach_inline__P19263_mk(s) { -function sprites_create_inline__P19269(s) { +function sprites_create_inline__P72232(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43693,12 +43726,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_create_inline__P19269.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__P72232.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__P19269_mk(s) { +function sprites_create_inline__P72232_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create_inline__P19269, depth: s.depth + 1, + parent: s, fn: sprites_create_inline__P72232, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -43708,7 +43741,7 @@ function sprites_create_inline__P19269_mk(s) { -function PhysicsEngine_addSprite__P2493(s) { +function PhysicsEngine_addSprite__P55505(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43724,17 +43757,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C2491_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C55503_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P2493.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__P55505.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__P2493_mk(s) { +function PhysicsEngine_addSprite__P55505_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P2493, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P55505, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -43744,7 +43777,7 @@ function PhysicsEngine_addSprite__P2493_mk(s) { -function Sprite_setKind__P2388(s) { +function Sprite_setKind__P55400(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43754,15 +43787,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___18851 = undefined; - s.overlapMap___18880 = undefined; + s.spritesByKind___71880 = undefined; + s.overlapMap___71909 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -43781,12 +43814,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P2979_mk(s); + s.tmp_3 = game_currentScene__P55991_mk(s); s.callLocIdx = 651; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___18851 = (r0); + s.spritesByKind___71880 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -43798,16 +43831,16 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___18851, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___71880, 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__P2450_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P55462_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___18851, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___71880, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.callLocIdx = 652; s.pc = 17; return s.tmp_4; @@ -43819,7 +43852,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___18851, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___71880, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -43827,18 +43860,18 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C2443_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C55455_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P2445_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P55457_mk(s); s.tmp_5.arg0 = s.tmp_4; s.callLocIdx = 653; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___18851, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___71880, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P2448_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___18851, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P55460_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___71880, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 654; s.pc = 19; return s.tmp_0; @@ -43846,13 +43879,13 @@ switch (step) { r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P2979_mk(s); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 655; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___18880 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___18880, s.arg1); + s.overlapMap___71909 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___71909, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -43860,7 +43893,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___18880; + s.tmp_3 = r0 = s.overlapMap___71909; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -43868,7 +43901,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___18880, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___71909, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -43877,12 +43910,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P2388.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__P55400.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__P2388_mk(s) { +function Sprite_setKind__P55400_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P2388, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P55400, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43890,8 +43923,8 @@ function Sprite_setKind__P2388_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___18851: undefined, - overlapMap___18880: undefined, + spritesByKind___71880: undefined, + overlapMap___71909: undefined, arg0: undefined, arg1: undefined, } } @@ -43900,7 +43933,7 @@ function Sprite_setKind__P2388_mk(s) { -function sprites_SpriteSet_add__P2448(s) { +function sprites_SpriteSet_add__P55460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43916,7 +43949,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2443_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C55455_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -43947,12 +43980,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P2448.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__P55460.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__P2448_mk(s) { +function sprites_SpriteSet_add__P55460_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P2448, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P55460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -43968,7 +44001,7 @@ function sprites_SpriteSet_add__P2448_mk(s) { -function sprites_SpriteSet_contains__P2451(s) { +function sprites_SpriteSet_contains__P55463(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -43984,7 +44017,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2443_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C55455_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -43993,12 +44026,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P2451.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__P55463.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__P2451_mk(s) { +function sprites_SpriteSet_contains__P55463_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P2451, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P55463, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44010,7 +44043,7 @@ function sprites_SpriteSet_contains__P2451_mk(s) { -function sprites_SpriteSet_constructor__P2445(s) { +function sprites_SpriteSet_constructor__P55457(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44025,7 +44058,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2443_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C55455_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -44034,12 +44067,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P2445.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__P55457.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__P2445_mk(s) { +function sprites_SpriteSet_constructor__P55457_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P2445, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P55457, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44050,7 +44083,7 @@ function sprites_SpriteSet_constructor__P2445_mk(s) { -function Sprite_constructor__P2368(s) { +function Sprite_constructor__P55380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44066,15 +44099,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P2077_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P55089_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 613; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -44088,7 +44121,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___2013); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -44107,37 +44140,37 @@ switch (step) { r0 = s.arg0.fields["_y"]; s.tmp_0 = r0; r0 = (s.arg0).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = Sprite_vx__P2339_mk(s); + s.tmp_0 = Sprite_vx__P55351_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 616; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P2341_mk(s); + s.tmp_0 = Sprite_vy__P55353_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 617; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P2343_mk(s); + s.tmp_0 = Sprite_ax__P55355_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 618; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P2345_mk(s); + s.tmp_0 = Sprite_ay__P55357_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 619; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_fx__P2347_mk(s); + s.tmp_0 = Sprite_fx__P55359_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 620; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_fy__P2349_mk(s); + s.tmp_0 = Sprite_fy__P55361_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 621; s.pc = 7; return s.tmp_0; @@ -44146,13 +44179,13 @@ switch (step) { r0 = (s.arg0).fields["_sx"] = (256); r0 = (s.arg0).fields["_sy"] = (256); r0 = (s.arg0).fields["flags"] = (0); - s.tmp_0 = Sprite_setImage__P2371_mk(s); + s.tmp_0 = Sprite_setImage__P55383_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 622; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P2388_mk(s); + s.tmp_0 = Sprite_setKind__P55400_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; s.callLocIdx = 623; s.pc = 9; return s.tmp_0; @@ -44172,12 +44205,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P2368.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__P55380.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__P2368_mk(s) { +function Sprite_constructor__P55380_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P2368, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P55380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44194,7 +44227,7 @@ function Sprite_constructor__P2368_mk(s) { -function Sprite_fy__P2349(s) { +function Sprite_fy__P55361(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44210,9 +44243,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P130_mk(s); + s.tmp_3 = Math_max__P53142_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 609; s.pc = 1; return s.tmp_3; @@ -44228,12 +44261,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fy__P2349.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__P55361.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__P2349_mk(s) { +function Sprite_fy__P55361_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P2349, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P55361, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44248,7 +44281,7 @@ function Sprite_fy__P2349_mk(s) { -function Sprite_fy__P2348(s) { +function Sprite_fy__P55360(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44263,20 +44296,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2348.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__P2348.isGetter = true; +Sprite_fy__P55360.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__P55360.isGetter = true; -function Sprite_fy__P2348_mk(s) { +function Sprite_fy__P55360_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P2348, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P55360, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44286,7 +44319,7 @@ function Sprite_fy__P2348_mk(s) { -function Sprite_fx__P2347(s) { +function Sprite_fx__P55359(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44302,9 +44335,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P130_mk(s); + s.tmp_3 = Math_max__P53142_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 606; s.pc = 1; return s.tmp_3; @@ -44320,12 +44353,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fx__P2347.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__P55359.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__P2347_mk(s) { +function Sprite_fx__P55359_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P2347, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P55359, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44340,7 +44373,7 @@ function Sprite_fx__P2347_mk(s) { -function Sprite_fx__P2346(s) { +function Sprite_fx__P55358(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44355,20 +44388,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2346.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__P2346.isGetter = true; +Sprite_fx__P55358.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__P55358.isGetter = true; -function Sprite_fx__P2346_mk(s) { +function Sprite_fx__P55358_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P2346, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P55358, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44378,7 +44411,7 @@ function Sprite_fx__P2346_mk(s) { -function Sprite_ay__P2345(s) { +function Sprite_ay__P55357(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44394,7 +44427,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -44405,12 +44438,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P2345.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__P55357.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__P2345_mk(s) { +function Sprite_ay__P55357_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P2345, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P55357, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44423,7 +44456,7 @@ function Sprite_ay__P2345_mk(s) { -function Sprite_ay__P2344(s) { +function Sprite_ay__P55356(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44438,20 +44471,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2344.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__P2344.isGetter = true; +Sprite_ay__P55356.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__P55356.isGetter = true; -function Sprite_ay__P2344_mk(s) { +function Sprite_ay__P55356_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P2344, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P55356, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44461,7 +44494,7 @@ function Sprite_ay__P2344_mk(s) { -function Sprite_ax__P2343(s) { +function Sprite_ax__P55355(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44477,7 +44510,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -44488,12 +44521,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P2343.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__P55355.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__P2343_mk(s) { +function Sprite_ax__P55355_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P2343, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P55355, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44506,7 +44539,7 @@ function Sprite_ax__P2343_mk(s) { -function Sprite_ax__P2342(s) { +function Sprite_ax__P55354(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44521,20 +44554,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2342.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__P2342.isGetter = true; +Sprite_ax__P55354.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__P55354.isGetter = true; -function Sprite_ax__P2342_mk(s) { +function Sprite_ax__P55354_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P2342, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P55354, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -44544,7 +44577,7 @@ function Sprite_ax__P2342_mk(s) { -function controller_Button_isPressed__P2181(s) { +function controller_Button_isPressed__P55193(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44559,17 +44592,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2170_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C55182_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P2181.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__P55193.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__P2181_mk(s) { +function controller_Button_isPressed__P55193_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P2181, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P55193, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -44578,7 +44611,7 @@ function controller_Button_isPressed__P2181_mk(s) { -function confetti_inline__P16951(s) { +function confetti_inline__P69980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44588,13 +44621,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___16954 = undefined; + s.factory___69983 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C3198_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C56210_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -44629,27 +44662,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P3199_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P56211_mk(s); s.tmp_5.arg0 = s.tmp_0; s.tmp_5.arg1 = s.tmp_4; s.tmp_5.arg2 = 16; s.callLocIdx = 51; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; - s.factory___16954 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P3175_mk(s); - s.tmp_0.arg0 = s.factory___16954; + s.factory___69983 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P56187_mk(s); + s.tmp_0.arg0 = s.factory___69983; s.tmp_0.arg1 = 30; s.callLocIdx = 52; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C3131_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C56143_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P3136_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P56148_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___16954; + s.tmp_1.arg3 = s.factory___69983; s.callLocIdx = 53; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -44657,12 +44690,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -confetti_inline__P16951.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__P69980.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__P16951_mk(s) { +function confetti_inline__P69980_mk(s) { checkStack(s.depth); return { - parent: s, fn: confetti_inline__P16951, depth: s.depth + 1, + parent: s, fn: confetti_inline__P69980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44670,7 +44703,7 @@ function confetti_inline__P16951_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___16954: undefined, + factory___69983: undefined, arg0: undefined, arg1: undefined, } } @@ -44679,7 +44712,7 @@ function confetti_inline__P16951_mk(s) { -function particles_ConfettiFactory_constructor__P3199(s) { +function particles_ConfettiFactory_constructor__P56211(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44689,8 +44722,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___16971 = undefined; - s.i___16987 = undefined; + s.confetti___70000 = undefined; + s.i___70016 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -44698,52 +44731,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C3198_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C56210_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex16974); + r0 = pxsim.image.ofBuffer(_hex70003); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex16976); + r0 = pxsim.image.ofBuffer(_hex70005); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex16978); + r0 = pxsim.image.ofBuffer(_hex70007); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex16980); + r0 = pxsim.image.ofBuffer(_hex70009); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex16982); + r0 = pxsim.image.ofBuffer(_hex70011); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___16971 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P3194_mk(s); + s.confetti___70000 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P56206_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___16971, 0); + r0 = pxsim_Array__getAt(s.confetti___70000, 0); s.tmp_0.arg3 = r0; - s.callLocIdx = 1940; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1941; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___16987 = (1); + s.i___70016 = (1); case 1: - s.tmp_1 = r0 = s.i___16987; - r0 = pxsim_Array__length(s.confetti___16971); + s.tmp_1 = r0 = s.i___70016; + r0 = pxsim_Array__length(s.confetti___70000); 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__P3195_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P56207_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___16971, s.i___16987); + r0 = pxsim_Array__getAt(s.confetti___70000, s.i___70016); s.tmp_3.arg1 = r0; - s.callLocIdx = 1941; s.pc = 4; return s.tmp_3; + s.callLocIdx = 1942; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___16987 + 1); - s.i___16987 = (r0); + r0 = (s.i___70016 + 1); + s.i___70016 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -44752,12 +44785,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P3199.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__P56211.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__P3199_mk(s) { +function particles_ConfettiFactory_constructor__P56211_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P3199, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P56211, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44765,23 +44798,23 @@ function particles_ConfettiFactory_constructor__P3199_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___16971: undefined, - i___16987: undefined, + confetti___70000: undefined, + i___70016: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex16974 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex16976 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex16978 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex16980 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex16982 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex70003 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex70005 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex70007 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex70009 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex70011 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function Sprite_startEffect__P2393(s) { +function Sprite_startEffect__P55405(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44798,8 +44831,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_start__P3244_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_start__P56256_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; @@ -44823,12 +44856,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_startEffect__P2393.info = {"start":17585,"length":162,"line":599,"column":4,"endLine":601,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"startEffect","argumentNames":["this","effect","duration"]} +Sprite_startEffect__P55405.info = {"start":17585,"length":162,"line":599,"column":4,"endLine":601,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"startEffect","argumentNames":["this","effect","duration"]} -function Sprite_startEffect__P2393_mk(s) { +function Sprite_startEffect__P55405_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_startEffect__P2393, depth: s.depth + 1, + parent: s, fn: Sprite_startEffect__P55405, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -44845,7 +44878,7 @@ function Sprite_startEffect__P2393_mk(s) { -function sprites_onOverlap__P2438(s) { +function sprites_onOverlap__P55450(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44855,10 +44888,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sc___17029 = undefined; - s.overlapHandlers___17032 = undefined; - s.overlapMap___17035 = undefined; - s.associate___17038 = undefined; + s.sc___70058 = undefined; + s.overlapHandlers___70061 = undefined; + s.overlapMap___70064 = undefined; + s.associate___70067 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -44892,21 +44925,21 @@ switch (step) { { step = 7; continue; } case 5: case 6: - s.tmp_4 = game_currentScene__P2979_mk(s); + s.tmp_4 = game_currentScene__P55991_mk(s); s.callLocIdx = 811; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - s.sc___17029 = (r0); - r0 = s.sc___17029.fields["overlapHandlers"]; - s.overlapHandlers___17032 = (r0); - r0 = s.sc___17029.fields["overlapMap"]; - s.overlapMap___17035 = (r0); - r0 = pxsim_pxtcore_mkAction(1, associate__P17038); + s.sc___70058 = (r0); + r0 = s.sc___70058.fields["overlapHandlers"]; + s.overlapHandlers___70061 = (r0); + r0 = s.sc___70058.fields["overlapMap"]; + s.overlapMap___70064 = (r0); + r0 = pxsim_pxtcore_mkAction(1, associate__P70067); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overlapMap___17035); - s.associate___17038 = (s.tmp_0); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.overlapMap___70064); + s.associate___70067 = (s.tmp_0); s.tmp_1 = lambda_3_mk(s); - s.tmp_1.argL = s.associate___17038; + s.tmp_1.argL = s.associate___70067; s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; setupLambda(s.tmp_1, s.tmp_1.argL); @@ -44914,16 +44947,16 @@ switch (step) { case 9: r0 = s.retval; s.tmp_0 = lambda_3_mk(s); - s.tmp_0.argL = s.associate___17038; + s.tmp_0.argL = s.associate___70067; s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 813; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_OverlapHandler__C2794_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_OverlapHandler__C55806_VT); s.tmp_0 = r0; - s.tmp_1 = scene_OverlapHandler_constructor__P2795_mk(s); + s.tmp_1 = scene_OverlapHandler_constructor__P55807_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; @@ -44931,28 +44964,28 @@ switch (step) { s.callLocIdx = 814; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.overlapHandlers___17032, s.tmp_0); + r0 = pxsim_Array__push(s.overlapHandlers___70061, s.tmp_0); case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_onOverlap__P2438.info = {"start":1603,"length":755,"line":50,"column":4,"endLine":74,"endColumn":5,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"onOverlap","argumentNames":["kind","otherKind","handler"]} +sprites_onOverlap__P55450.info = {"start":1603,"length":755,"line":50,"column":4,"endLine":74,"endColumn":5,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"onOverlap","argumentNames":["kind","otherKind","handler"]} -function sprites_onOverlap__P2438_mk(s) { +function sprites_onOverlap__P55450_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_onOverlap__P2438, depth: s.depth + 1, + parent: s, fn: sprites_onOverlap__P55450, 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, - sc___17029: undefined, - overlapHandlers___17032: undefined, - overlapMap___17035: undefined, - associate___17038: undefined, + sc___70058: undefined, + overlapHandlers___70061: undefined, + overlapMap___70064: undefined, + associate___70067: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -44962,7 +44995,7 @@ function sprites_onOverlap__P2438_mk(s) { -function associate__P17038(s) { +function associate__P70067(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -44999,12 +45032,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -associate__P17038.info = {"start":1940,"length":172,"line":56,"column":8,"endLine":62,"endColumn":9,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"associate","argumentNames":["a","b"]} +associate__P70067.info = {"start":1940,"length":172,"line":56,"column":8,"endLine":62,"endColumn":9,"fileName":"pxt_modules/game/spriteevents.ts","functionName":"associate","argumentNames":["a","b"]} -function associate__P17038_mk(s) { +function associate__P70067_mk(s) { checkStack(s.depth); return { - parent: s, fn: associate__P17038, depth: s.depth + 1, + parent: s, fn: associate__P70067, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45020,7 +45053,7 @@ function associate__P17038_mk(s) { -function scene_OverlapHandler_constructor__P2795(s) { +function scene_OverlapHandler_constructor__P55807(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45038,7 +45071,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_OverlapHandler__C2794_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_OverlapHandler__C55806_VT)) failedCast(r0); r0 = (s.arg0).fields["kind"] = (s.arg1); r0 = (s.arg0).fields["otherKind"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -45046,12 +45079,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_OverlapHandler_constructor__P2795.info = {"start":655,"length":171,"line":22,"column":8,"endLine":26,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","kind","otherKind","handler"]} +scene_OverlapHandler_constructor__P55807.info = {"start":655,"length":171,"line":22,"column":8,"endLine":26,"endColumn":13,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["this","kind","otherKind","handler"]} -function scene_OverlapHandler_constructor__P2795_mk(s) { +function scene_OverlapHandler_constructor__P55807_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_OverlapHandler_constructor__P2795, depth: s.depth + 1, + parent: s, fn: scene_OverlapHandler_constructor__P55807, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -45063,7 +45096,7 @@ function scene_OverlapHandler_constructor__P2795_mk(s) { -function helpers_getAnimationByName__P3317(s) { +function helpers_getAnimationByName__P56329(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45077,21 +45110,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers__getFactoryInstance__P3313_mk(s); + s.tmp_0 = helpers__getFactoryInstance__P56325_mk(s); s.tmp_0.arg0 = "animation"; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 2083; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2084; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -helpers_getAnimationByName__P3317.info = {"start":2990,"length":111,"line":91,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"getAnimationByName","argumentNames":["name"]} +helpers_getAnimationByName__P56329.info = {"start":2990,"length":111,"line":91,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"getAnimationByName","argumentNames":["name"]} -function helpers_getAnimationByName__P3317_mk(s) { +function helpers_getAnimationByName__P56329_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_getAnimationByName__P3317, depth: s.depth + 1, + parent: s, fn: helpers_getAnimationByName__P56329, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -45101,7 +45134,7 @@ function helpers_getAnimationByName__P3317_mk(s) { -function assets_animation__P3309(s) { +function assets_animation__P56321(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45120,12 +45153,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -assets_animation__P3309.info = {"start":1303,"length":77,"line":36,"column":4,"endLine":36,"endColumn":81,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"animation","argumentNames":["lits","args"]} +assets_animation__P56321.info = {"start":1303,"length":77,"line":36,"column":4,"endLine":36,"endColumn":81,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"animation","argumentNames":["lits","args"]} -function assets_animation__P3309_mk(s) { +function assets_animation__P56321_mk(s) { checkStack(s.depth); return { - parent: s, fn: assets_animation__P3309, depth: s.depth + 1, + parent: s, fn: assets_animation__P56321, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -45135,7 +45168,7 @@ function assets_animation__P3309_mk(s) { -function animation_runImageAnimation__P3342(s) { +function animation_runImageAnimation__P56354(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45145,7 +45178,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.anim___17240 = undefined; + s.anim___70269 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -45153,7 +45186,7 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(animation_ImageAnimation__C3336_VT); + r0 = pxsim_pxtcore_mkClassInstance(animation_ImageAnimation__C56348_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -45165,7 +45198,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = animation_ImageAnimation_constructor__P3337_mk(s); + s.tmp_3 = animation_ImageAnimation_constructor__P56349_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg0; s.tmp_3.arg2 = s.arg1; @@ -45178,25 +45211,25 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3.arg4 = r0; - s.callLocIdx = 2152; s.pc = 3; return s.tmp_3; + s.callLocIdx = 2153; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.anim___17240 = (s.tmp_0); - s.tmp_0 = animation_SpriteAnimation_init__P3334_mk(s); - s.tmp_0.arg0 = s.anim___17240; - s.callLocIdx = 2153; s.pc = 4; return s.tmp_0; + s.anim___70269 = (s.tmp_0); + s.tmp_0 = animation_SpriteAnimation_init__P56346_mk(s); + s.tmp_0.arg0 = s.anim___70269; + s.callLocIdx = 2154; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -animation_runImageAnimation__P3342.info = {"start":21512,"length":222,"line":588,"column":4,"endLine":591,"endColumn":5,"fileName":"pxt_modules/game/animation.ts","functionName":"runImageAnimation","argumentNames":["sprite","frames","frameInterval","loop"]} +animation_runImageAnimation__P56354.info = {"start":21512,"length":222,"line":588,"column":4,"endLine":591,"endColumn":5,"fileName":"pxt_modules/game/animation.ts","functionName":"runImageAnimation","argumentNames":["sprite","frames","frameInterval","loop"]} -function animation_runImageAnimation__P3342_mk(s) { +function animation_runImageAnimation__P56354_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_runImageAnimation__P3342, depth: s.depth + 1, + parent: s, fn: animation_runImageAnimation__P56354, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45205,7 +45238,7 @@ function animation_runImageAnimation__P3342_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - anim___17240: undefined, + anim___70269: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -45216,7 +45249,7 @@ function animation_runImageAnimation__P3342_mk(s) { -function animation_ImageAnimation_constructor__P3337(s) { +function animation_ImageAnimation_constructor__P56349(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45235,14 +45268,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_ImageAnimation__C3336_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_ImageAnimation__C56348_VT)) failedCast(r0); r0 = (s.arg0).fields["frames"] = (s.arg2); r0 = (s.arg0).fields["frameInterval"] = (s.arg3); - s.tmp_0 = animation_SpriteAnimation_constructor__P3333_mk(s); + s.tmp_0 = animation_SpriteAnimation_constructor__P56345_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg4; - s.callLocIdx = 2140; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2141; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = (s.arg0).fields["lastFrame"] = (-1); @@ -45250,12 +45283,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_ImageAnimation_constructor__P3337.info = {"start":19278,"length":177,"line":527,"column":8,"endLine":530,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","sprite","frames","frameInterval","loop"]} +animation_ImageAnimation_constructor__P56349.info = {"start":19278,"length":177,"line":527,"column":8,"endLine":530,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","sprite","frames","frameInterval","loop"]} -function animation_ImageAnimation_constructor__P3337_mk(s) { +function animation_ImageAnimation_constructor__P56349_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_ImageAnimation_constructor__P3337, depth: s.depth + 1, + parent: s, fn: animation_ImageAnimation_constructor__P56349, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -45269,7 +45302,7 @@ function animation_ImageAnimation_constructor__P3337_mk(s) { -function animation_SpriteAnimation_constructor__P3333(s) { +function animation_SpriteAnimation_constructor__P56345(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45286,7 +45319,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_SpriteAnimation__C3332_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_SpriteAnimation__C56344_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["loop"] = (s.arg2); r0 = (s.arg0).fields["elapsedTime"] = (0); @@ -45294,12 +45327,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_SpriteAnimation_constructor__P3333.info = {"start":17626,"length":105,"line":486,"column":8,"endLine":488,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","sprite","loop"]} +animation_SpriteAnimation_constructor__P56345.info = {"start":17626,"length":105,"line":486,"column":8,"endLine":488,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","sprite","loop"]} -function animation_SpriteAnimation_constructor__P3333_mk(s) { +function animation_SpriteAnimation_constructor__P56345_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_SpriteAnimation_constructor__P3333, depth: s.depth + 1, + parent: s, fn: animation_SpriteAnimation_constructor__P56345, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -45310,7 +45343,7 @@ function animation_SpriteAnimation_constructor__P3333_mk(s) { -function animation_SpriteAnimation_init__P3334(s) { +function animation_SpriteAnimation_init__P56346(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45320,27 +45353,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___17253 = undefined; + s.state___70282 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_SpriteAnimation__C3332_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_SpriteAnimation__C56344_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); - s.state___17253 = (r0); - s.tmp_0 = r0 = s.state___17253; - s.tmp_4 = game_currentScene__P2979_mk(s); - s.callLocIdx = 2127; s.pc = 3; return s.tmp_4; + s.state___70282 = (r0); + s.tmp_0 = r0 = s.state___70282; + s.tmp_4 = game_currentScene__P55991_mk(s); + s.callLocIdx = 2128; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; s.tmp_3 = r0; r0 = s.tmp_3.fields["_data"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_2, globals.stateNamespace___5442); + r0 = pxsim_pxtrt.mapGetGeneric(s.tmp_2, globals.stateNamespace___58455); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.state___17253); + r0 = pxsim_pxtrt_ldlocRef(s.state___70282); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -45353,40 +45386,40 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_3, "animations", s.tmp_4); - s.tmp_7 = game_currentScene__P2979_mk(s); - s.callLocIdx = 2129; s.pc = 4; return s.tmp_7; + s.tmp_7 = game_currentScene__P55991_mk(s); + s.callLocIdx = 2130; s.pc = 4; return s.tmp_7; case 4: r0 = s.retval; s.tmp_6 = r0; r0 = s.tmp_6.fields["_data"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_5, globals.stateNamespace___5442, s.tmp_3); - r0 = pxsim_pxtrt_stlocRef(s.state___17253, s.tmp_3); - r0 = pxsim_pxtcore_mkAction(1, animation_SpriteAnimation_init_inline__P17269); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.state___17253); - s.tmp_1 = control_EventContext_registerFrameHandler__P403_mk(s); - s.tmp_2 = game_eventContext__P2982_mk(s); - s.callLocIdx = 2131; s.pc = 6; return s.tmp_2; + r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_5, globals.stateNamespace___58455, s.tmp_3); + r0 = pxsim_pxtrt_stlocRef(s.state___70282, s.tmp_3); + r0 = pxsim_pxtcore_mkAction(1, animation_SpriteAnimation_init_inline__P70298); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.state___70282); + s.tmp_1 = control_EventContext_registerFrameHandler__P53415_mk(s); + s.tmp_2 = game_eventContext__P55994_mk(s); + s.callLocIdx = 2132; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 2135; s.pc = 5; return s.tmp_1; + s.callLocIdx = 2136; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkAction(1, animation_SpriteAnimation_init_inline__P17293); + r0 = pxsim_pxtcore_mkAction(1, animation_SpriteAnimation_init_inline__P70322); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); s.tmp_1 = if_animations_2_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.state___17253); + r0 = pxsim_pxtrt_ldlocRef(s.state___70282); s.tmp_1.arg0 = r0; - s.tmp_2 = helpers_arrayFilter__P110_mk(s); + s.tmp_2 = helpers_arrayFilter__P53122_mk(s); s.tmp_3 = if_animations_1_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.state___17253); + r0 = pxsim_pxtrt_ldlocRef(s.state___70282); s.tmp_3.arg0 = r0; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "animations"); @@ -45394,13 +45427,13 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["animations"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["animations"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 2136; s.pc = 9; return s.tmp_3; } + else { s.callLocIdx = 2137; s.pc = 9; return s.tmp_3; } } case 9: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_0; - s.callLocIdx = 2137; s.pc = 8; return s.tmp_2; + s.callLocIdx = 2138; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; s.tmp_1.arg1 = r0; @@ -45410,12 +45443,12 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["set/animations"]; if (s.tmp_1.fn === null) { s.tmp_1.arg0.fields["animations"] = s.tmp_1.arg1; } else if (s.tmp_1.fn === undefined) { failedCast(s.tmp_1.arg0) } - else { s.callLocIdx = 2138; s.pc = 7; return s.tmp_1; } + else { s.callLocIdx = 2139; s.pc = 7; return s.tmp_1; } } case 7: r0 = s.retval; s.tmp_1 = if_animations_1_mk(s); - r0 = pxsim_pxtrt_ldlocRef(s.state___17253); + r0 = pxsim_pxtrt_ldlocRef(s.state___70282); s.tmp_1.arg0 = r0; if (!s.tmp_1.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "animations"); @@ -45423,7 +45456,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["animations"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["animations"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 2139; s.pc = 10; return s.tmp_1; } + else { s.callLocIdx = 2140; s.pc = 10; return s.tmp_1; } } case 10: r0 = s.retval; @@ -45433,12 +45466,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_SpriteAnimation_init__P3334.info = {"start":17741,"length":1299,"line":490,"column":8,"endLine":516,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"init","argumentNames":["this"]} +animation_SpriteAnimation_init__P56346.info = {"start":17741,"length":1299,"line":490,"column":8,"endLine":516,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"init","argumentNames":["this"]} -function animation_SpriteAnimation_init__P3334_mk(s) { +function animation_SpriteAnimation_init__P56346_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_SpriteAnimation_init__P3334, depth: s.depth + 1, + parent: s, fn: animation_SpriteAnimation_init__P56346, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45448,7 +45481,7 @@ function animation_SpriteAnimation_init__P3334_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - state___17253: undefined, + state___70282: undefined, arg0: undefined, } } @@ -45456,7 +45489,7 @@ function animation_SpriteAnimation_init__P3334_mk(s) { -function animation_SpriteAnimation_init_inline__P17269(s) { +function animation_SpriteAnimation_init_inline__P70298(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45469,7 +45502,7 @@ switch (step) { s.tmp_0 = if_animations_2_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg0 = r0; - s.tmp_1 = helpers_arrayFilter__P110_mk(s); + s.tmp_1 = helpers_arrayFilter__P53122_mk(s); s.tmp_2 = if_animations_1_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_2.arg0 = r0; @@ -45479,13 +45512,13 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["animations"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["animations"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 2132; s.pc = 3; return s.tmp_2; } + else { s.callLocIdx = 2133; s.pc = 3; return s.tmp_2; } } case 3: r0 = s.retval; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = animation_SpriteAnimation_init_inline__P17276; - s.callLocIdx = 2133; s.pc = 2; return s.tmp_1; + s.tmp_1.arg1 = animation_SpriteAnimation_init_inline__P70305; + s.callLocIdx = 2134; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; @@ -45495,7 +45528,7 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["set/animations"]; if (s.tmp_0.fn === null) { s.tmp_0.arg0.fields["animations"] = s.tmp_0.arg1; } else if (s.tmp_0.fn === undefined) { failedCast(s.tmp_0.arg0) } - else { s.callLocIdx = 2134; s.pc = 1; return s.tmp_0; } + else { s.callLocIdx = 2135; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -45503,12 +45536,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_SpriteAnimation_init_inline__P17269.info = {"start":18173,"length":371,"line":499,"column":90,"endLine":505,"endColumn":17,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":[]} +animation_SpriteAnimation_init_inline__P70298.info = {"start":18173,"length":371,"line":499,"column":90,"endLine":505,"endColumn":17,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":[]} -function animation_SpriteAnimation_init_inline__P17269_mk(s) { +function animation_SpriteAnimation_init_inline__P70298_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_SpriteAnimation_init_inline__P17269, depth: s.depth + 1, + parent: s, fn: animation_SpriteAnimation_init_inline__P70298, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45519,7 +45552,7 @@ function animation_SpriteAnimation_init_inline__P17269_mk(s) { -function animation_SpriteAnimation_init_inline__P17276(s) { +function animation_SpriteAnimation_init_inline__P70305(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45544,9 +45577,9 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_4 = animation_SpriteAnimation__C3332_v0_1_mk(s); + s.tmp_4 = animation_SpriteAnimation__C56344_v0_1_mk(s); s.tmp_4.arg0 = s.arg0; - if (!checkSubtype(s.tmp_4.arg0, animation_SpriteAnimation__C3332_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, animation_SpriteAnimation__C56344_VT)) failedCast(s.tmp_4.arg0); s.tmp_4.fn = s.tmp_4.arg0.vtable.methods.update; s.pc = 4; return s.tmp_4; case 4: @@ -45559,12 +45592,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_SpriteAnimation_init_inline__P17276.info = {"start":18244,"length":280,"line":500,"column":63,"endLine":504,"endColumn":21,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["anim"]} +animation_SpriteAnimation_init_inline__P70305.info = {"start":18244,"length":280,"line":500,"column":63,"endLine":504,"endColumn":21,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["anim"]} -function animation_SpriteAnimation_init_inline__P17276_mk(s) { +function animation_SpriteAnimation_init_inline__P70305_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_SpriteAnimation_init_inline__P17276, depth: s.depth + 1, + parent: s, fn: animation_SpriteAnimation_init_inline__P70305, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45578,7 +45611,7 @@ function animation_SpriteAnimation_init_inline__P17276_mk(s) { -function animation_SpriteAnimation_init_inline__P17293(s) { +function animation_SpriteAnimation_init_inline__P70322(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45604,7 +45637,7 @@ switch (step) { { step = 8; continue; } case 1: r0 = s.arg0; - r0 = checkSubtype(r0, animation_ImageAnimation__C3336_VT); + r0 = checkSubtype(r0, animation_ImageAnimation__C56348_VT); s.tmp_3 = r0; r0 = pxsim_numops_toBool(s.tmp_3); if (r0) { step = 2; continue; } @@ -45612,7 +45645,7 @@ switch (step) { { step = 3; continue; } case 2: r0 = s.caps[0]; - r0 = checkSubtype(r0, animation_ImageAnimation__C3336_VT); + r0 = checkSubtype(r0, animation_ImageAnimation__C56348_VT); case 3: // jmp value (already in r0) s.tmp_4 = r0; @@ -45622,7 +45655,7 @@ switch (step) { { step = 7; continue; } case 4: r0 = s.arg0; - r0 = checkSubtype(r0, animation_MovementAnimation__C3339_VT); + r0 = checkSubtype(r0, animation_MovementAnimation__C56351_VT); s.tmp_5 = r0; r0 = pxsim_numops_toBool(s.tmp_5); if (r0) { step = 5; continue; } @@ -45630,7 +45663,7 @@ switch (step) { { step = 6; continue; } case 5: r0 = s.caps[0]; - r0 = checkSubtype(r0, animation_MovementAnimation__C3339_VT); + r0 = checkSubtype(r0, animation_MovementAnimation__C56351_VT); case 6: // jmp value (already in r0) s.tmp_6 = r0; @@ -45648,12 +45681,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_SpriteAnimation_init_inline__P17293.info = {"start":18701,"length":285,"line":509,"column":55,"endLine":513,"endColumn":13,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["anim"]} +animation_SpriteAnimation_init_inline__P70322.info = {"start":18701,"length":285,"line":509,"column":55,"endLine":513,"endColumn":13,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["anim"]} -function animation_SpriteAnimation_init_inline__P17293_mk(s) { +function animation_SpriteAnimation_init_inline__P70322_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_SpriteAnimation_init_inline__P17293, depth: s.depth + 1, + parent: s, fn: animation_SpriteAnimation_init_inline__P70322, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45672,7 +45705,7 @@ function animation_SpriteAnimation_init_inline__P17293_mk(s) { -function animation_SpriteAnimation_update__P3335(s) { +function animation_SpriteAnimation_update__P56347(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45687,17 +45720,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_SpriteAnimation__C3332_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_SpriteAnimation__C56344_VT)) failedCast(r0); r0 = false; return leave(s, r0) default: oops() } } } -animation_SpriteAnimation_update__P3335.info = {"start":19050,"length":118,"line":518,"column":8,"endLine":521,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"update","argumentNames":["this"]} +animation_SpriteAnimation_update__P56347.info = {"start":19050,"length":118,"line":518,"column":8,"endLine":521,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"update","argumentNames":["this"]} -function animation_SpriteAnimation_update__P3335_mk(s) { +function animation_SpriteAnimation_update__P56347_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_SpriteAnimation_update__P3335, depth: s.depth + 1, + parent: s, fn: animation_SpriteAnimation_update__P56347, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -45706,7 +45739,7 @@ function animation_SpriteAnimation_update__P3335_mk(s) { -function music_Melody_play__P1633(s) { +function music_Melody_play__P54645(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45722,8 +45755,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1626_VT)) failedCast(r0); - s.tmp_0 = music_Melody_playCore__P4584_mk(s); + if (!checkSubtype(r0, music_Melody__C54638_VT)) failedCast(r0); + s.tmp_0 = music_Melody_playCore__P57597_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = false; @@ -45734,12 +45767,12 @@ switch (step) { 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"]} +music_Melody_play__P54645.info = {"start":9416,"length":71,"line":292,"column":8,"endLine":294,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"play","argumentNames":["this","volume"]} -function music_Melody_play__P1633_mk(s) { +function music_Melody_play__P54645_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_play__P1633, depth: s.depth + 1, + parent: s, fn: music_Melody_play__P54645, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -45750,7 +45783,7 @@ function music_Melody_play__P1633_mk(s) { -function music_Melody_playCore__P4584(s) { +function music_Melody_playCore__P57597(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45760,7 +45793,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___17357 = undefined; + s.p___70386 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -45768,31 +45801,31 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1626_VT)) failedCast(r0); - s.tmp_0 = music_Melody_stop__P1631_mk(s); + if (!checkSubtype(r0, music_Melody__C54638_VT)) failedCast(r0); + s.tmp_0 = music_Melody_stop__P54643_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 98; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C1637_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C54649_VT); s.tmp_0 = r0; - s.tmp_1 = music_MelodyPlayer_constructor__P1640_mk(s); + s.tmp_1 = music_MelodyPlayer_constructor__P54652_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 99; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["_player"] = (s.tmp_0); - s.p___17357 = (s.tmp_0); - s.tmp_0 = music_Melody_registerMelody__P4582_mk(s); + s.p___70386 = (s.tmp_0); + s.tmp_0 = music_Melody_registerMelody__P57595_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 100; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(4, music_Melody_playCore_inline__P17367); + r0 = pxsim_pxtcore_mkAction(4, music_Melody_playCore_inline__P70396); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.p___17357); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.p___70386); 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); @@ -45800,16 +45833,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_playCore__P4584.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"]} +music_Melody_playCore__P57597.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__P4584_mk(s) { +function music_Melody_playCore__P57597_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_playCore__P4584, depth: s.depth + 1, + parent: s, fn: music_Melody_playCore__P57597, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___17357: undefined, + p___70386: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -45819,7 +45852,7 @@ function music_Melody_playCore__P4584_mk(s) { -function music_Melody_playCore_inline__P17367(s) { +function music_Melody_playCore_inline__P70396(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45836,7 +45869,7 @@ switch (step) { 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 = music_MelodyPlayer_play__P54654_mk(s); s.tmp_2.arg0 = s.caps[1]; s.tmp_2.arg1 = s.caps[2]; s.callLocIdx = 101; s.pc = 7; return s.tmp_2; @@ -45854,7 +45887,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - s.tmp_4 = music_Melody_unregisterMelody__P4583_mk(s); + s.tmp_4 = music_Melody_unregisterMelody__P57596_mk(s); s.tmp_4.arg0 = s.caps[0]; s.callLocIdx = 102; s.pc = 8; return s.tmp_4; case 8: @@ -45870,12 +45903,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_playCore_inline__P17367.info = {"start":8012,"length":601,"line":251,"column":34,"endLine":265,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +music_Melody_playCore_inline__P70396.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__P17367_mk(s) { +function music_Melody_playCore_inline__P70396_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_playCore_inline__P17367, depth: s.depth + 1, + parent: s, fn: music_Melody_playCore_inline__P70396, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45888,7 +45921,7 @@ function music_Melody_playCore_inline__P17367_mk(s) { -function music_Melody_registerMelody__P4582(s) { +function music_Melody_registerMelody__P57595(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45903,26 +45936,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1626_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___4585); + if (!checkSubtype(r0, music_Melody__C54638_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals.music_Melody_playingMelodies___57598); 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___4585 = (r0); + globals.music_Melody_playingMelodies___57598 = (r0); case 1: case 2: - r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___4585); + r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___57598); s.tmp_1 = r0; r0 = (s.tmp_1 > 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_Melody_stop__P1631_mk(s); - s.tmp_3 = r0 = globals.music_Melody_playingMelodies___4585; - r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___4585); + s.tmp_2 = music_Melody_stop__P54643_mk(s); + s.tmp_3 = r0 = globals.music_Melody_playingMelodies___57598; + r0 = pxsim_Array__length(globals.music_Melody_playingMelodies___57598); s.tmp_5 = r0; r0 = (s.tmp_5 - 1); s.tmp_4 = r0; @@ -45933,18 +45966,18 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___4585, s.arg0); - r0 = pxsim_Array__push(globals.music_Melody_playingMelodies___4585, s.arg0); + r0 = pxsim_Array_.removeElement(globals.music_Melody_playingMelodies___57598, s.arg0); + r0 = pxsim_Array__push(globals.music_Melody_playingMelodies___57598, s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_registerMelody__P4582.info = {"start":7016,"length":573,"line":228,"column":8,"endLine":239,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"registerMelody","argumentNames":["this"]} +music_Melody_registerMelody__P57595.info = {"start":7016,"length":573,"line":228,"column":8,"endLine":239,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"registerMelody","argumentNames":["this"]} -function music_Melody_registerMelody__P4582_mk(s) { +function music_Melody_registerMelody__P57595_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_registerMelody__P4582, depth: s.depth + 1, + parent: s, fn: music_Melody_registerMelody__P57595, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -45959,7 +45992,7 @@ function music_Melody_registerMelody__P4582_mk(s) { -function music_MelodyPlayer_play__P1642(s) { +function music_MelodyPlayer_play__P54654(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -45969,46 +46002,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.notes___17400 = undefined; - s.pos___17404 = undefined; - s.duration___17405 = undefined; - s.octave___17406 = undefined; - s.tempo___17407 = undefined; - s.hz___17408 = undefined; - s.endHz___17409 = undefined; - s.ms___17412 = undefined; - s.timePos___17413 = undefined; - s.startTime___17414 = undefined; - s.now___17417 = undefined; - s.envA___17418 = undefined; - s.envD___17419 = undefined; - s.envS___17420 = undefined; - s.envR___17421 = undefined; - s.soundWave___17422 = undefined; - s.sndInstr___17423 = undefined; - s.sndInstrPtr___17429 = undefined; - s.addForm___17430 = undefined; - s.scanNextWord___17490 = undefined; - s.token___17547 = undefined; - s.tokenKind___17548 = undefined; - s.consumeToken___17551 = undefined; - s.currNote___17627 = undefined; - s.prevNote___17629 = undefined; - s.timeLeft___17632 = undefined; - s.note___17646 = undefined; - s.i___17650 = undefined; - s.noteChar___17656 = undefined; - s.keyNumber___17730 = undefined; - s.currMs___17747 = undefined; - s.beat___17751 = undefined; - s.timeLeft___17808 = undefined; + s.notes___70429 = undefined; + s.pos___70433 = undefined; + s.duration___70434 = undefined; + s.octave___70435 = undefined; + s.tempo___70436 = undefined; + s.hz___70437 = undefined; + s.endHz___70438 = undefined; + s.ms___70441 = undefined; + s.timePos___70442 = undefined; + s.startTime___70443 = undefined; + s.now___70446 = undefined; + s.envA___70447 = undefined; + s.envD___70448 = undefined; + s.envS___70449 = undefined; + s.envR___70450 = undefined; + s.soundWave___70451 = undefined; + s.sndInstr___70452 = undefined; + s.sndInstrPtr___70458 = undefined; + s.addForm___70459 = undefined; + s.scanNextWord___70519 = undefined; + s.token___70576 = undefined; + s.tokenKind___70577 = undefined; + s.consumeToken___70580 = undefined; + s.currNote___70656 = undefined; + s.prevNote___70658 = undefined; + s.timeLeft___70661 = undefined; + s.note___70675 = undefined; + s.i___70679 = undefined; + s.noteChar___70685 = undefined; + s.keyNumber___70759 = undefined; + s.currMs___70776 = undefined; + s.beat___70780 = undefined; + s.timeLeft___70837 = 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); + if (!checkSubtype(r0, music_MelodyPlayer__C54649_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -46025,12 +46058,12 @@ switch (step) { case 1: case 2: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_clamp__P127_mk(s); + s.tmp_6 = Math_clamp__P53139_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.tmp_10 = music_volume__P54633_mk(s); s.callLocIdx = 110; s.pc = 61; return s.tmp_10; case 61: r0 = s.retval; @@ -46046,121 +46079,121 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_4, s.tmp_5); r0 = s.arg0.fields["melody"]; r0 = r0.fields["_text"]; - s.notes___17400 = (r0); + s.notes___70429 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.pos___17404 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.pos___17404, 0); + s.pos___70433 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.pos___70433, 0); r0 = pxsim_pxtrt.mklocRef(); - s.duration___17405 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.duration___17405, 4); + s.duration___70434 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.duration___70434, 4); r0 = pxsim_pxtrt.mklocRef(); - s.octave___17406 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.octave___17406, 4); + s.octave___70435 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.octave___70435, 4); r0 = pxsim_pxtrt.mklocRef(); - s.tempo___17407 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.tempo___17407, 120); + s.tempo___70436 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.tempo___70436, 120); r0 = pxsim_pxtrt.mklocRef(); - s.hz___17408 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.hz___17408, 0); + s.hz___70437 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.hz___70437, 0); r0 = pxsim_pxtrt.mklocRef(); - s.endHz___17409 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.endHz___17409, -1); + s.endHz___70438 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.endHz___70438, -1); r0 = pxsim_pxtrt.mklocRef(); - s.ms___17412 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.ms___17412, 0); - s.timePos___17413 = (0); + s.ms___70441 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.ms___70441, 0); + s.timePos___70442 = (0); r0 = pxsim.control.millis(); - s.startTime___17414 = (r0); - s.now___17417 = (0); + s.startTime___70443 = (r0); + s.now___70446 = (0); r0 = pxsim_pxtrt.mklocRef(); - s.envA___17418 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envA___17418, 0); + s.envA___70447 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envA___70447, 0); r0 = pxsim_pxtrt.mklocRef(); - s.envD___17419 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envD___17419, 0); + s.envD___70448 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envD___70448, 0); r0 = pxsim_pxtrt.mklocRef(); - s.envS___17420 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envS___17420, 255); + s.envS___70449 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envS___70449, 255); r0 = pxsim_pxtrt.mklocRef(); - s.envR___17421 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.envR___17421, 0); + s.envR___70450 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.envR___70450, 0); r0 = pxsim_pxtrt.mklocRef(); - s.soundWave___17422 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.soundWave___17422, 1); + s.soundWave___70451 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.soundWave___70451, 1); r0 = pxsim.control.createBuffer(60); - s.sndInstr___17423 = (r0); + s.sndInstr___70452 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.sndInstrPtr___17429 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___17429, 0); - r0 = pxsim_pxtcore_mkAction(10, addForm_inline__P17431); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hz___17408); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.endHz___17409); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.ms___17412); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___17405); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.tempo___17407); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.envR___17421); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.sndInstrPtr___17429); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.sndInstr___17423); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.soundWave___17422); + s.sndInstrPtr___70458 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___70458, 0); + r0 = pxsim_pxtcore_mkAction(10, addForm_inline__P70460); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.hz___70437); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.endHz___70438); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.ms___70441); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___70434); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.tempo___70436); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.envR___70450); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.sndInstrPtr___70458); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.sndInstr___70452); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.soundWave___70451); r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.arg1); - s.addForm___17430 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, scanNextWord_inline__P17491); + s.addForm___70459 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, scanNextWord_inline__P70520); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pos___17404); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.notes___17400); - s.scanNextWord___17490 = (s.tmp_0); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.pos___70433); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.notes___70429); + s.scanNextWord___70519 = (s.tmp_0); r0 = pxsim_pxtrt.mklocRef(); - s.token___17547 = (r0); - s.tmp_0 = r0 = s.token___17547; + s.token___70576 = (r0); + s.tmp_0 = r0 = s.token___70576; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.tokenKind___17548 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___17548, 0); - r0 = pxsim_pxtcore_mkAction(13, consumeToken_inline__P17552); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.token___17547); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tokenKind___17548); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.octave___17406); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___17405); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.ms___17412); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.tempo___17407); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.hz___17408); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.soundWave___17422); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.envA___17418); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.envD___17419); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.envS___17420); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.envR___17421); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.endHz___17409); - s.consumeToken___17551 = (s.tmp_0); + s.tokenKind___70577 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___70577, 0); + r0 = pxsim_pxtcore_mkAction(13, consumeToken_inline__P70581); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.token___70576); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tokenKind___70577); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.octave___70435); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.duration___70434); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.ms___70441); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 5, s.tempo___70436); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 6, s.hz___70437); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 7, s.soundWave___70451); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 8, s.envA___70447); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 9, s.envD___70448); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 10, s.envS___70449); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 11, s.envR___70450); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 12, s.endHz___70438); + s.consumeToken___70580 = (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___17490; + s.tmp_0.argL = s.scanNextWord___70519; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 119; s.pc = 62; return s.tmp_0; case 62: r0 = s.retval; - s.currNote___17627 = (r0); - s.prevNote___17629 = (false); - r0 = pxsim_numops_toBoolDecr(s.currNote___17627); + s.currNote___70656 = (r0); + s.prevNote___70658 = (false); + r0 = pxsim_numops_toBoolDecr(s.currNote___70656); 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___17413 - s.now___17417); - s.timeLeft___17632 = (r0); - r0 = (s.timeLeft___17632 > 0); + r0 = (s.timePos___70442 - s.now___70446); + s.timeLeft___70661 = (r0); + r0 = (s.timeLeft___70661 > 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___17632; + s.tmp_1 = pause__P53425_mk(s); + s.tmp_1.arg0 = s.timeLeft___70661; s.callLocIdx = 120; s.pc = 63; return s.tmp_1; case 63: r0 = s.retval; @@ -46188,25 +46221,25 @@ switch (step) { { step = 59; continue; } case 8: case 9: - r0 = pxsim_pxtrt_stlocRef(s.hz___17408, -1); - s.note___17646 = (0); - s.tmp_0 = r0 = s.token___17547; + r0 = pxsim_pxtrt_stlocRef(s.hz___70437, -1); + s.note___70675 = (0); + s.tmp_0 = r0 = s.token___70576; r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___17548, 0); - s.i___17650 = (0); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___70577, 0); + s.i___70679 = (0); case 10: - s.tmp_1 = r0 = s.i___17650; - r0 = pxsim_String_.length(s.currNote___17627); + s.tmp_1 = r0 = s.i___70679; + r0 = pxsim_String_.length(s.currNote___70656); 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___17627, s.i___17650); - s.noteChar___17656 = (r0); - s.tmp_0 = r0 = s.noteChar___17656; + r0 = pxsim_String_.charAt(s.currNote___70656, s.i___70679); + s.noteChar___70685 = (r0); + s.tmp_0 = r0 = s.noteChar___70685; r0 = pxsim_pxtcore.switch_eq("c", s.tmp_0); if (r0) { step = 11; continue; } r0 = pxsim_pxtcore.switch_eq("C", s.tmp_0); @@ -46259,133 +46292,133 @@ switch (step) { { step = 37; continue; } case 11: case 12: - s.note___17646 = (1); - s.prevNote___17629 = (true); + s.note___70675 = (1); + s.prevNote___70658 = (true); { step = 40; continue; } case 13: case 14: - s.note___17646 = (3); - s.prevNote___17629 = (true); + s.note___70675 = (3); + s.prevNote___70658 = (true); { step = 40; continue; } case 15: case 16: - s.note___17646 = (5); - s.prevNote___17629 = (true); + s.note___70675 = (5); + s.prevNote___70658 = (true); { step = 40; continue; } case 17: case 18: - s.note___17646 = (6); - s.prevNote___17629 = (true); + s.note___70675 = (6); + s.prevNote___70658 = (true); { step = 40; continue; } case 19: case 20: - s.note___17646 = (8); - s.prevNote___17629 = (true); + s.note___70675 = (8); + s.prevNote___70658 = (true); { step = 40; continue; } case 21: case 22: - s.note___17646 = (10); - s.prevNote___17629 = (true); + s.note___70675 = (10); + s.prevNote___70658 = (true); { step = 40; continue; } case 23: - s.note___17646 = (12); - s.prevNote___17629 = (true); + s.note___70675 = (12); + s.prevNote___70658 = (true); { step = 40; continue; } case 24: case 25: - r0 = pxsim_pxtrt_stlocRef(s.hz___17408, 0); - s.prevNote___17629 = (false); + r0 = pxsim_pxtrt_stlocRef(s.hz___70437, 0); + s.prevNote___70658 = (false); { step = 40; continue; } case 26: - r0 = (s.note___17646 + 1); - s.note___17646 = (r0); - s.prevNote___17629 = (false); + r0 = (s.note___70675 + 1); + s.note___70675 = (r0); + s.prevNote___70658 = (false); { step = 40; continue; } case 27: - r0 = pxsim_numops_toBoolDecr(s.prevNote___17629); + r0 = pxsim_numops_toBoolDecr(s.prevNote___70658); if (!r0) { step = 28; continue; } - r0 = (s.note___17646 - 1); - s.note___17646 = (r0); + r0 = (s.note___70675 - 1); + s.note___70675 = (r0); { step = 29; continue; } case 28: - s.note___17646 = (12); - s.prevNote___17629 = (true); + s.note___70675 = (12); + s.prevNote___70658 = (true); case 29: { step = 40; continue; } case 30: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___17551; + s.tmp_0.argL = s.consumeToken___70580; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 122; s.pc = 65; return s.tmp_0; case 65: r0 = s.retval; - s.prevNote___17629 = (false); + s.prevNote___70658 = (false); { step = 40; continue; } case 31: - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___17548, 4); - s.prevNote___17629 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___70577, 4); + s.prevNote___70658 = (false); { step = 40; continue; } case 32: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___17551; + s.tmp_0.argL = s.consumeToken___70580; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 123; s.pc = 66; return s.tmp_0; case 66: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___17548, 8); - s.prevNote___17629 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___70577, 8); + s.prevNote___70658 = (false); { step = 40; continue; } case 33: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___17551; + s.tmp_0.argL = s.consumeToken___70580; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 124; s.pc = 67; return s.tmp_0; case 67: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___17548, 7); - s.prevNote___17629 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___70577, 7); + s.prevNote___70658 = (false); { step = 40; continue; } case 34: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___17551; + s.tmp_0.argL = s.consumeToken___70580; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 125; s.pc = 68; return s.tmp_0; case 68: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___17548, 2); - s.prevNote___17629 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___70577, 2); + s.prevNote___70658 = (false); { step = 40; continue; } case 35: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___17551; + s.tmp_0.argL = s.consumeToken___70580; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 126; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___17548, 3); - s.prevNote___17629 = (false); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___70577, 3); + s.prevNote___70658 = (false); { step = 40; continue; } case 36: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___17551; + s.tmp_0.argL = s.consumeToken___70580; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 127; s.pc = 70; return s.tmp_0; case 70: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.tokenKind___17548, 5); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___70577, 5); { step = 40; continue; } case 37: - r0 = pxsim_pxtrt_ldlocRef(s.tokenKind___17548); + r0 = pxsim_pxtrt_ldlocRef(s.tokenKind___70577); 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___17548, 1); + r0 = pxsim_pxtrt_stlocRef(s.tokenKind___70577, 1); case 38: case 39: - s.tmp_0 = r0 = s.token___17547; - r0 = pxsim_pxtrt_ldlocRef(s.token___17547); + s.tmp_0 = r0 = s.token___70576; + r0 = pxsim_pxtrt_ldlocRef(s.token___70576); s.tmp_3 = r0; if ((s.tmp_3) && (s.tmp_3).vtable) { setupResume(s, 71); @@ -46396,37 +46429,37 @@ switch (step) { case 71: r0 = s.retval; s.tmp_2 = r0; - if ((s.noteChar___17656) && (s.noteChar___17656).vtable) { + if ((s.noteChar___70685) && (s.noteChar___70685).vtable) { setupResume(s, 72); - pxsim_String__stringConv(s.noteChar___17656); + pxsim_String__stringConv(s.noteChar___70685); checkResumeConsumed(); return; - } else { s.retval = (s.noteChar___17656) + ""; } + } else { s.retval = (s.noteChar___70685) + ""; } 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___17629 = (false); + s.prevNote___70658 = (false); case 40: - r0 = (s.i___17650 + 1); - s.i___17650 = (r0); + r0 = (s.i___70679 + 1); + s.i___70679 = (r0); { step = 10; continue; } case 41: s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.consumeToken___17551; + s.tmp_0.argL = s.consumeToken___70580; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 128; s.pc = 73; return s.tmp_0; case 73: r0 = s.retval; - s.tmp_0 = r0 = s.note___17646; + s.tmp_0 = r0 = s.note___70675; 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___17408); + r0 = pxsim_pxtrt_ldlocRef(s.hz___70437); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); case 43: @@ -46434,17 +46467,17 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 46; continue; } - s.tmp_3 = r0 = s.note___17646; - r0 = pxsim_pxtrt_ldlocRef(s.octave___17406); + s.tmp_3 = r0 = s.note___70675; + r0 = pxsim_pxtrt_ldlocRef(s.octave___70435); 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___17730 = (r0); - s.tmp_1 = r0 = globals.freqs___4570; - r0 = (s.keyNumber___17730 * 2); + s.keyNumber___70759 = (r0); + s.tmp_1 = r0 = globals.freqs___57583; + r0 = (s.keyNumber___70759 * 2); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 4, s.tmp_2); s.tmp_0 = r0; @@ -46457,26 +46490,26 @@ switch (step) { case 45: // jmp value (already in r0) s.tmp_3 = r0; - r0 = pxsim_pxtrt_stlocRef(s.hz___17408, s.tmp_3); + r0 = pxsim_pxtrt_stlocRef(s.hz___70437, s.tmp_3); case 46: case 47: - r0 = pxsim_pxtrt_ldlocRef(s.ms___17412); - s.currMs___17747 = (r0); - r0 = (s.currMs___17747 <= 0); + r0 = pxsim_pxtrt_ldlocRef(s.ms___70441); + s.currMs___70776 = (r0); + r0 = (s.currMs___70776 <= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 48; continue; } - r0 = pxsim_pxtrt_ldlocRef(s.tempo___17407); + r0 = pxsim_pxtrt_ldlocRef(s.tempo___70436); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(15000, s.tmp_1); - s.beat___17751 = (r0); - r0 = pxsim_pxtrt_ldlocRef(s.duration___17405); + s.beat___70780 = (r0); + r0 = pxsim_pxtrt_ldlocRef(s.duration___70434); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.beat___17751); - s.currMs___17747 = (r0); + r0 = (s.tmp_0 * s.beat___70780); + s.currMs___70776 = (r0); case 48: case 49: - r0 = pxsim_pxtrt_ldlocRef(s.hz___17408); + r0 = pxsim_pxtrt_ldlocRef(s.hz___70437); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -46484,32 +46517,32 @@ switch (step) { if (!r0) { step = 50; continue; } { step = 55; continue; } case 50: - r0 = pxsim_pxtrt_ldlocRef(s.hz___17408); + r0 = pxsim_pxtrt_ldlocRef(s.hz___70437); 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___17413 + s.currMs___17747); - s.timePos___17413 = (r0); + r0 = (s.timePos___70442 + s.currMs___70776); + s.timePos___70442 = (r0); { step = 54; continue; } case 51: - r0 = pxsim_pxtrt_ldlocRef(s.endHz___17409); + r0 = pxsim_pxtrt_ldlocRef(s.endHz___70438); 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___17409; - r0 = pxsim_pxtrt_ldlocRef(s.hz___17408); + s.tmp_2 = r0 = s.endHz___70438; + r0 = pxsim_pxtrt_ldlocRef(s.hz___70437); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); case 52: case 53: - r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___17429, 0); + r0 = pxsim_pxtrt_stlocRef(s.sndInstrPtr___70458, 0); s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___17430; - r0 = pxsim_pxtrt_ldlocRef(s.envA___17418); + s.tmp_0.argL = s.addForm___70459; + r0 = pxsim_pxtrt_ldlocRef(s.envA___70447); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 255; @@ -46519,36 +46552,36 @@ switch (step) { case 74: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___17430; - r0 = pxsim_pxtrt_ldlocRef(s.envD___17419); + s.tmp_0.argL = s.addForm___70459; + r0 = pxsim_pxtrt_ldlocRef(s.envD___70448); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 255; - r0 = pxsim_pxtrt_ldlocRef(s.envS___17420); + r0 = pxsim_pxtrt_ldlocRef(s.envS___70449); s.tmp_0.arg2 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envA___17418); + r0 = pxsim_pxtrt_ldlocRef(s.envA___70447); s.tmp_0.arg3 = r0; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 130; 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___17430; - s.tmp_1 = r0 = s.currMs___17747; - r0 = pxsim_pxtrt_ldlocRef(s.envA___17418); + s.tmp_0.argL = s.addForm___70459; + s.tmp_1 = r0 = s.currMs___70776; + r0 = pxsim_pxtrt_ldlocRef(s.envA___70447); s.tmp_3 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envD___17419); + r0 = pxsim_pxtrt_ldlocRef(s.envD___70448); 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___17420); + r0 = pxsim_pxtrt_ldlocRef(s.envS___70449); s.tmp_0.arg1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___17420); + r0 = pxsim_pxtrt_ldlocRef(s.envS___70449); s.tmp_0.arg2 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envD___17419); + r0 = pxsim_pxtrt_ldlocRef(s.envD___70448); s.tmp_5 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envA___17418); + r0 = pxsim_pxtrt_ldlocRef(s.envA___70447); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; @@ -46557,50 +46590,50 @@ switch (step) { case 76: r0 = s.retval; s.tmp_0 = lambda_5_mk(s); - s.tmp_0.argL = s.addForm___17430; - r0 = pxsim_pxtrt_ldlocRef(s.envR___17421); + s.tmp_0.argL = s.addForm___70459; + r0 = pxsim_pxtrt_ldlocRef(s.envR___70450); s.tmp_0.arg0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.envS___17420); + r0 = pxsim_pxtrt_ldlocRef(s.envS___70449); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 0; - s.tmp_0.arg3 = s.currMs___17747; + s.tmp_0.arg3 = s.currMs___70776; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 132; s.pc = 77; return s.tmp_0; case 77: r0 = s.retval; - s.tmp_0 = music_MelodyPlayer_queuePlayInstructions__P4586_mk(s); + s.tmp_0 = music_MelodyPlayer_queuePlayInstructions__P57599_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (s.timePos___17413 - s.now___17417); + r0 = (s.timePos___70442 - s.now___70446); s.tmp_0.arg1 = r0; - s.tmp_1 = r0 = s.sndInstr___17423; - r0 = pxsim_pxtrt_ldlocRef(s.sndInstrPtr___17429); + s.tmp_1 = r0 = s.sndInstr___70452; + r0 = pxsim_pxtrt_ldlocRef(s.sndInstrPtr___70458); s.tmp_2 = r0; r0 = pxsim.BufferMethods.slice(s.tmp_1, 0, s.tmp_2); s.tmp_0.arg2 = r0; s.callLocIdx = 133; s.pc = 78; return s.tmp_0; case 78: r0 = s.retval; - r0 = pxsim_pxtrt_stlocRef(s.endHz___17409, -1); - r0 = (s.timePos___17413 + s.currMs___17747); - s.timePos___17413 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.endHz___70438, -1); + r0 = (s.timePos___70442 + s.currMs___70776); + s.timePos___70442 = (r0); case 54: case 55: - r0 = (s.timePos___17413 - s.now___17417); - s.timeLeft___17808 = (r0); - r0 = (s.timeLeft___17808 > 200); + r0 = (s.timePos___70442 - s.now___70446); + s.timeLeft___70837 = (r0); + r0 = (s.timeLeft___70837 > 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___17808 - 100); + s.tmp_1 = pause__P53425_mk(s); + r0 = (s.timeLeft___70837 - 100); s.tmp_1.arg0 = r0; s.callLocIdx = 134; 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___17414); - s.now___17417 = (r0); + r0 = (s.tmp_0 - s.startTime___70443); + s.now___70446 = (r0); case 56: case 57: { step = 3; continue; } @@ -46610,12 +46643,12 @@ switch (step) { 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"]} +music_MelodyPlayer_play__P54654.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) { +function music_MelodyPlayer_play__P54654_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_play__P1642, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_play__P54654, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46628,39 +46661,39 @@ function music_MelodyPlayer_play__P1642_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - notes___17400: undefined, - pos___17404: undefined, - duration___17405: undefined, - octave___17406: undefined, - tempo___17407: undefined, - hz___17408: undefined, - endHz___17409: undefined, - ms___17412: undefined, - timePos___17413: undefined, - startTime___17414: undefined, - now___17417: undefined, - envA___17418: undefined, - envD___17419: undefined, - envS___17420: undefined, - envR___17421: undefined, - soundWave___17422: undefined, - sndInstr___17423: undefined, - sndInstrPtr___17429: undefined, - addForm___17430: undefined, - scanNextWord___17490: undefined, - token___17547: undefined, - tokenKind___17548: undefined, - consumeToken___17551: undefined, - currNote___17627: undefined, - prevNote___17629: undefined, - timeLeft___17632: undefined, - note___17646: undefined, - i___17650: undefined, - noteChar___17656: undefined, - keyNumber___17730: undefined, - currMs___17747: undefined, - beat___17751: undefined, - timeLeft___17808: undefined, + notes___70429: undefined, + pos___70433: undefined, + duration___70434: undefined, + octave___70435: undefined, + tempo___70436: undefined, + hz___70437: undefined, + endHz___70438: undefined, + ms___70441: undefined, + timePos___70442: undefined, + startTime___70443: undefined, + now___70446: undefined, + envA___70447: undefined, + envD___70448: undefined, + envS___70449: undefined, + envR___70450: undefined, + soundWave___70451: undefined, + sndInstr___70452: undefined, + sndInstrPtr___70458: undefined, + addForm___70459: undefined, + scanNextWord___70519: undefined, + token___70576: undefined, + tokenKind___70577: undefined, + consumeToken___70580: undefined, + currNote___70656: undefined, + prevNote___70658: undefined, + timeLeft___70661: undefined, + note___70675: undefined, + i___70679: undefined, + noteChar___70685: undefined, + keyNumber___70759: undefined, + currMs___70776: undefined, + beat___70780: undefined, + timeLeft___70837: undefined, arg0: undefined, arg1: undefined, } } @@ -46669,7 +46702,7 @@ function music_MelodyPlayer_play__P1642_mk(s) { -function addForm_inline__P17431(s) { +function addForm_inline__P70460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46679,10 +46712,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.freqStart___17436 = undefined; - s.freqEnd___17438 = undefined; - s.envelopeWidth___17440 = undefined; - s.slope___17458 = undefined; + s.freqStart___70465 = undefined; + s.freqEnd___70467 = undefined; + s.envelopeWidth___70469 = undefined; + s.slope___70487 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -46691,9 +46724,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); - s.freqStart___17436 = (r0); + s.freqStart___70465 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); - s.freqEnd___17438 = (r0); + s.freqEnd___70467 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_1 = r0; r0 = (s.tmp_1 > 0); @@ -46717,7 +46750,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_7 = r0; - s.envelopeWidth___17440 = (s.tmp_7); + s.envelopeWidth___70469 = (s.tmp_7); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_1 = r0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); @@ -46729,35 +46762,35 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = (s.envelopeWidth___17440 != 0); + r0 = (s.envelopeWidth___70469 != 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___17438 - s.freqStart___17436); + r0 = (s.freqEnd___70467 - s.freqStart___70465); s.tmp_4 = r0; - r0 = (s.tmp_4 / s.envelopeWidth___17440); - s.slope___17458 = (r0); + r0 = (s.tmp_4 / s.envelopeWidth___70469); + s.slope___70487 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; - r0 = (s.slope___17458 * s.arg3); + r0 = (s.slope___70487 * s.arg3); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.freqStart___17436 = (r0); + s.freqStart___70465 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; - s.tmp_2 = r0 = s.slope___17458; + s.tmp_2 = r0 = s.slope___70487; 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___17438 = (r0); + s.freqEnd___70467 = (r0); case 5: case 6: s.tmp_0 = r0 = s.caps[6]; - s.tmp_2 = music_addNote__P1636_mk(s); + s.tmp_2 = music_addNote__P54648_mk(s); s.tmp_2.arg0 = s.caps[7]; r0 = pxsim_pxtrt_ldlocRef(s.caps[6]); s.tmp_2.arg1 = r0; @@ -46766,10 +46799,10 @@ switch (step) { s.tmp_2.arg4 = s.arg2; r0 = pxsim_pxtrt_ldlocRef(s.caps[8]); s.tmp_2.arg5 = r0; - s.tmp_2.arg6 = s.freqStart___17436; + s.tmp_2.arg6 = s.freqStart___70465; r0 = pxsim_pxtrt_ldlocRef(s.caps[9]); s.tmp_2.arg7 = r0; - s.tmp_2.arg8 = s.freqEnd___17438; + s.tmp_2.arg8 = s.freqEnd___70467; s.callLocIdx = 112; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -46779,12 +46812,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -addForm_inline__P17431.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"]} +addForm_inline__P70460.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__P17431_mk(s) { +function addForm_inline__P70460_mk(s) { checkStack(s.depth); return { - parent: s, fn: addForm_inline__P17431, depth: s.depth + 1, + parent: s, fn: addForm_inline__P70460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46794,10 +46827,10 @@ function addForm_inline__P17431_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - freqStart___17436: undefined, - freqEnd___17438: undefined, - envelopeWidth___17440: undefined, - slope___17458: undefined, + freqStart___70465: undefined, + freqEnd___70467: undefined, + envelopeWidth___70469: undefined, + slope___70487: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -46808,7 +46841,7 @@ function addForm_inline__P17431_mk(s) { -function scanNextWord_inline__P17491(s) { +function scanNextWord_inline__P70520(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -46818,9 +46851,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.c___17500 = undefined; - s.note___17517 = undefined; - s.c___17523 = undefined; + s.c___70529 = undefined; + s.note___70546 = undefined; + s.c___70552 = undefined; r0 = s.caps[0].fields["melody"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -46846,15 +46879,15 @@ switch (step) { r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_7 = r0; r0 = pxsim_String_.charAt(s.tmp_6, s.tmp_7); - s.c___17500 = (r0); - r0 = (s.c___17500 != " "); + s.c___70529 = (r0); + r0 = (s.c___70529 != " "); 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___17500 != "\r"); + r0 = (s.c___70529 != "\r"); case 5: // jmp value (already in r0) s.tmp_1 = r0; @@ -46863,7 +46896,7 @@ switch (step) { r0 = s.tmp_1; { step = 7; continue; } case 6: - r0 = (s.c___17500 != "\n"); + r0 = (s.c___70529 != "\n"); case 7: // jmp value (already in r0) s.tmp_2 = r0; @@ -46872,7 +46905,7 @@ switch (step) { r0 = s.tmp_2; { step = 9; continue; } case 8: - r0 = (s.c___17500 != "\t"); + r0 = (s.c___70529 != "\t"); case 9: // jmp value (already in r0) s.tmp_3 = r0; @@ -46890,7 +46923,7 @@ switch (step) { { step = 3; continue; } case 12: r0 = pxsim_String_.mkEmpty(); - s.note___17517 = (r0); + s.note___70546 = (r0); case 13: r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_1 = r0; @@ -46904,15 +46937,15 @@ switch (step) { r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_4 = r0; r0 = pxsim_String_.charAt(s.tmp_3, s.tmp_4); - s.c___17523 = (r0); - r0 = (s.c___17523 == " "); + s.c___70552 = (r0); + r0 = (s.c___70552 == " "); 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___17523 == "\r"); + r0 = (s.c___70552 == "\r"); case 15: // jmp value (already in r0) s.tmp_1 = r0; @@ -46921,7 +46954,7 @@ switch (step) { r0 = s.tmp_1; { step = 17; continue; } case 16: - r0 = (s.c___17523 == "\n"); + r0 = (s.c___70552 == "\n"); case 17: // jmp value (already in r0) s.tmp_2 = r0; @@ -46930,7 +46963,7 @@ switch (step) { r0 = s.tmp_2; { step = 19; continue; } case 18: - r0 = (s.c___17523 == "\t"); + r0 = (s.c___70552 == "\t"); case 19: // jmp value (already in r0) s.tmp_3 = r0; @@ -46939,26 +46972,26 @@ switch (step) { { step = 22; continue; } case 20: case 21: - if ((s.note___17517) && (s.note___17517).vtable) { + if ((s.note___70546) && (s.note___70546).vtable) { setupResume(s, 24); - pxsim_String__stringConv(s.note___17517); + pxsim_String__stringConv(s.note___70546); checkResumeConsumed(); return; - } else { s.retval = (s.note___17517) + ""; } + } else { s.retval = (s.note___70546) + ""; } case 24: r0 = s.retval; s.tmp_4 = r0; - if ((s.c___17523) && (s.c___17523).vtable) { + if ((s.c___70552) && (s.c___70552).vtable) { setupResume(s, 25); - pxsim_String__stringConv(s.c___17523); + pxsim_String__stringConv(s.c___70552); checkResumeConsumed(); return; - } else { s.retval = (s.c___17523) + ""; } + } else { s.retval = (s.c___70552) + ""; } case 25: r0 = s.retval; s.tmp_5 = r0; r0 = pxsim_String__concat(s.tmp_4, s.tmp_5); - s.note___17517 = (r0); + s.note___70546 = (r0); s.tmp_0 = r0 = s.caps[1]; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; @@ -46967,17 +47000,17 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 13; continue; } case 22: - r0 = s.note___17517; + r0 = s.note___70546; case 23: return leave(s, r0) default: oops() } } } -scanNextWord_inline__P17491.info = {"start":13056,"length":708,"line":395,"column":33,"endLine":417,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +scanNextWord_inline__P70520.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__P17491_mk(s) { +function scanNextWord_inline__P70520_mk(s) { checkStack(s.depth); return { - parent: s, fn: scanNextWord_inline__P17491, depth: s.depth + 1, + parent: s, fn: scanNextWord_inline__P70520, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -46987,16 +47020,16 @@ function scanNextWord_inline__P17491_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - c___17500: undefined, - note___17517: undefined, - c___17523: undefined, + c___70529: undefined, + note___70546: undefined, + c___70552: undefined, } } -function consumeToken_inline__P17552(s) { +function consumeToken_inline__P70581(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47006,7 +47039,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.d___17558 = undefined; + s.d___70587 = undefined; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -47022,14 +47055,14 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 15; continue; } - s.tmp_3 = parseInt__P97_mk(s); + s.tmp_3 = parseInt__P53109_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_3.arg0 = r0; s.tmp_3.arg1 = undefined; s.callLocIdx = 113; s.pc = 17; return s.tmp_3; case 17: r0 = s.retval; - s.d___17558 = (r0); + s.d___70587 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(1, s.tmp_0); @@ -47057,15 +47090,15 @@ switch (step) { r0 = s.tmp_0; { step = 14; continue; } case 3: - r0 = pxsim_pxtrt_stlocRef(s.caps[2], s.d___17558); + r0 = pxsim_pxtrt_stlocRef(s.caps[2], s.d___70587); { step = 14; continue; } case 4: s.tmp_0 = r0 = s.caps[3]; - s.tmp_2 = Math_max__P130_mk(s); + s.tmp_2 = Math_max__P53142_mk(s); s.tmp_2.arg0 = 1; - s.tmp_3 = Math_min__P131_mk(s); + s.tmp_3 = Math_min__P53143_mk(s); s.tmp_3.arg0 = 16; - s.tmp_3.arg1 = s.d___17558; + s.tmp_3.arg1 = s.d___70587; s.callLocIdx = 114; s.pc = 19; return s.tmp_3; case 19: r0 = s.retval; @@ -47079,9 +47112,9 @@ switch (step) { { step = 14; continue; } case 5: s.tmp_0 = r0 = s.caps[5]; - s.tmp_2 = Math_max__P130_mk(s); + s.tmp_2 = Math_max__P53142_mk(s); s.tmp_2.arg0 = 1; - s.tmp_2.arg1 = s.d___17558; + s.tmp_2.arg1 = s.d___70587; s.callLocIdx = 116; s.pc = 20; return s.tmp_2; case 20: r0 = s.retval; @@ -47089,18 +47122,18 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 14; continue; } case 6: - r0 = pxsim_pxtrt_stlocRef(s.caps[6], s.d___17558); + r0 = pxsim_pxtrt_stlocRef(s.caps[6], s.d___70587); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 6); { step = 14; continue; } case 7: - r0 = pxsim_pxtrt_stlocRef(s.caps[4], s.d___17558); + r0 = pxsim_pxtrt_stlocRef(s.caps[4], s.d___70587); { step = 14; continue; } case 8: s.tmp_0 = r0 = s.caps[7]; - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P53139_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = 18; - s.tmp_2.arg2 = s.d___17558; + s.tmp_2.arg2 = s.d___70587; s.callLocIdx = 117; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; @@ -47108,19 +47141,19 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 14; continue; } case 9: - r0 = pxsim_pxtrt_stlocRef(s.caps[8], s.d___17558); + r0 = pxsim_pxtrt_stlocRef(s.caps[8], s.d___70587); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 9); { step = 14; continue; } case 10: - r0 = pxsim_pxtrt_stlocRef(s.caps[9], s.d___17558); + r0 = pxsim_pxtrt_stlocRef(s.caps[9], s.d___70587); r0 = pxsim_pxtrt_stlocRef(s.caps[1], 10); { step = 14; continue; } case 11: s.tmp_0 = r0 = s.caps[10]; - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P53139_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = 255; - s.tmp_2.arg2 = s.d___17558; + s.tmp_2.arg2 = s.d___70587; s.callLocIdx = 118; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; @@ -47129,10 +47162,10 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.caps[1], 11); { step = 14; continue; } case 12: - r0 = pxsim_pxtrt_stlocRef(s.caps[11], s.d___17558); + r0 = pxsim_pxtrt_stlocRef(s.caps[11], s.d___70587); { step = 14; continue; } case 13: - r0 = pxsim_pxtrt_stlocRef(s.caps[12], s.d___17558); + r0 = pxsim_pxtrt_stlocRef(s.caps[12], s.d___70587); case 14: s.tmp_0 = r0 = s.caps[0]; r0 = pxsim_String_.mkEmpty(); @@ -47144,25 +47177,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -consumeToken_inline__P17552.info = {"start":15050,"length":1189,"line":456,"column":33,"endLine":477,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +consumeToken_inline__P70581.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__P17552_mk(s) { +function consumeToken_inline__P70581_mk(s) { checkStack(s.depth); return { - parent: s, fn: consumeToken_inline__P17552, depth: s.depth + 1, + parent: s, fn: consumeToken_inline__P70581, 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___17558: undefined, + d___70587: undefined, } } -function music_MelodyPlayer_queuePlayInstructions__P4586(s) { +function music_MelodyPlayer_queuePlayInstructions__P57599(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47179,18 +47212,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C1637_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C54649_VT)) failedCast(r0); r0 = pxsim.music.queuePlayInstructions(s.arg1, s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayer_queuePlayInstructions__P4586.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"]} +music_MelodyPlayer_queuePlayInstructions__P57599.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__P4586_mk(s) { +function music_MelodyPlayer_queuePlayInstructions__P57599_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_queuePlayInstructions__P4586, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_queuePlayInstructions__P57599, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -47201,7 +47234,7 @@ function music_MelodyPlayer_queuePlayInstructions__P4586_mk(s) { -function music_addNote__P1636(s) { +function music_addNote__P54648(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47269,12 +47302,12 @@ switch (step) { 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"]} +music_addNote__P54648.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) { +function music_addNote__P54648_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P1636, depth: s.depth + 1, + parent: s, fn: music_addNote__P54648, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47295,7 +47328,7 @@ function music_addNote__P1636_mk(s) { -function music_volume__P1621(s) { +function music_volume__P54633(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47305,20 +47338,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P4578_mk(s); + s.tmp_0 = music_initVolume__P57591_mk(s); s.callLocIdx = 80; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___4574; + r0 = globals.globalVolume___57587; 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":[]} +music_volume__P54633.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) { +function music_volume__P54633_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P1621, depth: s.depth + 1, + parent: s, fn: music_volume__P54633, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -47327,7 +47360,7 @@ function music_volume__P1621_mk(s) { -function music_initVolume__P4578(s) { +function music_initVolume__P57591(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47337,12 +47370,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___4574 === null); + r0 = (globals.globalVolume___57587 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___4574 = (0); - s.tmp_0 = music_setVolume__P1620_mk(s); + globals.globalVolume___57587 = (0); + s.tmp_0 = music_setVolume__P54632_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; s.callLocIdx = 77; s.pc = 3; return s.tmp_0; @@ -47354,12 +47387,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P4578.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P57591.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__P4578_mk(s) { +function music_initVolume__P57591_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P4578, depth: s.depth + 1, + parent: s, fn: music_initVolume__P57591, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -47368,7 +47401,7 @@ function music_initVolume__P4578_mk(s) { -function music_setVolume__P1620(s) { +function music_setVolume__P54632(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47382,7 +47415,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P127_mk(s); + s.tmp_0 = Math_clamp__P53139_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); @@ -47390,8 +47423,8 @@ switch (step) { s.callLocIdx = 78; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___4574 = (r0); - r0 = (globals.globalVolume___4574 > 0); + globals.globalVolume___57587 = (r0); + r0 = (globals.globalVolume___57587 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -47407,12 +47440,12 @@ switch (step) { 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"]} +music_setVolume__P54632.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) { +function music_setVolume__P54632_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P1620, depth: s.depth + 1, + parent: s, fn: music_setVolume__P54632, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47423,7 +47456,7 @@ function music_setVolume__P1620_mk(s) { -function music_enableAmp__P4577(s) { +function music_enableAmp__P57590(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47441,12 +47474,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P4577.info = {"start":944,"length":64,"line":29,"column":4,"endLine":31,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"enableAmp","argumentNames":["en"]} +music_enableAmp__P57590.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__P4577_mk(s) { +function music_enableAmp__P57590_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P4577, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P57590, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -47455,7 +47488,7 @@ function music_enableAmp__P4577_mk(s) { -function parseInt__P97(s) { +function parseInt__P53109(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47465,13 +47498,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___17845 = undefined; - s.sign___17875 = undefined; - s.output___17920 = undefined; - s.hasDigit___17921 = undefined; - s.i___17922 = undefined; - s.code___17929 = undefined; - s.val___17936 = undefined; + s.start___70874 = undefined; + s.sign___70904 = undefined; + s.output___70949 = undefined; + s.hasDigit___70950 = undefined; + s.i___70951 = undefined; + s.code___70958 = undefined; + s.val___70965 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -47518,9 +47551,9 @@ switch (step) { { step = 46; continue; } case 7: case 8: - s.start___17845 = (0); + s.start___70874 = (0); case 9: - s.tmp_1 = r0 = s.start___17845; + s.tmp_1 = r0 = s.start___70874; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -47530,8 +47563,8 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - s.tmp_3 = helpers_isWhitespace__P124_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.start___17845); + s.tmp_3 = helpers_isWhitespace__P53136_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.start___70874); s.tmp_3.arg0 = r0; s.callLocIdx = 0; s.pc = 47; return s.tmp_3; case 47: @@ -47541,11 +47574,11 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 12; continue; } - r0 = (s.start___17845 + 1); - s.start___17845 = (r0); + r0 = (s.start___70874 + 1); + s.start___70874 = (r0); { step = 9; continue; } case 12: - s.tmp_1 = r0 = s.start___17845; + s.tmp_1 = r0 = s.start___70874; r0 = pxsim_String_.length(s.arg0); s.tmp_2 = r0; r0 = (s.tmp_1 === s.tmp_2); @@ -47556,8 +47589,8 @@ switch (step) { { step = 46; continue; } case 13: case 14: - s.sign___17875 = (1); - r0 = pxsim_String_.charAt(s.arg0, s.start___17845); + s.sign___70904 = (1); + r0 = pxsim_String_.charAt(s.arg0, s.start___70874); s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq("-", s.tmp_0); if (r0) { step = 15; continue; } @@ -47566,10 +47599,10 @@ switch (step) { r0 = s.tmp_0; { step = 17; continue; } case 15: - s.sign___17875 = (-1); + s.sign___70904 = (-1); case 16: - r0 = (s.start___17845 + 1); - s.start___17845 = (r0); + r0 = (s.start___70874 + 1); + s.start___70874 = (r0); case 17: r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; @@ -47589,7 +47622,7 @@ switch (step) { r0 = s.tmp_2; { step = 21; continue; } case 20: - r0 = pxsim_String_.charAt(s.arg0, s.start___17845); + r0 = pxsim_String_.charAt(s.arg0, s.start___70874); s.tmp_3 = r0; r0 = ("0" === s.tmp_3); case 21: @@ -47601,7 +47634,7 @@ switch (step) { { step = 25; continue; } case 22: s.tmp_7 = r0 = s.arg0; - r0 = (s.start___17845 + 1); + r0 = (s.start___70874 + 1); s.tmp_8 = r0; r0 = pxsim_String_.charAt(s.tmp_7, s.tmp_8); s.tmp_6 = r0; @@ -47613,7 +47646,7 @@ switch (step) { { step = 24; continue; } case 23: s.tmp_10 = r0 = s.arg0; - r0 = (s.start___17845 + 1); + r0 = (s.start___70874 + 1); s.tmp_11 = r0; r0 = pxsim_String_.charAt(s.tmp_10, s.tmp_11); s.tmp_9 = r0; @@ -47628,8 +47661,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_13); if (!r0) { step = 26; continue; } s.arg1 = (16); - r0 = (s.start___17845 + 2); - s.start___17845 = (r0); + r0 = (s.start___70874 + 2); + s.start___70874 = (r0); { step = 29; continue; } case 26: r0 = pxsim_numops_toBoolDecr(s.arg1); @@ -47642,73 +47675,73 @@ switch (step) { case 27: case 28: case 29: - s.output___17920 = (0); - s.hasDigit___17921 = (false); - s.i___17922 = (s.start___17845); + s.output___70949 = (0); + s.hasDigit___70950 = (false); + s.i___70951 = (s.start___70874); case 30: - s.tmp_1 = r0 = s.i___17922; + s.tmp_1 = r0 = s.i___70951; 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___17922); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___70951); s.tmp_3 = r0; r0 = (s.tmp_3 | 32); - s.code___17929 = (r0); - s.val___17936 = (undefined); - r0 = (s.code___17929 >= 48); + s.code___70958 = (r0); + s.val___70965 = (undefined); + r0 = (s.code___70958 >= 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___17929 < 58); + r0 = (s.code___70958 < 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___17929 - 48); - s.val___17936 = (r0); + r0 = (s.code___70958 - 48); + s.val___70965 = (r0); { step = 38; continue; } case 33: - r0 = (s.code___17929 >= 97); + r0 = (s.code___70958 >= 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___17929 < 123); + r0 = (s.code___70958 < 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___17929); + r0 = (10 + s.code___70958); s.tmp_2 = r0; r0 = (s.tmp_2 - 97); - s.val___17936 = (r0); + s.val___70965 = (r0); case 36: case 37: case 38: - r0 = (s.val___17936 == undefined); + r0 = (s.val___70965 == 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___17936 >= s.arg1); + r0 = (s.val___70965 >= 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___17921); + r0 = pxsim_numops_toBoolDecr(s.hasDigit___70950); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -47721,26 +47754,26 @@ switch (step) { { step = 45; continue; } case 43: case 44: - s.hasDigit___17921 = (true); - r0 = (s.output___17920 * s.arg1); + s.hasDigit___70950 = (true); + r0 = (s.output___70949 * s.arg1); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.val___17936); - s.output___17920 = (r0); - r0 = (s.i___17922 + 1); - s.i___17922 = (r0); + r0 = (s.tmp_0 + s.val___70965); + s.output___70949 = (r0); + r0 = (s.i___70951 + 1); + s.i___70951 = (r0); { step = 30; continue; } case 45: - r0 = (s.sign___17875 * s.output___17920); + r0 = (s.sign___70904 * s.output___70949); case 46: return leave(s, r0) default: oops() } } } -parseInt__P97.info = {"start":1064,"length":1690,"line":44,"column":0,"endLine":103,"endColumn":1,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"parseInt","argumentNames":["text","radix"]} +parseInt__P53109.info = {"start":1064,"length":1690,"line":44,"column":0,"endLine":103,"endColumn":1,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"parseInt","argumentNames":["text","radix"]} -function parseInt__P97_mk(s) { +function parseInt__P53109_mk(s) { checkStack(s.depth); return { - parent: s, fn: parseInt__P97, depth: s.depth + 1, + parent: s, fn: parseInt__P53109, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -47756,13 +47789,13 @@ function parseInt__P97_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - start___17845: undefined, - sign___17875: undefined, - output___17920: undefined, - hasDigit___17921: undefined, - i___17922: undefined, - code___17929: undefined, - val___17936: undefined, + start___70874: undefined, + sign___70904: undefined, + output___70949: undefined, + hasDigit___70950: undefined, + i___70951: undefined, + code___70958: undefined, + val___70965: undefined, arg0: undefined, arg1: undefined, } } @@ -47771,7 +47804,7 @@ function parseInt__P97_mk(s) { -function helpers_isWhitespace__P124(s) { +function helpers_isWhitespace__P53136(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47828,12 +47861,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_isWhitespace__P124.info = {"start":14864,"length":674,"line":503,"column":4,"endLine":520,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isWhitespace","argumentNames":["c"]} +helpers_isWhitespace__P53136.info = {"start":14864,"length":674,"line":503,"column":4,"endLine":520,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isWhitespace","argumentNames":["c"]} -function helpers_isWhitespace__P124_mk(s) { +function helpers_isWhitespace__P53136_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_isWhitespace__P124, depth: s.depth + 1, + parent: s, fn: helpers_isWhitespace__P53136, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -47843,7 +47876,7 @@ function helpers_isWhitespace__P124_mk(s) { -function music_MelodyPlayer_constructor__P1640(s) { +function music_MelodyPlayer_constructor__P54652(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47859,18 +47892,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayer__C1637_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayer__C54649_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"]} +music_MelodyPlayer_constructor__P54652.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) { +function music_MelodyPlayer_constructor__P54652_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayer_constructor__P1640, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayer_constructor__P54652, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -47880,7 +47913,7 @@ function music_MelodyPlayer_constructor__P1640_mk(s) { -function sprites_set_flame_strength__P4412(s) { +function sprites_set_flame_strength__P57425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47895,22 +47928,22 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = forestFire_setFireHealth__P4424_mk(s); + s.tmp_0 = forestFire_setFireHealth__P57437_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 2347; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2348; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_set_flame_strength__P4412.info = {"start":1290,"length":135,"line":55,"column":4,"endLine":57,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"set_flame_strength","argumentNames":["location","health"]} +sprites_set_flame_strength__P57425.info = {"start":1290,"length":135,"line":55,"column":4,"endLine":57,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"set_flame_strength","argumentNames":["location","health"]} -function sprites_set_flame_strength__P4412_mk(s) { +function sprites_set_flame_strength__P57425_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_set_flame_strength__P4412, depth: s.depth + 1, + parent: s, fn: sprites_set_flame_strength__P57425, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -47921,7 +47954,7 @@ function sprites_set_flame_strength__P4412_mk(s) { -function forestFire_setFireHealth__P4424(s) { +function forestFire_setFireHealth__P57437(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47936,23 +47969,23 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = forestFire_FireState_setFireHealth__P7157_mk(s); - s.tmp_0.arg0 = globals.state___7161; + s.tmp_0 = forestFire_FireState_setFireHealth__P60170_mk(s); + s.tmp_0.arg0 = globals.state___60174; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 2417; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2418; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -forestFire_setFireHealth__P4424.info = {"start":11230,"length":126,"line":301,"column":4,"endLine":303,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"setFireHealth","argumentNames":["location","health"]} +forestFire_setFireHealth__P57437.info = {"start":11230,"length":126,"line":301,"column":4,"endLine":303,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"setFireHealth","argumentNames":["location","health"]} -function forestFire_setFireHealth__P4424_mk(s) { +function forestFire_setFireHealth__P57437_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_setFireHealth__P4424, depth: s.depth + 1, + parent: s, fn: forestFire_setFireHealth__P57437, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -47963,7 +47996,7 @@ function forestFire_setFireHealth__P4424_mk(s) { -function fire_inline__P18143(s) { +function fire_inline__P71172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -47973,55 +48006,55 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___18146 = undefined; - s.src___18149 = undefined; + s.factory___71175 = undefined; + s.src___71178 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_FireFactory__C3200_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_FireFactory__C56212_VT); s.tmp_0 = r0; - s.tmp_1 = particles_FireFactory_constructor__P3201_mk(s); + s.tmp_1 = particles_FireFactory_constructor__P56213_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 5; s.callLocIdx = 55; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - s.factory___18146 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(particles_FireSource__C3153_VT); + s.factory___71175 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(particles_FireSource__C56165_VT); s.tmp_0 = r0; - s.tmp_1 = particles_FireSource_constructor__P3154_mk(s); + s.tmp_1 = particles_FireSource_constructor__P56166_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___18146; + s.tmp_1.arg3 = s.factory___71175; s.callLocIdx = 56; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.src___18149 = (s.tmp_0); - s.tmp_0 = particles_ParticleSource_setAcceleration__P3140_mk(s); - s.tmp_0.arg0 = s.src___18149; + s.src___71178 = (s.tmp_0); + s.tmp_0 = particles_ParticleSource_setAcceleration__P56152_mk(s); + s.tmp_0.arg0 = s.src___71178; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = -20; s.callLocIdx = 57; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - r0 = s.src___18149; + r0 = s.src___71178; return leave(s, r0) default: oops() } } } -fire_inline__P18143.info = {"start":9582,"length":273,"line":248,"column":53,"endLine":253,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} +fire_inline__P71172.info = {"start":9582,"length":273,"line":248,"column":53,"endLine":253,"endColumn":5,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"inline","argumentNames":["anchor","particlesPerSecond"]} -function fire_inline__P18143_mk(s) { +function fire_inline__P71172_mk(s) { checkStack(s.depth); return { - parent: s, fn: fire_inline__P18143, depth: s.depth + 1, + parent: s, fn: fire_inline__P71172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - factory___18146: undefined, - src___18149: undefined, + factory___71175: undefined, + src___71178: undefined, arg0: undefined, arg1: undefined, } } @@ -48030,7 +48063,7 @@ function fire_inline__P18143_mk(s) { -function particles_FireSource_constructor__P3154(s) { +function particles_FireSource_constructor__P56166(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48048,40 +48081,40 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_FireSource__C3153_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_constructor__P3136_mk(s); + if (!checkSubtype(r0, particles_FireSource__C56165_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_constructor__P56148_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = s.arg3; - s.callLocIdx = 1875; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1876; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C3039_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C56051_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P3041_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P56053_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1876; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1877; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["galois"] = (s.tmp_0); - s.tmp_0 = sprites_BaseSprite_z__P2080_mk(s); + s.tmp_0 = sprites_BaseSprite_z__P55092_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 20; - s.callLocIdx = 1877; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1878; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -particles_FireSource_constructor__P3154.info = {"start":10378,"length":232,"line":342,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} +particles_FireSource_constructor__P56166.info = {"start":10378,"length":232,"line":342,"column":8,"endLine":346,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"inline","argumentNames":["this","anchor","particlesPerSecond","factory"]} -function particles_FireSource_constructor__P3154_mk(s) { +function particles_FireSource_constructor__P56166_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_FireSource_constructor__P3154, depth: s.depth + 1, + parent: s, fn: particles_FireSource_constructor__P56166, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48095,7 +48128,7 @@ function particles_FireSource_constructor__P3154_mk(s) { -function particles_FireFactory_constructor__P3201(s) { +function particles_FireFactory_constructor__P56213(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48111,18 +48144,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_FireFactory__C3200_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_FireFactory__C56212_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P5387_mk(s); - s.callLocIdx = 1943; s.pc = 1; return s.tmp_0; + s.tmp_0 = particles_initTrig__P58400_mk(s); + s.callLocIdx = 1944; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C3039_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C56051_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P3041_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P56053_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; - s.callLocIdx = 1944; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1945; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["galois"] = (s.tmp_0); @@ -48135,12 +48168,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_FireFactory_constructor__P3201.info = {"start":8654,"length":212,"line":282,"column":8,"endLine":288,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","radius"]} +particles_FireFactory_constructor__P56213.info = {"start":8654,"length":212,"line":282,"column":8,"endLine":288,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"inline","argumentNames":["this","radius"]} -function particles_FireFactory_constructor__P3201_mk(s) { +function particles_FireFactory_constructor__P56213_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_FireFactory_constructor__P3201, depth: s.depth + 1, + parent: s, fn: particles_FireFactory_constructor__P56213, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48152,7 +48185,7 @@ function particles_FireFactory_constructor__P3201_mk(s) { -function scene_createParticleEffectAtLocation__P4403(s) { +function scene_createParticleEffectAtLocation__P57416(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48168,25 +48201,25 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = effects_ParticleEffect_start__P3244_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P56256_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 5; s.tmp_0.arg4 = undefined; - s.callLocIdx = 2331; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2332; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_createParticleEffectAtLocation__P4403.info = {"start":195,"length":175,"line":5,"column":4,"endLine":7,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/particles.ts","functionName":"createParticleEffectAtLocation","argumentNames":["location","effect","duration"]} +scene_createParticleEffectAtLocation__P57416.info = {"start":195,"length":175,"line":5,"column":4,"endLine":7,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/particles.ts","functionName":"createParticleEffectAtLocation","argumentNames":["location","effect","duration"]} -function scene_createParticleEffectAtLocation__P4403_mk(s) { +function scene_createParticleEffectAtLocation__P57416_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createParticleEffectAtLocation__P4403, depth: s.depth + 1, + parent: s, fn: scene_createParticleEffectAtLocation__P57416, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -48198,7 +48231,7 @@ function scene_createParticleEffectAtLocation__P4403_mk(s) { -function sprites_on_fire_created__P4418(s) { +function sprites_on_fire_created__P57431(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48212,21 +48245,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = forestFire_onFireCreated__P4428_mk(s); + s.tmp_0 = forestFire_onFireCreated__P57441_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2355; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2356; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_on_fire_created__P4418.info = {"start":4828,"length":127,"line":161,"column":4,"endLine":163,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"on_fire_created","argumentNames":["handler"]} +sprites_on_fire_created__P57431.info = {"start":4828,"length":127,"line":161,"column":4,"endLine":163,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"on_fire_created","argumentNames":["handler"]} -function sprites_on_fire_created__P4418_mk(s) { +function sprites_on_fire_created__P57431_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_on_fire_created__P4418, depth: s.depth + 1, + parent: s, fn: sprites_on_fire_created__P57431, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -48236,7 +48269,7 @@ function sprites_on_fire_created__P4418_mk(s) { -function forestFire_onFireCreated__P4428(s) { +function forestFire_onFireCreated__P57441(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48250,22 +48283,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = forestFire_FireState_onFireCreated__P7155_mk(s); - s.tmp_0.arg0 = globals.state___7161; + s.tmp_0 = forestFire_FireState_onFireCreated__P60168_mk(s); + s.tmp_0.arg0 = globals.state___60174; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 2421; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2422; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -forestFire_onFireCreated__P4428.info = {"start":11706,"length":120,"line":317,"column":4,"endLine":319,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"onFireCreated","argumentNames":["handler"]} +forestFire_onFireCreated__P57441.info = {"start":11706,"length":120,"line":317,"column":4,"endLine":319,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"onFireCreated","argumentNames":["handler"]} -function forestFire_onFireCreated__P4428_mk(s) { +function forestFire_onFireCreated__P57441_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_onFireCreated__P4428, depth: s.depth + 1, + parent: s, fn: forestFire_onFireCreated__P57441, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -48275,7 +48308,7 @@ function forestFire_onFireCreated__P4428_mk(s) { -function forestFire_FireState_onFireCreated__P7155(s) { +function forestFire_FireState_onFireCreated__P60168(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48291,7 +48324,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, forestFire_FireState__C7146_VT)) failedCast(r0); + if (!checkSubtype(r0, forestFire_FireState__C60159_VT)) failedCast(r0); r0 = s.arg0.fields["fireCreatedHandlers"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -48299,12 +48332,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forestFire_FireState_onFireCreated__P7155.info = {"start":9335,"length":122,"line":247,"column":8,"endLine":249,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"onFireCreated","argumentNames":["this","handler"]} +forestFire_FireState_onFireCreated__P60168.info = {"start":9335,"length":122,"line":247,"column":8,"endLine":249,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"onFireCreated","argumentNames":["this","handler"]} -function forestFire_FireState_onFireCreated__P7155_mk(s) { +function forestFire_FireState_onFireCreated__P60168_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_FireState_onFireCreated__P7155, depth: s.depth + 1, + parent: s, fn: forestFire_FireState_onFireCreated__P60168, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -48315,7 +48348,7 @@ function forestFire_FireState_onFireCreated__P7155_mk(s) { -function music_createSoundEffect__P1778(s) { +function music_createSoundEffect__P54790(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48325,7 +48358,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.result___18690 = undefined; + s.result___71719 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -48337,36 +48370,36 @@ switch (step) { s.arg7 = (s.lambdaArgs[7]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(music_SoundEffect__C1765_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_SoundEffect__C54777_VT); s.tmp_0 = r0; - s.tmp_1 = music_SoundEffect_constructor__P1774_mk(s); + s.tmp_1 = music_SoundEffect_constructor__P54786_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 146; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - s.result___18690 = (s.tmp_0); - r0 = (s.result___18690).fields["waveShape"] = (s.arg0); - r0 = (s.result___18690).fields["startFrequency"] = (s.arg1); - r0 = (s.result___18690).fields["endFrequency"] = (s.arg2); - r0 = (s.result___18690).fields["startVolume"] = (s.arg3); - r0 = (s.result___18690).fields["endVolume"] = (s.arg4); - r0 = (s.result___18690).fields["duration"] = (s.arg5); - r0 = (s.result___18690).fields["effect"] = (s.arg6); - r0 = (s.result___18690).fields["interpolation"] = (s.arg7); - r0 = s.result___18690; + s.result___71719 = (s.tmp_0); + r0 = (s.result___71719).fields["waveShape"] = (s.arg0); + r0 = (s.result___71719).fields["startFrequency"] = (s.arg1); + r0 = (s.result___71719).fields["endFrequency"] = (s.arg2); + r0 = (s.result___71719).fields["startVolume"] = (s.arg3); + r0 = (s.result___71719).fields["endVolume"] = (s.arg4); + r0 = (s.result___71719).fields["duration"] = (s.arg5); + r0 = (s.result___71719).fields["effect"] = (s.arg6); + r0 = (s.result___71719).fields["interpolation"] = (s.arg7); + r0 = s.result___71719; return leave(s, r0) default: oops() } } } -music_createSoundEffect__P1778.info = {"start":4915,"length":637,"line":161,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"createSoundEffect","argumentNames":["waveShape","startFrequency","endFrequency","startVolume","endVolume","duration","effect","interpolation"]} +music_createSoundEffect__P54790.info = {"start":4915,"length":637,"line":161,"column":4,"endLine":174,"endColumn":5,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"createSoundEffect","argumentNames":["waveShape","startFrequency","endFrequency","startVolume","endVolume","duration","effect","interpolation"]} -function music_createSoundEffect__P1778_mk(s) { +function music_createSoundEffect__P54790_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_createSoundEffect__P1778, depth: s.depth + 1, + parent: s, fn: music_createSoundEffect__P54790, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - result___18690: undefined, + result___71719: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -48381,7 +48414,7 @@ function music_createSoundEffect__P1778_mk(s) { -function music_SoundEffect_constructor__P1774(s) { +function music_SoundEffect_constructor__P54786(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48396,7 +48429,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_SoundEffect__C1765_VT)) failedCast(r0); + if (!checkSubtype(r0, music_SoundEffect__C54777_VT)) failedCast(r0); r0 = undefined; r0 = (s.arg0).fields["waveShape"] = (0); r0 = (s.arg0).fields["startFrequency"] = (5000); @@ -48410,12 +48443,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_SoundEffect_constructor__P1774.info = {"start":998,"length":382,"line":51,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"inline","argumentNames":["this"]} +music_SoundEffect_constructor__P54786.info = {"start":998,"length":382,"line":51,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"inline","argumentNames":["this"]} -function music_SoundEffect_constructor__P1774_mk(s) { +function music_SoundEffect_constructor__P54786_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_SoundEffect_constructor__P1774, depth: s.depth + 1, + parent: s, fn: music_SoundEffect_constructor__P54786, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -48424,7 +48457,7 @@ function music_SoundEffect_constructor__P1774_mk(s) { -function music_play__P1907(s) { +function music_play__P54919(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48439,10 +48472,10 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = music_Playable__C1896_v0_2_mk(s); + s.tmp_0 = music_Playable__C54908_v0_2_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - if (!checkSubtype(s.tmp_0.arg0, music_Playable__C1896_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, music_Playable__C54908_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.play; s.pc = 1; return s.tmp_0; case 1: @@ -48451,12 +48484,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_play__P1907.info = {"start":2835,"length":109,"line":110,"column":4,"endLine":112,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"play","argumentNames":["toPlay","playbackMode"]} +music_play__P54919.info = {"start":2835,"length":109,"line":110,"column":4,"endLine":112,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"play","argumentNames":["toPlay","playbackMode"]} -function music_play__P1907_mk(s) { +function music_play__P54919_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_play__P1907, depth: s.depth + 1, + parent: s, fn: music_play__P54919, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -48467,7 +48500,7 @@ function music_play__P1907_mk(s) { -function music_Playable_play__P1899(s) { +function music_Playable_play__P54911(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48483,17 +48516,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Playable__C1896_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Playable__C54908_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Playable_play__P1899.info = {"start":1122,"length":68,"line":51,"column":8,"endLine":53,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"play","argumentNames":["this","playbackMode"]} +music_Playable_play__P54911.info = {"start":1122,"length":68,"line":51,"column":8,"endLine":53,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"play","argumentNames":["this","playbackMode"]} -function music_Playable_play__P1899_mk(s) { +function music_Playable_play__P54911_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Playable_play__P1899, depth: s.depth + 1, + parent: s, fn: music_Playable_play__P54911, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -48503,7 +48536,7 @@ function music_Playable_play__P1899_mk(s) { -function helpers_getImageByName__P3316(s) { +function helpers_getImageByName__P56328(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48517,21 +48550,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers__getFactoryInstance__P3313_mk(s); + s.tmp_0 = helpers__getFactoryInstance__P56325_mk(s); s.tmp_0.arg0 = "image"; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 2082; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2083; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -helpers_getImageByName__P3316.info = {"start":2881,"length":103,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"getImageByName","argumentNames":["name"]} +helpers_getImageByName__P56328.info = {"start":2881,"length":103,"line":87,"column":4,"endLine":89,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"getImageByName","argumentNames":["name"]} -function helpers_getImageByName__P3316_mk(s) { +function helpers_getImageByName__P56328_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_getImageByName__P3316, depth: s.depth + 1, + parent: s, fn: helpers_getImageByName__P56328, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -48541,7 +48574,7 @@ function helpers_getImageByName__P3316_mk(s) { -function assets_image__P3307(s) { +function assets_image__P56319(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48560,12 +48593,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -assets_image__P3307.info = {"start":931,"length":71,"line":26,"column":4,"endLine":26,"endColumn":75,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"image","argumentNames":["lits","args"]} +assets_image__P56319.info = {"start":931,"length":71,"line":26,"column":4,"endLine":26,"endColumn":75,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"image","argumentNames":["lits","args"]} -function assets_image__P3307_mk(s) { +function assets_image__P56319_mk(s) { checkStack(s.depth); return { - parent: s, fn: assets_image__P3307, depth: s.depth + 1, + parent: s, fn: assets_image__P56319, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -48575,7 +48608,7 @@ function assets_image__P3307_mk(s) { -function sprites_spray__P4414(s) { +function sprites_spray__P57427(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48585,15 +48618,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.waterProj___18818 = undefined; + s.waterProj___71847 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_1 = controller_Button__C2170_v0_1_mk(s); - s.tmp_1.arg0 = globals.up___2097; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C55182_v0_1_mk(s); + s.tmp_1.arg0 = globals.up___55109; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C55182_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: @@ -48601,9 +48634,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_3 = controller_Button__C2170_v0_1_mk(s); - s.tmp_3.arg0 = globals.left___2096; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_3.arg0); + s.tmp_3 = controller_Button__C55182_v0_1_mk(s); + s.tmp_3.arg0 = globals.left___55108; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed; s.pc = 32; return s.tmp_3; case 32: @@ -48611,12 +48644,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 1; continue; } - globals.facing___7141 = (225); + globals.facing___60154 = (225); { step = 6; continue; } case 1: - s.tmp_1 = controller_Button__C2170_v0_1_mk(s); - s.tmp_1.arg0 = globals.right___2098; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C55182_v0_1_mk(s); + s.tmp_1.arg0 = globals.right___55110; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 33; return s.tmp_1; case 33: @@ -48624,12 +48657,12 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - globals.facing___7141 = (315); + globals.facing___60154 = (315); { step = 5; continue; } case 2: - s.tmp_1 = controller_Button__C2170_v0_1_mk(s); - s.tmp_1.arg0 = globals.down___2099; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C55182_v0_1_mk(s); + s.tmp_1.arg0 = globals.down___55111; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 34; return s.tmp_1; case 34: @@ -48639,15 +48672,15 @@ switch (step) { if (!r0) { step = 3; continue; } { step = 4; continue; } case 3: - globals.facing___7141 = (270); + globals.facing___60154 = (270); case 4: case 5: case 6: { step = 20; continue; } case 7: - s.tmp_1 = controller_Button__C2170_v0_1_mk(s); - s.tmp_1.arg0 = globals.left___2096; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C55182_v0_1_mk(s); + s.tmp_1.arg0 = globals.left___55108; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 35; return s.tmp_1; case 35: @@ -48655,9 +48688,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_3 = controller_Button__C2170_v0_1_mk(s); - s.tmp_3.arg0 = globals.right___2098; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_3.arg0); + s.tmp_3 = controller_Button__C55182_v0_1_mk(s); + s.tmp_3.arg0 = globals.right___55110; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed; s.pc = 36; return s.tmp_3; case 36: @@ -48667,9 +48700,9 @@ switch (step) { if (!r0) { step = 8; continue; } { step = 11; continue; } case 8: - s.tmp_5 = controller_Button__C2170_v0_1_mk(s); - s.tmp_5.arg0 = globals.down___2099; - if (!checkSubtype(s.tmp_5.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_5.arg0); + s.tmp_5 = controller_Button__C55182_v0_1_mk(s); + s.tmp_5.arg0 = globals.down___55111; + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_5.arg0); s.tmp_5.fn = s.tmp_5.arg0.vtable.methods.isPressed; s.pc = 37; return s.tmp_5; case 37: @@ -48677,17 +48710,17 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 9; continue; } - globals.facing___7141 = (135); + globals.facing___60154 = (135); { step = 10; continue; } case 9: - globals.facing___7141 = (180); + globals.facing___60154 = (180); case 10: case 11: { step = 19; continue; } case 12: - s.tmp_1 = controller_Button__C2170_v0_1_mk(s); - s.tmp_1.arg0 = globals.right___2098; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C55182_v0_1_mk(s); + s.tmp_1.arg0 = globals.right___55110; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 38; return s.tmp_1; case 38: @@ -48695,9 +48728,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_3 = controller_Button__C2170_v0_1_mk(s); - s.tmp_3.arg0 = globals.down___2099; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_3.arg0); + s.tmp_3 = controller_Button__C55182_v0_1_mk(s); + s.tmp_3.arg0 = globals.down___55111; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.isPressed; s.pc = 39; return s.tmp_3; case 39: @@ -48705,16 +48738,16 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 13; continue; } - globals.facing___7141 = (45); + globals.facing___60154 = (45); { step = 14; continue; } case 13: - globals.facing___7141 = (0); + globals.facing___60154 = (0); case 14: { step = 18; continue; } case 15: - s.tmp_1 = controller_Button__C2170_v0_1_mk(s); - s.tmp_1.arg0 = globals.down___2099; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_1.arg0); + s.tmp_1 = controller_Button__C55182_v0_1_mk(s); + s.tmp_1.arg0 = globals.down___55111; + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C55182_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.isPressed; s.pc = 40; return s.tmp_1; case 40: @@ -48722,16 +48755,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - globals.facing___7141 = (90); + globals.facing___60154 = (90); case 16: case 17: case 18: case 19: case 20: - s.tmp_2 = Math_abs__P128_mk(s); - r0 = (globals.facing___7141 - globals.hoseDirection___7143); + s.tmp_2 = Math_abs__P53140_mk(s); + r0 = (globals.facing___60154 - globals.hoseDirection___60156); s.tmp_2.arg0 = r0; - s.callLocIdx = 2349; s.pc = 41; return s.tmp_2; + s.callLocIdx = 2350; s.pc = 41; return s.tmp_2; case 41: r0 = s.retval; s.tmp_1 = r0; @@ -48739,60 +48772,60 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 23; continue; } - r0 = (globals.facing___7141 < globals.hoseDirection___7143); + r0 = (globals.facing___60154 < globals.hoseDirection___60156); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 21; continue; } - s.tmp_4 = r0 = globals.hoseDirection___7143; - r0 = (0 - globals.changeRate___7145); + s.tmp_4 = r0 = globals.hoseDirection___60156; + r0 = (0 - globals.changeRate___60158); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - globals.hoseDirection___7143 = (r0); + globals.hoseDirection___60156 = (r0); { step = 22; continue; } case 21: - r0 = (globals.hoseDirection___7143 + globals.changeRate___7145); - globals.hoseDirection___7143 = (r0); + r0 = (globals.hoseDirection___60156 + globals.changeRate___60158); + globals.hoseDirection___60156 = (r0); case 22: { step = 30; continue; } case 23: - r0 = (globals.facing___7141 < globals.hoseDirection___7143); + r0 = (globals.facing___60154 < globals.hoseDirection___60156); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - r0 = (globals.hoseDirection___7143 + globals.changeRate___7145); - globals.hoseDirection___7143 = (r0); + r0 = (globals.hoseDirection___60156 + globals.changeRate___60158); + globals.hoseDirection___60156 = (r0); { step = 25; continue; } case 24: - s.tmp_0 = r0 = globals.hoseDirection___7143; - r0 = (0 - globals.changeRate___7145); + s.tmp_0 = r0 = globals.hoseDirection___60156; + r0 = (0 - globals.changeRate___60158); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - globals.hoseDirection___7143 = (r0); + globals.hoseDirection___60156 = (r0); case 25: - r0 = (globals.hoseDirection___7143 < 0); + r0 = (globals.hoseDirection___60156 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - r0 = (globals.hoseDirection___7143 + 360); - globals.hoseDirection___7143 = (r0); + r0 = (globals.hoseDirection___60156 + 360); + globals.hoseDirection___60156 = (r0); { step = 29; continue; } case 26: - r0 = (globals.hoseDirection___7143 > 360); + r0 = (globals.hoseDirection___60156 > 360); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - r0 = (globals.hoseDirection___7143 + -360); - globals.hoseDirection___7143 = (r0); + r0 = (globals.hoseDirection___60156 + -360); + globals.hoseDirection___60156 = (r0); case 27: case 28: case 29: - r0 = (globals.hoseDirection___7143 % 360); - globals.hoseDirection___7143 = (r0); + r0 = (globals.hoseDirection___60156 % 360); + globals.hoseDirection___60156 = (r0); case 30: - s.tmp_0 = sprites_createProjectileFromSprite__P2262_mk(s); + s.tmp_0 = sprites_createProjectileFromSprite__P55274_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; - r0 = (globals.hoseDirection___7143 * 3.141592653589793); + r0 = (globals.hoseDirection___60156 * 3.141592653589793); s.tmp_3 = r0; r0 = (s.tmp_3 / 180); s.tmp_2 = r0; @@ -48800,7 +48833,7 @@ switch (step) { s.tmp_1 = r0; r0 = (150 * s.tmp_1); s.tmp_0.arg2 = r0; - r0 = (globals.hoseDirection___7143 * 3.141592653589793); + r0 = (globals.hoseDirection___60156 * 3.141592653589793); s.tmp_6 = r0; r0 = (s.tmp_6 / 180); s.tmp_5 = r0; @@ -48808,26 +48841,26 @@ switch (step) { s.tmp_4 = r0; r0 = (150 * s.tmp_4); s.tmp_0.arg3 = r0; - s.callLocIdx = 2350; s.pc = 42; return s.tmp_0; + s.callLocIdx = 2351; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; - s.waterProj___18818 = (r0); - s.tmp_0 = Sprite_setKind__P2388_mk(s); - s.tmp_0.arg0 = s.waterProj___18818; - s.tmp_0.arg1 = globals.Water___4406; - s.callLocIdx = 2351; s.pc = 43; return s.tmp_0; + s.waterProj___71847 = (r0); + s.tmp_0 = Sprite_setKind__P55400_mk(s); + s.tmp_0.arg0 = s.waterProj___71847; + s.tmp_0.arg1 = globals.Water___57419; + s.callLocIdx = 2352; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_spray__P4414.info = {"start":2073,"length":1753,"line":79,"column":4,"endLine":129,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"spray","argumentNames":["thisSprite","img"]} +sprites_spray__P57427.info = {"start":2073,"length":1753,"line":79,"column":4,"endLine":129,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/api.ts","functionName":"spray","argumentNames":["thisSprite","img"]} -function sprites_spray__P4414_mk(s) { +function sprites_spray__P57427_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_spray__P4414, depth: s.depth + 1, + parent: s, fn: sprites_spray__P57427, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -48836,7 +48869,7 @@ function sprites_spray__P4414_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - waterProj___18818: undefined, + waterProj___71847: undefined, arg0: undefined, arg1: undefined, } } @@ -48845,7 +48878,7 @@ function sprites_spray__P4414_mk(s) { -function sprites_createProjectileFromSprite__P2262(s) { +function sprites_createProjectileFromSprite__P55274(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48862,7 +48895,7 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = sprites_createProjectile__P2263_mk(s); + s.tmp_0 = sprites_createProjectile__P55275_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -48874,12 +48907,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_createProjectileFromSprite__P2262.info = {"start":4617,"length":187,"line":129,"column":4,"endLine":131,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"createProjectileFromSprite","argumentNames":["img","sprite","vx","vy"]} +sprites_createProjectileFromSprite__P55274.info = {"start":4617,"length":187,"line":129,"column":4,"endLine":131,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"createProjectileFromSprite","argumentNames":["img","sprite","vx","vy"]} -function sprites_createProjectileFromSprite__P2262_mk(s) { +function sprites_createProjectileFromSprite__P55274_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_createProjectileFromSprite__P2262, depth: s.depth + 1, + parent: s, fn: sprites_createProjectileFromSprite__P55274, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -48892,7 +48925,7 @@ function sprites_createProjectileFromSprite__P2262_mk(s) { -function sprites_createProjectile__P2263(s) { +function sprites_createProjectile__P55275(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -48902,13 +48935,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___18940 = undefined; - s.sc___18947 = undefined; - s.xOff___18963 = undefined; - s.yOff___18977 = undefined; - s.cam___18991 = undefined; - s.initialX___18995 = undefined; - s.initialY___18998 = undefined; + s.s___71969 = undefined; + s.sc___71976 = undefined; + s.xOff___71992 = undefined; + s.yOff___72006 = undefined; + s.cam___72020 = undefined; + s.initialX___72024 = undefined; + s.initialY___72027 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -48927,41 +48960,41 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = sprites_create__P2256_mk(s); + s.tmp_2 = sprites_create__P55268_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; s.callLocIdx = 572; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; - s.s___18940 = (r0); - s.tmp_0 = game_currentScene__P2979_mk(s); + s.s___71969 = (r0); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 573; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.sc___18947 = (r0); - s.tmp_0 = Sprite_vx__P2339_mk(s); - s.tmp_0.arg0 = s.s___18940; + s.sc___71976 = (r0); + s.tmp_0 = Sprite_vx__P55351_mk(s); + s.tmp_0.arg0 = s.s___71969; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 574; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_0 = Sprite_vy__P2341_mk(s); - s.tmp_0.arg0 = s.s___18940; + s.tmp_0 = Sprite_vy__P55353_mk(s); + s.tmp_0.arg0 = s.s___71969; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 575; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg4); if (!r0) { step = 3; continue; } - s.tmp_0 = Sprite_setPosition__P2389_mk(s); - s.tmp_0.arg0 = s.s___18940; - s.tmp_1 = Sprite_x__P2334_mk(s); + s.tmp_0 = Sprite_setPosition__P55401_mk(s); + s.tmp_0.arg0 = s.s___71969; + s.tmp_1 = Sprite_x__P55346_mk(s); s.tmp_1.arg0 = s.arg4; s.callLocIdx = 576; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_y__P2336_mk(s); + s.tmp_2 = Sprite_y__P55348_mk(s); s.tmp_2.arg0 = s.arg4; s.callLocIdx = 577; s.pc = 23; return s.tmp_2; case 23: @@ -48972,12 +49005,12 @@ switch (step) { r0 = s.retval; { step = 16; continue; } case 3: - r0 = s.sc___18947.fields["tileMap"]; + r0 = s.sc___71976.fields["tileMap"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_3 = Sprite_width__P2377_mk(s); - s.tmp_3.arg0 = s.s___18940; + s.tmp_3 = Sprite_width__P55389_mk(s); + s.tmp_3.arg0 = s.s___71969; s.callLocIdx = 579; s.pc = 24; return s.tmp_3; case 24: r0 = s.retval; @@ -48987,8 +49020,8 @@ switch (step) { r0 = (0 - s.tmp_1); { step = 5; continue; } case 4: - s.tmp_6 = Sprite_width__P2377_mk(s); - s.tmp_6.arg0 = s.s___18940; + s.tmp_6 = Sprite_width__P55389_mk(s); + s.tmp_6.arg0 = s.s___71969; s.callLocIdx = 580; s.pc = 25; return s.tmp_6; case 25: r0 = s.retval; @@ -48999,13 +49032,13 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_7 = r0; - s.xOff___18963 = (s.tmp_7); - r0 = s.sc___18947.fields["tileMap"]; + s.xOff___71992 = (s.tmp_7); + r0 = s.sc___71976.fields["tileMap"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_3 = Sprite_height__P2378_mk(s); - s.tmp_3.arg0 = s.s___18940; + s.tmp_3 = Sprite_height__P55390_mk(s); + s.tmp_3.arg0 = s.s___71969; s.callLocIdx = 581; s.pc = 26; return s.tmp_3; case 26: r0 = s.retval; @@ -49015,8 +49048,8 @@ switch (step) { r0 = (0 - s.tmp_1); { step = 7; continue; } case 6: - s.tmp_6 = Sprite_height__P2378_mk(s); - s.tmp_6.arg0 = s.s___18940; + s.tmp_6 = Sprite_height__P55390_mk(s); + s.tmp_6.arg0 = s.s___71969; s.callLocIdx = 582; s.pc = 27; return s.tmp_6; case 27: r0 = s.retval; @@ -49027,39 +49060,39 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.yOff___18977 = (s.tmp_7); - s.tmp_0 = game_currentScene__P2979_mk(s); + s.yOff___72006 = (s.tmp_7); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 583; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; r0 = r0.fields["camera"]; - s.cam___18991 = (r0); - r0 = s.cam___18991.fields["_offsetX"]; - s.initialX___18995 = (r0); - r0 = s.cam___18991.fields["_offsetY"]; - s.initialY___18998 = (r0); + s.cam___72020 = (r0); + r0 = s.cam___72020.fields["_offsetX"]; + s.initialX___72024 = (r0); + r0 = s.cam___72020.fields["_offsetY"]; + s.initialY___72027 = (r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_1 = r0 = s.initialX___18995; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + s.tmp_1 = r0 = s.initialX___72024; + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_3 = r0; - r0 = (s.tmp_3 + s.xOff___18963); + r0 = (s.tmp_3 + s.xOff___71992); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.initialX___18995 = (r0); + s.initialX___72024 = (r0); { step = 11; continue; } case 8: r0 = (s.arg1 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = r0 = s.initialX___18995; - r0 = (0 - s.xOff___18963); + s.tmp_1 = r0 = s.initialX___72024; + r0 = (0 - s.xOff___71992); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.initialX___18995 = (r0); + s.initialX___72024 = (r0); case 9: case 10: case 11: @@ -49067,51 +49100,51 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_1 = r0 = s.initialY___18998; - r0 = pxsim_ImageMethods.height(globals.screen___2013); + s.tmp_1 = r0 = s.initialY___72027; + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_3 = r0; - r0 = (s.tmp_3 + s.yOff___18977); + r0 = (s.tmp_3 + s.yOff___72006); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.initialY___18998 = (r0); + s.initialY___72027 = (r0); { step = 15; continue; } case 12: r0 = (s.arg2 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_1 = r0 = s.initialY___18998; - r0 = (0 - s.yOff___18977); + s.tmp_1 = r0 = s.initialY___72027; + r0 = (0 - s.yOff___72006); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.initialY___18998 = (r0); + s.initialY___72027 = (r0); case 13: case 14: case 15: - s.tmp_0 = Sprite_setPosition__P2389_mk(s); - s.tmp_0.arg0 = s.s___18940; - s.tmp_0.arg1 = s.initialX___18995; - s.tmp_0.arg2 = s.initialY___18998; + s.tmp_0 = Sprite_setPosition__P55401_mk(s); + s.tmp_0.arg0 = s.s___71969; + s.tmp_0.arg1 = s.initialX___72024; + s.tmp_0.arg2 = s.initialY___72027; s.callLocIdx = 586; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; case 16: - s.tmp_0 = r0 = s.s___18940; + s.tmp_0 = r0 = s.s___71969; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 | 20); s.tmp_1 = r0; r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); - r0 = s.s___18940; + r0 = s.s___71969; return leave(s, r0) default: oops() } } } -sprites_createProjectile__P2263.info = {"start":5436,"length":1265,"line":144,"column":4,"endLine":181,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"createProjectile","argumentNames":["img","vx","vy","kind","sprite"]} +sprites_createProjectile__P55275.info = {"start":5436,"length":1265,"line":144,"column":4,"endLine":181,"endColumn":5,"fileName":"pxt_modules/game/sprites.ts","functionName":"createProjectile","argumentNames":["img","vx","vy","kind","sprite"]} -function sprites_createProjectile__P2263_mk(s) { +function sprites_createProjectile__P55275_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_createProjectile__P2263, depth: s.depth + 1, + parent: s, fn: sprites_createProjectile__P55275, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49121,13 +49154,13 @@ function sprites_createProjectile__P2263_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - s___18940: undefined, - sc___18947: undefined, - xOff___18963: undefined, - yOff___18977: undefined, - cam___18991: undefined, - initialX___18995: undefined, - initialY___18998: undefined, + s___71969: undefined, + sc___71976: undefined, + xOff___71992: undefined, + yOff___72006: undefined, + cam___72020: undefined, + initialX___72024: undefined, + initialY___72027: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -49139,7 +49172,7 @@ function sprites_createProjectile__P2263_mk(s) { -function Sprite_height__P2378(s) { +function Sprite_height__P55390(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49154,20 +49187,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2378.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__P2378.isGetter = true; +Sprite_height__P55390.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__P55390.isGetter = true; -function Sprite_height__P2378_mk(s) { +function Sprite_height__P55390_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P2378, depth: s.depth + 1, + parent: s, fn: Sprite_height__P55390, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -49177,7 +49210,7 @@ function Sprite_height__P2378_mk(s) { -function Sprite_width__P2377(s) { +function Sprite_width__P55389(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49192,20 +49225,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2377.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__P2377.isGetter = true; +Sprite_width__P55389.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__P55389.isGetter = true; -function Sprite_width__P2377_mk(s) { +function Sprite_width__P55389_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P2377, depth: s.depth + 1, + parent: s, fn: Sprite_width__P55389, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -49215,7 +49248,7 @@ function Sprite_width__P2377_mk(s) { -function controller_moveSprite__P2148(s) { +function controller_moveSprite__P55160(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49231,8 +49264,8 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller__moveSpriteInternal__P2133_mk(s); - s.tmp_1 = controller__player1__P2109_mk(s); + s.tmp_0 = controller_Controller__moveSpriteInternal__P55145_mk(s); + s.tmp_1 = controller__player1__P55121_mk(s); s.callLocIdx = 325; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -49247,12 +49280,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_moveSprite__P2148.info = {"start":14763,"length":142,"line":440,"column":4,"endLine":442,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["sprite","vx","vy"]} +controller_moveSprite__P55160.info = {"start":14763,"length":142,"line":440,"column":4,"endLine":442,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"moveSprite","argumentNames":["sprite","vx","vy"]} -function controller_moveSprite__P2148_mk(s) { +function controller_moveSprite__P55160_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_moveSprite__P2148, depth: s.depth + 1, + parent: s, fn: controller_moveSprite__P55160, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49265,7 +49298,7 @@ function controller_moveSprite__P2148_mk(s) { -function controller_Controller__moveSpriteInternal__P2133(s) { +function controller_Controller__moveSpriteInternal__P55145(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49275,7 +49308,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cp___19156 = undefined; + s.cp___73669 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -49284,7 +49317,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2115_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C55127_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -49294,7 +49327,7 @@ switch (step) { { step = 15; continue; } case 1: case 2: - s.tmp_5 = controller_Controller__controlledSprites__P2120_mk(s); + s.tmp_5 = controller_Controller__controlledSprites__P55132_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 286; s.pc = 16; return s.tmp_5; case 16: @@ -49306,7 +49339,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - s.tmp_6 = controller_Controller__controlledSprites__P2121_mk(s); + s.tmp_6 = controller_Controller__controlledSprites__P55133_mk(s); s.tmp_6.arg0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_6.arg1 = r0; @@ -49315,11 +49348,11 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkAction(1, cp_inline__P19159); + r0 = pxsim_pxtcore_mkAction(1, cp_inline__P73672); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFind__P111_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P2120_mk(s); + s.tmp_1 = helpers_arrayFind__P53123_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P55132_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 288; s.pc = 19; return s.tmp_2; case 19: @@ -49329,16 +49362,16 @@ switch (step) { s.callLocIdx = 289; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - s.cp___19156 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cp___19156); + s.cp___73669 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cp___73669); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_ControlledSprite__C2111_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ControlledSprite__C55123_VT); s.tmp_2 = r0; - s.tmp_3 = controller_ControlledSprite_constructor__P2113_mk(s); + s.tmp_3 = controller_ControlledSprite_constructor__P55125_mk(s); s.tmp_3.arg0 = s.tmp_2; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.arg2; @@ -49346,17 +49379,17 @@ switch (step) { s.callLocIdx = 290; s.pc = 20; return s.tmp_3; case 20: r0 = s.retval; - s.cp___19156 = (s.tmp_2); - s.tmp_1 = controller_Controller__controlledSprites__P2120_mk(s); + s.cp___73669 = (s.tmp_2); + s.tmp_1 = controller_Controller__controlledSprites__P55132_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 291; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.cp___19156); + r0 = pxsim_Array__push(s.tmp_0, s.cp___73669); case 5: case 6: - r0 = s.cp___19156.fields["vx"]; + r0 = s.cp___73669.fields["vx"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 7; continue; } @@ -49369,8 +49402,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } - s.tmp_2 = Sprite_vx__P2339_mk(s); - r0 = s.cp___19156.fields["s"]; + s.tmp_2 = Sprite_vx__P55351_mk(s); + r0 = s.cp___73669.fields["s"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 0; s.callLocIdx = 292; s.pc = 22; return s.tmp_2; @@ -49378,7 +49411,7 @@ switch (step) { r0 = s.retval; case 9: case 10: - r0 = s.cp___19156.fields["vy"]; + r0 = s.cp___73669.fields["vy"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 11; continue; } @@ -49391,8 +49424,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 13; continue; } - s.tmp_2 = Sprite_vy__P2341_mk(s); - r0 = s.cp___19156.fields["s"]; + s.tmp_2 = Sprite_vy__P55353_mk(s); + r0 = s.cp___73669.fields["s"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 0; s.callLocIdx = 293; s.pc = 23; return s.tmp_2; @@ -49400,19 +49433,19 @@ switch (step) { r0 = s.retval; case 13: case 14: - r0 = (s.cp___19156).fields["vx"] = (s.arg2); - r0 = (s.cp___19156).fields["vy"] = (s.arg3); + r0 = (s.cp___73669).fields["vx"] = (s.arg2); + r0 = (s.cp___73669).fields["vy"] = (s.arg3); case 15: r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Controller__moveSpriteInternal__P2133.info = {"start":6039,"length":617,"line":202,"column":8,"endLine":218,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSpriteInternal","argumentNames":["this","sprite","vx","vy"]} +controller_Controller__moveSpriteInternal__P55145.info = {"start":6039,"length":617,"line":202,"column":8,"endLine":218,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSpriteInternal","argumentNames":["this","sprite","vx","vy"]} -function controller_Controller__moveSpriteInternal__P2133_mk(s) { +function controller_Controller__moveSpriteInternal__P55145_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__moveSpriteInternal__P2133, depth: s.depth + 1, + parent: s, fn: controller_Controller__moveSpriteInternal__P55145, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49421,7 +49454,7 @@ function controller_Controller__moveSpriteInternal__P2133_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - cp___19156: undefined, + cp___73669: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -49432,7 +49465,7 @@ function controller_Controller__moveSpriteInternal__P2133_mk(s) { -function cp_inline__P19159(s) { +function cp_inline__P73672(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49455,12 +49488,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -cp_inline__P19159.info = {"start":6268,"length":26,"line":205,"column":50,"endLine":205,"endColumn":76,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["cp"]} +cp_inline__P73672.info = {"start":6268,"length":26,"line":205,"column":50,"endLine":205,"endColumn":76,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["cp"]} -function cp_inline__P19159_mk(s) { +function cp_inline__P73672_mk(s) { checkStack(s.depth); return { - parent: s, fn: cp_inline__P19159, depth: s.depth + 1, + parent: s, fn: cp_inline__P73672, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49471,7 +49504,7 @@ function cp_inline__P19159_mk(s) { -function controller_ControlledSprite_constructor__P2113(s) { +function controller_ControlledSprite_constructor__P55125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49489,7 +49522,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ControlledSprite__C2111_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ControlledSprite__C55123_VT)) failedCast(r0); r0 = (s.arg0).fields["s"] = (s.arg1); r0 = (s.arg0).fields["vx"] = (s.arg2); r0 = (s.arg0).fields["vy"] = (s.arg3); @@ -49497,12 +49530,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_ControlledSprite_constructor__P2113.info = {"start":1876,"length":117,"line":60,"column":8,"endLine":64,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","s","vx","vy"]} +controller_ControlledSprite_constructor__P55125.info = {"start":1876,"length":117,"line":60,"column":8,"endLine":64,"endColumn":13,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":["this","s","vx","vy"]} -function controller_ControlledSprite_constructor__P2113_mk(s) { +function controller_ControlledSprite_constructor__P55125_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ControlledSprite_constructor__P2113, depth: s.depth + 1, + parent: s, fn: controller_ControlledSprite_constructor__P55125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -49514,7 +49547,7 @@ function controller_ControlledSprite_constructor__P2113_mk(s) { -function Sprite_sayText__P2392(s) { +function Sprite_sayText__P55404(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49534,7 +49567,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = (s.arg1 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -49564,10 +49597,10 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } - s.tmp_6 = sprites_BaseSpriteSayRenderer__C2240_v2_1_mk(s); + s.tmp_6 = sprites_BaseSpriteSayRenderer__C55252_v2_1_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_6.arg0 = r0; - if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C2240_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C55252_VT)) failedCast(s.tmp_6.arg0); s.tmp_6.fn = s.tmp_6.arg0.vtable.methods.destroy; s.pc = 14; return s.tmp_6; case 14: @@ -49582,10 +49615,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = sprites_BaseSpriteSayRenderer__C2240_v2_1_mk(s); + s.tmp_1 = sprites_BaseSpriteSayRenderer__C55252_v2_1_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_1.arg0 = r0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C2240_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C55252_VT)) failedCast(s.tmp_1.arg0); s.tmp_1.fn = s.tmp_1.arg0.vtable.methods.destroy; s.pc = 15; return s.tmp_1; case 15: @@ -49605,16 +49638,16 @@ switch (step) { r0 = (s.tmp_1).fields["sayEndTime"] = (s.tmp_2); case 11: case 12: - s.tmp_0 = console_inspect__P382_mk(s); + s.tmp_0 = console_inspect__P53394_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 20; s.callLocIdx = 663; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; s.arg1 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSayRenderer__C2245_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSayRenderer__C55257_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteSayRenderer_constructor__P2247_mk(s); + s.tmp_1 = sprites_SpriteSayRenderer_constructor__P55259_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg4; @@ -49630,12 +49663,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_sayText__P2392.info = {"start":16644,"length":634,"line":574,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"sayText","argumentNames":["this","text","timeOnScreen","animated","textColor","textBoxColor"]} +Sprite_sayText__P55404.info = {"start":16644,"length":634,"line":574,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"sayText","argumentNames":["this","text","timeOnScreen","animated","textColor","textBoxColor"]} -function Sprite_sayText__P2392_mk(s) { +function Sprite_sayText__P55404_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_sayText__P2392, depth: s.depth + 1, + parent: s, fn: Sprite_sayText__P55404, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49656,7 +49689,7 @@ function Sprite_sayText__P2392_mk(s) { -function sprites_SpriteSayRenderer_constructor__P2247(s) { +function sprites_SpriteSayRenderer_constructor__P55259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49666,8 +49699,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.numberOfPauses___20768 = undefined; - s.pauseTime___20775 = undefined; + s.numberOfPauses___73797 = undefined; + s.pauseTime___73804 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -49678,8 +49711,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSayRenderer__C2245_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSpriteSayRenderer_constructor__P2241_mk(s); + if (!checkSubtype(r0, sprites_SpriteSayRenderer__C55257_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSpriteSayRenderer_constructor__P55253_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -49687,9 +49720,9 @@ switch (step) { s.callLocIdx = 545; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(sprites_RenderText__C2207_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_RenderText__C55219_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_RenderText_constructor__P2212_mk(s); + s.tmp_1 = sprites_RenderText_constructor__P55224_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = 100; @@ -49699,9 +49732,9 @@ switch (step) { r0 = (s.arg0).fields["renderText"] = (s.tmp_0); r0 = pxsim_numops_toBoolDecr(s.arg4); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(sprites_RenderTextAnimation__C2225_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_RenderTextAnimation__C55237_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_RenderTextAnimation_constructor__P2226_mk(s); + s.tmp_1 = sprites_RenderTextAnimation_constructor__P55238_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["renderText"]; s.tmp_1.arg1 = r0; @@ -49714,7 +49747,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_RenderTextAnimation_numPages__P2228_mk(s); + s.tmp_2 = sprites_RenderTextAnimation_numPages__P55240_mk(s); r0 = s.arg0.fields["animation"]; s.tmp_2.arg0 = r0; s.callLocIdx = 548; s.pc = 8; return s.tmp_2; @@ -49722,10 +49755,10 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_1 + 1); - s.numberOfPauses___20768 = (r0); - s.tmp_0 = Math_min__P131_mk(s); + s.numberOfPauses___73797 = (r0); + s.tmp_0 = Math_min__P53143_mk(s); s.tmp_2 = r0 = s.arg5; - r0 = (2 * s.numberOfPauses___20768); + r0 = (2 * s.numberOfPauses___73797); s.tmp_3 = r0; r0 = (s.tmp_2 / s.tmp_3); s.tmp_1 = r0; @@ -49735,18 +49768,18 @@ switch (step) { s.callLocIdx = 549; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.pauseTime___20775 = (r0); - s.tmp_0 = sprites_RenderTextAnimation_setPauseLength__P2229_mk(s); + s.pauseTime___73804 = (r0); + s.tmp_0 = sprites_RenderTextAnimation_setPauseLength__P55241_mk(s); r0 = s.arg0.fields["animation"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.pauseTime___20775; + s.tmp_0.arg1 = s.pauseTime___73804; s.callLocIdx = 550; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.tmp_0 = sprites_RenderTextAnimation_setTextSpeed__P2230_mk(s); + s.tmp_0 = sprites_RenderTextAnimation_setTextSpeed__P55242_mk(s); r0 = s.arg0.fields["animation"]; s.tmp_0.arg0 = r0; - s.tmp_3 = sprites_RenderText_printableCharacters__P2220_mk(s); + s.tmp_3 = sprites_RenderText_printableCharacters__P55232_mk(s); r0 = s.arg0.fields["renderText"]; s.tmp_3.arg0 = r0; s.callLocIdx = 551; s.pc = 12; return s.tmp_3; @@ -49756,7 +49789,7 @@ switch (step) { r0 = (s.tmp_2 * 1000); s.tmp_1 = r0; s.tmp_5 = r0 = s.arg5; - r0 = (s.pauseTime___20775 * s.numberOfPauses___20768); + r0 = (s.pauseTime___73804 * s.numberOfPauses___73797); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -49767,7 +49800,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = sprites_RenderTextAnimation_start__P2227_mk(s); + s.tmp_0 = sprites_RenderTextAnimation_start__P55239_mk(s); r0 = s.arg0.fields["animation"]; s.tmp_0.arg0 = r0; s.callLocIdx = 553; s.pc = 13; return s.tmp_0; @@ -49779,12 +49812,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSayRenderer_constructor__P2247.info = {"start":8293,"length":803,"line":222,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"inline","argumentNames":["this","text","fg","bg","animated","timeOnScreen"]} +sprites_SpriteSayRenderer_constructor__P55259.info = {"start":8293,"length":803,"line":222,"column":8,"endLine":237,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"inline","argumentNames":["this","text","fg","bg","animated","timeOnScreen"]} -function sprites_SpriteSayRenderer_constructor__P2247_mk(s) { +function sprites_SpriteSayRenderer_constructor__P55259_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSayRenderer_constructor__P2247, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSayRenderer_constructor__P55259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49793,8 +49826,8 @@ function sprites_SpriteSayRenderer_constructor__P2247_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - numberOfPauses___20768: undefined, - pauseTime___20775: undefined, + numberOfPauses___73797: undefined, + pauseTime___73804: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -49807,7 +49840,7 @@ function sprites_SpriteSayRenderer_constructor__P2247_mk(s) { -function sprites_BaseSpriteSayRenderer_constructor__P2241(s) { +function sprites_BaseSpriteSayRenderer_constructor__P55253(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49825,7 +49858,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2240_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C55252_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); r0 = (s.arg0).fields["fgColor"] = (s.arg2); r0 = (s.arg0).fields["bgColor"] = (s.arg3); @@ -49833,12 +49866,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_constructor__P2241.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__P55253.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__P2241_mk(s) { +function sprites_BaseSpriteSayRenderer_constructor__P55253_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P2241, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P55253, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -49850,7 +49883,7 @@ function sprites_BaseSpriteSayRenderer_constructor__P2241_mk(s) { -function sprites_RenderTextAnimation_setTextSpeed__P2230(s) { +function sprites_RenderTextAnimation_setTextSpeed__P55242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49866,7 +49899,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderTextAnimation__C2225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderTextAnimation__C55237_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_1 = r0; @@ -49875,12 +49908,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_RenderTextAnimation_setTextSpeed__P2230.info = {"start":9174,"length":110,"line":257,"column":8,"endLine":259,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"setTextSpeed","argumentNames":["this","charactersPerSecond"]} +sprites_RenderTextAnimation_setTextSpeed__P55242.info = {"start":9174,"length":110,"line":257,"column":8,"endLine":259,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"setTextSpeed","argumentNames":["this","charactersPerSecond"]} -function sprites_RenderTextAnimation_setTextSpeed__P2230_mk(s) { +function sprites_RenderTextAnimation_setTextSpeed__P55242_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderTextAnimation_setTextSpeed__P2230, depth: s.depth + 1, + parent: s, fn: sprites_RenderTextAnimation_setTextSpeed__P55242, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -49892,7 +49925,7 @@ function sprites_RenderTextAnimation_setTextSpeed__P2230_mk(s) { -function sprites_RenderTextAnimation_setPauseLength__P2229(s) { +function sprites_RenderTextAnimation_setPauseLength__P55241(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49908,18 +49941,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderTextAnimation__C2225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderTextAnimation__C55237_VT)) failedCast(r0); r0 = (s.arg0).fields["pauseMillis"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_RenderTextAnimation_setPauseLength__P2229.info = {"start":9083,"length":81,"line":253,"column":8,"endLine":255,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"setPauseLength","argumentNames":["this","millis"]} +sprites_RenderTextAnimation_setPauseLength__P55241.info = {"start":9083,"length":81,"line":253,"column":8,"endLine":255,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"setPauseLength","argumentNames":["this","millis"]} -function sprites_RenderTextAnimation_setPauseLength__P2229_mk(s) { +function sprites_RenderTextAnimation_setPauseLength__P55241_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderTextAnimation_setPauseLength__P2229, depth: s.depth + 1, + parent: s, fn: sprites_RenderTextAnimation_setPauseLength__P55241, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -49929,7 +49962,7 @@ function sprites_RenderTextAnimation_setPauseLength__P2229_mk(s) { -function sprites_RenderTextAnimation_numPages__P2228(s) { +function sprites_RenderTextAnimation_numPages__P55240(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -49939,16 +49972,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxLinesPerPage___20971 = undefined; + s.maxLinesPerPage___74000 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderTextAnimation__C2225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderTextAnimation__C55237_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = sprites_RenderText_lineHeight__P2218_mk(s); + s.tmp_3 = sprites_RenderText_lineHeight__P55230_mk(s); r0 = s.arg0.fields["text"]; s.tmp_3.arg0 = r0; s.callLocIdx = 477; s.pc = 1; return s.tmp_3; @@ -49958,7 +49991,7 @@ switch (step) { r0 = pxsim.Math_.idiv(s.tmp_1, s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.maxLinesPerPage___20971 = (r0); + s.maxLinesPerPage___74000 = (r0); r0 = s.arg0.fields["text"]; r0 = r0.fields["linebreaks"]; s.tmp_3 = r0; @@ -49966,24 +49999,24 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_1 = r0; - r0 = (s.tmp_1 / s.maxLinesPerPage___20971); + r0 = (s.tmp_1 / s.maxLinesPerPage___74000); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); return leave(s, r0) default: oops() } } } -sprites_RenderTextAnimation_numPages__P2228.info = {"start":8878,"length":195,"line":248,"column":8,"endLine":251,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"numPages","argumentNames":["this"]} +sprites_RenderTextAnimation_numPages__P55240.info = {"start":8878,"length":195,"line":248,"column":8,"endLine":251,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"numPages","argumentNames":["this"]} -function sprites_RenderTextAnimation_numPages__P2228_mk(s) { +function sprites_RenderTextAnimation_numPages__P55240_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderTextAnimation_numPages__P2228, depth: s.depth + 1, + parent: s, fn: sprites_RenderTextAnimation_numPages__P55240, 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, - maxLinesPerPage___20971: undefined, + maxLinesPerPage___74000: undefined, arg0: undefined, } } @@ -49991,7 +50024,7 @@ function sprites_RenderTextAnimation_numPages__P2228_mk(s) { -function sprites_RenderText_lineHeight__P2218(s) { +function sprites_RenderText_lineHeight__P55230(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50006,7 +50039,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderText__C2207_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderText__C55219_VT)) failedCast(r0); s.tmp_0 = if_charHeight_1_mk(s); r0 = s.arg0.fields["font"]; s.tmp_0.arg0 = r0; @@ -50023,12 +50056,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_RenderText_lineHeight__P2218.info = {"start":2904,"length":65,"line":74,"column":8,"endLine":76,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"lineHeight","argumentNames":["this"]} +sprites_RenderText_lineHeight__P55230.info = {"start":2904,"length":65,"line":74,"column":8,"endLine":76,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"lineHeight","argumentNames":["this"]} -function sprites_RenderText_lineHeight__P2218_mk(s) { +function sprites_RenderText_lineHeight__P55230_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderText_lineHeight__P2218, depth: s.depth + 1, + parent: s, fn: sprites_RenderText_lineHeight__P55230, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -50038,7 +50071,7 @@ function sprites_RenderText_lineHeight__P2218_mk(s) { -function sprites_RenderTextAnimation_start__P2227(s) { +function sprites_RenderTextAnimation_start__P55239(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50053,7 +50086,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderTextAnimation__C2225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderTextAnimation__C55237_VT)) failedCast(r0); r0 = (s.arg0).fields["state"] = (1); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.millis(); @@ -50063,12 +50096,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_RenderTextAnimation_start__P2227.info = {"start":8746,"length":122,"line":243,"column":8,"endLine":246,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"start","argumentNames":["this"]} +sprites_RenderTextAnimation_start__P55239.info = {"start":8746,"length":122,"line":243,"column":8,"endLine":246,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"start","argumentNames":["this"]} -function sprites_RenderTextAnimation_start__P2227_mk(s) { +function sprites_RenderTextAnimation_start__P55239_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderTextAnimation_start__P2227, depth: s.depth + 1, + parent: s, fn: sprites_RenderTextAnimation_start__P55239, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50079,7 +50112,7 @@ function sprites_RenderTextAnimation_start__P2227_mk(s) { -function sprites_RenderTextAnimation_constructor__P2226(s) { +function sprites_RenderTextAnimation_constructor__P55238(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50096,19 +50129,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderTextAnimation__C2225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderTextAnimation__C55237_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); r0 = (s.arg0).fields["height"] = (s.arg2); r0 = (s.arg0).fields["state"] = (0); r0 = (s.arg0).fields["timer"] = (-1); r0 = (s.arg0).fields["pageLine"] = (0); - s.tmp_0 = sprites_RenderTextAnimation_setPauseLength__P2229_mk(s); + s.tmp_0 = sprites_RenderTextAnimation_setPauseLength__P55241_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 1000; s.callLocIdx = 475; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_RenderTextAnimation_setTextSpeed__P2230_mk(s); + s.tmp_0 = sprites_RenderTextAnimation_setTextSpeed__P55242_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 30; s.callLocIdx = 476; s.pc = 2; return s.tmp_0; @@ -50118,12 +50151,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_RenderTextAnimation_constructor__P2226.info = {"start":8474,"length":262,"line":234,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"inline","argumentNames":["this","text","height"]} +sprites_RenderTextAnimation_constructor__P55238.info = {"start":8474,"length":262,"line":234,"column":8,"endLine":241,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"inline","argumentNames":["this","text","height"]} -function sprites_RenderTextAnimation_constructor__P2226_mk(s) { +function sprites_RenderTextAnimation_constructor__P55238_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderTextAnimation_constructor__P2226, depth: s.depth + 1, + parent: s, fn: sprites_RenderTextAnimation_constructor__P55238, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -50135,7 +50168,7 @@ function sprites_RenderTextAnimation_constructor__P2226_mk(s) { -function sprites_RenderText_printableCharacters__P2220(s) { +function sprites_RenderText_printableCharacters__P55232(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50145,18 +50178,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.total___20818 = undefined; - s.i___20819 = undefined; + s.total___73847 = undefined; + s.i___73848 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderText__C2207_VT)) failedCast(r0); - s.total___20818 = (0); - s.i___20819 = (0); + if (!checkSubtype(r0, sprites_RenderText__C55219_VT)) failedCast(r0); + s.total___73847 = (0); + s.i___73848 = (0); case 1: - s.tmp_1 = r0 = s.i___20819; + s.tmp_1 = r0 = s.i___73848; r0 = s.arg0.fields["linebreaks"]; s.tmp_4 = r0; r0 = pxsim_Array__length(s.tmp_4); @@ -50167,17 +50200,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_5 = r0 = s.total___20818; - s.tmp_8 = sprites_RenderText_lineEnd__P2221_mk(s); + s.tmp_5 = r0 = s.total___73847; + s.tmp_8 = sprites_RenderText_lineEnd__P55233_mk(s); s.tmp_8.arg0 = s.arg0; - s.tmp_8.arg1 = s.i___20819; + s.tmp_8.arg1 = s.i___73848; s.callLocIdx = 453; s.pc = 3; return s.tmp_8; case 3: r0 = s.retval; s.tmp_7 = r0; - s.tmp_10 = sprites_RenderText_lineStart__P2222_mk(s); + s.tmp_10 = sprites_RenderText_lineStart__P55234_mk(s); s.tmp_10.arg0 = s.arg0; - s.tmp_10.arg1 = s.i___20819; + s.tmp_10.arg1 = s.i___73848; s.callLocIdx = 454; s.pc = 4; return s.tmp_10; case 4: r0 = s.retval; @@ -50185,21 +50218,21 @@ switch (step) { r0 = (s.tmp_7 - s.tmp_9); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); - s.total___20818 = (r0); - r0 = (s.i___20819 + 1); - s.i___20819 = (r0); + s.total___73847 = (r0); + r0 = (s.i___73848 + 1); + s.i___73848 = (r0); { step = 1; continue; } case 2: - r0 = s.total___20818; + r0 = s.total___73847; return leave(s, r0) default: oops() } } } -sprites_RenderText_printableCharacters__P2220.info = {"start":3454,"length":229,"line":89,"column":8,"endLine":95,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"printableCharacters","argumentNames":["this"]} +sprites_RenderText_printableCharacters__P55232.info = {"start":3454,"length":229,"line":89,"column":8,"endLine":95,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"printableCharacters","argumentNames":["this"]} -function sprites_RenderText_printableCharacters__P2220_mk(s) { +function sprites_RenderText_printableCharacters__P55232_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderText_printableCharacters__P2220, depth: s.depth + 1, + parent: s, fn: sprites_RenderText_printableCharacters__P55232, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50212,8 +50245,8 @@ function sprites_RenderText_printableCharacters__P2220_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - total___20818: undefined, - i___20819: undefined, + total___73847: undefined, + i___73848: undefined, arg0: undefined, } } @@ -50221,7 +50254,7 @@ function sprites_RenderText_printableCharacters__P2220_mk(s) { -function sprites_RenderText_lineStart__P2222(s) { +function sprites_RenderText_lineStart__P55234(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50231,14 +50264,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___20842 = undefined; + s.start___73871 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderText__C2207_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderText__C55219_VT)) failedCast(r0); r0 = (s.arg1 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -50254,9 +50287,9 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.start___20842 = (s.tmp_3); + s.start___73871 = (s.tmp_3); case 3: - s.tmp_1 = r0 = s.start___20842; + s.tmp_1 = r0 = s.start___73871; r0 = s.arg0.fields["text"]; s.tmp_3 = r0; r0 = pxsim_String_.length(s.tmp_3); @@ -50267,19 +50300,19 @@ switch (step) { if (!r0) { step = 12; continue; } r0 = s.arg0.fields["text"]; s.tmp_6 = r0; - r0 = pxsim_String_.charCodeAt(s.tmp_6, s.start___20842); + r0 = pxsim_String_.charCodeAt(s.tmp_6, s.start___73871); s.tmp_5 = r0; r0 = (s.tmp_5 <= 32); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 4; continue; } - r0 = (s.start___20842 + 1); - s.start___20842 = (r0); + r0 = (s.start___73871 + 1); + s.start___73871 = (r0); { step = 11; continue; } case 4: r0 = s.arg0.fields["text"]; s.tmp_2 = r0; - r0 = pxsim_String_.charAt(s.tmp_2, s.start___20842); + r0 = pxsim_String_.charAt(s.tmp_2, s.start___73871); s.tmp_1 = r0; r0 = (s.tmp_1 === "\\"); s.tmp_0 = r0; @@ -50290,7 +50323,7 @@ switch (step) { case 5: r0 = s.arg0.fields["text"]; s.tmp_4 = r0; - r0 = (s.start___20842 + 1); + r0 = (s.start___73871 + 1); s.tmp_5 = r0; r0 = pxsim_String_.charAt(s.tmp_4, s.tmp_5); s.tmp_3 = r0; @@ -50303,7 +50336,7 @@ switch (step) { r0 = s.tmp_6; { step = 8; continue; } case 7: - r0 = (s.start___20842 + 1); + r0 = (s.start___73871 + 1); s.tmp_7 = r0; r0 = s.arg0.fields["text"]; s.tmp_9 = r0; @@ -50315,8 +50348,8 @@ switch (step) { s.tmp_10 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_10); if (!r0) { step = 9; continue; } - r0 = (s.start___20842 + 2); - s.start___20842 = (r0); + r0 = (s.start___73871 + 2); + s.start___73871 = (r0); { step = 10; continue; } case 9: { step = 12; continue; } @@ -50324,16 +50357,16 @@ switch (step) { case 11: { step = 3; continue; } case 12: - r0 = s.start___20842; + r0 = s.start___73871; return leave(s, r0) default: oops() } } } -sprites_RenderText_lineStart__P2222.info = {"start":4498,"length":599,"line":119,"column":8,"endLine":136,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"lineStart","argumentNames":["this","lineIndex"]} +sprites_RenderText_lineStart__P55234.info = {"start":4498,"length":599,"line":119,"column":8,"endLine":136,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"lineStart","argumentNames":["this","lineIndex"]} -function sprites_RenderText_lineStart__P2222_mk(s) { +function sprites_RenderText_lineStart__P55234_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderText_lineStart__P2222, depth: s.depth + 1, + parent: s, fn: sprites_RenderText_lineStart__P55234, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50346,7 +50379,7 @@ function sprites_RenderText_lineStart__P2222_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - start___20842: undefined, + start___73871: undefined, arg0: undefined, arg1: undefined, } } @@ -50355,7 +50388,7 @@ function sprites_RenderText_lineStart__P2222_mk(s) { -function sprites_RenderText_lineEnd__P2221(s) { +function sprites_RenderText_lineEnd__P55233(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50365,16 +50398,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.prevEnd___20894 = undefined; - s.end___20902 = undefined; - s.didMove___20914 = undefined; + s.prevEnd___73923 = undefined; + s.end___73931 = undefined; + s.didMove___73943 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderText__C2207_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderText__C55219_VT)) failedCast(r0); r0 = (s.arg1 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -50390,7 +50423,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.prevEnd___20894 = (s.tmp_3); + s.prevEnd___73923 = (s.tmp_3); s.tmp_1 = r0 = s.arg1; r0 = s.arg0.fields["linebreaks"]; s.tmp_3 = r0; @@ -50411,29 +50444,29 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_6 = r0; - s.end___20902 = (s.tmp_6); - s.didMove___20914 = (false); + s.end___73931 = (s.tmp_6); + s.didMove___73943 = (false); case 5: - r0 = (s.end___20902 > s.prevEnd___20894); + r0 = (s.end___73931 > s.prevEnd___73923); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } r0 = s.arg0.fields["text"]; s.tmp_3 = r0; - r0 = pxsim_String_.charCodeAt(s.tmp_3, s.end___20902); + r0 = pxsim_String_.charCodeAt(s.tmp_3, s.end___73931); s.tmp_2 = r0; r0 = (s.tmp_2 <= 32); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 6; continue; } - r0 = (s.end___20902 - 1); - s.end___20902 = (r0); - s.didMove___20914 = (true); + r0 = (s.end___73931 - 1); + s.end___73931 = (r0); + s.didMove___73943 = (true); { step = 13; continue; } case 6: r0 = s.arg0.fields["text"]; s.tmp_2 = r0; - r0 = pxsim_String_.charAt(s.tmp_2, s.end___20902); + r0 = pxsim_String_.charAt(s.tmp_2, s.end___73931); s.tmp_1 = r0; r0 = (s.tmp_1 === "n"); s.tmp_0 = r0; @@ -50444,7 +50477,7 @@ switch (step) { case 7: r0 = s.arg0.fields["text"]; s.tmp_4 = r0; - r0 = (s.end___20902 - 1); + r0 = (s.end___73931 - 1); s.tmp_5 = r0; r0 = pxsim_String_.charAt(s.tmp_4, s.tmp_5); s.tmp_3 = r0; @@ -50457,17 +50490,17 @@ switch (step) { r0 = s.tmp_6; { step = 10; continue; } case 9: - r0 = (s.end___20902 - 1); + r0 = (s.end___73931 - 1); s.tmp_7 = r0; - r0 = (s.tmp_7 > s.prevEnd___20894); + r0 = (s.tmp_7 > s.prevEnd___73923); case 10: // jmp value (already in r0) s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 11; continue; } - r0 = (s.end___20902 - 2); - s.end___20902 = (r0); - s.didMove___20914 = (true); + r0 = (s.end___73931 - 2); + s.end___73931 = (r0); + s.didMove___73943 = (true); { step = 12; continue; } case 11: { step = 14; continue; } @@ -50475,12 +50508,12 @@ switch (step) { case 13: { step = 5; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.didMove___20914); + r0 = pxsim_numops_toBoolDecr(s.didMove___73943); if (!r0) { step = 15; continue; } - r0 = (s.end___20902 + 1); + r0 = (s.end___73931 + 1); { step = 16; continue; } case 15: - r0 = s.end___20902; + r0 = s.end___73931; case 16: // jmp value (already in r0) s.tmp_0 = r0; @@ -50488,12 +50521,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_RenderText_lineEnd__P2221.info = {"start":3693,"length":795,"line":97,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"lineEnd","argumentNames":["this","lineIndex"]} +sprites_RenderText_lineEnd__P55233.info = {"start":3693,"length":795,"line":97,"column":8,"endLine":117,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"lineEnd","argumentNames":["this","lineIndex"]} -function sprites_RenderText_lineEnd__P2221_mk(s) { +function sprites_RenderText_lineEnd__P55233_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderText_lineEnd__P2221, depth: s.depth + 1, + parent: s, fn: sprites_RenderText_lineEnd__P55233, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50504,9 +50537,9 @@ function sprites_RenderText_lineEnd__P2221_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - prevEnd___20894: undefined, - end___20902: undefined, - didMove___20914: undefined, + prevEnd___73923: undefined, + end___73931: undefined, + didMove___73943: undefined, arg0: undefined, arg1: undefined, } } @@ -50515,7 +50548,7 @@ function sprites_RenderText_lineEnd__P2221_mk(s) { -function sprites_RenderText_constructor__P2212(s) { +function sprites_RenderText_constructor__P55224(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50532,17 +50565,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderText__C2207_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderText__C55219_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = image_getFontForText__P1958_mk(s); + s.tmp_2 = image_getFontForText__P54970_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 427; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["font"] = (s.tmp_1); - s.tmp_0 = sprites_RenderText_setMaxWidth__P2219_mk(s); + s.tmp_0 = sprites_RenderText_setMaxWidth__P55231_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 428; s.pc = 2; return s.tmp_0; @@ -50552,12 +50585,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_RenderText_constructor__P2212.info = {"start":162,"length":155,"line":7,"column":8,"endLine":11,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"inline","argumentNames":["this","text","maxWidth"]} +sprites_RenderText_constructor__P55224.info = {"start":162,"length":155,"line":7,"column":8,"endLine":11,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"inline","argumentNames":["this","text","maxWidth"]} -function sprites_RenderText_constructor__P2212_mk(s) { +function sprites_RenderText_constructor__P55224_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderText_constructor__P2212, depth: s.depth + 1, + parent: s, fn: sprites_RenderText_constructor__P55224, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50571,7 +50604,7 @@ function sprites_RenderText_constructor__P2212_mk(s) { -function sprites_RenderText_setMaxWidth__P2219(s) { +function sprites_RenderText_setMaxWidth__P55231(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50581,14 +50614,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___21048 = undefined; + s.i___74077 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderText__C2207_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderText__C55219_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; s.tmp_2 = r0 = s.arg1; @@ -50610,7 +50643,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); s.tmp_5 = r0 = s.arg0; - s.tmp_7 = sprites_getLineBreaks__P4826_mk(s); + s.tmp_7 = sprites_getLineBreaks__P57839_mk(s); r0 = s.arg0.fields["text"]; s.tmp_7.arg0 = r0; s.tmp_7.arg1 = s.tmp_0; @@ -50644,9 +50677,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["height"] = (s.tmp_1); r0 = (s.arg0).fields["width"] = (0); - s.i___21048 = (0); + s.i___74077 = (0); case 1: - s.tmp_1 = r0 = s.i___21048; + s.tmp_1 = r0 = s.i___74077; r0 = s.arg0.fields["linebreaks"]; s.tmp_4 = r0; r0 = pxsim_Array__length(s.tmp_4); @@ -50658,17 +50691,17 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } s.tmp_5 = r0 = s.arg0; - s.tmp_7 = Math_max__P130_mk(s); - s.tmp_9 = sprites_RenderText_lineEnd__P2221_mk(s); + s.tmp_7 = Math_max__P53142_mk(s); + s.tmp_9 = sprites_RenderText_lineEnd__P55233_mk(s); s.tmp_9.arg0 = s.arg0; - s.tmp_9.arg1 = s.i___21048; + s.tmp_9.arg1 = s.i___74077; s.callLocIdx = 449; s.pc = 7; return s.tmp_9; case 7: r0 = s.retval; s.tmp_8 = r0; - s.tmp_11 = sprites_RenderText_lineStart__P2222_mk(s); + s.tmp_11 = sprites_RenderText_lineStart__P55234_mk(s); s.tmp_11.arg0 = s.arg0; - s.tmp_11.arg1 = s.i___21048; + s.tmp_11.arg1 = s.i___74077; s.callLocIdx = 450; s.pc = 8; return s.tmp_11; case 8: r0 = s.retval; @@ -50682,8 +50715,8 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_5).fields["width"] = (s.tmp_6); - r0 = (s.i___21048 + 1); - s.i___21048 = (r0); + r0 = (s.i___74077 + 1); + s.i___74077 = (r0); { step = 1; continue; } case 2: s.tmp_0 = r0 = s.arg0; @@ -50710,12 +50743,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_RenderText_setMaxWidth__P2219.info = {"start":2979,"length":465,"line":78,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"setMaxWidth","argumentNames":["this","maxWidth"]} +sprites_RenderText_setMaxWidth__P55231.info = {"start":2979,"length":465,"line":78,"column":8,"endLine":87,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"setMaxWidth","argumentNames":["this","maxWidth"]} -function sprites_RenderText_setMaxWidth__P2219_mk(s) { +function sprites_RenderText_setMaxWidth__P55231_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderText_setMaxWidth__P2219, depth: s.depth + 1, + parent: s, fn: sprites_RenderText_setMaxWidth__P55231, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50729,7 +50762,7 @@ function sprites_RenderText_setMaxWidth__P2219_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - i___21048: undefined, + i___74077: undefined, arg0: undefined, arg1: undefined, } } @@ -50738,7 +50771,7 @@ function sprites_RenderText_setMaxWidth__P2219_mk(s) { -function sprites_getLineBreaks__P4826(s) { +function sprites_getLineBreaks__P57839(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50748,68 +50781,68 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.result___21079 = undefined; - s.lastBreakLocation___21081 = undefined; - s.lastBreak___21082 = undefined; - s.line___21083 = undefined; - s.lineLength___21084 = undefined; - s.nextLine___21087 = undefined; - s.index___21096 = undefined; + s.result___74108 = undefined; + s.lastBreakLocation___74110 = undefined; + s.lastBreak___74111 = undefined; + s.line___74112 = undefined; + s.lineLength___74113 = undefined; + s.nextLine___74116 = undefined; + s.index___74125 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.result___21079 = (r0); - s.lastBreakLocation___21081 = (0); - s.lastBreak___21082 = (0); + s.result___74108 = (r0); + s.lastBreakLocation___74110 = (0); + s.lastBreak___74111 = (0); r0 = pxsim_pxtrt.mklocRef(); - s.line___21083 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.line___21083, 0); + s.line___74112 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.line___74112, 0); r0 = pxsim_pxtrt.mklocRef(); - s.lineLength___21084 = (r0); - s.tmp_0 = r0 = s.lineLength___21084; + s.lineLength___74113 = (r0); + s.tmp_0 = r0 = s.lineLength___74113; s.tmp_2 = r0 = s.arg1; - r0 = pxsim_pxtrt_ldlocRef(s.line___21083); + r0 = pxsim_pxtrt_ldlocRef(s.line___74112); s.tmp_3 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.tmp_3); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtcore_mkAction(3, nextLine__P21087); + r0 = pxsim_pxtcore_mkAction(3, nextLine__P74116); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.line___21083); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.lineLength___21084); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.line___74112); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.lineLength___74113); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg1); - s.nextLine___21087 = (s.tmp_0); - s.index___21096 = (0); + s.nextLine___74116 = (s.tmp_0); + s.index___74125 = (0); case 1: - s.tmp_1 = r0 = s.index___21096; + s.tmp_1 = r0 = s.index___74125; 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 = 16; continue; } - r0 = pxsim_String_.charAt(s.arg0, s.index___21096); + r0 = pxsim_String_.charAt(s.arg0, s.index___74125); s.tmp_4 = r0; r0 = (s.tmp_4 === "\n"); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__push(s.result___21079, s.index___21096); - r0 = (s.index___21096 + 1); - s.index___21096 = (r0); - s.lastBreak___21082 = (s.index___21096); + r0 = pxsim_Array__push(s.result___74108, s.index___74125); + r0 = (s.index___74125 + 1); + s.index___74125 = (r0); + s.lastBreak___74111 = (s.index___74125); s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.nextLine___21087; + s.tmp_0.argL = s.nextLine___74116; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 470; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 9; continue; } case 2: - r0 = pxsim_String_.charAt(s.arg0, s.index___21096); + r0 = pxsim_String_.charAt(s.arg0, s.index___74125); s.tmp_1 = r0; r0 = (s.tmp_1 === "\\"); s.tmp_0 = r0; @@ -50819,7 +50852,7 @@ switch (step) { { step = 4; continue; } case 3: s.tmp_3 = r0 = s.arg0; - r0 = (s.index___21096 + 1); + r0 = (s.index___74125 + 1); s.tmp_4 = r0; r0 = pxsim_String_.charAt(s.tmp_3, s.tmp_4); s.tmp_2 = r0; @@ -50829,20 +50862,20 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } - r0 = pxsim_Array__push(s.result___21079, s.index___21096); - s.lastBreak___21082 = (s.index___21096); - r0 = (s.index___21096 + 2); - s.index___21096 = (r0); + r0 = pxsim_Array__push(s.result___74108, s.index___74125); + s.lastBreak___74111 = (s.index___74125); + r0 = (s.index___74125 + 2); + s.index___74125 = (r0); s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.nextLine___21087; + s.tmp_0.argL = s.nextLine___74116; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 471; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; { step = 8; continue; } case 5: - s.tmp_1 = sprites_isBreakCharacter__P4825_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.index___21096); + s.tmp_1 = sprites_isBreakCharacter__P57838_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.index___74125); s.tmp_1.arg0 = r0; s.callLocIdx = 472; s.pc = 19; return s.tmp_1; case 19: @@ -50850,46 +50883,46 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.lastBreakLocation___21081 = (s.index___21096); + s.lastBreakLocation___74110 = (s.index___74125); case 6: case 7: case 8: case 9: - r0 = (s.index___21096 - s.lastBreak___21082); + r0 = (s.index___74125 - s.lastBreak___74111); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.lineLength___21084); + r0 = pxsim_pxtrt_ldlocRef(s.lineLength___74113); s.tmp_2 = r0; r0 = (s.tmp_1 === s.tmp_2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.lastBreakLocation___21081 === s.index___21096); + r0 = (s.lastBreakLocation___74110 === s.index___74125); s.tmp_3 = r0; r0 = pxsim_numops_toBool(s.tmp_3); if (!r0) { step = 10; continue; } r0 = s.tmp_3; { step = 11; continue; } case 10: - r0 = (s.lastBreakLocation___21081 <= s.lastBreak___21082); + r0 = (s.lastBreakLocation___74110 <= s.lastBreak___74111); case 11: // jmp value (already in r0) s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 12; continue; } - r0 = pxsim_Array__push(s.result___21079, s.index___21096); - s.lastBreak___21082 = (s.index___21096); + r0 = pxsim_Array__push(s.result___74108, s.index___74125); + s.lastBreak___74111 = (s.index___74125); s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.nextLine___21087; + s.tmp_0.argL = s.nextLine___74116; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 473; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; { step = 13; continue; } case 12: - r0 = pxsim_Array__push(s.result___21079, s.lastBreakLocation___21081); - s.lastBreak___21082 = (s.lastBreakLocation___21081); + r0 = pxsim_Array__push(s.result___74108, s.lastBreakLocation___74110); + s.lastBreak___74111 = (s.lastBreakLocation___74110); s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = s.nextLine___21087; + s.tmp_0.argL = s.nextLine___74116; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 474; s.pc = 21; return s.tmp_0; case 21: @@ -50897,20 +50930,20 @@ switch (step) { case 13: case 14: case 15: - r0 = (s.index___21096 + 1); - s.index___21096 = (r0); + r0 = (s.index___74125 + 1); + s.index___74125 = (r0); { step = 1; continue; } case 16: - r0 = s.result___21079; + r0 = s.result___74108; return leave(s, r0) default: oops() } } } -sprites_getLineBreaks__P4826.info = {"start":6471,"length":1548,"line":170,"column":4,"endLine":216,"endColumn":5,"fileName":"pxt_modules/game/renderText.ts","functionName":"getLineBreaks","argumentNames":["text","lineLengths"]} +sprites_getLineBreaks__P57839.info = {"start":6471,"length":1548,"line":170,"column":4,"endLine":216,"endColumn":5,"fileName":"pxt_modules/game/renderText.ts","functionName":"getLineBreaks","argumentNames":["text","lineLengths"]} -function sprites_getLineBreaks__P4826_mk(s) { +function sprites_getLineBreaks__P57839_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_getLineBreaks__P4826, depth: s.depth + 1, + parent: s, fn: sprites_getLineBreaks__P57839, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50918,13 +50951,13 @@ function sprites_getLineBreaks__P4826_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - result___21079: undefined, - lastBreakLocation___21081: undefined, - lastBreak___21082: undefined, - line___21083: undefined, - lineLength___21084: undefined, - nextLine___21087: undefined, - index___21096: undefined, + result___74108: undefined, + lastBreakLocation___74110: undefined, + lastBreak___74111: undefined, + line___74112: undefined, + lineLength___74113: undefined, + nextLine___74116: undefined, + index___74125: undefined, arg0: undefined, arg1: undefined, } } @@ -50933,7 +50966,7 @@ function sprites_getLineBreaks__P4826_mk(s) { -function nextLine__P21087(s) { +function nextLine__P74116(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -50964,12 +50997,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -nextLine__P21087.info = {"start":6718,"length":116,"line":178,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"nextLine","argumentNames":[]} +nextLine__P74116.info = {"start":6718,"length":116,"line":178,"column":8,"endLine":181,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"nextLine","argumentNames":[]} -function nextLine__P21087_mk(s) { +function nextLine__P74116_mk(s) { checkStack(s.depth); return { - parent: s, fn: nextLine__P21087, depth: s.depth + 1, + parent: s, fn: nextLine__P74116, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -50983,7 +51016,7 @@ function nextLine__P21087_mk(s) { -function sprites_isBreakCharacter__P4825(s) { +function sprites_isBreakCharacter__P57838(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51063,12 +51096,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_isBreakCharacter__P4825.info = {"start":6231,"length":234,"line":163,"column":4,"endLine":168,"endColumn":5,"fileName":"pxt_modules/game/renderText.ts","functionName":"isBreakCharacter","argumentNames":["charCode"]} +sprites_isBreakCharacter__P57838.info = {"start":6231,"length":234,"line":163,"column":4,"endLine":168,"endColumn":5,"fileName":"pxt_modules/game/renderText.ts","functionName":"isBreakCharacter","argumentNames":["charCode"]} -function sprites_isBreakCharacter__P4825_mk(s) { +function sprites_isBreakCharacter__P57838_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_isBreakCharacter__P4825, depth: s.depth + 1, + parent: s, fn: sprites_isBreakCharacter__P57838, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51087,7 +51120,7 @@ function sprites_isBreakCharacter__P4825_mk(s) { -function sprites_BaseSpriteSayRenderer_destroy__P2244(s) { +function sprites_BaseSpriteSayRenderer_destroy__P55256(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51102,17 +51135,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2240_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C55252_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_destroy__P2244.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__P55256.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__P2244_mk(s) { +function sprites_BaseSpriteSayRenderer_destroy__P55256_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P2244, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P55256, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -51121,7 +51154,7 @@ function sprites_BaseSpriteSayRenderer_destroy__P2244_mk(s) { -function controller_Button_onEvent__P2177(s) { +function controller_Button_onEvent__P55189(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51131,7 +51164,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.eventHandler___21208 = undefined; + s.eventHandler___74237 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -51139,28 +51172,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2170_VT)) failedCast(r0); - s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P4811_mk(s); + if (!checkSubtype(r0, controller_Button__C55182_VT)) failedCast(r0); + s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P57824_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 333; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.eventHandler___21208 = (r0); - r0 = (s.eventHandler___21208).fields["callback"] = (s.arg2); + s.eventHandler___74237 = (r0); + r0 = (s.eventHandler___74237).fields["callback"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P2177.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__P55189.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__P2177_mk(s) { +function controller_Button_onEvent__P55189_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P2177, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P55189, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - eventHandler___21208: undefined, + eventHandler___74237: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -51170,7 +51203,7 @@ function controller_Button_onEvent__P2177_mk(s) { -function controller_Button_getOrCreateHandlerForEvent__P4811(s) { +function controller_Button_getOrCreateHandlerForEvent__P57824(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51180,19 +51213,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___21229 = undefined; - s.eventHandler___21238 = undefined; - s.unnamed1494___U2 = undefined; - s.unnamed1495___U3 = undefined; - s.newHandler___21254 = undefined; + s.handlerState___74258 = undefined; + s.eventHandler___74267 = undefined; + s.unnamed234___U2 = undefined; + s.unnamed235___U3 = undefined; + s.newHandler___74283 = 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__C2170_VT)) failedCast(r0); - s.tmp_3 = controller_Button_handlerState__P4806_mk(s); + if (!checkSubtype(r0, controller_Button__C55182_VT)) failedCast(r0); + s.tmp_3 = controller_Button_handlerState__P57819_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 343; s.pc = 10; return s.tmp_3; case 10: @@ -51204,16 +51237,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonEventHandlerState__C2166_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonEventHandlerState__C55178_VT); s.tmp_4 = r0; - s.tmp_5 = controller_ButtonEventHandlerState_constructor__P2167_mk(s); + s.tmp_5 = controller_ButtonEventHandlerState_constructor__P55179_mk(s); s.tmp_5.arg0 = s.tmp_4; r0 = s.arg0.fields["id"]; s.tmp_5.arg1 = r0; s.callLocIdx = 345; s.pc = 11; return s.tmp_5; case 11: r0 = s.retval; - s.tmp_7 = game_currentScene__P2979_mk(s); + s.tmp_7 = game_currentScene__P55991_mk(s); s.callLocIdx = 344; s.pc = 12; return s.tmp_7; case 12: r0 = s.retval; @@ -51222,13 +51255,13 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_6, s.tmp_4); case 1: case 2: - s.tmp_0 = controller_Button_handlerState__P4806_mk(s); + s.tmp_0 = controller_Button_handlerState__P57819_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 346; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.handlerState___21229 = (r0); - r0 = s.handlerState___21229.fields["user"]; + s.handlerState___74258 = (r0); + r0 = s.handlerState___74258.fields["user"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -51236,44 +51269,44 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_3 = r0 = s.handlerState___21229; + s.tmp_3 = r0 = s.handlerState___74258; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = (s.tmp_3).fields["user"] = (s.tmp_4); case 3: case 4: - s.eventHandler___21238 = (undefined); - r0 = s.handlerState___21229.fields["user"]; - s.unnamed1494___U2 = (r0); - s.unnamed1495___U3 = (0); + s.eventHandler___74267 = (undefined); + r0 = s.handlerState___74258.fields["user"]; + s.unnamed234___U2 = (r0); + s.unnamed235___U3 = (0); case 5: - s.tmp_0 = r0 = s.unnamed1495___U3; - r0 = pxsim_Array__length(s.unnamed1494___U2); + s.tmp_0 = r0 = s.unnamed235___U3; + r0 = pxsim_Array__length(s.unnamed234___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 8; continue; } - r0 = pxsim_Array__getAt(s.unnamed1494___U2, s.unnamed1495___U3); - s.eventHandler___21238 = (r0); - r0 = s.eventHandler___21238.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed234___U2, s.unnamed235___U3); + s.eventHandler___74267 = (r0); + r0 = s.eventHandler___74267.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___21238; + r0 = s.eventHandler___74267; { step = 9; continue; } case 6: case 7: - r0 = (s.unnamed1495___U3 + 1); - s.unnamed1495___U3 = (r0); + r0 = (s.unnamed235___U3 + 1); + s.unnamed235___U3 = (r0); { step = 5; continue; } case 8: - s.unnamed1494___U2 = (undefined); - r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P21251); + s.unnamed234___U2 = (undefined); + r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P74280); 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__P53403_mk(s); s.tmp_5.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_5.arg1 = r0; @@ -51282,30 +51315,30 @@ switch (step) { s.callLocIdx = 348; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonHandler__C2164_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonHandler__C55176_VT); s.tmp_0 = r0; - s.tmp_1 = controller_ButtonHandler_constructor__P2165_mk(s); + s.tmp_1 = controller_ButtonHandler_constructor__P55177_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = undefined; s.callLocIdx = 349; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.newHandler___21254 = (s.tmp_0); - r0 = s.handlerState___21229.fields["user"]; + s.newHandler___74283 = (s.tmp_0); + r0 = s.handlerState___74258.fields["user"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.newHandler___21254); - r0 = s.newHandler___21254; + r0 = pxsim_Array__push(s.tmp_0, s.newHandler___74283); + r0 = s.newHandler___74283; case 9: return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent__P4811.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__P57824.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__P4811_mk(s) { +function controller_Button_getOrCreateHandlerForEvent__P57824_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P4811, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P57824, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51315,11 +51348,11 @@ function controller_Button_getOrCreateHandlerForEvent__P4811_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - handlerState___21229: undefined, - eventHandler___21238: undefined, - unnamed1494___U2: undefined, - unnamed1495___U3: undefined, - newHandler___21254: undefined, + handlerState___74258: undefined, + eventHandler___74267: undefined, + unnamed234___U2: undefined, + unnamed235___U3: undefined, + newHandler___74283: undefined, arg0: undefined, arg1: undefined, } } @@ -51328,7 +51361,7 @@ function controller_Button_getOrCreateHandlerForEvent__P4811_mk(s) { -function controller_Button_getOrCreateHandlerForEvent_inline__P21251(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P74280(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51338,7 +51371,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_runButtonEvents__P4810_mk(s); + s.tmp_0 = controller_Button_runButtonEvents__P57823_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[1]; s.callLocIdx = 347; s.pc = 1; return s.tmp_0; @@ -51348,12 +51381,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent_inline__P21251.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__P74280.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__P21251_mk(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P74280_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P21251, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P74280, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -51362,7 +51395,7 @@ function controller_Button_getOrCreateHandlerForEvent_inline__P21251_mk(s) { -function controller_Button_runButtonEvents__P4810(s) { +function controller_Button_runButtonEvents__P57823(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51372,25 +51405,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___21268 = undefined; - s.userHandler___21272 = undefined; - s.eventHandler___21283 = undefined; - s.unnamed1492___U3 = undefined; - s.unnamed1493___U4 = undefined; + s.handlerState___74297 = undefined; + s.userHandler___74301 = undefined; + s.eventHandler___74312 = undefined; + s.unnamed232___U3 = undefined; + s.unnamed233___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__C2170_VT)) failedCast(r0); - s.tmp_0 = controller_Button_handlerState__P4806_mk(s); + if (!checkSubtype(r0, controller_Button__C55182_VT)) failedCast(r0); + s.tmp_0 = controller_Button_handlerState__P57819_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 339; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.handlerState___21268 = (r0); - r0 = pxsim_numops_toBoolDecr(s.handlerState___21268); + s.handlerState___74297 = (r0); + r0 = pxsim_numops_toBoolDecr(s.handlerState___74297); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -51399,19 +51432,19 @@ switch (step) { { step = 13; continue; } case 1: case 2: - s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P4811_mk(s); + s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P57824_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 340; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; - s.userHandler___21272 = (r0); - r0 = s.userHandler___21272.fields["callback"]; + s.userHandler___74301 = (r0); + r0 = s.userHandler___74301.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___21272; + s.tmp_1.arg0 = s.userHandler___74301; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "callback"), 1); s.callLocIdx = 341; s.pc = 16; return s.tmp_1; @@ -51425,23 +51458,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = s.handlerState___21268.fields["system"]; + r0 = s.handlerState___74297.fields["system"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.eventHandler___21283 = (undefined); - r0 = s.handlerState___21268.fields["system"]; - s.unnamed1492___U3 = (r0); - s.unnamed1493___U4 = (0); + s.eventHandler___74312 = (undefined); + r0 = s.handlerState___74297.fields["system"]; + s.unnamed232___U3 = (r0); + s.unnamed233___U4 = (0); case 5: - s.tmp_0 = r0 = s.unnamed1493___U4; - r0 = pxsim_Array__length(s.unnamed1492___U3); + s.tmp_0 = r0 = s.unnamed233___U4; + r0 = pxsim_Array__length(s.unnamed232___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed1492___U3, s.unnamed1493___U4); - s.eventHandler___21283 = (r0); - r0 = s.eventHandler___21283.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed232___U3, s.unnamed233___U4); + s.eventHandler___74312 = (r0); + r0 = s.eventHandler___74312.fields["event"]; s.tmp_3 = r0; r0 = (s.tmp_3 === s.arg1); s.tmp_2 = r0; @@ -51450,14 +51483,14 @@ switch (step) { r0 = s.tmp_2; { step = 7; continue; } case 6: - r0 = s.eventHandler___21283.fields["callback"]; + r0 = s.eventHandler___74312.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___21283; + s.tmp_5.arg0 = s.eventHandler___74312; if (!s.tmp_5.arg0.vtable.iface) { setupLambda(s.tmp_5, pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "callback"), 1); s.callLocIdx = 342; s.pc = 17; return s.tmp_5; @@ -51471,11 +51504,11 @@ switch (step) { r0 = s.retval; case 8: case 9: - r0 = (s.unnamed1493___U4 + 1); - s.unnamed1493___U4 = (r0); + r0 = (s.unnamed233___U4 + 1); + s.unnamed233___U4 = (r0); { step = 5; continue; } case 10: - s.unnamed1492___U3 = (undefined); + s.unnamed232___U3 = (undefined); case 11: case 12: case 13: @@ -51483,12 +51516,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_runButtonEvents__P4810.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__P57823.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__P4810_mk(s) { +function controller_Button_runButtonEvents__P57823_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_runButtonEvents__P4810, depth: s.depth + 1, + parent: s, fn: controller_Button_runButtonEvents__P57823, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51496,11 +51529,11 @@ function controller_Button_runButtonEvents__P4810_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - handlerState___21268: undefined, - userHandler___21272: undefined, - eventHandler___21283: undefined, - unnamed1492___U3: undefined, - unnamed1493___U4: undefined, + handlerState___74297: undefined, + userHandler___74301: undefined, + eventHandler___74312: undefined, + unnamed232___U3: undefined, + unnamed233___U4: undefined, arg0: undefined, arg1: undefined, } } @@ -51509,7 +51542,7 @@ function controller_Button_runButtonEvents__P4810_mk(s) { -function controller_Button_handlerState__P4806(s) { +function controller_Button_handlerState__P57819(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51519,32 +51552,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___21299 = undefined; - s.unnamed1490___U1 = undefined; - s.unnamed1491___U2 = undefined; + s.state___74328 = undefined; + s.unnamed230___U1 = undefined; + s.unnamed231___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2170_VT)) failedCast(r0); - s.state___21299 = (undefined); - s.tmp_0 = game_currentScene__P2979_mk(s); + if (!checkSubtype(r0, controller_Button__C55182_VT)) failedCast(r0); + s.state___74328 = (undefined); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 329; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = r0.fields["buttonEventHandlers"]; - s.unnamed1490___U1 = (r0); - s.unnamed1491___U2 = (0); + s.unnamed230___U1 = (r0); + s.unnamed231___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1491___U2; - r0 = pxsim_Array__length(s.unnamed1490___U1); + s.tmp_0 = r0 = s.unnamed231___U2; + r0 = pxsim_Array__length(s.unnamed230___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed1490___U1, s.unnamed1491___U2); - s.state___21299 = (r0); - r0 = s.state___21299.fields["id"]; + r0 = pxsim_Array__getAt(s.unnamed230___U1, s.unnamed231___U2); + s.state___74328 = (r0); + r0 = s.state___74328.fields["id"]; s.tmp_3 = r0; r0 = s.arg0.fields["id"]; s.tmp_4 = r0; @@ -51552,36 +51585,36 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.state___21299; + r0 = s.state___74328; { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed1491___U2 + 1); - s.unnamed1491___U2 = (r0); + r0 = (s.unnamed231___U2 + 1); + s.unnamed231___U2 = (r0); { step = 1; continue; } case 4: - s.unnamed1490___U1 = (undefined); + s.unnamed230___U1 = (undefined); r0 = undefined; case 5: return leaveAccessor(s, r0) default: oops() } } } -controller_Button_handlerState__P4806.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__P4806.isGetter = true; +controller_Button_handlerState__P57819.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__P57819.isGetter = true; -function controller_Button_handlerState__P4806_mk(s) { +function controller_Button_handlerState__P57819_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_handlerState__P4806, depth: s.depth + 1, + parent: s, fn: controller_Button_handlerState__P57819, 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___21299: undefined, - unnamed1490___U1: undefined, - unnamed1491___U2: undefined, + state___74328: undefined, + unnamed230___U1: undefined, + unnamed231___U2: undefined, arg0: undefined, } } @@ -51589,7 +51622,7 @@ function controller_Button_handlerState__P4806_mk(s) { -function controller_ButtonEventHandlerState_constructor__P2167(s) { +function controller_ButtonEventHandlerState_constructor__P55179(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51605,18 +51638,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ButtonEventHandlerState__C2166_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ButtonEventHandlerState__C55178_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_ButtonEventHandlerState_constructor__P2167.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__P55179.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__P2167_mk(s) { +function controller_ButtonEventHandlerState_constructor__P55179_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ButtonEventHandlerState_constructor__P2167, depth: s.depth + 1, + parent: s, fn: controller_ButtonEventHandlerState_constructor__P55179, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -51626,7 +51659,7 @@ function controller_ButtonEventHandlerState_constructor__P2167_mk(s) { -function controller_ButtonHandler_constructor__P2165(s) { +function controller_ButtonHandler_constructor__P55177(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51643,19 +51676,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ButtonHandler__C2164_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ButtonHandler__C55176_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__P2165.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__P55177.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__P2165_mk(s) { +function controller_ButtonHandler_constructor__P55177_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ButtonHandler_constructor__P2165, depth: s.depth + 1, + parent: s, fn: controller_ButtonHandler_constructor__P55177, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -51666,7 +51699,7 @@ function controller_ButtonHandler_constructor__P2165_mk(s) { -function tiles_createTilemap__P2742(s) { +function tiles_createTilemap__P55754(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51683,9 +51716,9 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMapData__C2697_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_TileMapData__C55709_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_TileMapData_constructor__P2698_mk(s); + s.tmp_1 = tiles_TileMapData_constructor__P55710_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.arg1; @@ -51698,12 +51731,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_createTilemap__P2742.info = {"start":18693,"length":170,"line":587,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"createTilemap","argumentNames":["data","layer","tiles","scale"]} +tiles_createTilemap__P55754.info = {"start":18693,"length":170,"line":587,"column":4,"endLine":589,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"createTilemap","argumentNames":["data","layer","tiles","scale"]} -function tiles_createTilemap__P2742_mk(s) { +function tiles_createTilemap__P55754_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_createTilemap__P2742, depth: s.depth + 1, + parent: s, fn: tiles_createTilemap__P55754, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51717,7 +51750,7 @@ function tiles_createTilemap__P2742_mk(s) { -function tiles_TileMapData_constructor__P2698(s) { +function tiles_TileMapData_constructor__P55710(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51736,11 +51769,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2697_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C55709_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__P2702_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P55714_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.callLocIdx = 1226; s.pc = 1; return s.tmp_0; @@ -51758,12 +51791,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P2698.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__P55710.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__P2698_mk(s) { +function tiles_TileMapData_constructor__P55710_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P2698, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P55710, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51778,7 +51811,7 @@ function tiles_TileMapData_constructor__P2698_mk(s) { -function helpers_stringTrim__P123(s) { +function helpers_stringTrim__P53135(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51788,27 +51821,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___21396 = undefined; - s.end___21397 = undefined; + s.start___74425 = undefined; + s.end___74426 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.start___21396 = (0); + s.start___74425 = (0); r0 = pxsim_String_.length(s.arg0); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.end___21397 = (r0); + s.end___74426 = (r0); case 1: - r0 = (s.start___21396 <= s.end___21397); + r0 = (s.start___74425 <= s.end___74426); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } r0 = s.tmp_0; { step = 3; continue; } case 2: - s.tmp_1 = helpers_isWhitespace__P124_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.start___21396); + s.tmp_1 = helpers_isWhitespace__P53136_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.start___74425); s.tmp_1.arg0 = r0; s.callLocIdx = 23; s.pc = 9; return s.tmp_1; case 9: @@ -51818,20 +51851,20 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - r0 = (s.start___21396 + 1); - s.start___21396 = (r0); + r0 = (s.start___74425 + 1); + s.start___74425 = (r0); { step = 1; continue; } case 4: case 5: - r0 = (s.end___21397 > s.start___21396); + r0 = (s.end___74426 > s.start___74425); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 6; continue; } r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_1 = helpers_isWhitespace__P124_mk(s); - r0 = pxsim_String_.charCodeAt(s.arg0, s.end___21397); + s.tmp_1 = helpers_isWhitespace__P53136_mk(s); + r0 = pxsim_String_.charCodeAt(s.arg0, s.end___74426); s.tmp_1.arg0 = r0; s.callLocIdx = 24; s.pc = 10; return s.tmp_1; case 10: @@ -51841,14 +51874,14 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - r0 = (s.end___21397 - 1); - s.end___21397 = (r0); + r0 = (s.end___74426 - 1); + s.end___74426 = (r0); { step = 5; continue; } case 8: - s.tmp_0 = helpers_stringSlice__P119_mk(s); + s.tmp_0 = helpers_stringSlice__P53131_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.start___21396; - r0 = (s.end___21397 + 1); + s.tmp_0.arg1 = s.start___74425; + r0 = (s.end___74426 + 1); s.tmp_0.arg2 = r0; s.callLocIdx = 25; s.pc = 11; return s.tmp_0; case 11: @@ -51856,18 +51889,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringTrim__P123.info = {"start":14539,"length":319,"line":491,"column":4,"endLine":501,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringTrim","argumentNames":["s"]} +helpers_stringTrim__P53135.info = {"start":14539,"length":319,"line":491,"column":4,"endLine":501,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"stringTrim","argumentNames":["s"]} -function helpers_stringTrim__P123_mk(s) { +function helpers_stringTrim__P53135_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringTrim__P123, depth: s.depth + 1, + parent: s, fn: helpers_stringTrim__P53135, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - start___21396: undefined, - end___21397: undefined, + start___74425: undefined, + end___74426: undefined, arg0: undefined, } } @@ -51875,7 +51908,7 @@ function helpers_stringTrim__P123_mk(s) { -function helpers__registerFactory__P3312(s) { +function helpers__registerFactory__P56324(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51890,31 +51923,31 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.factories___5441); + r0 = pxsim_numops_toBoolDecr(globals.factories___58454); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); - globals.factories___5441 = (r0); + globals.factories___58454 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "kind", s.arg0); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "factory", s.arg1); - r0 = pxsim_Array__push(globals.factories___5441, s.tmp_0); + r0 = pxsim_Array__push(globals.factories___58454, s.tmp_0); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers__registerFactory__P3312.info = {"start":2019,"length":201,"line":58,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"_registerFactory","argumentNames":["kind","factory"]} +helpers__registerFactory__P56324.info = {"start":2019,"length":201,"line":58,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/game/assetTemplates.ts","functionName":"_registerFactory","argumentNames":["kind","factory"]} -function helpers__registerFactory__P3312_mk(s) { +function helpers__registerFactory__P56324_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers__registerFactory__P3312, depth: s.depth + 1, + parent: s, fn: helpers__registerFactory__P56324, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -51926,7 +51959,7 @@ function helpers__registerFactory__P3312_mk(s) { -function forestFire_FireState_constructor__P7159(s) { +function forestFire_FireState_constructor__P60172(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -51941,7 +51974,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, forestFire_FireState__C7146_VT)) failedCast(r0); + if (!checkSubtype(r0, forestFire_FireState__C60159_VT)) failedCast(r0); r0 = (s.arg0).fields["period"] = (300); r0 = s.arg0.fields["period"]; s.tmp_0 = r0; @@ -51975,24 +52008,24 @@ switch (step) { r0 = (s.arg0).fields["dryGrass"] = (5); r0 = (s.arg0).fields["fireHasStarted"] = (false); r0 = (s.arg0).fields["updateHasBeenCalled"] = (false); - r0 = pxsim_pxtcore_mkAction(1, forestFire_FireState_inline__P21482); + r0 = pxsim_pxtcore_mkAction(1, forestFire_FireState_inline__P74511); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onUpdate__P3003_mk(s); + s.tmp_1 = game_onUpdate__P56015_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 2369; s.pc = 1; return s.tmp_1; + s.callLocIdx = 2370; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -forestFire_FireState_constructor__P7159.info = {"start":544,"length":2929,"line":23,"column":8,"endLine":98,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"inline","argumentNames":["this"]} +forestFire_FireState_constructor__P60172.info = {"start":544,"length":2929,"line":23,"column":8,"endLine":98,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"inline","argumentNames":["this"]} -function forestFire_FireState_constructor__P7159_mk(s) { +function forestFire_FireState_constructor__P60172_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_FireState_constructor__P7159, depth: s.depth + 1, + parent: s, fn: forestFire_FireState_constructor__P60172, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52003,7 +52036,7 @@ function forestFire_FireState_constructor__P7159_mk(s) { -function forestFire_FireState_inline__P21482(s) { +function forestFire_FireState_inline__P74511(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52013,50 +52046,50 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.burntTrees___21483 = undefined; - s.unburntTrees___21484 = undefined; - s.activeFires___21485 = undefined; - s.tile___21487 = undefined; - s.unnamed1530___U4 = undefined; - s.unnamed1531___U5 = undefined; - s.x___21496 = undefined; - s.y___21503 = undefined; - s.totalTrees___21541 = undefined; - s.score___21568 = undefined; - s.burntTrees___21483 = (0); - s.unburntTrees___21484 = (0); - s.activeFires___21485 = (0); - s.tile___21487 = (undefined); + s.burntTrees___74512 = undefined; + s.unburntTrees___74513 = undefined; + s.activeFires___74514 = undefined; + s.tile___74516 = undefined; + s.unnamed270___U4 = undefined; + s.unnamed271___U5 = undefined; + s.x___74525 = undefined; + s.y___74532 = undefined; + s.totalTrees___74570 = undefined; + s.score___74597 = undefined; + s.burntTrees___74512 = (0); + s.unburntTrees___74513 = (0); + s.activeFires___74514 = (0); + s.tile___74516 = (undefined); r0 = s.caps[0].fields["unburntTileCache"]; - s.unnamed1530___U4 = (r0); - s.unnamed1531___U5 = (0); + s.unnamed270___U4 = (r0); + s.unnamed271___U5 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1531___U5; - r0 = pxsim_Array__length(s.unnamed1530___U4); + s.tmp_0 = r0 = s.unnamed271___U5; + r0 = pxsim_Array__length(s.unnamed270___U4); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1530___U4, s.unnamed1531___U5); - s.tile___21487 = (r0); - s.tmp_2 = r0 = s.unburntTrees___21484; - s.tmp_5 = tiles_getTilesByType__P2755_mk(s); - s.tmp_5.arg0 = s.tile___21487; - s.callLocIdx = 2356; s.pc = 26; return s.tmp_5; + r0 = pxsim_Array__getAt(s.unnamed270___U4, s.unnamed271___U5); + s.tile___74516 = (r0); + s.tmp_2 = r0 = s.unburntTrees___74513; + s.tmp_5 = tiles_getTilesByType__P55767_mk(s); + s.tmp_5.arg0 = s.tile___74516; + s.callLocIdx = 2357; s.pc = 26; return s.tmp_5; case 26: r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_Array__length(s.tmp_4); s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.unburntTrees___21484 = (r0); - r0 = (s.unnamed1531___U5 + 1); - s.unnamed1531___U5 = (r0); + s.unburntTrees___74513 = (r0); + r0 = (s.unnamed271___U5 + 1); + s.unnamed271___U5 = (r0); { step = 1; continue; } case 2: - s.unnamed1530___U4 = (undefined); - s.x___21496 = (0); + s.unnamed270___U4 = (undefined); + s.x___74525 = (0); case 3: - s.tmp_1 = r0 = s.x___21496; + s.tmp_1 = r0 = s.x___74525; r0 = s.caps[0].fields["timeBuffer"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.width(s.tmp_3); @@ -52065,9 +52098,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.y___21503 = (0); + s.y___74532 = (0); case 4: - s.tmp_1 = r0 = s.y___21503; + s.tmp_1 = r0 = s.y___74532; r0 = s.caps[0].fields["timeBuffer"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -52078,7 +52111,7 @@ switch (step) { if (!r0) { step = 12; continue; } r0 = s.caps[0].fields["timeBuffer"]; s.tmp_6 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_6, s.x___21496, s.y___21503); + r0 = pxsim_ImageMethods.getPixel(s.tmp_6, s.x___74525, s.y___74532); s.tmp_5 = r0; r0 = (s.tmp_5 === 0); s.tmp_4 = r0; @@ -52089,57 +52122,57 @@ switch (step) { case 5: r0 = s.caps[0].fields["timeBuffer"]; s.tmp_9 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_9, s.x___21496, s.y___21503); + r0 = pxsim_ImageMethods.getPixel(s.tmp_9, s.x___74525, s.y___74532); s.tmp_8 = r0; r0 = (s.tmp_8 < 15); s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 6; continue; } - r0 = (s.activeFires___21485 + 1); - s.activeFires___21485 = (r0); - r0 = (s.burntTrees___21483 + 1); - s.burntTrees___21483 = (r0); + r0 = (s.activeFires___74514 + 1); + s.activeFires___74514 = (r0); + r0 = (s.burntTrees___74512 + 1); + s.burntTrees___74512 = (r0); { step = 9; continue; } case 6: r0 = s.caps[0].fields["timeBuffer"]; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.getPixel(s.tmp_2, s.x___21496, s.y___21503); + r0 = pxsim_ImageMethods.getPixel(s.tmp_2, s.x___74525, s.y___74532); s.tmp_1 = r0; r0 = (s.tmp_1 === 15); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (s.burntTrees___21483 + 1); - s.burntTrees___21483 = (r0); + r0 = (s.burntTrees___74512 + 1); + s.burntTrees___74512 = (r0); case 7: case 8: case 9: case 10: case 11: - r0 = (s.y___21503 + 1); - s.y___21503 = (r0); + r0 = (s.y___74532 + 1); + s.y___74532 = (r0); { step = 4; continue; } case 12: - r0 = (s.x___21496 + 1); - s.x___21496 = (r0); + r0 = (s.x___74525 + 1); + s.x___74525 = (r0); { step = 3; continue; } case 13: - r0 = (s.unburntTrees___21484 + s.burntTrees___21483); - s.totalTrees___21541 = (r0); - s.tmp_0 = hud_updateForestHealth__P4399_mk(s); - s.tmp_0.arg0 = s.totalTrees___21541; - s.tmp_0.arg1 = s.unburntTrees___21484; - s.callLocIdx = 2357; s.pc = 27; return s.tmp_0; + r0 = (s.unburntTrees___74513 + s.burntTrees___74512); + s.totalTrees___74570 = (r0); + s.tmp_0 = hud_updateForestHealth__P57412_mk(s); + s.tmp_0.arg0 = s.totalTrees___74570; + s.tmp_0.arg1 = s.unburntTrees___74513; + s.callLocIdx = 2358; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.tmp_0 = hud_updateFireNumber__P4401_mk(s); - s.tmp_0.arg0 = s.activeFires___21485; - s.callLocIdx = 2358; s.pc = 28; return s.tmp_0; + s.tmp_0 = hud_updateFireNumber__P57414_mk(s); + s.tmp_0.arg0 = s.activeFires___74514; + s.callLocIdx = 2359; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; - s.tmp_2 = forestFire_FireState_danger__P7147_mk(s); + s.tmp_2 = forestFire_FireState_danger__P60160_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 2359; s.pc = 29; return s.tmp_2; + s.callLocIdx = 2360; s.pc = 29; return s.tmp_2; case 29: r0 = s.retval; s.tmp_1 = r0; @@ -52147,16 +52180,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_3 = hud_updateDangerBarColors__P4400_mk(s); + s.tmp_3 = hud_updateDangerBarColors__P57413_mk(s); s.tmp_3.arg0 = 7; - s.callLocIdx = 2360; s.pc = 30; return s.tmp_3; + s.callLocIdx = 2361; s.pc = 30; return s.tmp_3; case 30: r0 = s.retval; { step = 19; continue; } case 14: - s.tmp_2 = forestFire_FireState_danger__P7147_mk(s); + s.tmp_2 = forestFire_FireState_danger__P60160_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 2361; s.pc = 31; return s.tmp_2; + s.callLocIdx = 2362; s.pc = 31; return s.tmp_2; case 31: r0 = s.retval; s.tmp_1 = r0; @@ -52164,16 +52197,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_3 = hud_updateDangerBarColors__P4400_mk(s); + s.tmp_3 = hud_updateDangerBarColors__P57413_mk(s); s.tmp_3.arg0 = 5; - s.callLocIdx = 2362; s.pc = 32; return s.tmp_3; + s.callLocIdx = 2363; s.pc = 32; return s.tmp_3; case 32: r0 = s.retval; { step = 18; continue; } case 15: - s.tmp_2 = forestFire_FireState_danger__P7147_mk(s); + s.tmp_2 = forestFire_FireState_danger__P60160_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.callLocIdx = 2363; s.pc = 33; return s.tmp_2; + s.callLocIdx = 2364; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; s.tmp_1 = r0; @@ -52181,16 +52214,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.tmp_3 = hud_updateDangerBarColors__P4400_mk(s); + s.tmp_3 = hud_updateDangerBarColors__P57413_mk(s); s.tmp_3.arg0 = 4; - s.callLocIdx = 2364; s.pc = 34; return s.tmp_3; + s.callLocIdx = 2365; s.pc = 34; return s.tmp_3; case 34: r0 = s.retval; { step = 17; continue; } case 16: - s.tmp_0 = hud_updateDangerBarColors__P4400_mk(s); + s.tmp_0 = hud_updateDangerBarColors__P57413_mk(s); s.tmp_0.arg0 = 2; - s.callLocIdx = 2365; s.pc = 35; return s.tmp_0; + s.callLocIdx = 2366; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; case 17: @@ -52212,30 +52245,30 @@ switch (step) { r0 = s.tmp_1; { step = 23; continue; } case 22: - r0 = (s.activeFires___21485 == 0); + r0 = (s.activeFires___74514 == 0); case 23: // jmp value (already in r0) s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 24; continue; } - r0 = (s.unburntTrees___21484 / s.totalTrees___21541); + r0 = (s.unburntTrees___74513 / s.totalTrees___74570); s.tmp_4 = r0; r0 = (s.tmp_4 * 100); s.tmp_3 = r0; r0 = pxsim.Math_.round(s.tmp_3); - s.score___21568 = (r0); - s.tmp_0 = info_setScore__P2552_mk(s); - s.tmp_0.arg0 = s.score___21568; - s.callLocIdx = 2366; s.pc = 36; return s.tmp_0; + s.score___74597 = (r0); + s.tmp_0 = info_setScore__P55564_mk(s); + s.tmp_0.arg0 = s.score___74597; + s.callLocIdx = 2367; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = game_splash__P2945_mk(s); - if ((s.score___21568) && (s.score___21568).vtable) { + s.tmp_0 = game_splash__P55957_mk(s); + if ((s.score___74597) && (s.score___74597).vtable) { setupResume(s, 38); - pxsim_String__stringConv(s.score___21568); + pxsim_String__stringConv(s.score___74597); checkResumeConsumed(); return; - } else { s.retval = (s.score___21568) + ""; } + } else { s.retval = (s.score___74597) + ""; } case 38: r0 = s.retval; s.tmp_3 = r0; @@ -52253,14 +52286,14 @@ switch (step) { r0 = pxsim_String__concat(s.tmp_1, "% of the forest!"); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; - s.callLocIdx = 2367; s.pc = 37; return s.tmp_0; + s.callLocIdx = 2368; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - s.tmp_0 = game_over__P2992_mk(s); - r0 = (s.score___21568 > 0); + s.tmp_0 = game_over__P56004_mk(s); + r0 = (s.score___74597 > 0); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; - s.callLocIdx = 2368; s.pc = 40; return s.tmp_0; + s.callLocIdx = 2369; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; case 24: @@ -52269,12 +52302,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forestFire_FireState_inline__P21482.info = {"start":1694,"length":1768,"line":53,"column":26,"endLine":97,"endColumn":13,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"inline","argumentNames":[]} +forestFire_FireState_inline__P74511.info = {"start":1694,"length":1768,"line":53,"column":26,"endLine":97,"endColumn":13,"fileName":"pxt_modules/pxt-arcade-forest-fire/fire.ts","functionName":"inline","argumentNames":[]} -function forestFire_FireState_inline__P21482_mk(s) { +function forestFire_FireState_inline__P74511_mk(s) { checkStack(s.depth); return { - parent: s, fn: forestFire_FireState_inline__P21482, depth: s.depth + 1, + parent: s, fn: forestFire_FireState_inline__P74511, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52286,23 +52319,23 @@ function forestFire_FireState_inline__P21482_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - burntTrees___21483: undefined, - unburntTrees___21484: undefined, - activeFires___21485: undefined, - tile___21487: undefined, - unnamed1530___U4: undefined, - unnamed1531___U5: undefined, - x___21496: undefined, - y___21503: undefined, - totalTrees___21541: undefined, - score___21568: undefined, + burntTrees___74512: undefined, + unburntTrees___74513: undefined, + activeFires___74514: undefined, + tile___74516: undefined, + unnamed270___U4: undefined, + unnamed271___U5: undefined, + x___74525: undefined, + y___74532: undefined, + totalTrees___74570: undefined, + score___74597: undefined, } } -function hud_updateFireNumber__P4401(s) { +function hud_updateFireNumber__P57414(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52316,17 +52349,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.fireNumber___7127 = (s.arg0); + globals.fireNumber___60140 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -hud_updateFireNumber__P4401.info = {"start":4626,"length":83,"line":164,"column":4,"endLine":166,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"updateFireNumber","argumentNames":["fires"]} +hud_updateFireNumber__P57414.info = {"start":4626,"length":83,"line":164,"column":4,"endLine":166,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"updateFireNumber","argumentNames":["fires"]} -function hud_updateFireNumber__P4401_mk(s) { +function hud_updateFireNumber__P57414_mk(s) { checkStack(s.depth); return { - parent: s, fn: hud_updateFireNumber__P4401, depth: s.depth + 1, + parent: s, fn: hud_updateFireNumber__P57414, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -52335,7 +52368,7 @@ function hud_updateFireNumber__P4401_mk(s) { -function hud_updateDangerBarColors__P4400(s) { +function hud_updateDangerBarColors__P57413(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52349,17 +52382,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.fireDangerColor___7130 = (s.arg0); + globals.fireDangerColor___60143 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -hud_updateDangerBarColors__P4400.info = {"start":4527,"length":93,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"updateDangerBarColors","argumentNames":["color"]} +hud_updateDangerBarColors__P57413.info = {"start":4527,"length":93,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"updateDangerBarColors","argumentNames":["color"]} -function hud_updateDangerBarColors__P4400_mk(s) { +function hud_updateDangerBarColors__P57413_mk(s) { checkStack(s.depth); return { - parent: s, fn: hud_updateDangerBarColors__P4400, depth: s.depth + 1, + parent: s, fn: hud_updateDangerBarColors__P57413, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -52368,7 +52401,7 @@ function hud_updateDangerBarColors__P4400_mk(s) { -function hud_updateForestHealth__P4399(s) { +function hud_updateForestHealth__P57412(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52383,28 +52416,28 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = StatusBarSprite_max__P4333_mk(s); - s.tmp_0.arg0 = globals.forestHealthBar___7132; + s.tmp_0 = StatusBarSprite_max__P57346_mk(s); + s.tmp_0.arg0 = globals.forestHealthBar___60145; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 2328; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2329; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = StatusBarSprite_value__P4331_mk(s); - s.tmp_0.arg0 = globals.forestHealthBar___7132; + s.tmp_0 = StatusBarSprite_value__P57344_mk(s); + s.tmp_0.arg0 = globals.forestHealthBar___60145; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 2329; s.pc = 2; return s.tmp_0; + s.callLocIdx = 2330; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -hud_updateForestHealth__P4399.info = {"start":4377,"length":144,"line":155,"column":4,"endLine":158,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"updateForestHealth","argumentNames":["max","value"]} +hud_updateForestHealth__P57412.info = {"start":4377,"length":144,"line":155,"column":4,"endLine":158,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"updateForestHealth","argumentNames":["max","value"]} -function hud_updateForestHealth__P4399_mk(s) { +function hud_updateForestHealth__P57412_mk(s) { checkStack(s.depth); return { - parent: s, fn: hud_updateForestHealth__P4399, depth: s.depth + 1, + parent: s, fn: hud_updateForestHealth__P57412, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -52415,7 +52448,7 @@ function hud_updateForestHealth__P4399_mk(s) { -function StatusBarSprite_max__P4333(s) { +function StatusBarSprite_max__P57346(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52431,26 +52464,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, StatusBarSprite__C4328_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, StatusBarSprite_max_inline__P21969); + if (!checkSubtype(r0, StatusBarSprite__C57341_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, StatusBarSprite_max_inline__P74998); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = StatusBarSprite_applyChange__P7072_mk(s); + s.tmp_1 = StatusBarSprite_applyChange__P60085_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 2178; s.pc = 1; return s.tmp_1; + s.callLocIdx = 2179; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -StatusBarSprite_max__P4333.info = {"start":3194,"length":95,"line":102,"column":4,"endLine":106,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"max","argumentNames":["this","v"]} +StatusBarSprite_max__P57346.info = {"start":3194,"length":95,"line":102,"column":4,"endLine":106,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"max","argumentNames":["this","v"]} -function StatusBarSprite_max__P4333_mk(s) { +function StatusBarSprite_max__P57346_mk(s) { checkStack(s.depth); return { - parent: s, fn: StatusBarSprite_max__P4333, depth: s.depth + 1, + parent: s, fn: StatusBarSprite_max__P57346, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52462,7 +52495,7 @@ function StatusBarSprite_max__P4333_mk(s) { -function StatusBarSprite_max_inline__P21969(s) { +function StatusBarSprite_max_inline__P74998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52476,22 +52509,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = statusbars_StatusBar_max__P4366_mk(s); + s.tmp_0 = statusbars_StatusBar_max__P57379_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; - s.callLocIdx = 2177; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2178; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -StatusBarSprite_max_inline__P21969.info = {"start":3240,"length":41,"line":103,"column":25,"endLine":105,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["sb"]} +StatusBarSprite_max_inline__P74998.info = {"start":3240,"length":41,"line":103,"column":25,"endLine":105,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["sb"]} -function StatusBarSprite_max_inline__P21969_mk(s) { +function StatusBarSprite_max_inline__P74998_mk(s) { checkStack(s.depth); return { - parent: s, fn: StatusBarSprite_max_inline__P21969, depth: s.depth + 1, + parent: s, fn: StatusBarSprite_max_inline__P74998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -52501,7 +52534,7 @@ function StatusBarSprite_max_inline__P21969_mk(s) { -function statusbars_StatusBar_max__P4366(s) { +function statusbars_StatusBar_max__P57379(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52517,30 +52550,30 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusBar__C4345_VT)) failedCast(r0); - s.tmp_0 = statusbars_StatusBar_changeValue__P7099_mk(s); + if (!checkSubtype(r0, statusbars_StatusBar__C57358_VT)) failedCast(r0); + s.tmp_0 = statusbars_StatusBar_changeValue__P60112_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg0.fields["target"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg1; - s.callLocIdx = 2203; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2204; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = statusbars_StatusBar_updateState__P4372_mk(s); + s.tmp_0 = statusbars_StatusBar_updateState__P57385_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2204; s.pc = 2; return s.tmp_0; + s.callLocIdx = 2205; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -statusbars_StatusBar_max__P4366.info = {"start":15827,"length":109,"line":456,"column":8,"endLine":459,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"max","argumentNames":["this","v"]} +statusbars_StatusBar_max__P57379.info = {"start":15827,"length":109,"line":456,"column":8,"endLine":459,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"max","argumentNames":["this","v"]} -function statusbars_StatusBar_max__P4366_mk(s) { +function statusbars_StatusBar_max__P57379_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusBar_max__P4366, depth: s.depth + 1, + parent: s, fn: statusbars_StatusBar_max__P57379, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -52551,7 +52584,7 @@ function statusbars_StatusBar_max__P4366_mk(s) { -function statusbars_StatusBar_changeValue__P7099(s) { +function statusbars_StatusBar_changeValue__P60112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52561,12 +52594,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.statusHandlers___21810 = undefined; - s.toRun___21813 = undefined; - s.handler___21866 = undefined; - s.h___21890 = undefined; - s.unnamed1528___U4 = undefined; - s.unnamed1529___U5 = undefined; + s.statusHandlers___74839 = undefined; + s.toRun___74842 = undefined; + s.handler___74895 = undefined; + s.h___74919 = undefined; + s.unnamed268___U4 = undefined; + s.unnamed269___U5 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -52574,33 +52607,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusBar__C4345_VT)) failedCast(r0); - s.tmp_0 = statusbars_getStatusHandlers__P7111_mk(s); - s.callLocIdx = 2208; s.pc = 23; return s.tmp_0; + if (!checkSubtype(r0, statusbars_StatusBar__C57358_VT)) failedCast(r0); + s.tmp_0 = statusbars_getStatusHandlers__P60124_mk(s); + s.callLocIdx = 2209; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; - s.statusHandlers___21810 = (r0); - s.tmp_0 = r0 = s.statusHandlers___21810; + s.statusHandlers___74839 = (r0); + s.tmp_0 = r0 = s.statusHandlers___74839; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_pxtcore_mkAction(3, toRun_inline__P21818); + r0 = pxsim_pxtcore_mkAction(3, toRun_inline__P74847); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_1, 2, s.arg2); - s.tmp_2 = helpers_arrayFilter__P110_mk(s); - s.tmp_2.arg0 = s.statusHandlers___21810; + s.tmp_2 = helpers_arrayFilter__P53122_mk(s); + s.tmp_2.arg0 = s.statusHandlers___74839; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 2213; s.pc = 24; return s.tmp_2; + s.callLocIdx = 2214; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.toRun___21813 = (s.tmp_3); + s.toRun___74842 = (s.tmp_3); r0 = (s.arg0).fields["target"] = (s.arg1); r0 = (s.arg0).fields["_max"] = (s.arg2); r0 = (s.arg1 <= 0); @@ -52636,8 +52669,8 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 13; continue; } r0 = (s.arg0).fields["hasHitZero"] = (true); - s.tmp_1 = statusbars_getZeroHandlers__P7110_mk(s); - s.callLocIdx = 2214; s.pc = 25; return s.tmp_1; + s.tmp_1 = statusbars_getZeroHandlers__P60123_mk(s); + s.callLocIdx = 2215; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; s.tmp_0 = r0; @@ -52653,7 +52686,7 @@ switch (step) { r0 = s.arg0.fields["kind"]; s.tmp_3 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.tmp_3); - s.handler___21866 = (r0); + s.handler___74895 = (r0); r0 = s.arg0.fields["sprite"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -52661,18 +52694,18 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.handler___21866; + r0 = s.handler___74895; case 10: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 11; continue; } s.tmp_2 = lambda_2_mk(s); - s.tmp_2.argL = s.handler___21866; + s.tmp_2.argL = s.handler___74895; r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 2215; s.pc = 26; return s.tmp_2; + s.callLocIdx = 2216; s.pc = 26; return s.tmp_2; case 26: r0 = s.retval; case 11: @@ -52696,8 +52729,8 @@ switch (step) { case 16: case 17: case 18: - s.h___21890 = (undefined); - s.tmp_0 = r0 = s.toRun___21813; + s.h___74919 = (undefined); + s.tmp_0 = r0 = s.toRun___74842; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 19; continue; } r0 = s.tmp_0; @@ -52707,46 +52740,46 @@ switch (step) { case 20: // jmp value (already in r0) s.tmp_1 = r0; - s.unnamed1528___U4 = (s.tmp_1); - s.unnamed1529___U5 = (0); + s.unnamed268___U4 = (s.tmp_1); + s.unnamed269___U5 = (0); case 21: - s.tmp_0 = r0 = s.unnamed1529___U5; - r0 = pxsim_Array__length(s.unnamed1528___U4); + s.tmp_0 = r0 = s.unnamed269___U5; + r0 = pxsim_Array__length(s.unnamed268___U4); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 22; continue; } - r0 = pxsim_Array__getAt(s.unnamed1528___U4, s.unnamed1529___U5); - s.h___21890 = (r0); + r0 = pxsim_Array__getAt(s.unnamed268___U4, s.unnamed269___U5); + s.h___74919 = (r0); s.tmp_2 = if_handler_2_mk(s); - s.tmp_2.arg0 = s.h___21890; + s.tmp_2.arg0 = s.h___74919; r0 = s.arg0.fields["sprite"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 2); - s.callLocIdx = 2216; s.pc = 27; return s.tmp_2; + s.callLocIdx = 2217; s.pc = 27; 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"], 2); s.callLocIdx = 2216; s.pc = 27; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 2216; s.pc = 27; return s.tmp_2;; } - else { s.callLocIdx = 2216; s.pc = 27; return s.tmp_2; } + if (s.tmp_2.fn == null) { setupLambda(s.tmp_2, s.tmp_2.arg0.fields["handler"], 2); s.callLocIdx = 2217; s.pc = 27; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 2217; s.pc = 27; return s.tmp_2;; } + else { s.callLocIdx = 2217; s.pc = 27; return s.tmp_2; } } case 27: r0 = s.retval; - r0 = (s.unnamed1529___U5 + 1); - s.unnamed1529___U5 = (r0); + r0 = (s.unnamed269___U5 + 1); + s.unnamed269___U5 = (r0); { step = 21; continue; } case 22: - s.unnamed1528___U4 = (undefined); + s.unnamed268___U4 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -statusbars_StatusBar_changeValue__P7099.info = {"start":16237,"length":1086,"line":474,"column":8,"endLine":499,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"changeValue","argumentNames":["this","current","max"]} +statusbars_StatusBar_changeValue__P60112.info = {"start":16237,"length":1086,"line":474,"column":8,"endLine":499,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"changeValue","argumentNames":["this","current","max"]} -function statusbars_StatusBar_changeValue__P7099_mk(s) { +function statusbars_StatusBar_changeValue__P60112_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusBar_changeValue__P7099, depth: s.depth + 1, + parent: s, fn: statusbars_StatusBar_changeValue__P60112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52756,12 +52789,12 @@ function statusbars_StatusBar_changeValue__P7099_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - statusHandlers___21810: undefined, - toRun___21813: undefined, - handler___21866: undefined, - h___21890: undefined, - unnamed1528___U4: undefined, - unnamed1529___U5: undefined, + statusHandlers___74839: undefined, + toRun___74842: undefined, + handler___74895: undefined, + h___74919: undefined, + unnamed268___U4: undefined, + unnamed269___U5: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -52771,7 +52804,7 @@ function statusbars_StatusBar_changeValue__P7099_mk(s) { -function toRun_inline__P21818(s) { +function toRun_inline__P74847(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52811,11 +52844,11 @@ switch (step) { r0 = s.tmp_6; { step = 4; continue; } case 3: - s.tmp_7 = statusbars_StatusHandler_conditionMet__P7104_mk(s); + s.tmp_7 = statusbars_StatusHandler_conditionMet__P60117_mk(s); s.tmp_7.arg0 = s.arg0; s.tmp_7.arg1 = s.caps[1]; s.tmp_7.arg2 = s.caps[2]; - s.callLocIdx = 2209; s.pc = 7; return s.tmp_7; + s.callLocIdx = 2210; s.pc = 7; return s.tmp_7; case 7: r0 = s.retval; case 4: @@ -52826,13 +52859,13 @@ switch (step) { r0 = s.tmp_8; { step = 6; continue; } case 5: - s.tmp_11 = statusbars_StatusHandler_conditionMet__P7104_mk(s); + s.tmp_11 = statusbars_StatusHandler_conditionMet__P60117_mk(s); s.tmp_11.arg0 = s.arg0; r0 = s.caps[0].fields["target"]; s.tmp_11.arg1 = r0; r0 = s.caps[0].fields["_max"]; s.tmp_11.arg2 = r0; - s.callLocIdx = 2212; s.pc = 8; return s.tmp_11; + s.callLocIdx = 2213; s.pc = 8; return s.tmp_11; case 8: r0 = s.retval; s.tmp_10 = r0; @@ -52846,12 +52879,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -toRun_inline__P21818.info = {"start":16413,"length":227,"line":476,"column":66,"endLine":480,"endColumn":62,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["h"]} +toRun_inline__P74847.info = {"start":16413,"length":227,"line":476,"column":66,"endLine":480,"endColumn":62,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["h"]} -function toRun_inline__P21818_mk(s) { +function toRun_inline__P74847_mk(s) { checkStack(s.depth); return { - parent: s, fn: toRun_inline__P21818, depth: s.depth + 1, + parent: s, fn: toRun_inline__P74847, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -52873,7 +52906,7 @@ function toRun_inline__P21818_mk(s) { -function statusbars_getStatusHandlers__P7111(s) { +function statusbars_getStatusHandlers__P60124(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52883,20 +52916,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = statusbars_getSceneData__P7108_mk(s); - s.tmp_0.arg0 = globals.STATUS_HANDLERS_KEY___7089; - s.callLocIdx = 2294; s.pc = 1; return s.tmp_0; + s.tmp_0 = statusbars_getSceneData__P60121_mk(s); + s.tmp_0.arg0 = globals.STATUS_HANDLERS_KEY___60102; + s.callLocIdx = 2295; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -statusbars_getStatusHandlers__P7111.info = {"start":33463,"length":105,"line":955,"column":4,"endLine":957,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"getStatusHandlers","argumentNames":[]} +statusbars_getStatusHandlers__P60124.info = {"start":33463,"length":105,"line":955,"column":4,"endLine":957,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"getStatusHandlers","argumentNames":[]} -function statusbars_getStatusHandlers__P7111_mk(s) { +function statusbars_getStatusHandlers__P60124_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_getStatusHandlers__P7111, depth: s.depth + 1, + parent: s, fn: statusbars_getStatusHandlers__P60124, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -52905,7 +52938,7 @@ function statusbars_getStatusHandlers__P7111_mk(s) { -function statusbars_getZeroHandlers__P7110(s) { +function statusbars_getZeroHandlers__P60123(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52915,20 +52948,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = statusbars_getSceneData__P7108_mk(s); - s.tmp_0.arg0 = globals.ZERO_HANDLERS_KEY___7083; - s.callLocIdx = 2293; s.pc = 1; return s.tmp_0; + s.tmp_0 = statusbars_getSceneData__P60121_mk(s); + s.tmp_0.arg0 = globals.ZERO_HANDLERS_KEY___60096; + s.callLocIdx = 2294; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -statusbars_getZeroHandlers__P7110.info = {"start":33343,"length":114,"line":951,"column":4,"endLine":953,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"getZeroHandlers","argumentNames":[]} +statusbars_getZeroHandlers__P60123.info = {"start":33343,"length":114,"line":951,"column":4,"endLine":953,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"getZeroHandlers","argumentNames":[]} -function statusbars_getZeroHandlers__P7110_mk(s) { +function statusbars_getZeroHandlers__P60123_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_getZeroHandlers__P7110, depth: s.depth + 1, + parent: s, fn: statusbars_getZeroHandlers__P60123, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -52937,7 +52970,7 @@ function statusbars_getZeroHandlers__P7110_mk(s) { -function statusbars_StatusHandler_conditionMet__P7104(s) { +function statusbars_StatusHandler_conditionMet__P60117(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -52947,7 +52980,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.value___21905 = undefined; + s.value___74934 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -52955,7 +52988,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusHandler__C7103_VT)) failedCast(r0); + if (!checkSubtype(r0, statusbars_StatusHandler__C60116_VT)) failedCast(r0); r0 = s.arg0.fields["comparisonType"]; s.tmp_1 = r0; r0 = (s.tmp_1 === 0); @@ -52971,7 +53004,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.value___21905 = (s.tmp_3); + s.value___74934 = (s.tmp_3); r0 = s.arg0.fields["comparison"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); @@ -52991,32 +53024,32 @@ switch (step) { case 3: r0 = s.arg0.fields["percent"]; s.tmp_1 = r0; - r0 = (s.value___21905 === s.tmp_1); + r0 = (s.value___74934 === s.tmp_1); { step = 10; continue; } case 4: r0 = s.arg0.fields["percent"]; s.tmp_2 = r0; - r0 = (s.value___21905 !== s.tmp_2); + r0 = (s.value___74934 !== s.tmp_2); { step = 10; continue; } case 5: r0 = s.arg0.fields["percent"]; s.tmp_3 = r0; - r0 = (s.value___21905 > s.tmp_3); + r0 = (s.value___74934 > s.tmp_3); { step = 10; continue; } case 6: r0 = s.arg0.fields["percent"]; s.tmp_4 = r0; - r0 = (s.value___21905 >= s.tmp_4); + r0 = (s.value___74934 >= s.tmp_4); { step = 10; continue; } case 7: r0 = s.arg0.fields["percent"]; s.tmp_5 = r0; - r0 = (s.value___21905 < s.tmp_5); + r0 = (s.value___74934 < s.tmp_5); { step = 10; continue; } case 8: r0 = s.arg0.fields["percent"]; s.tmp_6 = r0; - r0 = (s.value___21905 <= s.tmp_6); + r0 = (s.value___74934 <= s.tmp_6); { step = 10; continue; } case 9: r0 = false; @@ -53026,12 +53059,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -statusbars_StatusHandler_conditionMet__P7104.info = {"start":24789,"length":962,"line":710,"column":8,"endLine":731,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"conditionMet","argumentNames":["this","current","max"]} +statusbars_StatusHandler_conditionMet__P60117.info = {"start":24789,"length":962,"line":710,"column":8,"endLine":731,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"conditionMet","argumentNames":["this","current","max"]} -function statusbars_StatusHandler_conditionMet__P7104_mk(s) { +function statusbars_StatusHandler_conditionMet__P60117_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusHandler_conditionMet__P7104, depth: s.depth + 1, + parent: s, fn: statusbars_StatusHandler_conditionMet__P60117, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53040,7 +53073,7 @@ function statusbars_StatusHandler_conditionMet__P7104_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - value___21905: undefined, + value___74934: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -53050,7 +53083,7 @@ function statusbars_StatusHandler_conditionMet__P7104_mk(s) { -function statusbars_StatusBar_updateState__P4372(s) { +function statusbars_StatusBar_updateState__P57385(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53060,16 +53093,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.target___21723 = undefined; - s.displayValue___21724 = undefined; - s.currTime___21739 = undefined; - s.change___21754 = undefined; + s.target___74752 = undefined; + s.displayValue___74753 = undefined; + s.currTime___74768 = undefined; + s.change___74783 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusBar__C4345_VT)) failedCast(r0); + if (!checkSubtype(r0, statusbars_StatusBar__C57358_VT)) failedCast(r0); s.tmp_0 = if_target_1_mk(s); s.tmp_1 = r0 = s.arg0; s.tmp_0.arg0 = r0; @@ -53079,11 +53112,11 @@ switch (step) { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["target"]; if (s.tmp_0.fn == null) { s.retval = s.tmp_0.arg0.fields["target"]; } else if (!s.tmp_0.fn.isGetter) { s.retval = bind(s.tmp_0); } - else { s.callLocIdx = 2229; s.pc = 12; return s.tmp_0; } + else { s.callLocIdx = 2230; s.pc = 12; return s.tmp_0; } } case 12: r0 = s.retval; - s.target___21723 = (r0); + s.target___74752 = (r0); s.tmp_2 = if_displayValue_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -53092,11 +53125,11 @@ switch (step) { s.tmp_2.fn = s.tmp_2.arg0.vtable.iface["displayValue"]; if (s.tmp_2.fn == null) { s.retval = s.tmp_2.arg0.fields["displayValue"]; } else if (!s.tmp_2.fn.isGetter) { s.retval = bind(s.tmp_2); } - else { s.callLocIdx = 2230; s.pc = 13; return s.tmp_2; } + else { s.callLocIdx = 2231; s.pc = 13; return s.tmp_2; } } case 13: r0 = s.retval; - s.displayValue___21724 = (r0); + s.displayValue___74753 = (r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -53104,42 +53137,42 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_2 = r0 = s.arg0; - s.tmp_4 = Math_constrain__P284_mk(s); - s.tmp_4.arg0 = s.target___21723; + s.tmp_4 = Math_constrain__P53296_mk(s); + s.tmp_4.arg0 = s.target___74752; s.tmp_4.arg1 = 0; r0 = s.arg0.fields["_max"]; s.tmp_4.arg2 = r0; - s.callLocIdx = 2232; s.pc = 14; return s.tmp_4; + s.callLocIdx = 2233; s.pc = 14; return s.tmp_4; case 14: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2).fields["target"] = (s.tmp_3); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_constrain__P284_mk(s); - s.tmp_2.arg0 = s.displayValue___21724; + s.tmp_2 = Math_constrain__P53296_mk(s); + s.tmp_2.arg0 = s.displayValue___74753; s.tmp_2.arg1 = 0; r0 = s.arg0.fields["_max"]; s.tmp_2.arg2 = r0; - s.callLocIdx = 2234; s.pc = 15; return s.tmp_2; + s.callLocIdx = 2235; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["displayValue"] = (s.tmp_1); case 1: case 2: - s.tmp_1 = game_currentScene__P2979_mk(s); - s.callLocIdx = 2235; s.pc = 16; return s.tmp_1; + s.tmp_1 = game_currentScene__P55991_mk(s); + s.callLocIdx = 2236; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.currTime___21739 = (r0); - s.tmp_2 = Math_abs__P128_mk(s); + s.currTime___74768 = (r0); + s.tmp_2 = Math_abs__P53140_mk(s); r0 = s.arg0.fields["lastUpdate"]; s.tmp_3 = r0; - r0 = (s.tmp_3 - s.currTime___21739); + r0 = (s.tmp_3 - s.currTime___74768); s.tmp_2.arg0 = r0; - s.callLocIdx = 2237; s.pc = 17; return s.tmp_2; + s.callLocIdx = 2238; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; s.tmp_1 = r0; @@ -53154,12 +53187,12 @@ switch (step) { case 4: r0 = s.arg0.fields["_max"]; s.tmp_5 = r0; - s.tmp_8 = Math_max__P130_mk(s); + s.tmp_8 = Math_max__P53142_mk(s); r0 = s.arg0.fields["_barWidth"]; s.tmp_8.arg0 = r0; r0 = s.arg0.fields["_barHeight"]; s.tmp_8.arg1 = r0; - s.callLocIdx = 2239; s.pc = 18; return s.tmp_8; + s.callLocIdx = 2240; s.pc = 18; return s.tmp_8; case 18: r0 = s.retval; s.tmp_7 = r0; @@ -53170,7 +53203,7 @@ switch (step) { r0 = (s.tmp_7 - s.tmp_9); s.tmp_6 = r0; r0 = (s.tmp_5 / s.tmp_6); - s.change___21754 = (r0); + s.change___74783 = (r0); r0 = s.arg0.fields["target"]; s.tmp_1 = r0; r0 = s.arg0.fields["displayValue"]; @@ -53180,17 +53213,17 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } s.tmp_3 = r0 = s.arg0; - s.tmp_5 = Math_min__P131_mk(s); - r0 = (s.displayValue___21724 + s.change___21754); + s.tmp_5 = Math_min__P53143_mk(s); + r0 = (s.displayValue___74753 + s.change___74783); s.tmp_5.arg0 = r0; r0 = s.arg0.fields["target"]; s.tmp_5.arg1 = r0; - s.callLocIdx = 2240; s.pc = 19; return s.tmp_5; + s.callLocIdx = 2241; s.pc = 19; return s.tmp_5; case 19: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_3).fields["displayValue"] = (s.tmp_4); - r0 = (s.arg0).fields["lastUpdate"] = (s.currTime___21739); + r0 = (s.arg0).fields["lastUpdate"] = (s.currTime___74768); { step = 8; continue; } case 5: r0 = s.arg0.fields["target"]; @@ -53202,29 +53235,29 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } s.tmp_3 = r0 = s.arg0; - s.tmp_5 = Math_max__P130_mk(s); - r0 = (s.displayValue___21724 - s.change___21754); + s.tmp_5 = Math_max__P53142_mk(s); + r0 = (s.displayValue___74753 - s.change___74783); s.tmp_5.arg0 = r0; r0 = s.arg0.fields["target"]; s.tmp_5.arg1 = r0; - s.callLocIdx = 2241; s.pc = 20; return s.tmp_5; + s.callLocIdx = 2242; s.pc = 20; return s.tmp_5; case 20: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_3).fields["displayValue"] = (s.tmp_4); - r0 = (s.arg0).fields["lastUpdate"] = (s.currTime___21739); + r0 = (s.arg0).fields["lastUpdate"] = (s.currTime___74768); case 6: case 7: case 8: r0 = s.arg0.fields["displayValue"]; s.tmp_1 = r0; - r0 = (s.displayValue___21724 !== s.tmp_1); + r0 = (s.displayValue___74753 !== s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_2 = statusbars_StatusBar_updateDisplay__P4373_mk(s); + s.tmp_2 = statusbars_StatusBar_updateDisplay__P57386_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 2242; s.pc = 21; return s.tmp_2; + s.callLocIdx = 2243; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; case 9: @@ -53234,12 +53267,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -statusbars_StatusBar_updateState__P4372.info = {"start":18795,"length":1067,"line":549,"column":8,"endLine":573,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"updateState","argumentNames":["this"]} +statusbars_StatusBar_updateState__P57385.info = {"start":18795,"length":1067,"line":549,"column":8,"endLine":573,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"updateState","argumentNames":["this"]} -function statusbars_StatusBar_updateState__P4372_mk(s) { +function statusbars_StatusBar_updateState__P57385_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusBar_updateState__P4372, depth: s.depth + 1, + parent: s, fn: statusbars_StatusBar_updateState__P57385, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53252,10 +53285,10 @@ function statusbars_StatusBar_updateState__P4372_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - target___21723: undefined, - displayValue___21724: undefined, - currTime___21739: undefined, - change___21754: undefined, + target___74752: undefined, + displayValue___74753: undefined, + currTime___74768: undefined, + change___74783: undefined, arg0: undefined, } } @@ -53263,7 +53296,7 @@ function statusbars_StatusBar_updateState__P4372_mk(s) { -function statusbars_StatusBar_current__P4367(s) { +function statusbars_StatusBar_current__P57380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53278,18 +53311,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusBar__C4345_VT)) failedCast(r0); + if (!checkSubtype(r0, statusbars_StatusBar__C57358_VT)) failedCast(r0); r0 = s.arg0.fields["target"]; return leaveAccessor(s, r0) default: oops() } } } -statusbars_StatusBar_current__P4367.info = {"start":15946,"length":57,"line":461,"column":8,"endLine":463,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"current","argumentNames":["this"]} -statusbars_StatusBar_current__P4367.isGetter = true; +statusbars_StatusBar_current__P57380.info = {"start":15946,"length":57,"line":461,"column":8,"endLine":463,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"current","argumentNames":["this"]} +statusbars_StatusBar_current__P57380.isGetter = true; -function statusbars_StatusBar_current__P4367_mk(s) { +function statusbars_StatusBar_current__P57380_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusBar_current__P4367, depth: s.depth + 1, + parent: s, fn: statusbars_StatusBar_current__P57380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -53298,7 +53331,7 @@ function statusbars_StatusBar_current__P4367_mk(s) { -function statusbars_StatusBar_max__P4365(s) { +function statusbars_StatusBar_max__P57378(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53313,18 +53346,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusBar__C4345_VT)) failedCast(r0); + if (!checkSubtype(r0, statusbars_StatusBar__C57358_VT)) failedCast(r0); r0 = s.arg0.fields["_max"]; return leaveAccessor(s, r0) default: oops() } } } -statusbars_StatusBar_max__P4365.info = {"start":15766,"length":51,"line":452,"column":8,"endLine":454,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"max","argumentNames":["this"]} -statusbars_StatusBar_max__P4365.isGetter = true; +statusbars_StatusBar_max__P57378.info = {"start":15766,"length":51,"line":452,"column":8,"endLine":454,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"max","argumentNames":["this"]} +statusbars_StatusBar_max__P57378.isGetter = true; -function statusbars_StatusBar_max__P4365_mk(s) { +function statusbars_StatusBar_max__P57378_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusBar_max__P4365, depth: s.depth + 1, + parent: s, fn: statusbars_StatusBar_max__P57378, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -53333,7 +53366,7 @@ function statusbars_StatusBar_max__P4365_mk(s) { -function StatusBarSprite_max__P4332(s) { +function StatusBarSprite_max__P57345(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53348,11 +53381,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, StatusBarSprite__C4328_VT)) failedCast(r0); - s.tmp_1 = StatusBarSprite_applyChange__P7072_mk(s); + if (!checkSubtype(r0, StatusBarSprite__C57341_VT)) failedCast(r0); + s.tmp_1 = StatusBarSprite_applyChange__P60085_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = StatusBarSprite_max_inline__P21983; - s.callLocIdx = 2176; s.pc = 3; return s.tmp_1; + s.tmp_1.arg1 = StatusBarSprite_max_inline__P75012; + s.callLocIdx = 2177; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -53369,13 +53402,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -StatusBarSprite_max__P4332.info = {"start":3111,"length":77,"line":98,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"max","argumentNames":["this"]} -StatusBarSprite_max__P4332.isGetter = true; +StatusBarSprite_max__P57345.info = {"start":3111,"length":77,"line":98,"column":4,"endLine":100,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"max","argumentNames":["this"]} +StatusBarSprite_max__P57345.isGetter = true; -function StatusBarSprite_max__P4332_mk(s) { +function StatusBarSprite_max__P57345_mk(s) { checkStack(s.depth); return { - parent: s, fn: StatusBarSprite_max__P4332, depth: s.depth + 1, + parent: s, fn: StatusBarSprite_max__P57345, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53387,7 +53420,7 @@ function StatusBarSprite_max__P4332_mk(s) { -function StatusBarSprite_max_inline__P21983(s) { +function StatusBarSprite_max_inline__P75012(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53405,12 +53438,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -StatusBarSprite_max_inline__P21983.info = {"start":3163,"length":12,"line":99,"column":32,"endLine":99,"endColumn":44,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["sb"]} +StatusBarSprite_max_inline__P75012.info = {"start":3163,"length":12,"line":99,"column":32,"endLine":99,"endColumn":44,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["sb"]} -function StatusBarSprite_max_inline__P21983_mk(s) { +function StatusBarSprite_max_inline__P75012_mk(s) { checkStack(s.depth); return { - parent: s, fn: StatusBarSprite_max_inline__P21983, depth: s.depth + 1, + parent: s, fn: StatusBarSprite_max_inline__P75012, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -53419,7 +53452,7 @@ function StatusBarSprite_max_inline__P21983_mk(s) { -function StatusBarSprite_value__P4331(s) { +function StatusBarSprite_value__P57344(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53435,26 +53468,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, StatusBarSprite__C4328_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, StatusBarSprite_value_inline__P21701); + if (!checkSubtype(r0, StatusBarSprite__C57341_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, StatusBarSprite_value_inline__P74730); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = StatusBarSprite_applyChange__P7072_mk(s); + s.tmp_1 = StatusBarSprite_applyChange__P60085_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.tmp_0; - s.callLocIdx = 2174; s.pc = 1; return s.tmp_1; + s.callLocIdx = 2175; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -StatusBarSprite_value__P4331.info = {"start":2861,"length":101,"line":89,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"value","argumentNames":["this","v"]} +StatusBarSprite_value__P57344.info = {"start":2861,"length":101,"line":89,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"value","argumentNames":["this","v"]} -function StatusBarSprite_value__P4331_mk(s) { +function StatusBarSprite_value__P57344_mk(s) { checkStack(s.depth); return { - parent: s, fn: StatusBarSprite_value__P4331, depth: s.depth + 1, + parent: s, fn: StatusBarSprite_value__P57344, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53466,7 +53499,7 @@ function StatusBarSprite_value__P4331_mk(s) { -function StatusBarSprite_value_inline__P21701(s) { +function StatusBarSprite_value_inline__P74730(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53480,22 +53513,22 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = statusbars_StatusBar_current__P4368_mk(s); + s.tmp_0 = statusbars_StatusBar_current__P57381_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; - s.callLocIdx = 2173; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2174; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -StatusBarSprite_value_inline__P21701.info = {"start":2909,"length":45,"line":90,"column":25,"endLine":92,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["sb"]} +StatusBarSprite_value_inline__P74730.info = {"start":2909,"length":45,"line":90,"column":25,"endLine":92,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["sb"]} -function StatusBarSprite_value_inline__P21701_mk(s) { +function StatusBarSprite_value_inline__P74730_mk(s) { checkStack(s.depth); return { - parent: s, fn: StatusBarSprite_value_inline__P21701, depth: s.depth + 1, + parent: s, fn: StatusBarSprite_value_inline__P74730, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -53505,7 +53538,7 @@ function StatusBarSprite_value_inline__P21701_mk(s) { -function statusbars_StatusBar_current__P4368(s) { +function statusbars_StatusBar_current__P57381(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53521,13 +53554,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusBar__C4345_VT)) failedCast(r0); - s.tmp_0 = statusbars_StatusBar_changeValue__P7099_mk(s); + if (!checkSubtype(r0, statusbars_StatusBar__C57358_VT)) failedCast(r0); + s.tmp_0 = statusbars_StatusBar_changeValue__P60112_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; r0 = s.arg0.fields["_max"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 2206; s.pc = 3; return s.tmp_0; + s.callLocIdx = 2207; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = s.arg0.fields["flags"]; @@ -53543,21 +53576,21 @@ switch (step) { r0 = (s.arg0).fields["displayValue"] = (s.arg1); case 1: case 2: - s.tmp_0 = statusbars_StatusBar_updateState__P4372_mk(s); + s.tmp_0 = statusbars_StatusBar_updateState__P57385_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2207; s.pc = 4; return s.tmp_0; + s.callLocIdx = 2208; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -statusbars_StatusBar_current__P4368.info = {"start":16013,"length":214,"line":465,"column":8,"endLine":472,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"current","argumentNames":["this","v"]} +statusbars_StatusBar_current__P57381.info = {"start":16013,"length":214,"line":465,"column":8,"endLine":472,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"current","argumentNames":["this","v"]} -function statusbars_StatusBar_current__P4368_mk(s) { +function statusbars_StatusBar_current__P57381_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusBar_current__P4368, depth: s.depth + 1, + parent: s, fn: statusbars_StatusBar_current__P57381, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53571,7 +53604,7 @@ function statusbars_StatusBar_current__P4368_mk(s) { -function StatusBarSprite_value__P4330(s) { +function StatusBarSprite_value__P57343(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53586,11 +53619,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, StatusBarSprite__C4328_VT)) failedCast(r0); - s.tmp_1 = StatusBarSprite_applyChange__P7072_mk(s); + if (!checkSubtype(r0, StatusBarSprite__C57341_VT)) failedCast(r0); + s.tmp_1 = StatusBarSprite_applyChange__P60085_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = StatusBarSprite_value_inline__P21961; - s.callLocIdx = 2172; s.pc = 3; return s.tmp_1; + s.tmp_1.arg1 = StatusBarSprite_value_inline__P74990; + s.callLocIdx = 2173; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; @@ -53607,13 +53640,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -StatusBarSprite_value__P4330.info = {"start":2772,"length":83,"line":85,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"value","argumentNames":["this"]} -StatusBarSprite_value__P4330.isGetter = true; +StatusBarSprite_value__P57343.info = {"start":2772,"length":83,"line":85,"column":4,"endLine":87,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"value","argumentNames":["this"]} +StatusBarSprite_value__P57343.isGetter = true; -function StatusBarSprite_value__P4330_mk(s) { +function StatusBarSprite_value__P57343_mk(s) { checkStack(s.depth); return { - parent: s, fn: StatusBarSprite_value__P4330, depth: s.depth + 1, + parent: s, fn: StatusBarSprite_value__P57343, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53625,7 +53658,7 @@ function StatusBarSprite_value__P4330_mk(s) { -function StatusBarSprite_value_inline__P21961(s) { +function StatusBarSprite_value_inline__P74990(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53643,12 +53676,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -StatusBarSprite_value_inline__P21961.info = {"start":2826,"length":16,"line":86,"column":32,"endLine":86,"endColumn":48,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["sb"]} +StatusBarSprite_value_inline__P74990.info = {"start":2826,"length":16,"line":86,"column":32,"endLine":86,"endColumn":48,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["sb"]} -function StatusBarSprite_value_inline__P21961_mk(s) { +function StatusBarSprite_value_inline__P74990_mk(s) { checkStack(s.depth); return { - parent: s, fn: StatusBarSprite_value_inline__P21961, depth: s.depth + 1, + parent: s, fn: StatusBarSprite_value_inline__P74990, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -53657,7 +53690,7 @@ function StatusBarSprite_value_inline__P21961_mk(s) { -function game_over__P2992(s) { +function game_over__P56004(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53667,46 +53700,46 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.goc___21595 = undefined; + s.goc___74624 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.gameOverConfig___2978; + s.tmp_0.argL = globals.gameOverConfig___55990; setupLambda(s.tmp_0, s.tmp_0.argL); - s.callLocIdx = 1612; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1613; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.goc___21595 = (r0); - s.tmp_0 = game_GameOverConfig_setEffect__P2971_mk(s); - s.tmp_0.arg0 = s.goc___21595; + s.goc___74624 = (r0); + s.tmp_0 = game_GameOverConfig_setEffect__P55983_mk(s); + s.tmp_0.arg0 = s.goc___74624; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = false; - s.callLocIdx = 1613; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1614; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = game__gameOverImpl__P5032_mk(s); + s.tmp_0 = game__gameOverImpl__P58045_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = undefined; - s.callLocIdx = 1614; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1615; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_over__P2992.info = {"start":10625,"length":262,"line":328,"column":4,"endLine":333,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"over","argumentNames":["win","effect"]} +game_over__P56004.info = {"start":10625,"length":262,"line":328,"column":4,"endLine":333,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"over","argumentNames":["win","effect"]} -function game_over__P2992_mk(s) { +function game_over__P56004_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_over__P2992, depth: s.depth + 1, + parent: s, fn: game_over__P56004, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - goc___21595: undefined, + goc___74624: undefined, arg0: undefined, arg1: undefined, } } @@ -53715,7 +53748,7 @@ function game_over__P2992_mk(s) { -function tiles_getTilesByType__P2755(s) { +function tiles_getTilesByType__P55767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53725,17 +53758,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___21989 = undefined; - s.index___21999 = undefined; + s.scene___75018 = undefined; + s.index___75028 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P2979_mk(s); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 1331; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___21989 = (r0); + s.scene___75018 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -53745,7 +53778,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___21989.fields["tileMap"]; + r0 = s.scene___75018.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -53759,18 +53792,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getImageType__P2732_mk(s); - r0 = s.scene___21989.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getImageType__P55744_mk(s); + r0 = s.scene___75018.fields["tileMap"]; s.tmp_5.arg0 = r0; s.tmp_5.arg1 = s.arg0; s.callLocIdx = 1332; s.pc = 7; return s.tmp_5; case 7: r0 = s.retval; - s.index___21999 = (r0); - s.tmp_0 = tiles_TileMap_getTilesByType__P2734_mk(s); - r0 = s.scene___21989.fields["tileMap"]; + s.index___75028 = (r0); + s.tmp_0 = tiles_TileMap_getTilesByType__P55746_mk(s); + r0 = s.scene___75018.fields["tileMap"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___21999; + s.tmp_0.arg1 = s.index___75028; s.callLocIdx = 1333; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -53778,12 +53811,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTilesByType__P2755.info = {"start":25968,"length":262,"line":780,"column":4,"endLine":785,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTilesByType","argumentNames":["tile"]} +tiles_getTilesByType__P55767.info = {"start":25968,"length":262,"line":780,"column":4,"endLine":785,"endColumn":5,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTilesByType","argumentNames":["tile"]} -function tiles_getTilesByType__P2755_mk(s) { +function tiles_getTilesByType__P55767_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTilesByType__P2755, depth: s.depth + 1, + parent: s, fn: tiles_getTilesByType__P55767, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53791,8 +53824,8 @@ function tiles_getTilesByType__P2755_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___21989: undefined, - index___21999: undefined, + scene___75018: undefined, + index___75028: undefined, arg0: undefined, } } @@ -53800,7 +53833,7 @@ function tiles_getTilesByType__P2755_mk(s) { -function tiles_TileMap_getTilesByType__P2734(s) { +function tiles_TileMap_getTilesByType__P55746(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53810,18 +53843,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.output___22018 = undefined; - s.col___22020 = undefined; - s.row___22027 = undefined; - s.currTile___22034 = undefined; + s.output___75047 = undefined; + s.col___75049 = undefined; + s.row___75056 = undefined; + s.currTile___75063 = 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__C2715_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMap_isInvalidIndex__P4950_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMap_isInvalidIndex__P57963_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 1259; s.pc = 12; return s.tmp_1; @@ -53856,10 +53889,10 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__mk(); - s.output___22018 = (r0); - s.col___22020 = (0); + s.output___75047 = (r0); + s.col___75049 = (0); case 5: - s.tmp_1 = r0 = s.col___22020; + s.tmp_1 = r0 = s.col___75049; r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_width"]; @@ -53868,9 +53901,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 10; continue; } - s.row___22027 = (0); + s.row___75056 = (0); case 6: - s.tmp_1 = r0 = s.row___22027; + s.tmp_1 = r0 = s.row___75056; r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = s.tmp_3.fields["_height"]; @@ -53879,51 +53912,51 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_4 = tiles_TileMapData_getTile__P2703_mk(s); + s.tmp_4 = tiles_TileMapData_getTile__P55715_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.col___22020; - s.tmp_4.arg2 = s.row___22027; + s.tmp_4.arg1 = s.col___75049; + s.tmp_4.arg2 = s.row___75056; s.callLocIdx = 1263; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - s.currTile___22034 = (r0); - r0 = (s.currTile___22034 === s.arg1); + s.currTile___75063 = (r0); + r0 = (s.currTile___75063 === s.arg1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C2673_VT); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C55685_VT); s.tmp_1 = r0; - s.tmp_2 = tiles_Location_constructor__P2674_mk(s); + s.tmp_2 = tiles_Location_constructor__P55686_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = s.col___22020; - s.tmp_2.arg2 = s.row___22027; + s.tmp_2.arg1 = s.col___75049; + s.tmp_2.arg2 = s.row___75056; s.tmp_2.arg3 = s.arg0; s.callLocIdx = 1264; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.output___22018, s.tmp_1); + r0 = pxsim_Array__push(s.output___75047, s.tmp_1); case 7: case 8: - r0 = (s.row___22027 + 1); - s.row___22027 = (r0); + r0 = (s.row___75056 + 1); + s.row___75056 = (r0); { step = 6; continue; } case 9: - r0 = (s.col___22020 + 1); - s.col___22020 = (r0); + r0 = (s.col___75049 + 1); + s.col___75049 = (r0); { step = 5; continue; } case 10: - r0 = s.output___22018; + r0 = s.output___75047; case 11: return leave(s, r0) default: oops() } } } -tiles_TileMap_getTilesByType__P2734.info = {"start":12200,"length":561,"line":413,"column":8,"endLine":426,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTilesByType","argumentNames":["this","index"]} +tiles_TileMap_getTilesByType__P55746.info = {"start":12200,"length":561,"line":413,"column":8,"endLine":426,"endColumn":9,"fileName":"pxt_modules/game/tilemap.ts","functionName":"getTilesByType","argumentNames":["this","index"]} -function tiles_TileMap_getTilesByType__P2734_mk(s) { +function tiles_TileMap_getTilesByType__P55746_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTilesByType__P2734, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTilesByType__P55746, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -53934,10 +53967,10 @@ function tiles_TileMap_getTilesByType__P2734_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - output___22018: undefined, - col___22020: undefined, - row___22027: undefined, - currTile___22034: undefined, + output___75047: undefined, + col___75049: undefined, + row___75056: undefined, + currTile___75063: undefined, arg0: undefined, arg1: undefined, } } @@ -53946,7 +53979,7 @@ function tiles_TileMap_getTilesByType__P2734_mk(s) { -function info_setScore__P2552(s) { +function info_setScore__P55564(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53960,8 +53993,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = info_PlayerInfoImpl_setScore__P2587_mk(s); - r0 = globals.player1___2641.fields["impl"]; + s.tmp_0 = info_PlayerInfoImpl_setScore__P55599_mk(s); + r0 = globals.player1___55653.fields["impl"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1136; s.pc = 1; return s.tmp_0; @@ -53971,12 +54004,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_setScore__P2552.info = {"start":9938,"length":85,"line":332,"column":4,"endLine":334,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"setScore","argumentNames":["value"]} +info_setScore__P55564.info = {"start":9938,"length":85,"line":332,"column":4,"endLine":334,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"setScore","argumentNames":["value"]} -function info_setScore__P2552_mk(s) { +function info_setScore__P55564_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_setScore__P2552, depth: s.depth + 1, + parent: s, fn: info_setScore__P55564, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -53986,7 +54019,7 @@ function info_setScore__P2552_mk(s) { -function info_PlayerInfoImpl_setScore__P2587(s) { +function info_PlayerInfoImpl_setScore__P55599(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -53996,22 +54029,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___21612 = undefined; - s.oldScore___21624 = undefined; + s.state___74641 = undefined; + s.oldScore___74653 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfoImpl__C2575_VT)) failedCast(r0); - s.tmp_0 = info_PlayerInfoImpl_getState__P2584_mk(s); + if (!checkSubtype(r0, info_PlayerInfoImpl__C55587_VT)) failedCast(r0); + s.tmp_0 = info_PlayerInfoImpl_getState__P55596_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1157; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.state___21612 = (r0); - r0 = globals.infoState___4887.fields["visibilityFlag"]; + s.state___74641 = (r0); + r0 = globals.infoState___57900.fields["visibilityFlag"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 64); s.tmp_2 = r0; @@ -54021,7 +54054,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = info_updateFlag__P4937_mk(s); + s.tmp_4 = info_updateFlag__P57950_mk(s); s.tmp_4.arg0 = 2; s.tmp_4.arg1 = true; s.callLocIdx = 1158; s.pc = 16; return s.tmp_4; @@ -54029,12 +54062,12 @@ switch (step) { r0 = s.retval; case 1: case 2: - s.tmp_0 = info_PlayerInfoImpl_score__P2586_mk(s); + s.tmp_0 = info_PlayerInfoImpl_score__P55598_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1159; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - r0 = s.state___21612.fields["score"]; + r0 = s.state___74641.fields["score"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } @@ -54045,31 +54078,31 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.oldScore___21624 = (s.tmp_1); - s.tmp_0 = r0 = s.state___21612; + s.oldScore___74653 = (s.tmp_1); + s.tmp_0 = r0 = s.state___74641; r0 = (s.arg1 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["score"] = (s.tmp_1); - r0 = s.state___21612.fields["scoreReachedHandler"]; + r0 = s.state___74641.fields["scoreReachedHandler"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } r0 = s.tmp_0; { step = 12; continue; } case 5: - r0 = s.state___21612.fields["scoreReachedHandler"]; + r0 = s.state___74641.fields["scoreReachedHandler"]; r0 = r0.fields["score"]; s.tmp_2 = r0; - r0 = (s.oldScore___21624 < s.tmp_2); + r0 = (s.oldScore___74653 < s.tmp_2); 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.state___21612.fields["score"]; + r0 = s.state___74641.fields["score"]; s.tmp_3 = r0; - r0 = s.state___21612.fields["scoreReachedHandler"]; + r0 = s.state___74641.fields["scoreReachedHandler"]; r0 = r0.fields["score"]; s.tmp_4 = r0; r0 = (s.tmp_3 >= s.tmp_4); @@ -54081,19 +54114,19 @@ switch (step) { r0 = s.tmp_5; { step = 11; continue; } case 8: - r0 = s.state___21612.fields["scoreReachedHandler"]; + r0 = s.state___74641.fields["scoreReachedHandler"]; r0 = r0.fields["score"]; s.tmp_7 = r0; - r0 = (s.oldScore___21624 > s.tmp_7); + r0 = (s.oldScore___74653 > s.tmp_7); s.tmp_6 = r0; r0 = pxsim_numops_toBool(s.tmp_6); if (r0) { step = 9; continue; } r0 = s.tmp_6; { step = 10; continue; } case 9: - r0 = s.state___21612.fields["score"]; + r0 = s.state___74641.fields["score"]; s.tmp_8 = r0; - r0 = s.state___21612.fields["scoreReachedHandler"]; + r0 = s.state___74641.fields["scoreReachedHandler"]; r0 = r0.fields["score"]; s.tmp_9 = r0; r0 = (s.tmp_8 <= s.tmp_9); @@ -54111,7 +54144,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_12); if (!r0) { step = 13; continue; } s.tmp_13 = if_handler_1_mk(s); - r0 = s.state___21612.fields["scoreReachedHandler"]; + r0 = s.state___74641.fields["scoreReachedHandler"]; s.tmp_13.arg0 = r0; if (!s.tmp_13.arg0.vtable.iface) { setupLambda(s.tmp_13, pxsim_pxtrt.mapGetByString(s.tmp_13.arg0, "handler"), 1); @@ -54130,12 +54163,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfoImpl_setScore__P2587.info = {"start":21738,"length":723,"line":702,"column":8,"endLine":719,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"setScore","argumentNames":["this","value"]} +info_PlayerInfoImpl_setScore__P55599.info = {"start":21738,"length":723,"line":702,"column":8,"endLine":719,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"setScore","argumentNames":["this","value"]} -function info_PlayerInfoImpl_setScore__P2587_mk(s) { +function info_PlayerInfoImpl_setScore__P55599_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfoImpl_setScore__P2587, depth: s.depth + 1, + parent: s, fn: info_PlayerInfoImpl_setScore__P55599, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54151,8 +54184,8 @@ function info_PlayerInfoImpl_setScore__P2587_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - state___21612: undefined, - oldScore___21624: undefined, + state___74641: undefined, + oldScore___74653: undefined, arg0: undefined, arg1: undefined, } } @@ -54161,7 +54194,7 @@ function info_PlayerInfoImpl_setScore__P2587_mk(s) { -function info_updateFlag__P4937(s) { +function info_updateFlag__P57950(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54176,13 +54209,13 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = info_initHUD__P4933_mk(s); + s.tmp_0 = info_initHUD__P57946_mk(s); s.callLocIdx = 1138; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.infoState___4887; + s.tmp_0 = r0 = globals.infoState___57900; r0 = s.tmp_0.fields["visibilityFlag"]; s.tmp_2 = r0; r0 = (s.tmp_2 | s.arg0); @@ -54190,8 +54223,8 @@ switch (step) { r0 = (s.tmp_0).fields["visibilityFlag"] = (s.tmp_1); { step = 2; continue; } case 1: - s.tmp_0 = r0 = globals.infoState___4887; - r0 = globals.infoState___4887.fields["visibilityFlag"]; + s.tmp_0 = r0 = globals.infoState___57900; + r0 = globals.infoState___57900.fields["visibilityFlag"]; s.tmp_4 = r0; r0 = (~ s.tmp_4); s.tmp_3 = r0; @@ -54205,12 +54238,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_updateFlag__P4937.info = {"start":15569,"length":204,"line":518,"column":4,"endLine":522,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"updateFlag","argumentNames":["flag","on"]} +info_updateFlag__P57950.info = {"start":15569,"length":204,"line":518,"column":4,"endLine":522,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"updateFlag","argumentNames":["flag","on"]} -function info_updateFlag__P4937_mk(s) { +function info_updateFlag__P57950_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_updateFlag__P4937, depth: s.depth + 1, + parent: s, fn: info_updateFlag__P57950, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54225,7 +54258,7 @@ function info_updateFlag__P4937_mk(s) { -function hud_createHUD__P7135(s) { +function hud_createHUD__P60148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54235,86 +54268,86 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.font___22069 = undefined; - s.text___22070 = undefined; - s.top___22071 = undefined; - s.halfWidth___22072 = undefined; - s.bgColor___22073 = undefined; - s.tmp_0 = Sprite_top__P2384_mk(s); - s.tmp_0.arg0 = globals.forestHealthBar___7132; + s.font___75098 = undefined; + s.text___75099 = undefined; + s.top___75100 = undefined; + s.halfWidth___75101 = undefined; + s.bgColor___75102 = undefined; + s.tmp_0 = Sprite_top__P55396_mk(s); + s.tmp_0.arg0 = globals.forestHealthBar___60145; s.tmp_0.arg1 = 12; - s.callLocIdx = 2297; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2298; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_left__P2380_mk(s); - s.tmp_0.arg0 = globals.forestHealthBar___7132; + s.tmp_0 = Sprite_left__P55392_mk(s); + s.tmp_0.arg0 = globals.forestHealthBar___60145; s.tmp_0.arg1 = 4; - s.callLocIdx = 2298; s.pc = 2; return s.tmp_0; + s.callLocIdx = 2299; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = StatusBarSprite_setColor__P4336_mk(s); - s.tmp_0.arg0 = globals.forestHealthBar___7132; - s.tmp_0.arg1 = globals.healthyColor___7117; - s.tmp_0.arg2 = globals.burnedColor___7115; + s.tmp_0 = StatusBarSprite_setColor__P57349_mk(s); + s.tmp_0.arg0 = globals.forestHealthBar___60145; + s.tmp_0.arg1 = globals.healthyColor___60130; + s.tmp_0.arg2 = globals.burnedColor___60128; s.tmp_0.arg3 = undefined; - s.callLocIdx = 2299; s.pc = 3; return s.tmp_0; + s.callLocIdx = 2300; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P2399_mk(s); - s.tmp_0.arg0 = globals.forestHealthBar___7132; + s.tmp_0 = Sprite_setFlag__P55411_mk(s); + s.tmp_0.arg0 = globals.forestHealthBar___60145; s.tmp_0.arg1 = 128; s.tmp_0.arg2 = true; - s.callLocIdx = 2300; s.pc = 4; return s.tmp_0; + s.callLocIdx = 2301; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_pxtrt.mklocRef(); - s.font___22069 = (r0); + s.font___75098 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.text___22070 = (r0); + s.text___75099 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.top___22071 = (r0); + s.top___75100 = (r0); r0 = pxsim_pxtrt.mklocRef(); - s.halfWidth___22072 = (r0); - s.bgColor___22073 = (12); - r0 = pxsim_pxtcore_mkAction(5, hud_createHUD_inline__P22076); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.font___22069); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.bgColor___22073); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.text___22070); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.top___22071); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.halfWidth___22072); - s.tmp_1 = scene_createRenderable__P2785_mk(s); + s.halfWidth___75101 = (r0); + s.bgColor___75102 = (12); + r0 = pxsim_pxtcore_mkAction(5, hud_createHUD_inline__P75105); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.font___75098); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.bgColor___75102); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.text___75099); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.top___75100); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.halfWidth___75101); + s.tmp_1 = scene_createRenderable__P55797_mk(s); s.tmp_1.arg0 = 50; s.tmp_1.arg1 = s.tmp_0; s.tmp_1.arg2 = undefined; - s.callLocIdx = 2322; s.pc = 5; return s.tmp_1; + s.callLocIdx = 2323; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -hud_createHUD__P7135.info = {"start":472,"length":1577,"line":18,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"createHUD","argumentNames":[]} +hud_createHUD__P60148.info = {"start":472,"length":1577,"line":18,"column":4,"endLine":60,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"createHUD","argumentNames":[]} -function hud_createHUD__P7135_mk(s) { +function hud_createHUD__P60148_mk(s) { checkStack(s.depth); return { - parent: s, fn: hud_createHUD__P7135, depth: s.depth + 1, + parent: s, fn: hud_createHUD__P60148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - font___22069: undefined, - text___22070: undefined, - top___22071: undefined, - halfWidth___22072: undefined, - bgColor___22073: undefined, + font___75098: undefined, + text___75099: undefined, + top___75100: undefined, + halfWidth___75101: undefined, + bgColor___75102: undefined, } } -function hud_createHUD_inline__P22076(s) { +function hud_createHUD_inline__P75105(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54328,21 +54361,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.drawForestHealth___7119); + r0 = pxsim_numops_toBoolDecr(globals.drawForestHealth___60132); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = hud_getFontForText__P7137_mk(s); - s.tmp_2.arg0 = globals.forestHealthText___7124; - s.callLocIdx = 2301; s.pc = 7; return s.tmp_2; + s.tmp_2 = hud_getFontForText__P60150_mk(s); + s.tmp_2.arg0 = globals.forestHealthText___60137; + s.callLocIdx = 2302; 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); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; - r0 = pxsim_String_.length(globals.forestHealthText___7124); + r0 = pxsim_String_.length(globals.forestHealthText___60137); s.tmp_2 = r0; s.tmp_4 = if_charWidth_1_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); @@ -54353,7 +54386,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 = 2302; s.pc = 9; return s.tmp_4; } + else { s.callLocIdx = 2303; s.pc = 9; return s.tmp_4; } } case 9: r0 = s.retval; @@ -54371,7 +54404,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["charHeight"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["charHeight"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 2303; s.pc = 10; return s.tmp_6; } + else { s.callLocIdx = 2304; s.pc = 10; return s.tmp_6; } } case 10: r0 = s.retval; @@ -54379,41 +54412,41 @@ switch (step) { r0 = (s.tmp_5 + 4); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.caps[1]; - s.callLocIdx = 2304; s.pc = 8; return s.tmp_0; + s.callLocIdx = 2305; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P1971_mk(s); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.forestHealthText___7124; + s.tmp_0.arg1 = globals.forestHealthText___60137; s.tmp_0.arg2 = 4; s.tmp_0.arg3 = 2; s.tmp_0.arg4 = 1; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 2305; s.pc = 11; return s.tmp_0; + s.callLocIdx = 2306; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(globals.drawFireNumber___7121); + r0 = pxsim_numops_toBoolDecr(globals.drawFireNumber___60134); if (!r0) { step = 3; continue; } s.tmp_0 = r0 = s.caps[2]; - if ((globals.fireNumberText___7125) && (globals.fireNumberText___7125).vtable) { + if ((globals.fireNumberText___60138) && (globals.fireNumberText___60138).vtable) { setupResume(s, 12); - pxsim_String__stringConv(globals.fireNumberText___7125); + pxsim_String__stringConv(globals.fireNumberText___60138); checkResumeConsumed(); return; - } else { s.retval = (globals.fireNumberText___7125) + ""; } + } else { s.retval = (globals.fireNumberText___60138) + ""; } case 12: r0 = s.retval; s.tmp_2 = r0; - if ((globals.fireNumber___7127) && (globals.fireNumber___7127).vtable) { + if ((globals.fireNumber___60140) && (globals.fireNumber___60140).vtable) { setupResume(s, 13); - pxsim_String__stringConv(globals.fireNumber___7127); + pxsim_String__stringConv(globals.fireNumber___60140); checkResumeConsumed(); return; - } else { s.retval = (globals.fireNumber___7127) + ""; } + } else { s.retval = (globals.fireNumber___60140) + ""; } case 13: r0 = s.retval; s.tmp_3 = r0; @@ -54421,15 +54454,15 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = hud_getFontForText__P7137_mk(s); + s.tmp_2 = hud_getFontForText__P60150_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2.arg0 = r0; - s.callLocIdx = 2306; s.pc = 14; return s.tmp_2; + s.callLocIdx = 2307; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_4 = r0; @@ -54444,7 +54477,7 @@ switch (step) { s.tmp_6.fn = s.tmp_6.arg0.vtable.iface["charWidth"]; if (s.tmp_6.fn == null) { s.retval = s.tmp_6.arg0.fields["charWidth"]; } else if (!s.tmp_6.fn.isGetter) { s.retval = bind(s.tmp_6); } - else { s.callLocIdx = 2307; s.pc = 16; return s.tmp_6; } + else { s.callLocIdx = 2308; s.pc = 16; return s.tmp_6; } } case 16: r0 = s.retval; @@ -54466,7 +54499,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 = 2308; s.pc = 17; return s.tmp_8; } + else { s.callLocIdx = 2309; s.pc = 17; return s.tmp_8; } } case 17: r0 = s.retval; @@ -54474,10 +54507,10 @@ switch (step) { r0 = (s.tmp_7 + 4); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.caps[1]; - s.callLocIdx = 2309; s.pc = 15; return s.tmp_0; + s.callLocIdx = 2310; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P1971_mk(s); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_0.arg1 = r0; @@ -54494,7 +54527,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["charWidth"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["charWidth"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 2310; s.pc = 19; return s.tmp_5; } + else { s.callLocIdx = 2311; s.pc = 19; return s.tmp_5; } } case 19: r0 = s.retval; @@ -54508,17 +54541,17 @@ switch (step) { r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 2311; s.pc = 18; return s.tmp_0; + s.callLocIdx = 2312; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.drawFireDanger___7123); + r0 = pxsim_numops_toBoolDecr(globals.drawFireDanger___60136); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.caps[0]; - s.tmp_2 = hud_getFontForText__P7137_mk(s); - s.tmp_2.arg0 = globals.fireDangerText___7128; - s.callLocIdx = 2312; s.pc = 20; return s.tmp_2; + s.tmp_2 = hud_getFontForText__P60150_mk(s); + s.tmp_2.arg0 = globals.fireDangerText___60141; + s.callLocIdx = 2313; s.pc = 20; return s.tmp_2; case 20: r0 = s.retval; s.tmp_1 = r0; @@ -54533,7 +54566,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 = 2313; s.pc = 21; return s.tmp_4; } + else { s.callLocIdx = 2314; s.pc = 21; return s.tmp_4; } } case 21: r0 = s.retval; @@ -54544,7 +54577,7 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); s.tmp_0 = r0 = s.caps[4]; - r0 = pxsim_String_.length(globals.fireDangerText___7128); + r0 = pxsim_String_.length(globals.fireDangerText___60141); s.tmp_5 = r0; s.tmp_7 = if_charWidth_1_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); @@ -54555,7 +54588,7 @@ switch (step) { s.tmp_7.fn = s.tmp_7.arg0.vtable.iface["charWidth"]; if (s.tmp_7.fn == null) { s.retval = s.tmp_7.arg0.fields["charWidth"]; } else if (!s.tmp_7.fn.isGetter) { s.retval = bind(s.tmp_7); } - else { s.callLocIdx = 2314; s.pc = 22; return s.tmp_7; } + else { s.callLocIdx = 2315; s.pc = 22; return s.tmp_7; } } case 22: r0 = s.retval; @@ -54573,7 +54606,7 @@ switch (step) { s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["charHeight"]; if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["charHeight"]; } else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.callLocIdx = 2315; s.pc = 23; return s.tmp_9; } + else { s.callLocIdx = 2316; s.pc = 23; return s.tmp_9; } } case 23: r0 = s.retval; @@ -54583,7 +54616,7 @@ switch (step) { r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); @@ -54594,12 +54627,12 @@ switch (step) { r0 = (120 - s.tmp_1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.caps[1]; - s.callLocIdx = 2316; s.pc = 24; return s.tmp_0; + s.callLocIdx = 2317; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = helpers_imagePrint__P1971_mk(s); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.fireDangerText___7128; + s.tmp_0.arg1 = globals.fireDangerText___60141; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_1 = r0; r0 = (80 - s.tmp_1); @@ -54612,10 +54645,10 @@ switch (step) { r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 2317; s.pc = 25; return s.tmp_0; + s.callLocIdx = 2318; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; @@ -54630,7 +54663,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 = 2318; s.pc = 27; return s.tmp_4; } + else { s.callLocIdx = 2319; s.pc = 27; return s.tmp_4; } } case 27: r0 = s.retval; @@ -54650,7 +54683,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 = 2319; s.pc = 28; return s.tmp_7; } + else { s.callLocIdx = 2320; s.pc = 28; return s.tmp_7; } } case 28: r0 = s.retval; @@ -54666,15 +54699,15 @@ switch (step) { s.tmp_9.fn = s.tmp_9.arg0.vtable.iface["charHeight"]; if (s.tmp_9.fn == null) { s.retval = s.tmp_9.arg0.fields["charHeight"]; } else if (!s.tmp_9.fn.isGetter) { s.retval = bind(s.tmp_9); } - else { s.callLocIdx = 2320; s.pc = 29; return s.tmp_9; } + else { s.callLocIdx = 2321; s.pc = 29; return s.tmp_9; } } case 29: r0 = s.retval; s.tmp_8 = r0; r0 = (s.tmp_8 + 2); s.tmp_0.arg4 = r0; - s.tmp_0.arg5 = globals.fireDangerColor___7130; - s.callLocIdx = 2321; s.pc = 26; return s.tmp_0; + s.tmp_0.arg5 = globals.fireDangerColor___60143; + s.callLocIdx = 2322; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; case 5: @@ -54683,12 +54716,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -hud_createHUD_inline__P22076.info = {"start":858,"length":1183,"line":31,"column":35,"endLine":59,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"inline","argumentNames":["screen"]} +hud_createHUD_inline__P75105.info = {"start":858,"length":1183,"line":31,"column":35,"endLine":59,"endColumn":9,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"inline","argumentNames":["screen"]} -function hud_createHUD_inline__P22076_mk(s) { +function hud_createHUD_inline__P75105_mk(s) { checkStack(s.depth); return { - parent: s, fn: hud_createHUD_inline__P22076, depth: s.depth + 1, + parent: s, fn: hud_createHUD_inline__P75105, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -54707,7 +54740,7 @@ function hud_createHUD_inline__P22076_mk(s) { -function hud_getFontForText__P7137(s) { +function hud_getFontForText__P60150(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54717,39 +54750,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.f___22200 = undefined; + s.f___75229 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_getFontForText__P1958_mk(s); + s.tmp_0 = image_getFontForText__P54970_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2330; s.pc = 4; return s.tmp_0; + s.callLocIdx = 2331; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.f___22200 = (r0); - r0 = (s.f___22200 === globals.font8___1956); + s.f___75229 = (r0); + r0 = (s.f___75229 === globals.font8___54968); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = globals.font5___1961; + r0 = globals.font5___54973; { step = 3; continue; } case 1: case 2: - r0 = s.f___22200; + r0 = s.f___75229; case 3: return leave(s, r0) default: oops() } } } -hud_getFontForText__P7137.info = {"start":4715,"length":160,"line":168,"column":4,"endLine":172,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"getFontForText","argumentNames":["text"]} +hud_getFontForText__P60150.info = {"start":4715,"length":160,"line":168,"column":4,"endLine":172,"endColumn":5,"fileName":"pxt_modules/pxt-arcade-forest-fire/hud.ts","functionName":"getFontForText","argumentNames":["text"]} -function hud_getFontForText__P7137_mk(s) { +function hud_getFontForText__P60150_mk(s) { checkStack(s.depth); return { - parent: s, fn: hud_getFontForText__P7137, depth: s.depth + 1, + parent: s, fn: hud_getFontForText__P60150, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - f___22200: undefined, + f___75229: undefined, arg0: undefined, } } @@ -54757,7 +54790,7 @@ function hud_getFontForText__P7137_mk(s) { -function statusbars_create__P4384(s) { +function statusbars_create__P57397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54767,128 +54800,128 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.onColor___22212 = undefined; - s.offColor___22213 = undefined; - s.drainColor___22214 = undefined; - s.sb___22227 = undefined; - s.output___22236 = undefined; - s.cs___22243 = undefined; - s.handler___22286 = undefined; + s.onColor___75241 = undefined; + s.offColor___75242 = undefined; + s.drainColor___75243 = undefined; + s.sb___75256 = undefined; + s.output___75265 = undefined; + s.cs___75272 = undefined; + s.handler___75315 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.onColor___22212 = (7); - s.offColor___22213 = (2); - s.drainColor___22214 = (3); - r0 = (s.arg2 === globals.Energy___4325); + s.onColor___75241 = (7); + s.offColor___75242 = (2); + s.drainColor___75243 = (3); + r0 = (s.arg2 === globals.Energy___57338); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.onColor___22212 = (5); - s.offColor___22213 = (11); - s.drainColor___22214 = (4); + s.onColor___75241 = (5); + s.offColor___75242 = (11); + s.drainColor___75243 = (4); { step = 4; continue; } case 1: - r0 = (s.arg2 === globals.Magic___4326); + r0 = (s.arg2 === globals.Magic___57339); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.onColor___22212 = (8); - s.offColor___22213 = (11); - s.drainColor___22214 = (9); + s.onColor___75241 = (8); + s.offColor___75242 = (11); + s.drainColor___75243 = (9); case 2: case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(statusbars_StatusBar__C4345_VT); + r0 = pxsim_pxtcore_mkClassInstance(statusbars_StatusBar__C57358_VT); s.tmp_0 = r0; - s.tmp_1 = statusbars_StatusBar_constructor__P4356_mk(s); + s.tmp_1 = statusbars_StatusBar_constructor__P57369_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.onColor___22212; - s.tmp_1.arg4 = s.offColor___22213; - s.tmp_1.arg5 = s.drainColor___22214; + s.tmp_1.arg3 = s.onColor___75241; + s.tmp_1.arg4 = s.offColor___75242; + s.tmp_1.arg5 = s.drainColor___75243; s.tmp_1.arg6 = 100; s.tmp_1.arg7 = s.arg2; - s.callLocIdx = 2266; s.pc = 11; return s.tmp_1; + s.callLocIdx = 2267; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - s.sb___22227 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(StatusBarSprite__C4328_VT); + s.sb___75256 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(StatusBarSprite__C57341_VT); s.tmp_0 = r0; - s.tmp_1 = StatusBarSprite_constructor__P4329_mk(s); + s.tmp_1 = StatusBarSprite_constructor__P57342_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.sb___22227; - s.callLocIdx = 2267; s.pc = 12; return s.tmp_1; + s.tmp_1.arg1 = s.sb___75256; + s.callLocIdx = 2268; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - s.output___22236 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P2388_mk(s); - s.tmp_0.arg0 = s.output___22236; - s.tmp_0.arg1 = globals.StatusBar___4320; - s.callLocIdx = 2268; s.pc = 13; return s.tmp_0; + s.output___75265 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P55400_mk(s); + s.tmp_0.arg0 = s.output___75265; + s.tmp_0.arg1 = globals.StatusBar___57333; + s.callLocIdx = 2269; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.tmp_0 = game_currentScene__P2979_mk(s); - s.callLocIdx = 2269; s.pc = 14; return s.tmp_0; + s.tmp_0 = game_currentScene__P55991_mk(s); + s.callLocIdx = 2270; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.cs___22243 = (r0); - s.tmp_0 = PhysicsEngine__C2491_v0_2_mk(s); - r0 = s.cs___22243.fields["physicsEngine"]; + s.cs___75272 = (r0); + s.tmp_0 = PhysicsEngine__C55503_v0_2_mk(s); + r0 = s.cs___75272.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.output___22236; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C2491_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.output___75265; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C55503_VT)) failedCast(s.tmp_0.arg0); s.tmp_0.fn = s.tmp_0.arg0.vtable.methods.addSprite; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P22254); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P75283); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg2); - r0 = pxsim_pxtcore_mkAction(1, statusbars_create_inline__P22260); + r0 = pxsim_pxtcore_mkAction(1, statusbars_create_inline__P75289); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.output___22236); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); - s.tmp_3 = helpers_arrayFilter__P110_mk(s); - r0 = s.cs___22243.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.output___75265); + s.tmp_2 = helpers_arrayForEach__P53121_mk(s); + s.tmp_3 = helpers_arrayFilter__P53122_mk(s); + r0 = s.cs___75272.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; - s.callLocIdx = 2270; s.pc = 17; return s.tmp_3; + s.callLocIdx = 2271; s.pc = 17; return s.tmp_3; case 17: r0 = s.retval; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; - s.callLocIdx = 2272; s.pc = 16; return s.tmp_2; + s.callLocIdx = 2273; s.pc = 16; return s.tmp_2; case 16: r0 = s.retval; - r0 = (s.sb___22227).fields["sprite"] = (s.output___22236); - s.tmp_0 = Sprite_setFlag__P2399_mk(s); - s.tmp_0.arg0 = s.output___22236; + r0 = (s.sb___75256).fields["sprite"] = (s.output___75265); + s.tmp_0 = Sprite_setFlag__P55411_mk(s); + s.tmp_0.arg0 = s.output___75265; s.tmp_0.arg1 = 512; s.tmp_0.arg2 = true; - s.callLocIdx = 2273; s.pc = 18; return s.tmp_0; + s.callLocIdx = 2274; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = Sprite_setFlag__P2399_mk(s); - s.tmp_0.arg0 = s.output___22236; + s.tmp_0 = Sprite_setFlag__P55411_mk(s); + s.tmp_0.arg0 = s.output___75265; s.tmp_0.arg1 = 7168; s.tmp_0.arg2 = true; - s.callLocIdx = 2274; s.pc = 19; return s.tmp_0; + s.callLocIdx = 2275; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_1 = Sprite_data__P2356_mk(s); - s.tmp_1.arg0 = s.output___22236; - s.callLocIdx = 2275; s.pc = 20; return s.tmp_1; + s.tmp_1 = Sprite_data__P55368_mk(s); + s.tmp_1.arg0 = s.output___75265; + s.callLocIdx = 2276; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_0, globals.STATUS_BAR_DATA_KEY___7073, s.sb___22227); + r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_0, globals.STATUS_BAR_DATA_KEY___60086, s.sb___75256); s.tmp_0 = if_z_2_mk(s); - s.tmp_0.arg0 = s.output___22236; + s.tmp_0.arg0 = s.output___75265; s.tmp_0.arg1 = 95; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapSetByString(s.tmp_0.arg0, "z", s.tmp_0.arg1); @@ -54896,17 +54929,17 @@ 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 = 2276; s.pc = 21; return s.tmp_0; } + else { s.callLocIdx = 2277; s.pc = 21; return s.tmp_0; } } case 21: r0 = s.retval; - s.tmp_0 = statusbars_init__P7106_mk(s); - s.tmp_0.arg0 = s.output___22236; - s.callLocIdx = 2277; s.pc = 22; return s.tmp_0; + s.tmp_0 = statusbars_init__P60119_mk(s); + s.tmp_0.arg0 = s.output___75265; + s.callLocIdx = 2278; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.tmp_1 = statusbars_getPostProcessHandlers__P7112_mk(s); - s.callLocIdx = 2278; s.pc = 23; return s.tmp_1; + s.tmp_1 = statusbars_getPostProcessHandlers__P60125_mk(s); + s.callLocIdx = 2279; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; s.tmp_0 = r0; @@ -54920,52 +54953,52 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg2); - s.handler___22286 = (r0); - s.tmp_0 = r0 = s.output___22236; + s.handler___75315 = (r0); + s.tmp_0 = r0 = s.output___75265; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 7; continue; } r0 = s.tmp_0; { step = 8; continue; } case 7: - r0 = s.handler___22286; + r0 = s.handler___75315; case 8: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } s.tmp_2 = lambda_3_mk(s); - s.tmp_2.argL = s.handler___22286; - s.tmp_2.arg0 = s.output___22236; - r0 = s.output___22236.fields["_image"]; + s.tmp_2.argL = s.handler___75315; + s.tmp_2.arg0 = s.output___75265; + r0 = s.output___75265.fields["_image"]; s.tmp_2.arg1 = r0; setupLambda(s.tmp_2, s.tmp_2.argL); - s.callLocIdx = 2280; s.pc = 24; return s.tmp_2; + s.callLocIdx = 2281; s.pc = 24; return s.tmp_2; case 24: r0 = s.retval; case 9: case 10: - r0 = s.output___22236; + r0 = s.output___75265; return leave(s, r0) default: oops() } } } -statusbars_create__P4384.info = {"start":26256,"length":1475,"line":747,"column":4,"endLine":801,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"create","argumentNames":["width","height","kind"]} +statusbars_create__P57397.info = {"start":26256,"length":1475,"line":747,"column":4,"endLine":801,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"create","argumentNames":["width","height","kind"]} -function statusbars_create__P4384_mk(s) { +function statusbars_create__P57397_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_create__P4384, depth: s.depth + 1, + parent: s, fn: statusbars_create__P57397, 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, - onColor___22212: undefined, - offColor___22213: undefined, - drainColor___22214: undefined, - sb___22227: undefined, - output___22236: undefined, - cs___22243: undefined, - handler___22286: undefined, + onColor___75241: undefined, + offColor___75242: undefined, + drainColor___75243: undefined, + sb___75256: undefined, + output___75265: undefined, + cs___75272: undefined, + handler___75315: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -54975,7 +55008,7 @@ function statusbars_create__P4384_mk(s) { -function forEach_inline__P22254(s) { +function forEach_inline__P75283(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -54995,12 +55028,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P22254.info = {"start":27245,"length":19,"line":784,"column":20,"endLine":784,"endColumn":39,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P75283.info = {"start":27245,"length":19,"line":784,"column":20,"endLine":784,"endColumn":39,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P22254_mk(s) { +function forEach_inline__P75283_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P22254, depth: s.depth + 1, + parent: s, fn: forEach_inline__P75283, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -55010,7 +55043,7 @@ function forEach_inline__P22254_mk(s) { -function statusbars_create_inline__P22260(s) { +function statusbars_create_inline__P75289(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55029,12 +55062,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 = 2271; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2272; 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 = 2271; s.pc = 1; return s.tmp_0; } - else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 2271; s.pc = 1; return s.tmp_0;; } - else { s.callLocIdx = 2271; 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 = 2272; s.pc = 1; return s.tmp_0; } + else if (s.tmp_0.fn.isGetter) { s.tmp_0.stage2Call = true; s.callLocIdx = 2272; s.pc = 1; return s.tmp_0;; } + else { s.callLocIdx = 2272; s.pc = 1; return s.tmp_0; } } case 1: r0 = s.retval; @@ -55042,12 +55075,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -statusbars_create_inline__P22260.info = {"start":27287,"length":22,"line":785,"column":21,"endLine":785,"endColumn":43,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["h"]} +statusbars_create_inline__P75289.info = {"start":27287,"length":22,"line":785,"column":21,"endLine":785,"endColumn":43,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["h"]} -function statusbars_create_inline__P22260_mk(s) { +function statusbars_create_inline__P75289_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_create_inline__P22260, depth: s.depth + 1, + parent: s, fn: statusbars_create_inline__P75289, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -55057,7 +55090,7 @@ function statusbars_create_inline__P22260_mk(s) { -function statusbars_init__P7106(s) { +function statusbars_init__P60119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55067,17 +55100,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.managedSprites___22303 = undefined; + s.managedSprites___75332 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = statusbars_getManagedSprites__P7109_mk(s); - s.callLocIdx = 2281; s.pc = 3; return s.tmp_0; + s.tmp_0 = statusbars_getManagedSprites__P60122_mk(s); + s.callLocIdx = 2282; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.managedSprites___22303 = (r0); - r0 = pxsim_numops_toBoolDecr(s.managedSprites___22303); + s.managedSprites___75332 = (r0); + r0 = pxsim_numops_toBoolDecr(s.managedSprites___75332); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -55085,39 +55118,39 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = pxsim_Array__mk(); s.tmp_2 = r0; - s.managedSprites___22303 = (r0); - s.tmp_5 = game_currentScene__P2979_mk(s); - s.callLocIdx = 2282; s.pc = 4; return s.tmp_5; + s.managedSprites___75332 = (r0); + s.tmp_5 = game_currentScene__P55991_mk(s); + s.callLocIdx = 2283; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; r0 = s.tmp_4.fields["_data"]; s.tmp_3 = r0; - r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_3, globals.MANAGED_SPRITES_KEY___7077, s.tmp_2); - s.tmp_0 = control_EventContext_registerFrameHandler__P403_mk(s); - s.tmp_1 = game_eventContext__P2982_mk(s); - s.callLocIdx = 2284; s.pc = 6; return s.tmp_1; + r0 = pxsim_pxtrt.mapSetGeneric(s.tmp_3, globals.MANAGED_SPRITES_KEY___60090, s.tmp_2); + s.tmp_0 = control_EventContext_registerFrameHandler__P53415_mk(s); + s.tmp_1 = game_eventContext__P55994_mk(s); + s.callLocIdx = 2285; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 25; - s.tmp_0.arg2 = statusbars_init_inline__P22318; - s.callLocIdx = 2289; s.pc = 5; return s.tmp_0; + s.tmp_0.arg2 = statusbars_init_inline__P75347; + s.callLocIdx = 2290; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: case 2: - r0 = pxsim_Array__push(s.managedSprites___22303, s.arg0); + r0 = pxsim_Array__push(s.managedSprites___75332, s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -statusbars_init__P7106.info = {"start":31570,"length":1174,"line":898,"column":4,"endLine":927,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"init","argumentNames":["s"]} +statusbars_init__P60119.info = {"start":31570,"length":1174,"line":898,"column":4,"endLine":927,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"init","argumentNames":["s"]} -function statusbars_init__P7106_mk(s) { +function statusbars_init__P60119_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_init__P7106, depth: s.depth + 1, + parent: s, fn: statusbars_init__P60119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55125,7 +55158,7 @@ function statusbars_init__P7106_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - managedSprites___22303: undefined, + managedSprites___75332: undefined, arg0: undefined, } } @@ -55133,7 +55166,7 @@ function statusbars_init__P7106_mk(s) { -function statusbars_init_inline__P22318(s) { +function statusbars_init_inline__P75347(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55143,103 +55176,103 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.managed___22319 = undefined; - s.i___22322 = undefined; - s.spr___22329 = undefined; - s.sb___22333 = undefined; - s.spriteToFollow___22340 = undefined; - s.tmp_0 = statusbars_getManagedSprites__P7109_mk(s); - s.callLocIdx = 2285; s.pc = 10; return s.tmp_0; + s.managed___75348 = undefined; + s.i___75351 = undefined; + s.spr___75358 = undefined; + s.sb___75362 = undefined; + s.spriteToFollow___75369 = undefined; + s.tmp_0 = statusbars_getManagedSprites__P60122_mk(s); + s.callLocIdx = 2286; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.managed___22319 = (r0); - r0 = pxsim_Array__length(s.managed___22319); + s.managed___75348 = (r0); + r0 = pxsim_Array__length(s.managed___75348); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.i___22322 = (r0); + s.i___75351 = (r0); case 1: - r0 = (s.i___22322 >= 0); + r0 = (s.i___75351 >= 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.managed___22319, s.i___22322); - s.spr___22329 = (r0); - r0 = s.spr___22329.fields["_statusBar"]; - s.sb___22333 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sb___22333); + r0 = pxsim_Array__getAt(s.managed___75348, s.i___75351); + s.spr___75358 = (r0); + r0 = s.spr___75358.fields["_statusBar"]; + s.sb___75362 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sb___75362); if (!r0) { step = 4; continue; } - s.tmp_0 = statusbars_StatusBar_updateState__P4372_mk(s); - s.tmp_0.arg0 = s.sb___22333; - s.callLocIdx = 2286; s.pc = 11; return s.tmp_0; + s.tmp_0 = statusbars_StatusBar_updateState__P57385_mk(s); + s.tmp_0.arg0 = s.sb___75362; + s.callLocIdx = 2287; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; s.tmp_0 = if_spriteToFollow_1_mk(s); - s.tmp_0.arg0 = s.sb___22333; + s.tmp_0.arg0 = s.sb___75362; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "spriteToFollow"); } else { s.tmp_0.fn = s.tmp_0.arg0.vtable.iface["spriteToFollow"]; if (s.tmp_0.fn == null) { s.retval = s.tmp_0.arg0.fields["spriteToFollow"]; } else if (!s.tmp_0.fn.isGetter) { s.retval = bind(s.tmp_0); } - else { s.callLocIdx = 2287; s.pc = 12; return s.tmp_0; } + else { s.callLocIdx = 2288; s.pc = 12; return s.tmp_0; } } case 12: r0 = s.retval; - s.spriteToFollow___22340 = (r0); - r0 = pxsim_numops_toBoolDecr(s.spriteToFollow___22340); + s.spriteToFollow___75369 = (r0); + r0 = pxsim_numops_toBoolDecr(s.spriteToFollow___75369); if (!r0) { step = 2; continue; } - s.tmp_0 = statusbars_StatusBar_positionNextTo__P4361_mk(s); - s.tmp_0.arg0 = s.sb___22333; - s.tmp_0.arg1 = s.spr___22329; - s.tmp_0.arg2 = s.spriteToFollow___22340; - s.callLocIdx = 2288; s.pc = 13; return s.tmp_0; + s.tmp_0 = statusbars_StatusBar_positionNextTo__P57374_mk(s); + s.tmp_0.arg0 = s.sb___75362; + s.tmp_0.arg1 = s.spr___75358; + s.tmp_0.arg2 = s.spriteToFollow___75369; + s.callLocIdx = 2289; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 2: case 3: case 4: case 5: - r0 = s.spr___22329.fields["flags"]; + r0 = s.spr___75358.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = (s.sb___22333).fields["sprite"] = (undefined); - r0 = pxsim_Array_.removeAt(s.managed___22319, s.i___22322); + r0 = (s.sb___75362).fields["sprite"] = (undefined); + r0 = pxsim_Array_.removeAt(s.managed___75348, s.i___75351); { step = 8; continue; } case 6: case 7: case 8: - r0 = (s.i___22322 - 1); - s.i___22322 = (r0); + r0 = (s.i___75351 - 1); + s.i___75351 = (r0); { step = 1; continue; } case 9: r0 = undefined; return leave(s, r0) default: oops() } } } -statusbars_init_inline__P22318.info = {"start":31869,"length":817,"line":902,"column":80,"endLine":923,"endColumn":13,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":[]} +statusbars_init_inline__P75347.info = {"start":31869,"length":817,"line":902,"column":80,"endLine":923,"endColumn":13,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":[]} -function statusbars_init_inline__P22318_mk(s) { +function statusbars_init_inline__P75347_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_init_inline__P22318, depth: s.depth + 1, + parent: s, fn: statusbars_init_inline__P75347, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - managed___22319: undefined, - i___22322: undefined, - spr___22329: undefined, - sb___22333: undefined, - spriteToFollow___22340: undefined, + managed___75348: undefined, + i___75351: undefined, + spr___75358: undefined, + sb___75362: undefined, + spriteToFollow___75369: undefined, } } -function statusbars_getManagedSprites__P7109(s) { +function statusbars_getManagedSprites__P60122(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55249,20 +55282,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = statusbars_getSceneData__P7108_mk(s); - s.tmp_0.arg0 = globals.MANAGED_SPRITES_KEY___7077; - s.callLocIdx = 2292; s.pc = 1; return s.tmp_0; + s.tmp_0 = statusbars_getSceneData__P60121_mk(s); + s.tmp_0.arg0 = globals.MANAGED_SPRITES_KEY___60090; + s.callLocIdx = 2293; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; return leave(s, r0) default: oops() } } } -statusbars_getManagedSprites__P7109.info = {"start":33230,"length":107,"line":947,"column":4,"endLine":949,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"getManagedSprites","argumentNames":[]} +statusbars_getManagedSprites__P60122.info = {"start":33230,"length":107,"line":947,"column":4,"endLine":949,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"getManagedSprites","argumentNames":[]} -function statusbars_getManagedSprites__P7109_mk(s) { +function statusbars_getManagedSprites__P60122_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_getManagedSprites__P7109, depth: s.depth + 1, + parent: s, fn: statusbars_getManagedSprites__P60122, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -55271,7 +55304,7 @@ function statusbars_getManagedSprites__P7109_mk(s) { -function statusbars_StatusBar_positionNextTo__P4361(s) { +function statusbars_StatusBar_positionNextTo__P57374(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55281,10 +55314,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.padding___22367 = undefined; - s.alignment___22370 = undefined; - s.position___22373 = undefined; - s.toFollowIsRelativeToCamera___22399 = undefined; + s.padding___75396 = undefined; + s.alignment___75399 = undefined; + s.position___75402 = undefined; + s.toFollowIsRelativeToCamera___75428 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -55292,11 +55325,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusBar__C4345_VT)) failedCast(r0); + if (!checkSubtype(r0, statusbars_StatusBar__C57358_VT)) failedCast(r0); r0 = s.arg0.fields["followPadding"]; - s.padding___22367 = (r0); + s.padding___75396 = (r0); r0 = s.arg0.fields["followOffset"]; - s.alignment___22370 = (r0); + s.alignment___75399 = (r0); r0 = s.arg0.fields["explicitlySetDirection"]; s.tmp_1 = r0; r0 = (s.tmp_1 != null); @@ -55325,7 +55358,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_6 = r0; - s.position___22373 = (s.tmp_6); + s.position___75402 = (s.tmp_6); r0 = s.arg2.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -55347,11 +55380,11 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 7; continue; } - s.tmp_6 = Sprite_destroy__P2408_mk(s); + s.tmp_6 = Sprite_destroy__P55420_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = undefined; s.tmp_6.arg2 = undefined; - s.callLocIdx = 2188; s.pc = 19; return s.tmp_6; + s.callLocIdx = 2189; s.pc = 19; return s.tmp_6; case 19: r0 = s.retval; case 7: @@ -55367,7 +55400,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - s.toFollowIsRelativeToCamera___22399 = (r0); + s.toFollowIsRelativeToCamera___75428 = (r0); r0 = s.arg1.fields["flags"]; s.tmp_6 = r0; r0 = (s.tmp_6 & 512); @@ -55380,123 +55413,123 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; - r0 = (s.tmp_1 != s.toFollowIsRelativeToCamera___22399); + r0 = (s.tmp_1 != s.toFollowIsRelativeToCamera___75428); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_7 = Sprite_setFlag__P2399_mk(s); + s.tmp_7 = Sprite_setFlag__P55411_mk(s); s.tmp_7.arg0 = s.arg1; s.tmp_7.arg1 = 512; - s.tmp_7.arg2 = s.toFollowIsRelativeToCamera___22399; - s.callLocIdx = 2189; s.pc = 20; return s.tmp_7; + s.tmp_7.arg2 = s.toFollowIsRelativeToCamera___75428; + s.callLocIdx = 2190; s.pc = 20; return s.tmp_7; case 20: r0 = s.retval; case 9: case 10: - r0 = (s.position___22373 === 0); + r0 = (s.position___75402 === 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 11; continue; } r0 = s.tmp_0; { step = 12; continue; } case 11: - r0 = (s.position___22373 === 2); + r0 = (s.position___75402 === 2); case 12: // jmp value (already in r0) s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 15; continue; } - s.tmp_2 = Sprite_y__P2337_mk(s); + s.tmp_2 = Sprite_y__P55349_mk(s); s.tmp_2.arg0 = s.arg1; - s.tmp_4 = Sprite_y__P2336_mk(s); + s.tmp_4 = Sprite_y__P55348_mk(s); s.tmp_4.arg0 = s.arg2; - s.callLocIdx = 2190; s.pc = 22; return s.tmp_4; + s.callLocIdx = 2191; s.pc = 22; return s.tmp_4; case 22: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 + s.alignment___22370); + r0 = (s.tmp_3 + s.alignment___75399); s.tmp_2.arg1 = r0; - s.callLocIdx = 2191; s.pc = 21; return s.tmp_2; + s.callLocIdx = 2192; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; - r0 = (s.position___22373 === 2); + r0 = (s.position___75402 === 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tmp_1 = Sprite_left__P2380_mk(s); + s.tmp_1 = Sprite_left__P55392_mk(s); s.tmp_1.arg0 = s.arg1; - s.tmp_3 = Sprite_right__P2381_mk(s); + s.tmp_3 = Sprite_right__P55393_mk(s); s.tmp_3.arg0 = s.arg2; - s.callLocIdx = 2192; s.pc = 24; return s.tmp_3; + s.callLocIdx = 2193; s.pc = 24; return s.tmp_3; case 24: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___22367); + r0 = (s.tmp_2 + s.padding___75396); s.tmp_1.arg1 = r0; - s.callLocIdx = 2193; s.pc = 23; return s.tmp_1; + s.callLocIdx = 2194; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; { step = 14; continue; } case 13: - s.tmp_0 = Sprite_right__P2382_mk(s); + s.tmp_0 = Sprite_right__P55394_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_2 = Sprite_left__P2379_mk(s); + s.tmp_2 = Sprite_left__P55391_mk(s); s.tmp_2.arg0 = s.arg2; - s.callLocIdx = 2194; s.pc = 26; return s.tmp_2; + s.callLocIdx = 2195; s.pc = 26; return s.tmp_2; case 26: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.padding___22367); + r0 = (s.tmp_1 - s.padding___75396); s.tmp_0.arg1 = r0; - s.callLocIdx = 2195; s.pc = 25; return s.tmp_0; + s.callLocIdx = 2196; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; case 14: { step = 18; continue; } case 15: - s.tmp_0 = Sprite_x__P2335_mk(s); + s.tmp_0 = Sprite_x__P55347_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_2 = Sprite_x__P2334_mk(s); + s.tmp_2 = Sprite_x__P55346_mk(s); s.tmp_2.arg0 = s.arg2; - s.callLocIdx = 2196; s.pc = 28; return s.tmp_2; + s.callLocIdx = 2197; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 + s.alignment___22370); + r0 = (s.tmp_1 + s.alignment___75399); s.tmp_0.arg1 = r0; - s.callLocIdx = 2197; s.pc = 27; return s.tmp_0; + s.callLocIdx = 2198; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - r0 = (s.position___22373 === 3); + r0 = (s.position___75402 === 3); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - s.tmp_1 = Sprite_top__P2384_mk(s); + s.tmp_1 = Sprite_top__P55396_mk(s); s.tmp_1.arg0 = s.arg1; - s.tmp_3 = Sprite_bottom__P2385_mk(s); + s.tmp_3 = Sprite_bottom__P55397_mk(s); s.tmp_3.arg0 = s.arg2; - s.callLocIdx = 2198; s.pc = 30; return s.tmp_3; + s.callLocIdx = 2199; s.pc = 30; return s.tmp_3; case 30: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___22367); + r0 = (s.tmp_2 + s.padding___75396); s.tmp_1.arg1 = r0; - s.callLocIdx = 2199; s.pc = 29; return s.tmp_1; + s.callLocIdx = 2200; s.pc = 29; return s.tmp_1; case 29: r0 = s.retval; { step = 17; continue; } case 16: - s.tmp_0 = Sprite_bottom__P2386_mk(s); + s.tmp_0 = Sprite_bottom__P55398_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_2 = Sprite_top__P2383_mk(s); + s.tmp_2 = Sprite_top__P55395_mk(s); s.tmp_2.arg0 = s.arg2; - s.callLocIdx = 2200; s.pc = 32; return s.tmp_2; + s.callLocIdx = 2201; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.padding___22367); + r0 = (s.tmp_1 - s.padding___75396); s.tmp_0.arg1 = r0; - s.callLocIdx = 2201; s.pc = 31; return s.tmp_0; + s.callLocIdx = 2202; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; case 17: @@ -55505,12 +55538,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -statusbars_StatusBar_positionNextTo__P4361.info = {"start":13999,"length":1505,"line":407,"column":8,"endLine":437,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"positionNextTo","argumentNames":["this","status","target"]} +statusbars_StatusBar_positionNextTo__P57374.info = {"start":13999,"length":1505,"line":407,"column":8,"endLine":437,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"positionNextTo","argumentNames":["this","status","target"]} -function statusbars_StatusBar_positionNextTo__P4361_mk(s) { +function statusbars_StatusBar_positionNextTo__P57374_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusBar_positionNextTo__P4361, depth: s.depth + 1, + parent: s, fn: statusbars_StatusBar_positionNextTo__P57374, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55520,10 +55553,10 @@ function statusbars_StatusBar_positionNextTo__P4361_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - padding___22367: undefined, - alignment___22370: undefined, - position___22373: undefined, - toFollowIsRelativeToCamera___22399: undefined, + padding___75396: undefined, + alignment___75399: undefined, + position___75402: undefined, + toFollowIsRelativeToCamera___75428: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -55533,7 +55566,7 @@ function statusbars_StatusBar_positionNextTo__P4361_mk(s) { -function Sprite_bottom__P2386(s) { +function Sprite_bottom__P55398(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55549,11 +55582,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P2384_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P55396_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Sprite_height__P2378_mk(s); + s.tmp_3 = Sprite_height__P55390_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 649; s.pc = 2; return s.tmp_3; case 2: @@ -55568,12 +55601,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_bottom__P2386.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__P55398.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__P2386_mk(s) { +function Sprite_bottom__P55398_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P2386, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P55398, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55587,7 +55620,7 @@ function Sprite_bottom__P2386_mk(s) { -function Sprite_bottom__P2385(s) { +function Sprite_bottom__P55397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55602,14 +55635,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P2383_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P55395_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 647; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_height__P2378_mk(s); + s.tmp_3 = Sprite_height__P55390_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 648; s.pc = 2; return s.tmp_3; case 2: @@ -55619,13 +55652,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P2385.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__P2385.isGetter = true; +Sprite_bottom__P55397.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__P55397.isGetter = true; -function Sprite_bottom__P2385_mk(s) { +function Sprite_bottom__P55397_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P2385, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P55397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55638,7 +55671,7 @@ function Sprite_bottom__P2385_mk(s) { -function Sprite_right__P2382(s) { +function Sprite_right__P55394(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55654,11 +55687,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P2380_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P55392_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Sprite_width__P2377_mk(s); + s.tmp_3 = Sprite_width__P55389_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 641; s.pc = 2; return s.tmp_3; case 2: @@ -55673,12 +55706,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_right__P2382.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__P55394.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__P2382_mk(s) { +function Sprite_right__P55394_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P2382, depth: s.depth + 1, + parent: s, fn: Sprite_right__P55394, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55692,7 +55725,7 @@ function Sprite_right__P2382_mk(s) { -function Sprite_right__P2381(s) { +function Sprite_right__P55393(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55707,14 +55740,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P2379_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P55391_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 639; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_width__P2377_mk(s); + s.tmp_3 = Sprite_width__P55389_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 640; s.pc = 2; return s.tmp_3; case 2: @@ -55724,13 +55757,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P2381.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__P2381.isGetter = true; +Sprite_right__P55393.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__P55393.isGetter = true; -function Sprite_right__P2381_mk(s) { +function Sprite_right__P55393_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P2381, depth: s.depth + 1, + parent: s, fn: Sprite_right__P55393, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55743,7 +55776,7 @@ function Sprite_right__P2381_mk(s) { -function Sprite_y__P2337(s) { +function Sprite_y__P55349(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55759,11 +55792,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P2384_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P55396_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_4 = Sprite_height__P2378_mk(s); + s.tmp_4 = Sprite_height__P55390_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 595; s.pc = 2; return s.tmp_4; case 2: @@ -55780,12 +55813,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_y__P2337.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__P55349.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__P2337_mk(s) { +function Sprite_y__P55349_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P2337, depth: s.depth + 1, + parent: s, fn: Sprite_y__P55349, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55800,7 +55833,7 @@ function Sprite_y__P2337_mk(s) { -function Sprite_x__P2335(s) { +function Sprite_x__P55347(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55816,11 +55849,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P2380_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P55392_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_4 = Sprite_width__P2377_mk(s); + s.tmp_4 = Sprite_width__P55389_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 590; s.pc = 2; return s.tmp_4; case 2: @@ -55837,12 +55870,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_x__P2335.info = {"start":2724,"length":65,"line":115,"column":4,"endLine":117,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"x","argumentNames":["this","v"]} +Sprite_x__P55347.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__P2335_mk(s) { +function Sprite_x__P55347_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P2335, depth: s.depth + 1, + parent: s, fn: Sprite_x__P55347, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55857,7 +55890,7 @@ function Sprite_x__P2335_mk(s) { -function statusbars_StatusBar_constructor__P4356(s) { +function statusbars_StatusBar_constructor__P57369(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55879,7 +55912,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusBar__C4345_VT)) failedCast(r0); + if (!checkSubtype(r0, statusbars_StatusBar__C57358_VT)) failedCast(r0); r0 = (s.arg0).fields["_barWidth"] = (s.arg1); r0 = (s.arg0).fields["_barHeight"] = (s.arg2); r0 = (s.arg0).fields["onColor"] = (s.arg3); @@ -55888,8 +55921,8 @@ switch (step) { r0 = (s.arg0).fields["_max"] = (s.arg6); r0 = (s.arg0).fields["kind"] = (s.arg7); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = game_currentScene__P2979_mk(s); - s.callLocIdx = 2184; s.pc = 1; return s.tmp_3; + s.tmp_3 = game_currentScene__P55991_mk(s); + s.callLocIdx = 2185; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -55902,27 +55935,27 @@ switch (step) { r0 = (s.arg0).fields["flags"] = (4); r0 = (s.arg0).fields["_label"] = (undefined); r0 = (s.arg0).fields["labelColor"] = (1); - r0 = (s.arg0).fields["font"] = (globals.font5___1961); + r0 = (s.arg0).fields["font"] = (globals.font5___54973); r0 = (s.arg0).fields["followPadding"] = (0); r0 = (s.arg0).fields["followOffset"] = (0); r0 = (s.arg0).fields["hasHitZero"] = (false); r0 = (s.arg0).fields["displayValue"] = (s.arg6); r0 = (s.arg0).fields["target"] = (s.arg6); - s.tmp_0 = statusbars_StatusBar_rebuildImage__P7102_mk(s); + s.tmp_0 = statusbars_StatusBar_rebuildImage__P60115_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2186; s.pc = 2; return s.tmp_0; + s.callLocIdx = 2187; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -statusbars_StatusBar_constructor__P4356.info = {"start":12864,"length":759,"line":363,"column":8,"endLine":387,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["this","_barWidth","_barHeight","onColor","offColor","drainColor","_max","kind"]} +statusbars_StatusBar_constructor__P57369.info = {"start":12864,"length":759,"line":363,"column":8,"endLine":387,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["this","_barWidth","_barHeight","onColor","offColor","drainColor","_max","kind"]} -function statusbars_StatusBar_constructor__P4356_mk(s) { +function statusbars_StatusBar_constructor__P57369_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusBar_constructor__P4356, depth: s.depth + 1, + parent: s, fn: statusbars_StatusBar_constructor__P57369, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -55942,7 +55975,7 @@ function statusbars_StatusBar_constructor__P4356_mk(s) { -function statusbars_StatusBar_rebuildImage__P7102(s) { +function statusbars_StatusBar_rebuildImage__P60115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -55952,20 +55985,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.width___22551 = undefined; - s.height___22554 = undefined; - s.labelWidth___22558 = undefined; - s.newImg___22600 = undefined; + s.width___75580 = undefined; + s.height___75583 = undefined; + s.labelWidth___75587 = undefined; + s.newImg___75629 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusBar__C4345_VT)) failedCast(r0); + if (!checkSubtype(r0, statusbars_StatusBar__C57358_VT)) failedCast(r0); r0 = s.arg0.fields["_barWidth"]; - s.width___22551 = (r0); + s.width___75580 = (r0); r0 = s.arg0.fields["_barHeight"]; - s.height___22554 = (r0); + s.height___75583 = (r0); r0 = s.arg0.fields["_label"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -55979,7 +56012,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 = 2218; s.pc = 11; return s.tmp_2; } + else { s.callLocIdx = 2219; s.pc = 11; return s.tmp_2; } } case 11: r0 = s.retval; @@ -55989,7 +56022,7 @@ switch (step) { r0 = pxsim_String_.length(s.tmp_4); s.tmp_3 = r0; r0 = (s.tmp_1 * s.tmp_3); - s.labelWidth___22558 = (r0); + s.labelWidth___75587 = (r0); r0 = s.arg0.fields["_barHeight"]; s.tmp_1 = r0; r0 = s.arg0.fields["_barWidth"]; @@ -55998,14 +56031,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_max__P130_mk(s); - s.tmp_3.arg0 = s.width___22551; - s.tmp_3.arg1 = s.labelWidth___22558; - s.callLocIdx = 2221; s.pc = 12; return s.tmp_3; + s.tmp_3 = Math_max__P53142_mk(s); + s.tmp_3.arg0 = s.width___75580; + s.tmp_3.arg1 = s.labelWidth___75587; + s.callLocIdx = 2222; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; - s.width___22551 = (r0); - s.tmp_0 = r0 = s.height___22554; + s.width___75580 = (r0); + s.tmp_0 = r0 = s.height___75583; s.tmp_3 = if_charHeight_1_mk(s); r0 = s.arg0.fields["font"]; s.tmp_3.arg0 = r0; @@ -56015,7 +56048,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["charHeight"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["charHeight"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 2222; s.pc = 13; return s.tmp_3; } + else { s.callLocIdx = 2223; s.pc = 13; return s.tmp_3; } } case 13: r0 = s.retval; @@ -56023,13 +56056,13 @@ switch (step) { r0 = (s.tmp_2 + 1); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___22554 = (r0); + s.height___75583 = (r0); { step = 2; continue; } case 1: - r0 = (s.width___22551 + s.labelWidth___22558); - s.width___22551 = (r0); - s.tmp_0 = Math_max__P130_mk(s); - s.tmp_0.arg0 = s.height___22554; + r0 = (s.width___75580 + s.labelWidth___75587); + s.width___75580 = (r0); + s.tmp_0 = Math_max__P53142_mk(s); + s.tmp_0.arg0 = s.height___75583; s.tmp_1 = if_charHeight_1_mk(s); r0 = s.arg0.fields["font"]; s.tmp_1.arg0 = r0; @@ -56039,15 +56072,15 @@ 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 = 2223; s.pc = 15; return s.tmp_1; } + else { s.callLocIdx = 2224; s.pc = 15; return s.tmp_1; } } case 15: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 2224; s.pc = 14; return s.tmp_0; + s.callLocIdx = 2225; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.height___22554 = (r0); + s.height___75583 = (r0); case 2: case 3: case 4: @@ -56062,7 +56095,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_3 = r0 = s.width___22551; + s.tmp_3 = r0 = s.width___75580; r0 = s.arg0.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.width(s.tmp_5); @@ -56076,7 +56109,7 @@ switch (step) { r0 = s.tmp_6; { step = 8; continue; } case 7: - s.tmp_7 = r0 = s.height___22554; + s.tmp_7 = r0 = s.height___75583; r0 = s.arg0.fields["_image"]; s.tmp_9 = r0; r0 = pxsim_ImageMethods.height(s.tmp_9); @@ -56087,26 +56120,26 @@ switch (step) { s.tmp_10 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_10); if (!r0) { step = 9; continue; } - r0 = pxsim.image.create(s.width___22551, s.height___22554); - s.newImg___22600 = (r0); - r0 = (s.arg0).fields["_image"] = (s.newImg___22600); + r0 = pxsim.image.create(s.width___75580, s.height___75583); + s.newImg___75629 = (r0); + r0 = (s.arg0).fields["_image"] = (s.newImg___75629); case 9: case 10: - s.tmp_0 = statusbars_StatusBar_updateDisplay__P4373_mk(s); + s.tmp_0 = statusbars_StatusBar_updateDisplay__P57386_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2228; s.pc = 16; return s.tmp_0; + s.callLocIdx = 2229; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -statusbars_StatusBar_rebuildImage__P7102.info = {"start":17897,"length":790,"line":524,"column":8,"endLine":545,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"rebuildImage","argumentNames":["this"]} +statusbars_StatusBar_rebuildImage__P60115.info = {"start":17897,"length":790,"line":524,"column":8,"endLine":545,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"rebuildImage","argumentNames":["this"]} -function statusbars_StatusBar_rebuildImage__P7102_mk(s) { +function statusbars_StatusBar_rebuildImage__P60115_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusBar_rebuildImage__P7102, depth: s.depth + 1, + parent: s, fn: statusbars_StatusBar_rebuildImage__P60115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56119,10 +56152,10 @@ function statusbars_StatusBar_rebuildImage__P7102_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - width___22551: undefined, - height___22554: undefined, - labelWidth___22558: undefined, - newImg___22600: undefined, + width___75580: undefined, + height___75583: undefined, + labelWidth___75587: undefined, + newImg___75629: undefined, arg0: undefined, } } @@ -56130,7 +56163,7 @@ function statusbars_StatusBar_rebuildImage__P7102_mk(s) { -function StatusBarSprite_constructor__P4329(s) { +function StatusBarSprite_constructor__P57342(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56146,25 +56179,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, StatusBarSprite__C4328_VT)) failedCast(r0); + if (!checkSubtype(r0, StatusBarSprite__C57341_VT)) failedCast(r0); r0 = (s.arg0).fields["_statusBar"] = (s.arg1); - s.tmp_0 = Sprite_constructor__P2368_mk(s); + s.tmp_0 = Sprite_constructor__P55380_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_image"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 2170; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2171; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -StatusBarSprite_constructor__P4329.info = {"start":2526,"length":93,"line":78,"column":4,"endLine":80,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["this","_statusBar"]} +StatusBarSprite_constructor__P57342.info = {"start":2526,"length":93,"line":78,"column":4,"endLine":80,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["this","_statusBar"]} -function StatusBarSprite_constructor__P4329_mk(s) { +function StatusBarSprite_constructor__P57342_mk(s) { checkStack(s.depth); return { - parent: s, fn: StatusBarSprite_constructor__P4329, depth: s.depth + 1, + parent: s, fn: StatusBarSprite_constructor__P57342, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -56175,7 +56208,7 @@ function StatusBarSprite_constructor__P4329_mk(s) { -function Sprite_data__P2356(s) { +function Sprite_data__P55368(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56190,7 +56223,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -56209,13 +56242,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P2356.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__P2356.isGetter = true; +Sprite_data__P55368.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__P55368.isGetter = true; -function Sprite_data__P2356_mk(s) { +function Sprite_data__P55368_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P2356, depth: s.depth + 1, + parent: s, fn: Sprite_data__P55368, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56229,7 +56262,7 @@ function Sprite_data__P2356_mk(s) { -function StatusBarKind_create__P4323(s) { +function StatusBarKind_create__P57336(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56239,26 +56272,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___7062 === undefined); + r0 = (globals.nextKind___60075 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___7062 = (1); + globals.nextKind___60075 = (1); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___7062; + s.tmp_0 = r0 = globals.nextKind___60075; r0 = (s.tmp_0 + 1); - globals.nextKind___7062 = (r0); + globals.nextKind___60075 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -StatusBarKind_create__P4323.info = {"start":1891,"length":109,"line":51,"column":4,"endLine":54,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"create","argumentNames":[]} +StatusBarKind_create__P57336.info = {"start":1891,"length":109,"line":51,"column":4,"endLine":54,"endColumn":5,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"create","argumentNames":[]} -function StatusBarKind_create__P4323_mk(s) { +function StatusBarKind_create__P57336_mk(s) { checkStack(s.depth); return { - parent: s, fn: StatusBarKind_create__P4323, depth: s.depth + 1, + parent: s, fn: StatusBarKind_create__P57336, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -56267,7 +56300,7 @@ function StatusBarKind_create__P4323_mk(s) { -function game_eventContext__P2982(s) { +function game_eventContext__P55994(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56277,21 +56310,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P5030_mk(s); + s.tmp_0 = game_init__P58043_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 1593; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1594; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___5022.fields["eventContext"]; + r0 = globals._scene___58035.fields["eventContext"]; return leave(s, r0) default: oops() } } } -game_eventContext__P2982.info = {"start":4442,"length":112,"line":136,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P55994.info = {"start":4442,"length":112,"line":136,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} -function game_eventContext__P2982_mk(s) { +function game_eventContext__P55994_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P2982, depth: s.depth + 1, + parent: s, fn: game_eventContext__P55994, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -56300,7 +56333,7 @@ function game_eventContext__P2982_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P2186(s) { +function controller_pauseUntilAnyButtonIsPressed__P55198(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56320,12 +56353,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P2186.info = {"start":9968,"length":96,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P55198.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__P2186_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P55198_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P2186, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P55198, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -56333,7 +56366,7 @@ function controller_pauseUntilAnyButtonIsPressed__P2186_mk(s) { -function game_setWaitAnyButton__P2980(s) { +function game_setWaitAnyButton__P55992(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56347,17 +56380,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___5026 = (s.arg0); + globals.__waitAnyButton___58039 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P2980.info = {"start":4236,"length":83,"line":127,"column":4,"endLine":129,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} +game_setWaitAnyButton__P55992.info = {"start":4236,"length":83,"line":127,"column":4,"endLine":129,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"setWaitAnyButton","argumentNames":["f"]} -function game_setWaitAnyButton__P2980_mk(s) { +function game_setWaitAnyButton__P55992_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P2980, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P55992, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -56366,7 +56399,7 @@ function game_setWaitAnyButton__P2980_mk(s) { -function Math_FastRandom_constructor__P3041(s) { +function Math_FastRandom_constructor__P56053(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56382,7 +56415,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C3039_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C56051_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -56397,12 +56430,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P3041.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__P56053.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__P3041_mk(s) { +function Math_FastRandom_constructor__P56053_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P3041, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P56053, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -56413,7 +56446,7 @@ function Math_FastRandom_constructor__P3041_mk(s) { -function game_consoleOverlay_listener__P5356(s) { +function game_consoleOverlay_listener__P58369(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56428,7 +56461,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5321); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___58334); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -56448,39 +56481,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__P53121_mk(s); + s.tmp_5 = helpers_arrayFilter__P53122_mk(s); + s.tmp_6 = helpers_stringSplit__P53134_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; - s.callLocIdx = 1812; s.pc = 10; return s.tmp_6; + s.callLocIdx = 1813; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = forEach_inline__P22651; - s.callLocIdx = 1813; s.pc = 9; return s.tmp_5; + s.tmp_5.arg1 = forEach_inline__P75680; + s.callLocIdx = 1814; 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__P22656; - s.callLocIdx = 1815; s.pc = 8; return s.tmp_4; + s.tmp_4.arg1 = game_consoleOverlay_listener_inline__P75685; + s.callLocIdx = 1816; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___5321); + r0 = pxsim_Array__length(globals.consoleStrings___58334); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___5334); + r0 = (s.tmp_1 > globals.consoleLines___58347); 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___5321; + s.tmp_2 = helpers_arraySplice__P53112_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___58334; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___5321); + r0 = pxsim_Array__length(globals.consoleStrings___58334); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___5334); + r0 = (s.tmp_3 - globals.consoleLines___58347); s.tmp_2.arg2 = r0; - s.callLocIdx = 1816; s.pc = 11; return s.tmp_2; + s.callLocIdx = 1817; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; case 5: @@ -56490,12 +56523,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P5356.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__P58369.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__P5356_mk(s) { +function game_consoleOverlay_listener__P58369_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P5356, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P58369, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56512,7 +56545,7 @@ function game_consoleOverlay_listener__P5356_mk(s) { -function forEach_inline__P22651(s) { +function forEach_inline__P75680(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56536,12 +56569,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P22651.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__P75680.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__P22651_mk(s) { +function forEach_inline__P75680_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P22651, depth: s.depth + 1, + parent: s, fn: forEach_inline__P75680, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56553,7 +56586,7 @@ function forEach_inline__P22651_mk(s) { -function game_consoleOverlay_listener_inline__P22656(s) { +function game_consoleOverlay_listener_inline__P75685(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56563,45 +56596,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___22658 = undefined; + s.j___75687 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___22658 = (0); + s.j___75687 = (0); case 1: - s.tmp_1 = r0 = s.j___22658; + s.tmp_1 = r0 = s.j___75687; 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___5321; - s.tmp_5 = helpers_stringSlice__P119_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___58334; + s.tmp_5 = helpers_stringSlice__P53131_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___22658; - r0 = (s.j___22658 + globals.consoleColumns___5344); + s.tmp_5.arg1 = s.j___75687; + r0 = (s.j___75687 + globals.consoleColumns___58357); s.tmp_5.arg2 = r0; - s.callLocIdx = 1814; s.pc = 3; return s.tmp_5; + s.callLocIdx = 1815; 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___22658 + globals.consoleColumns___5344); - s.j___22658 = (r0); + r0 = (s.j___75687 + globals.consoleColumns___58357); + s.j___75687 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener_inline__P22656.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__P75685.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__P22656_mk(s) { +function game_consoleOverlay_listener_inline__P75685_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener_inline__P22656, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener_inline__P75685, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56609,7 +56642,7 @@ function game_consoleOverlay_listener_inline__P22656_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___22658: undefined, + j___75687: undefined, arg0: undefined, } } @@ -56617,7 +56650,7 @@ function game_consoleOverlay_listener_inline__P22656_mk(s) { -function console_addListener__P383(s) { +function console_addListener__P53395(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56640,7 +56673,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___4521, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___57534, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -56651,18 +56684,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___4521, s.arg0); + r0 = pxsim_Array__push(globals.listeners___57534, 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__P53395.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__P53395_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P383, depth: s.depth + 1, + parent: s, fn: console_addListener__P53395, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56675,7 +56708,7 @@ function console_addListener__P383_mk(s) { -function listeners_inline__P4520(s) { +function listeners_inline__P57533(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56695,12 +56728,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -listeners_inline__P4520.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__P57533.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__P4520_mk(s) { +function listeners_inline__P57533_mk(s) { checkStack(s.depth); return { - parent: s, fn: listeners_inline__P4520, depth: s.depth + 1, + parent: s, fn: listeners_inline__P57533, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -56710,7 +56743,7 @@ function listeners_inline__P4520_mk(s) { -function scene_systemMenu_register__P3086(s) { +function scene_systemMenu_register__P56098(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56720,16 +56753,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___5275); + r0 = pxsim_numops_toBoolDecr(globals.instance___58288); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P2177_mk(s); - s.tmp_0.arg0 = globals.menu___2100; + s.tmp_0 = controller_Button_onEvent__P55189_mk(s); + s.tmp_0.arg0 = globals.menu___55112; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P3087; - s.callLocIdx = 1799; s.pc = 4; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P56099; + s.callLocIdx = 1800; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -56737,12 +56770,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P3086.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__P56098.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__P3086_mk(s) { +function scene_systemMenu_register__P56098_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P3086, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P56098, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -56751,7 +56784,7 @@ function scene_systemMenu_register__P3086_mk(s) { -function scene_systemMenu_showSystemMenu__P3087(s) { +function scene_systemMenu_showSystemMenu__P56099(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56761,28 +56794,28 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___5275); + r0 = pxsim_numops_toBoolDecr(globals.instance___58288); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P2983_mk(s); - s.callLocIdx = 1800; s.pc = 4; return s.tmp_0; + s.tmp_0 = game_pushScene__P55995_mk(s); + s.callLocIdx = 1801; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C3075_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C56087_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P3076_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P56088_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P3083; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P56095; s.tmp_1.arg2 = undefined; - s.callLocIdx = 1801; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1802; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___5275 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P3077_mk(s); - s.tmp_0.arg0 = globals.instance___5275; - s.callLocIdx = 1802; s.pc = 6; return s.tmp_0; + globals.instance___58288 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P56089_mk(s); + s.tmp_0.arg0 = globals.instance___58288; + s.callLocIdx = 1803; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: @@ -56790,12 +56823,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P3087.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__P56099.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__P3087_mk(s) { +function scene_systemMenu_showSystemMenu__P56099_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P3087, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P56099, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56805,7 +56838,7 @@ function scene_systemMenu_showSystemMenu__P3087_mk(s) { -function scene_systemMenu_buildOptionList__P3083(s) { +function scene_systemMenu_buildOptionList__P56095(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56815,136 +56848,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___23316 = undefined; + s.options___76345 = undefined; r0 = pxsim_Array__mk(); - s.options___23316 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3067_VT); + s.options___76345 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C56079_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3068_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P56080_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___3097; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P23324; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P5281; - s.callLocIdx = 1782; s.pc = 5; return s.tmp_1; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___56109; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P76353; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P58294; + s.callLocIdx = 1783; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___23316, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3067_VT); + r0 = pxsim_Array__push(s.options___76345, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C56079_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3068_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P56080_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___3094; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P23338; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P5280; - s.callLocIdx = 1784; s.pc = 6; return s.tmp_1; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___56106; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P76367; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P58293; + s.callLocIdx = 1785; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___23316, s.tmp_0); + r0 = pxsim_Array__push(s.options___76345, 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__C3067_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C56079_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P3068_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P56080_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___3095; - s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P23353; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P5283; - s.callLocIdx = 1787; s.pc = 7; return s.tmp_2; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___56107; + s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P76382; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P58296; + s.callLocIdx = 1788; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___23316, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3067_VT); + r0 = pxsim_Array__push(s.options___76345, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C56079_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3068_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P56080_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___3100; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P23368; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P5282; - s.callLocIdx = 1789; s.pc = 8; return s.tmp_1; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___56112; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P76397; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P58295; + s.callLocIdx = 1790; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___23316, s.tmp_0); + r0 = pxsim_Array__push(s.options___76345, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3067_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C56079_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3068_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P56080_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___3101; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P23383; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P5285; - s.callLocIdx = 1790; s.pc = 9; return s.tmp_1; + s.tmp_1.arg1 = globals.STATS_ICON___56113; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P76412; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P58298; + s.callLocIdx = 1791; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___23316, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3067_VT); + r0 = pxsim_Array__push(s.options___76345, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C56079_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3068_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P56080_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___3099; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P23392; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P5286; - s.callLocIdx = 1792; s.pc = 10; return s.tmp_1; + s.tmp_1.arg1 = globals.CONSOLE_ICON___56111; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P76421; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P58299; + s.callLocIdx = 1793; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___23316, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3067_VT); + r0 = pxsim_Array__push(s.options___76345, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C56079_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3068_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P56080_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___3098; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P23401; - s.tmp_1.arg3 = scene_systemMenu_sleep__P5287; - s.callLocIdx = 1793; s.pc = 11; return s.tmp_1; + s.tmp_1.arg1 = globals.SLEEP_ICON___56110; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P76430; + s.tmp_1.arg3 = scene_systemMenu_sleep__P58300; + s.callLocIdx = 1794; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___23316, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___5276); + r0 = pxsim_Array__push(s.options___76345, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___58289); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P113_mk(s); - s.tmp_0.arg0 = s.options___23316; - s.tmp_0.arg1 = globals.customMenuOptions___5276; - s.callLocIdx = 1794; s.pc = 12; return s.tmp_0; + s.tmp_0 = helpers_arrayConcat__P53125_mk(s); + s.tmp_0.arg0 = s.options___76345; + s.tmp_0.arg1 = globals.customMenuOptions___58289; + s.callLocIdx = 1795; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___23316 = (r0); + s.options___76345 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C3067_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C56079_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P3068_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P56080_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___3096; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P23414; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P3082; - s.callLocIdx = 1795; s.pc = 13; return s.tmp_1; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___56108; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P76443; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P56094; + s.callLocIdx = 1796; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___23316, s.tmp_0); - r0 = s.options___23316; + r0 = pxsim_Array__push(s.options___76345, s.tmp_0); + r0 = s.options___76345; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P3083.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__P56095.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__P3083_mk(s) { +function scene_systemMenu_buildOptionList__P56095_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P3083, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P56095, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___23316: undefined, + options___76345: undefined, } } -function scene_systemMenu_buildOptionList_inline__P23324(s) { +function scene_systemMenu_buildOptionList_inline__P76353(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -56954,8 +56987,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 = 1781; s.pc = 1; return s.tmp_3; + s.tmp_3 = music_volume__P54633_mk(s); + s.callLocIdx = 1782; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -56974,12 +57007,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P23324.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__P76353.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__P23324_mk(s) { +function scene_systemMenu_buildOptionList_inline__P76353_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P23324, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P76353, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -56991,7 +57024,7 @@ function scene_systemMenu_buildOptionList_inline__P23324_mk(s) { -function scene_systemMenu_buildOptionList_inline__P23338(s) { +function scene_systemMenu_buildOptionList_inline__P76367(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57001,8 +57034,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 = 1783; s.pc = 1; return s.tmp_3; + s.tmp_3 = music_volume__P54633_mk(s); + s.callLocIdx = 1784; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -57021,12 +57054,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P23338.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__P76367.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__P23338_mk(s) { +function scene_systemMenu_buildOptionList_inline__P76367_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P23338, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P76367, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57038,7 +57071,7 @@ function scene_systemMenu_buildOptionList_inline__P23338_mk(s) { -function scene_systemMenu_buildOptionList_inline__P23353(s) { +function scene_systemMenu_buildOptionList_inline__P76382(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57048,7 +57081,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___1934; + r0 = globals.brightness___54946; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -57065,12 +57098,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P23353.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__P76382.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__P23353_mk(s) { +function scene_systemMenu_buildOptionList_inline__P76382_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P23353, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P76382, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57081,7 +57114,7 @@ function scene_systemMenu_buildOptionList_inline__P23353_mk(s) { -function scene_systemMenu_buildOptionList_inline__P23368(s) { +function scene_systemMenu_buildOptionList_inline__P76397(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57091,7 +57124,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___1934; + r0 = globals.brightness___54946; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -57108,12 +57141,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P23368.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__P76397.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__P23368_mk(s) { +function scene_systemMenu_buildOptionList_inline__P76397_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P23368, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P76397, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57124,7 +57157,7 @@ function scene_systemMenu_buildOptionList_inline__P23368_mk(s) { -function scene_systemMenu_buildOptionList_inline__P23383(s) { +function scene_systemMenu_buildOptionList_inline__P76412(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57134,7 +57167,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___2948); + r0 = pxsim_numops_toBoolDecr(globals.stats___55960); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -57147,12 +57180,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P23383.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__P76412.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__P23383_mk(s) { +function scene_systemMenu_buildOptionList_inline__P76412_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P23383, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P76412, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -57161,7 +57194,7 @@ function scene_systemMenu_buildOptionList_inline__P23383_mk(s) { -function scene_systemMenu_buildOptionList_inline__P23392(s) { +function scene_systemMenu_buildOptionList_inline__P76421(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57171,7 +57204,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5321); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___58334); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -57192,12 +57225,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P23392.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__P76421.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__P23392_mk(s) { +function scene_systemMenu_buildOptionList_inline__P76421_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P23392, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P76421, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57210,7 +57243,7 @@ function scene_systemMenu_buildOptionList_inline__P23392_mk(s) { -function scene_systemMenu_buildOptionList_inline__P23401(s) { +function scene_systemMenu_buildOptionList_inline__P76430(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57224,12 +57257,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P23401.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__P76430.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__P23401_mk(s) { +function scene_systemMenu_buildOptionList_inline__P76430_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P23401, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P76430, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -57237,7 +57270,7 @@ function scene_systemMenu_buildOptionList_inline__P23401_mk(s) { -function scene_systemMenu_buildOptionList_inline__P23414(s) { +function scene_systemMenu_buildOptionList_inline__P76443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57251,12 +57284,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P23414.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__P76443.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__P23414_mk(s) { +function scene_systemMenu_buildOptionList_inline__P76443_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P23414, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P76443, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -57264,7 +57297,7 @@ function scene_systemMenu_buildOptionList_inline__P23414_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P5288(s) { +function scene_systemMenu_setScreenBrightnessSupported__P58301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57278,12 +57311,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P5288.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__P58301.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__P5288_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P58301_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P5288, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P58301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -57291,7 +57324,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P5288_mk(s) { -function scene_systemMenu_sleep__P5287(s) { +function scene_systemMenu_sleep__P58300(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57306,12 +57339,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P5287.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__P58300.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__P5287_mk(s) { +function scene_systemMenu_sleep__P58300_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P5287, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P58300, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -57319,7 +57352,7 @@ function scene_systemMenu_sleep__P5287_mk(s) { -function scene_systemMenu_toggleConsole__P5286(s) { +function scene_systemMenu_toggleConsole__P58299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57329,7 +57362,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5321); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___58334); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -57339,23 +57372,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__P3106_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P56118_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; - s.callLocIdx = 1775; s.pc = 3; return s.tmp_4; + s.callLocIdx = 1776; s.pc = 3; return s.tmp_4; case 3: r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P3106_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P56118_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; - s.callLocIdx = 1776; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1777; 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__P53392_mk(s); s.tmp_0.arg0 = "console"; - s.callLocIdx = 1777; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1778; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 2: @@ -57363,12 +57396,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P5286.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__P58299.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__P5286_mk(s) { +function scene_systemMenu_toggleConsole__P58299_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P5286, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P58299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57381,7 +57414,7 @@ function scene_systemMenu_toggleConsole__P5286_mk(s) { -function game_consoleOverlay_setVisible__P3106(s) { +function game_consoleOverlay_setVisible__P56118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57397,7 +57430,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5321); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___58334); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -57418,26 +57451,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___5321 = (s.tmp_6); + globals.consoleStrings___58334 = (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___5320 = (s.arg1); + globals.consoleColor___58333 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P3106.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__P56118.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__P3106_mk(s) { +function game_consoleOverlay_setVisible__P56118_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P3106, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P56118, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57454,7 +57487,7 @@ function game_consoleOverlay_setVisible__P3106_mk(s) { -function console_log__P380(s) { +function console_log__P53392(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57468,7 +57501,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P376_mk(s); + s.tmp_0 = console_add__P53388_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 45; s.pc = 1; return s.tmp_0; @@ -57478,12 +57511,12 @@ switch (step) { 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__P53392.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__P53392_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P380, depth: s.depth + 1, + parent: s, fn: console_log__P53392, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -57493,7 +57526,7 @@ function console_log__P380_mk(s) { -function console_add__P376(s) { +function console_add__P53388(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57503,58 +57536,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___23453 = undefined; - s.i___23462 = undefined; + s.text___76482 = undefined; + s.i___76491 = 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___53387); 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__P53394_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 20; s.callLocIdx = 43; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___23453 = (r0); - if ((s.text___23453) && (s.text___23453).vtable) { + s.text___76482 = (r0); + if ((s.text___76482) && (s.text___76482).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___23453); + pxsim_String__stringConv(s.text___76482); checkResumeConsumed(); return; - } else { s.retval = (s.text___23453) + ""; } + } else { s.retval = (s.text___76482) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___23453 = (r0); - s.i___23462 = (0); + s.text___76482 = (r0); + s.i___76491 = (0); case 3: - s.tmp_1 = r0 = s.i___23462; - r0 = pxsim_Array__length(globals.listeners___4521); + s.tmp_1 = r0 = s.i___76491; + r0 = pxsim_Array__length(globals.listeners___57534); 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___4521, s.i___23462); + r0 = pxsim_Array__getAt(globals.listeners___57534, s.i___76491); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___23453; + s.tmp_3.arg1 = s.text___76482; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 44; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___23462 + 1); - s.i___23462 = (r0); + r0 = (s.i___76491 + 1); + s.i___76491 = (r0); { step = 3; continue; } case 4: case 5: @@ -57562,19 +57595,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__P53388.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__P53388_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P376, depth: s.depth + 1, + parent: s, fn: console_add__P53388, 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___23453: undefined, - i___23462: undefined, + text___76482: undefined, + i___76491: undefined, arg0: undefined, arg1: undefined, } } @@ -57583,7 +57616,7 @@ function console_add__P376_mk(s) { -function scene_systemMenu_toggleStats__P5285(s) { +function scene_systemMenu_toggleStats__P58298(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57593,11 +57626,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___2948); + r0 = pxsim_numops_toBoolDecr(globals.stats___55960); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___2948 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___2948); + globals.stats___55960 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___55960); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -57606,18 +57639,18 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___398; + r0 = globals.control_EventContext_onStats___53410; 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___53410; r0 = pxsim_String_.mkEmpty(); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); - s.callLocIdx = 1773; s.pc = 5; return s.tmp_3; + s.callLocIdx = 1774; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; case 3: @@ -57626,12 +57659,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P5285.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__P58298.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__P5285_mk(s) { +function scene_systemMenu_toggleStats__P58298_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P5285, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P58298, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57643,7 +57676,7 @@ function scene_systemMenu_toggleStats__P5285_mk(s) { -function scene_systemMenu_brightnessDown__P5283(s) { +function scene_systemMenu_brightnessDown__P58296(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57653,24 +57686,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P5284_mk(s); - r0 = globals.brightness___1934; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P58297_mk(s); + r0 = globals.brightness___54946; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 1769; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1770; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P5283.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__P58296.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__P5283_mk(s) { +function scene_systemMenu_brightnessDown__P58296_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P5283, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P58296, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57680,7 +57713,7 @@ function scene_systemMenu_brightnessDown__P5283_mk(s) { -function scene_systemMenu_setScreenBrightness__P5284(s) { +function scene_systemMenu_setScreenBrightness__P58297(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57694,29 +57727,29 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P1946_mk(s); - s.tmp_0.arg0 = globals.screen___2013; + s.tmp_0 = helpers_setScreenBrightness__P54958_mk(s); + s.tmp_0.arg0 = globals.screen___55025; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1770; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1771; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P2044_mk(s); + s.tmp_0 = settings_writeNumber__P55056_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___1934; + r0 = globals.brightness___54946; s.tmp_0.arg1 = r0; - s.callLocIdx = 1772; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1773; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P5284.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__P58297.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__P5284_mk(s) { +function scene_systemMenu_setScreenBrightness__P58297_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P5284, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P58297, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -57726,7 +57759,7 @@ function scene_systemMenu_setScreenBrightness__P5284_mk(s) { -function helpers_setScreenBrightness__P1946(s) { +function helpers_setScreenBrightness__P54958(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57741,7 +57774,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P127_mk(s); + s.tmp_0 = Math_clamp__P53139_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); @@ -57750,18 +57783,18 @@ switch (step) { case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___1934 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___1934); + globals.brightness___54946 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___54946); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P1946.info = {"start":7427,"length":210,"line":238,"column":4,"endLine":242,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} +helpers_setScreenBrightness__P54958.info = {"start":7427,"length":210,"line":238,"column":4,"endLine":242,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} -function helpers_setScreenBrightness__P1946_mk(s) { +function helpers_setScreenBrightness__P54958_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P1946, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P54958, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -57772,7 +57805,7 @@ function helpers_setScreenBrightness__P1946_mk(s) { -function scene_systemMenu_brightnessUp__P5282(s) { +function scene_systemMenu_brightnessUp__P58295(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57782,24 +57815,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P5284_mk(s); - r0 = globals.brightness___1934; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P58297_mk(s); + r0 = globals.brightness___54946; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; - s.callLocIdx = 1767; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1768; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P5282.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__P58295.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__P5282_mk(s) { +function scene_systemMenu_brightnessUp__P58295_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P5282, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P58295, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -57809,7 +57842,7 @@ function scene_systemMenu_brightnessUp__P5282_mk(s) { -function scene_systemMenu_volumeDown__P5281(s) { +function scene_systemMenu_volumeDown__P58294(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57819,54 +57852,54 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___23634 = undefined; - s.remainder___23637 = undefined; - s.newVolume___23640 = undefined; - s.tmp_0 = music_volume__P1621_mk(s); - s.callLocIdx = 1764; s.pc = 3; return s.tmp_0; + s.v___76663 = undefined; + s.remainder___76666 = undefined; + s.newVolume___76669 = undefined; + s.tmp_0 = music_volume__P54633_mk(s); + s.callLocIdx = 1765; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___23634 = (r0); - r0 = (s.v___23634 % 32); - s.remainder___23637 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___23637); + s.v___76663 = (r0); + r0 = (s.v___76663 % 32); + s.remainder___76666 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___76666); if (!r0) { step = 1; continue; } - r0 = s.remainder___23637; + r0 = s.remainder___76666; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___23634 - s.tmp_0); - s.newVolume___23640 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P5279_mk(s); - s.tmp_0.arg0 = s.newVolume___23640; - s.callLocIdx = 1765; s.pc = 4; return s.tmp_0; + r0 = (s.v___76663 - s.tmp_0); + s.newVolume___76669 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P58292_mk(s); + s.tmp_0.arg0 = s.newVolume___76669; + s.callLocIdx = 1766; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P5281.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__P58294.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__P5281_mk(s) { +function scene_systemMenu_volumeDown__P58294_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P5281, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P58294, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___23634: undefined, - remainder___23637: undefined, - newVolume___23640: undefined, + v___76663: undefined, + remainder___76666: undefined, + newVolume___76669: undefined, } } -function scene_systemMenu_setVolume__P5279(s) { +function scene_systemMenu_setVolume__P58292(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57880,33 +57913,33 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P1620_mk(s); + s.tmp_0 = music_setVolume__P54632_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1759; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1760; 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__P54634_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; - s.callLocIdx = 1760; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1761; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P2044_mk(s); + s.tmp_0 = settings_writeNumber__P55056_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; - s.callLocIdx = 1761; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1762; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P5279.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__P58292.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__P5279_mk(s) { +function scene_systemMenu_setVolume__P58292_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P5279, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P58292, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -57916,7 +57949,7 @@ function scene_systemMenu_setVolume__P5279_mk(s) { -function music_playTone__P1622(s) { +function music_playTone__P54634(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -57926,7 +57959,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___23566 = undefined; + s.id___76595 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -57951,7 +57984,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P4579_mk(s); + s.tmp_2 = music_playNoteCore__P57592_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); @@ -57959,7 +57992,7 @@ switch (step) { s.callLocIdx = 83; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P413_mk(s); + s.tmp_0 = pause__P53425_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; s.callLocIdx = 84; s.pc = 6; return s.tmp_0; @@ -57967,13 +58000,13 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___4581 + 1); + r0 = (globals.playToneID___57594 + 1); s.tmp_0 = r0; - globals.playToneID___4581 = (r0); - s.id___23566 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P23572); + globals.playToneID___57594 = (r0); + s.id___76595 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P76601); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___23566); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___76595); 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); @@ -57982,17 +58015,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__P54634.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__P54634_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P1622, depth: s.depth + 1, + parent: s, fn: music_playTone__P54634, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___23566: undefined, + id___76595: undefined, arg0: undefined, arg1: undefined, } } @@ -58001,7 +58034,7 @@ function music_playTone__P1622_mk(s) { -function music_playTone_inline__P23572(s) { +function music_playTone_inline__P76601(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58011,14 +58044,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___23573 = undefined; - s.now___23583 = undefined; - s.d___23586 = undefined; - s.t___23590 = undefined; + s.pos___76602 = undefined; + s.now___76612 = undefined; + s.d___76615 = undefined; + s.t___76619 = undefined; r0 = pxsim.control.millis(); - s.pos___23573 = (r0); + s.pos___76602 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___4581); + r0 = (s.caps[0] == globals.playToneID___57594); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -58034,30 +58067,30 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___23583 = (r0); - r0 = (s.pos___23573 - s.now___23583); - s.d___23586 = (r0); - s.tmp_0 = Math_min__P131_mk(s); + s.now___76612 = (r0); + r0 = (s.pos___76602 - s.now___76612); + s.d___76615 = (r0); + s.tmp_0 = Math_min__P53143_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; s.callLocIdx = 85; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___23590 = (r0); + s.t___76619 = (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___23590); + r0 = (s.tmp_2 - s.t___76619); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___23573 + s.t___23590); - s.pos___23573 = (r0); - s.tmp_0 = music_playNoteCore__P4579_mk(s); - r0 = (s.d___23586 - 1); + r0 = (s.pos___76602 + s.t___76619); + s.pos___76602 = (r0); + s.tmp_0 = music_playNoteCore__P57592_mk(s); + r0 = (s.d___76615 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___23590; + s.tmp_0.arg2 = s.t___76619; s.callLocIdx = 86; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -58067,16 +58100,16 @@ 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___23586 + s.t___23590); + s.tmp_2 = pause__P53425_mk(s); + r0 = (s.d___76615 + s.t___76619); s.tmp_2.arg0 = r0; s.callLocIdx = 87; 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___23586 + s.t___23590); + s.tmp_0 = pause__P53425_mk(s); + r0 = (s.d___76615 + s.t___76619); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -58090,27 +58123,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone_inline__P23572.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__P76601.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__P23572_mk(s) { +function music_playTone_inline__P76601_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone_inline__P23572, depth: s.depth + 1, + parent: s, fn: music_playTone_inline__P76601, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___23573: undefined, - now___23583: undefined, - d___23586: undefined, - t___23590: undefined, + pos___76602: undefined, + now___76612: undefined, + d___76615: undefined, + t___76619: undefined, } } -function music_playNoteCore__P4579(s) { +function music_playNoteCore__P57592(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58120,7 +58153,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___23620 = undefined; + s.buf___76649 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -58128,16 +58161,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___23620 = (r0); - s.tmp_0 = music_addNote__P1636_mk(s); - s.tmp_0.arg0 = s.buf___23620; + s.buf___76649 = (r0); + s.tmp_0 = music_addNote__P54648_mk(s); + s.tmp_0.arg0 = s.buf___76649; 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.tmp_1 = music_volume__P54633_mk(s); s.callLocIdx = 81; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -58146,21 +58179,21 @@ switch (step) { s.callLocIdx = 82; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___23620); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___76649); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P4579.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__P57592.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__P4579_mk(s) { +function music_playNoteCore__P57592_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P4579, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P57592, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___23620: undefined, + buf___76649: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -58170,7 +58203,7 @@ function music_playNoteCore__P4579_mk(s) { -function scene_systemMenu_volumeUp__P5280(s) { +function scene_systemMenu_volumeUp__P58293(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58180,47 +58213,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___23534 = undefined; - s.remainder___23537 = undefined; - s.newVolume___23540 = undefined; - s.tmp_0 = music_volume__P1621_mk(s); - s.callLocIdx = 1762; s.pc = 1; return s.tmp_0; + s.v___76563 = undefined; + s.remainder___76566 = undefined; + s.newVolume___76569 = undefined; + s.tmp_0 = music_volume__P54633_mk(s); + s.callLocIdx = 1763; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___23534 = (r0); - r0 = (s.v___23534 % 32); - s.remainder___23537 = (r0); - r0 = (s.v___23534 + 32); + s.v___76563 = (r0); + r0 = (s.v___76563 % 32); + s.remainder___76566 = (r0); + r0 = (s.v___76563 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___23537); - s.newVolume___23540 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P5279_mk(s); - s.tmp_0.arg0 = s.newVolume___23540; - s.callLocIdx = 1763; s.pc = 2; return s.tmp_0; + r0 = (s.tmp_0 - s.remainder___76566); + s.newVolume___76569 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P58292_mk(s); + s.tmp_0.arg0 = s.newVolume___76569; + s.callLocIdx = 1764; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P5280.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__P58293.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__P5280_mk(s) { +function scene_systemMenu_volumeUp__P58293_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P5280, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P58293, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___23534: undefined, - remainder___23537: undefined, - newVolume___23540: undefined, + v___76563: undefined, + remainder___76566: undefined, + newVolume___76569: undefined, } } -function game_consoleOverlay_isVisible__P3104(s) { +function game_consoleOverlay_isVisible__P56116(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58230,7 +58263,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___5321); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___58334); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -58240,12 +58273,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P3104.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__P56116.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__P3104_mk(s) { +function game_consoleOverlay_isVisible__P56116_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P3104, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P56116, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58256,7 +58289,7 @@ function game_consoleOverlay_isVisible__P3104_mk(s) { -function scene_systemMenu_closeMenu__P3082(s) { +function scene_systemMenu_closeMenu__P56094(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58266,21 +58299,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___5275); + r0 = pxsim_numops_toBoolDecr(globals.instance___58288); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P3081_mk(s); - s.tmp_0.arg0 = globals.instance___5275; - s.callLocIdx = 1778; s.pc = 3; return s.tmp_0; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P56093_mk(s); + s.tmp_0.arg0 = globals.instance___58288; + s.callLocIdx = 1779; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___5275 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P2187_mk(s); + globals.instance___58288 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P55199_mk(s); s.tmp_0.arg0 = true; - s.callLocIdx = 1779; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1780; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P2984_mk(s); - s.callLocIdx = 1780; s.pc = 5; return s.tmp_0; + s.tmp_0 = game_popScene__P55996_mk(s); + s.callLocIdx = 1781; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; case 1: @@ -58289,12 +58322,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P3082.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__P56094.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__P3082_mk(s) { +function scene_systemMenu_closeMenu__P56094_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P3082, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P56094, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -58303,7 +58336,7 @@ function scene_systemMenu_closeMenu__P3082_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P3081(s) { +function scene_systemMenu_PauseMenu_dispose__P56093(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58318,16 +58351,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3075_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C56087_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__P53121_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P23179; - s.callLocIdx = 1755; s.pc = 3; return s.tmp_1; + s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P76208; + s.callLocIdx = 1756; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; r0 = (s.arg0).fields["options"] = (undefined); @@ -58337,12 +58370,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P3081.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__P56093.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__P3081_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P56093_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P3081, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P56093, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58353,7 +58386,7 @@ function scene_systemMenu_PauseMenu_dispose__P3081_mk(s) { -function scene_systemMenu_PauseMenu_dispose_inline__P23179(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P76208(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58367,21 +58400,21 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P3074_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P56086_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1754; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1755; 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__P23179.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__P76208.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__P23179_mk(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P76208_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P23179, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P76208, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -58391,7 +58424,7 @@ function scene_systemMenu_PauseMenu_dispose_inline__P23179_mk(s) { -function scene_systemMenu_MenuOption_dispose__P3074(s) { +function scene_systemMenu_MenuOption_dispose__P56086(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58406,25 +58439,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3067_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C56079_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__P2408_mk(s); + s.tmp_1 = Sprite_destroy__P55420_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; s.tmp_1.arg2 = undefined; - s.callLocIdx = 1674; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1675; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P2408_mk(s); + s.tmp_0 = Sprite_destroy__P55420_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; - s.callLocIdx = 1675; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1676; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = (s.arg0).fields["card"] = (undefined); @@ -58435,12 +58468,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P3074.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__P56086.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__P3074_mk(s) { +function scene_systemMenu_MenuOption_dispose__P56086_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P3074, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P56086, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58451,7 +58484,7 @@ function scene_systemMenu_MenuOption_dispose__P3074_mk(s) { -function scene_systemMenu_MenuOption_constructor__P3068(s) { +function scene_systemMenu_MenuOption_constructor__P56080(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58469,7 +58502,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3067_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C56079_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -58477,12 +58510,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P3068.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__P56080.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__P3068_mk(s) { +function scene_systemMenu_MenuOption_constructor__P56080_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P3068, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P56080, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -58494,7 +58527,7 @@ function scene_systemMenu_MenuOption_constructor__P3068_mk(s) { -function helpers_screenBrightness__P1947(s) { +function helpers_screenBrightness__P54959(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58508,16 +58541,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___1934; + r0 = globals.brightness___54946; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P1947.info = {"start":7643,"length":98,"line":244,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} +helpers_screenBrightness__P54959.info = {"start":7643,"length":98,"line":244,"column":4,"endLine":246,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} -function helpers_screenBrightness__P1947_mk(s) { +function helpers_screenBrightness__P54959_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P1947, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P54959, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -58526,7 +58559,7 @@ function helpers_screenBrightness__P1947_mk(s) { -function helpers_arrayConcat__P113(s) { +function helpers_arrayConcat__P53125(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58536,74 +58569,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___23419 = undefined; - s.value___23422 = undefined; - s.unnamed1470___U2 = undefined; - s.unnamed1471___U3 = undefined; - s.value___23429 = undefined; - s.unnamed1472___U5 = undefined; - s.unnamed1473___U6 = undefined; + s.out___76448 = undefined; + s.value___76451 = undefined; + s.unnamed210___U2 = undefined; + s.unnamed211___U3 = undefined; + s.value___76458 = undefined; + s.unnamed212___U5 = undefined; + s.unnamed213___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___23419 = (r0); - s.value___23422 = (undefined); - s.unnamed1470___U2 = (s.arg0); - s.unnamed1471___U3 = (0); + s.out___76448 = (r0); + s.value___76451 = (undefined); + s.unnamed210___U2 = (s.arg0); + s.unnamed211___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1471___U3; - r0 = pxsim_Array__length(s.unnamed1470___U2); + s.tmp_0 = r0 = s.unnamed211___U3; + r0 = pxsim_Array__length(s.unnamed210___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed1470___U2, s.unnamed1471___U3); - s.value___23422 = (r0); - r0 = pxsim_Array__push(s.out___23419, s.value___23422); - r0 = (s.unnamed1471___U3 + 1); - s.unnamed1471___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed210___U2, s.unnamed211___U3); + s.value___76451 = (r0); + r0 = pxsim_Array__push(s.out___76448, s.value___76451); + r0 = (s.unnamed211___U3 + 1); + s.unnamed211___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed1470___U2 = (undefined); - s.value___23429 = (undefined); - s.unnamed1472___U5 = (s.arg1); - s.unnamed1473___U6 = (0); + s.unnamed210___U2 = (undefined); + s.value___76458 = (undefined); + s.unnamed212___U5 = (s.arg1); + s.unnamed213___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed1473___U6; - r0 = pxsim_Array__length(s.unnamed1472___U5); + s.tmp_0 = r0 = s.unnamed213___U6; + r0 = pxsim_Array__length(s.unnamed212___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed1472___U5, s.unnamed1473___U6); - s.value___23429 = (r0); - r0 = pxsim_Array__push(s.out___23419, s.value___23429); - r0 = (s.unnamed1473___U6 + 1); - s.unnamed1473___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed212___U5, s.unnamed213___U6); + s.value___76458 = (r0); + r0 = pxsim_Array__push(s.out___76448, s.value___76458); + r0 = (s.unnamed213___U6 + 1); + s.unnamed213___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed1472___U5 = (undefined); - r0 = s.out___23419; + s.unnamed212___U5 = (undefined); + r0 = s.out___76448; 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__P53125.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__P53125_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P113, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P53125, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___23419: undefined, - value___23422: undefined, - unnamed1470___U2: undefined, - unnamed1471___U3: undefined, - value___23429: undefined, - unnamed1472___U5: undefined, - unnamed1473___U6: undefined, + out___76448: undefined, + value___76451: undefined, + unnamed210___U2: undefined, + unnamed211___U3: undefined, + value___76458: undefined, + unnamed212___U5: undefined, + unnamed213___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -58612,7 +58645,7 @@ function helpers_arrayConcat__P113_mk(s) { -function scene_systemMenu_PauseMenu_show__P3077(s) { +function scene_systemMenu_PauseMenu_show__P56089(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58622,34 +58655,34 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___22735 = undefined; - s.i___22736 = undefined; + s.current___75764 = undefined; + s.i___75765 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3075_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C56087_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 = 1687; s.pc = 3; return s.tmp_2; + s.callLocIdx = 1688; 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 = 1687; s.pc = 3; return s.tmp_2; } - else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 1687; s.pc = 3; return s.tmp_2;; } - else { s.callLocIdx = 1687; 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 = 1688; s.pc = 3; return s.tmp_2; } + else if (s.tmp_2.fn.isGetter) { s.tmp_2.stage2Call = true; s.callLocIdx = 1688; s.pc = 3; return s.tmp_2;; } + else { s.callLocIdx = 1688; 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___22736 = (0); + s.i___75765 = (0); case 1: - s.tmp_1 = r0 = s.i___22736; + s.tmp_1 = r0 = s.i___75765; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -58660,22 +58693,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___22736); - s.current___22735 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P3069_mk(s); - s.tmp_0.arg0 = s.current___22735; - s.callLocIdx = 1688; s.pc = 4; return s.tmp_0; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___75765); + s.current___75764 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P56081_mk(s); + s.tmp_0.arg0 = s.current___75764; + s.callLocIdx = 1689; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P3072_mk(s); - s.tmp_0.arg0 = s.current___22735; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P56084_mk(s); + s.tmp_0.arg0 = s.current___75764; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 1689; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1690; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P3070_mk(s); - s.tmp_0.arg0 = s.current___22735; + s.tmp_0 = scene_systemMenu_MenuOption_position__P56082_mk(s); + s.tmp_0.arg0 = s.current___75764; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -58685,12 +58718,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 = 1690; s.pc = 7; return s.tmp_2; } + else { s.callLocIdx = 1691; s.pc = 7; return s.tmp_2; } } case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___22736; + s.tmp_5 = r0 = s.i___75765; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -58700,7 +58733,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 = 1691; s.pc = 8; return s.tmp_7; } + else { s.callLocIdx = 1692; s.pc = 8; return s.tmp_7; } } case 8: r0 = s.retval; @@ -58716,7 +58749,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 = 1692; s.pc = 9; return s.tmp_10; } + else { s.callLocIdx = 1693; s.pc = 9; return s.tmp_10; } } case 9: r0 = s.retval; @@ -58730,7 +58763,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 = 1693; s.pc = 10; return s.tmp_12; } + else { s.callLocIdx = 1694; s.pc = 10; return s.tmp_12; } } case 10: r0 = s.retval; @@ -58750,12 +58783,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 = 1694; s.pc = 11; return s.tmp_14; } + else { s.callLocIdx = 1695; s.pc = 11; return s.tmp_14; } } case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___22736; + s.tmp_17 = r0 = s.i___75765; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -58765,7 +58798,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 = 1695; s.pc = 12; return s.tmp_19; } + else { s.callLocIdx = 1696; s.pc = 12; return s.tmp_19; } } case 12: r0 = s.retval; @@ -58781,7 +58814,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 = 1696; s.pc = 13; return s.tmp_22; } + else { s.callLocIdx = 1697; s.pc = 13; return s.tmp_22; } } case 13: r0 = s.retval; @@ -58795,7 +58828,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 = 1697; s.pc = 14; return s.tmp_24; } + else { s.callLocIdx = 1698; s.pc = 14; return s.tmp_24; } } case 14: r0 = s.retval; @@ -58806,116 +58839,116 @@ switch (step) { s.tmp_15 = r0; r0 = (s.tmp_13 + s.tmp_15); s.tmp_0.arg2 = r0; - s.callLocIdx = 1698; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1699; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___22736 + 1); - s.i___22736 = (r0); + r0 = (s.i___75765 + 1); + s.i___75765 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P2187_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P55199_mk(s); s.tmp_0.arg0 = false; - s.callLocIdx = 1699; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1700; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P22799); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P75828); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2177_mk(s); - s.tmp_1.arg0 = globals.A___2094; + s.tmp_1 = controller_Button_onEvent__P55189_mk(s); + s.tmp_1.arg0 = globals.A___55106; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1701; s.pc = 16; return s.tmp_1; + s.callLocIdx = 1702; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P22819); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P75848); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2177_mk(s); - s.tmp_1.arg0 = globals.A___2094; + s.tmp_1 = controller_Button_onEvent__P55189_mk(s); + s.tmp_1.arg0 = globals.A___55106; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1703; s.pc = 17; return s.tmp_1; + s.callLocIdx = 1704; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P2177_mk(s); - s.tmp_0.arg0 = globals.B___2095; + s.tmp_0 = controller_Button_onEvent__P55189_mk(s); + s.tmp_0.arg0 = globals.B___55107; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P22848; - s.callLocIdx = 1705; s.pc = 18; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P75877; + s.callLocIdx = 1706; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P2177_mk(s); - s.tmp_0.arg0 = globals.menu___2100; + s.tmp_0 = controller_Button_onEvent__P55189_mk(s); + s.tmp_0.arg0 = globals.menu___55112; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P22853; - s.callLocIdx = 1707; s.pc = 19; return s.tmp_0; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P75882; + s.callLocIdx = 1708; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P22858); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P75887); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2177_mk(s); - s.tmp_1.arg0 = globals.up___2097; + s.tmp_1 = controller_Button_onEvent__P55189_mk(s); + s.tmp_1.arg0 = globals.up___55109; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1711; s.pc = 20; return s.tmp_1; + s.callLocIdx = 1712; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P22870); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P75899); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2177_mk(s); - s.tmp_1.arg0 = globals.left___2096; + s.tmp_1 = controller_Button_onEvent__P55189_mk(s); + s.tmp_1.arg0 = globals.left___55108; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1714; s.pc = 21; return s.tmp_1; + s.callLocIdx = 1715; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P22879); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P75908); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2177_mk(s); - s.tmp_1.arg0 = globals.down___2099; + s.tmp_1 = controller_Button_onEvent__P55189_mk(s); + s.tmp_1.arg0 = globals.down___55111; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1718; s.pc = 22; return s.tmp_1; + s.callLocIdx = 1719; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P22895); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P75924); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P2177_mk(s); - s.tmp_1.arg0 = globals.right___2098; + s.tmp_1 = controller_Button_onEvent__P55189_mk(s); + s.tmp_1.arg0 = globals.right___55110; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; - s.callLocIdx = 1721; s.pc = 23; return s.tmp_1; + s.callLocIdx = 1722; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P22907); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P75936); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P2997_mk(s); + s.tmp_1 = game_onShade__P56009_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 1724; s.pc = 24; return s.tmp_1; + s.callLocIdx = 1725; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3079_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P56091_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; - s.callLocIdx = 1725; s.pc = 25; return s.tmp_0; + s.callLocIdx = 1726; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P3077.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__P56089.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__P3077_mk(s) { +function scene_systemMenu_PauseMenu_show__P56089_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P3077, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P56089, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -58942,8 +58975,8 @@ function scene_systemMenu_PauseMenu_show__P3077_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___22735: undefined, - i___22736: undefined, + current___75764: undefined, + i___75765: undefined, arg0: undefined, } } @@ -58951,7 +58984,7 @@ function scene_systemMenu_PauseMenu_show__P3077_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P22799(s) { +function scene_systemMenu_PauseMenu_show_inline__P75828(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -58989,7 +59022,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P3073_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P56085_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -58997,7 +59030,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 = 1700; s.pc = 6; return s.tmp_8; + s.callLocIdx = 1701; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; case 5: @@ -59005,12 +59038,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P22799.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__P75828.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__P22799_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P75828_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P22799, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P75828, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59029,7 +59062,7 @@ function scene_systemMenu_PauseMenu_show_inline__P22799_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P22819(s) { +function scene_systemMenu_PauseMenu_show_inline__P75848(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59067,7 +59100,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P3073_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P56085_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -59075,7 +59108,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 = 1702; s.pc = 6; return s.tmp_8; + s.callLocIdx = 1703; s.pc = 6; return s.tmp_8; case 6: r0 = s.retval; r0 = s.caps[0].fields["options"]; @@ -59091,12 +59124,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P22819.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__P75848.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__P22819_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P75848_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P22819, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P75848, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59115,7 +59148,7 @@ function scene_systemMenu_PauseMenu_show_inline__P22819_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P22848(s) { +function scene_systemMenu_PauseMenu_show_inline__P75877(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59125,20 +59158,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P3082_mk(s); - s.callLocIdx = 1704; s.pc = 1; return s.tmp_0; + s.tmp_0 = scene_systemMenu_closeMenu__P56094_mk(s); + s.callLocIdx = 1705; 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__P22848.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__P75877.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__P22848_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P75877_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P22848, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P75877, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -59147,7 +59180,7 @@ function scene_systemMenu_PauseMenu_show_inline__P22848_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P22853(s) { +function scene_systemMenu_PauseMenu_show_inline__P75882(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59157,20 +59190,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P3082_mk(s); - s.callLocIdx = 1706; s.pc = 1; return s.tmp_0; + s.tmp_0 = scene_systemMenu_closeMenu__P56094_mk(s); + s.callLocIdx = 1707; 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__P22853.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__P75882.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__P22853_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P75882_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P22853, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P75882, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -59179,7 +59212,7 @@ function scene_systemMenu_PauseMenu_show_inline__P22853_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P22858(s) { +function scene_systemMenu_PauseMenu_show_inline__P75887(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59189,9 +59222,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3079_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P56091_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P130_mk(s); + s.tmp_1 = Math_max__P53142_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -59204,30 +59237,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 = 1708; s.pc = 3; return s.tmp_4; } + else { s.callLocIdx = 1709; 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 = 1709; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1710; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1710; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1711; 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__P22858.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__P75887.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__P22858_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P75887_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P22858, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P75887, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59240,7 +59273,7 @@ function scene_systemMenu_PauseMenu_show_inline__P22858_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P22870(s) { +function scene_systemMenu_PauseMenu_show_inline__P75899(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59250,31 +59283,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3079_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P56091_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P130_mk(s); + s.tmp_1 = Math_max__P53142_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 = 1712; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1713; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1713; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1714; 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__P22870.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__P75899.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__P22870_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P75899_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P22870, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P75899, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59285,7 +59318,7 @@ function scene_systemMenu_PauseMenu_show_inline__P22870_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P22879(s) { +function scene_systemMenu_PauseMenu_show_inline__P75908(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59295,9 +59328,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3079_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P56091_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P131_mk(s); + s.tmp_1 = Math_min__P53143_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -59315,30 +59348,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 = 1715; s.pc = 3; return s.tmp_6; } + else { s.callLocIdx = 1716; 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 = 1716; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1717; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1717; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1718; 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__P22879.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__P75908.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__P22879_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P75908_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P22879, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P75908, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59353,7 +59386,7 @@ function scene_systemMenu_PauseMenu_show_inline__P22879_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P22895(s) { +function scene_systemMenu_PauseMenu_show_inline__P75924(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59363,9 +59396,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P3079_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P56091_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P131_mk(s); + s.tmp_1 = Math_min__P53143_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -59376,23 +59409,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 1); s.tmp_1.arg1 = r0; - s.callLocIdx = 1719; s.pc = 2; return s.tmp_1; + s.callLocIdx = 1720; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1720; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1721; 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__P22895.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__P75924.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__P22895_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P75924_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P22895, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P75924, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59405,7 +59438,7 @@ function scene_systemMenu_PauseMenu_show_inline__P22895_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P22907(s) { +function scene_systemMenu_PauseMenu_show_inline__P75936(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59415,26 +59448,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P3078_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P56090_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1722; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1723; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P3080_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P56092_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.callLocIdx = 1723; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1724; 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__P22907.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__P75936.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__P22907_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P75936_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P22907, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P75936, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -59443,7 +59476,7 @@ function scene_systemMenu_PauseMenu_show_inline__P22907_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P3080(s) { +function scene_systemMenu_PauseMenu_drawText__P56092(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59458,7 +59491,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3075_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C56087_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -59470,11 +59503,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P1939_mk(s); - s.tmp_3.arg0 = globals.screen___2013; + s.tmp_3 = helpers_imageFillRect__P54951_mk(s); + s.tmp_3.arg0 = globals.screen___55025; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -59485,7 +59518,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 = 1736; s.pc = 5; return s.tmp_5; } + else { s.callLocIdx = 1737; s.pc = 5; return s.tmp_5; } } case 5: r0 = s.retval; @@ -59493,11 +59526,11 @@ switch (step) { r0 = (s.tmp_4 - 2); s.tmp_3.arg4 = r0; s.tmp_3.arg5 = 15; - s.callLocIdx = 1737; s.pc = 4; return s.tmp_3; + s.callLocIdx = 1738; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P1970_mk(s); - s.tmp_0.arg0 = globals.screen___2013; + s.tmp_0 = helpers_imagePrintCenter__P54982_mk(s); + s.tmp_0.arg0 = globals.screen___55025; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -59507,7 +59540,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 = 1738; s.pc = 7; return s.tmp_1; } + else { s.callLocIdx = 1739; s.pc = 7; return s.tmp_1; } } case 7: r0 = s.retval; @@ -59523,16 +59556,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 = 1739; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 1740; s.pc = 8; return s.tmp_2; } } case 8: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 1740; s.pc = 6; return s.tmp_0; + s.callLocIdx = 1741; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); - s.tmp_0.arg0 = globals.screen___2013; + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); + s.tmp_0.arg0 = globals.screen___55025; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -59543,16 +59576,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 = 1741; s.pc = 10; return s.tmp_2; } + else { s.callLocIdx = 1742; 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___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___2013); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -59563,7 +59596,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 = 1742; s.pc = 11; return s.tmp_6; } + else { s.callLocIdx = 1743; s.pc = 11; return s.tmp_6; } } case 11: r0 = s.retval; @@ -59573,11 +59606,11 @@ switch (step) { r0 = (s.tmp_3 + 6); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 15; - s.callLocIdx = 1743; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1744; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); - s.tmp_0.arg0 = globals.screen___2013; + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); + s.tmp_0.arg0 = globals.screen___55025; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -59587,7 +59620,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 = 1744; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 1745; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; @@ -59601,12 +59634,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 = 1745; s.pc = 14; return s.tmp_2; } + else { s.callLocIdx = 1746; s.pc = 14; return s.tmp_2; } } case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -59617,7 +59650,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 = 1746; s.pc = 15; return s.tmp_6; } + else { s.callLocIdx = 1747; s.pc = 15; return s.tmp_6; } } case 15: r0 = s.retval; @@ -59636,7 +59669,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 = 1747; s.pc = 17; return s.tmp_9; } + else { s.callLocIdx = 1748; s.pc = 17; return s.tmp_9; } } case 17: r0 = s.retval; @@ -59647,7 +59680,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 = 1748; s.pc = 16; return s.tmp_8; } + else { s.callLocIdx = 1749; s.pc = 16; return s.tmp_8; } } case 16: r0 = s.retval; @@ -59655,11 +59688,11 @@ switch (step) { r0 = (s.tmp_7 + 1); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = 1; - s.callLocIdx = 1749; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1750; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P1970_mk(s); - s.tmp_0.arg0 = globals.screen___2013; + s.tmp_0 = helpers_imagePrintCenter__P54982_mk(s); + s.tmp_0.arg0 = globals.screen___55025; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -59669,12 +59702,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 = 1750; s.pc = 19; return s.tmp_1; + s.callLocIdx = 1751; 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 = 1750; s.pc = 19; return s.tmp_1; } - else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 1750; s.pc = 19; return s.tmp_1;; } - else { s.callLocIdx = 1750; 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 = 1751; s.pc = 19; return s.tmp_1; } + else if (s.tmp_1.fn.isGetter) { s.tmp_1.stage2Call = true; s.callLocIdx = 1751; s.pc = 19; return s.tmp_1;; } + else { s.callLocIdx = 1751; s.pc = 19; return s.tmp_1; } } case 19: r0 = s.retval; @@ -59688,7 +59721,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 = 1751; s.pc = 20; return s.tmp_5; } + else { s.callLocIdx = 1752; s.pc = 20; return s.tmp_5; } } case 20: r0 = s.retval; @@ -59705,12 +59738,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 = 1752; s.pc = 21; return s.tmp_6; } + else { s.callLocIdx = 1753; s.pc = 21; return s.tmp_6; } } case 21: r0 = s.retval; s.tmp_0.arg4 = r0; - s.callLocIdx = 1753; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1754; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 3: @@ -59718,12 +59751,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P3080.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__P56092.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__P3080_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P56092_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P3080, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P56092, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59742,7 +59775,7 @@ function scene_systemMenu_PauseMenu_drawText__P3080_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P3079(s) { +function scene_systemMenu_PauseMenu_setSelection__P56091(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59758,7 +59791,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3075_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C56087_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -59778,7 +59811,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__P3073_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P56085_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -59786,7 +59819,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 = 1733; s.pc = 10; return s.tmp_6; + s.callLocIdx = 1734; s.pc = 10; return s.tmp_6; case 10: r0 = s.retval; case 3: @@ -59800,9 +59833,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C2170_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___2094; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C55182_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___55106; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C55182_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: @@ -59817,7 +59850,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P3073_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P56085_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -59825,14 +59858,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 = 1734; s.pc = 12; return s.tmp_6; + s.callLocIdx = 1735; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P5278_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P58291_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1735; s.pc = 13; return s.tmp_0; + s.callLocIdx = 1736; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; case 9: @@ -59840,12 +59873,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P3079.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__P56091.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__P3079_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P56091_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P3079, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P56091, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -59864,7 +59897,7 @@ function scene_systemMenu_PauseMenu_setSelection__P3079_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P5278(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P58291(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -59874,13 +59907,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___23125 = undefined; + s.row___76154 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3075_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C56087_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -59892,23 +59925,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 = 1756; s.pc = 8; return s.tmp_2; } + else { s.callLocIdx = 1757; 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___23125 = (r0); + s.row___76154 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___23125 === s.tmp_1); + r0 = (s.row___76154 === 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___23125 - 1); + r0 = (s.row___76154 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -59923,7 +59956,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___23125 > s.tmp_6); + r0 = (s.row___76154 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -59954,7 +59987,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 = 1757; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 1758; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; @@ -59968,7 +60001,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 = 1758; s.pc = 10; return s.tmp_7; } + else { s.callLocIdx = 1759; s.pc = 10; return s.tmp_7; } } case 10: r0 = s.retval; @@ -59983,12 +60016,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P5278.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__P58291.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__P5278_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P58291_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P5278, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P58291, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60000,7 +60033,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P5278_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___23125: undefined, + row___76154: undefined, arg0: undefined, } } @@ -60008,7 +60041,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P5278_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P3078(s) { +function scene_systemMenu_PauseMenu_onUpdate__P56090(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60018,22 +60051,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___22985 = undefined; - s.i___22989 = undefined; - s.dt___23018 = undefined; + s.t___76014 = undefined; + s.i___76018 = undefined; + s.dt___76047 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3075_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C56087_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___22985 = (r0); - s.i___22989 = (0); + s.t___76014 = (r0); + s.i___76018 = (0); case 1: - s.tmp_1 = r0 = s.i___22989; + s.tmp_1 = r0 = s.i___76018; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -60042,13 +60075,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__P3071_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P56083_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___22989); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___76018); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___22985; - s.tmp_11 = r0 = s.i___22989; + s.tmp_8 = r0 = s.t___76014; + s.tmp_11 = r0 = s.i___76018; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -60058,7 +60091,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 = 1726; s.pc = 11; return s.tmp_13; } + else { s.callLocIdx = 1727; s.pc = 11; return s.tmp_13; } } case 11: r0 = s.retval; @@ -60073,15 +60106,15 @@ switch (step) { s.tmp_6 = r0; r0 = (2 * s.tmp_6); s.tmp_4.arg1 = r0; - s.callLocIdx = 1727; s.pc = 10; return s.tmp_4; + s.callLocIdx = 1728; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___22989 + 1); - s.i___22989 = (r0); + r0 = (s.i___76018 + 1); + s.i___76018 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P2979_mk(s); - s.callLocIdx = 1728; s.pc = 12; return s.tmp_1; + s.tmp_1 = game_currentScene__P55991_mk(s); + s.callLocIdx = 1729; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; r0 = r0.fields["eventContext"]; @@ -60089,7 +60122,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___23018 = (r0); + s.dt___76047 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -60101,7 +60134,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___23018 * 100); + r0 = (s.dt___76047 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -60119,7 +60152,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___23018 * 100); + r0 = (s.dt___76047 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -60129,14 +60162,14 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P128_mk(s); + s.tmp_2 = Math_abs__P53140_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 = 1730; s.pc = 13; return s.tmp_2; + s.callLocIdx = 1731; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; @@ -60149,16 +60182,16 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P2769_mk(s); - s.tmp_1 = game_currentScene__P2979_mk(s); - s.callLocIdx = 1731; s.pc = 15; return s.tmp_1; + s.tmp_0 = scene_Camera_offsetY__P55781_mk(s); + s.tmp_1 = game_currentScene__P55991_mk(s); + s.callLocIdx = 1732; 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 = 1732; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1733; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 9: @@ -60166,12 +60199,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P3078.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__P56090.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__P3078_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P56090_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P3078, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P56090, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60187,9 +60220,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P3078_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___22985: undefined, - i___22989: undefined, - dt___23018: undefined, + t___76014: undefined, + i___76018: undefined, + dt___76047: undefined, arg0: undefined, } } @@ -60197,7 +60230,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P3078_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P3071(s) { +function scene_systemMenu_MenuOption_setOffset__P56083(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60213,40 +60246,40 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3067_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P2384_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C56079_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P55396_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 = 1669; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1670; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P2337_mk(s); + s.tmp_0 = Sprite_y__P55349_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P2336_mk(s); + s.tmp_1 = Sprite_y__P55348_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1670; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1671; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1671; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1672; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P3071.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__P56083.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__P3071_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P56083_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P3071, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P56083, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60258,7 +60291,7 @@ function scene_systemMenu_MenuOption_setOffset__P3071_mk(s) { -function scene_systemMenu_MenuOption_setState__P3073(s) { +function scene_systemMenu_MenuOption_setState__P56085(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60274,7 +60307,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3067_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C56079_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -60285,9 +60318,9 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P5277_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P58290_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1673; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1674; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; case 3: @@ -60295,12 +60328,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setState__P3073.info = {"start":1655,"length":147,"line":71,"column":8,"endLine":75,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"setState","argumentNames":["this","state"]} +scene_systemMenu_MenuOption_setState__P56085.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__P3073_mk(s) { +function scene_systemMenu_MenuOption_setState__P56085_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P3073, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P56085, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60312,7 +60345,7 @@ function scene_systemMenu_MenuOption_setState__P3073_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P5277(s) { +function scene_systemMenu_MenuOption_updateCard__P58290(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60327,7 +60360,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3067_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C56079_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -60350,7 +60383,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P2371_mk(s); + s.tmp_4 = Sprite_setImage__P55383_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -60362,17 +60395,17 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["basicCard"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["basicCard"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 1676; s.pc = 9; return s.tmp_5; } + else { s.callLocIdx = 1677; s.pc = 9; return s.tmp_5; } } case 9: r0 = s.retval; s.tmp_4.arg1 = r0; - s.callLocIdx = 1677; s.pc = 8; return s.tmp_4; + s.callLocIdx = 1678; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P2371_mk(s); + s.tmp_0 = Sprite_setImage__P55383_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -60384,17 +60417,17 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["selectedCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["selectedCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1678; s.pc = 11; return s.tmp_1; } + else { s.callLocIdx = 1679; s.pc = 11; return s.tmp_1; } } case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1679; s.pc = 10; return s.tmp_0; + s.callLocIdx = 1680; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P2371_mk(s); + s.tmp_0 = Sprite_setImage__P55383_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -60406,39 +60439,39 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["activeCard"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["activeCard"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 1680; s.pc = 13; return s.tmp_1; } + else { s.callLocIdx = 1681; s.pc = 13; return s.tmp_1; } } case 13: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1681; s.pc = 12; return s.tmp_0; + s.callLocIdx = 1682; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P2335_mk(s); + s.tmp_0 = Sprite_x__P55347_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P2334_mk(s); + s.tmp_1 = Sprite_x__P55346_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1682; s.pc = 15; return s.tmp_1; + s.callLocIdx = 1683; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1683; s.pc = 14; return s.tmp_0; + s.callLocIdx = 1684; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P2337_mk(s); + s.tmp_0 = Sprite_y__P55349_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P2336_mk(s); + s.tmp_1 = Sprite_y__P55348_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1684; s.pc = 17; return s.tmp_1; + s.callLocIdx = 1685; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1685; s.pc = 16; return s.tmp_0; + s.callLocIdx = 1686; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; case 7: @@ -60446,12 +60479,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P5277.info = {"start":2038,"length":497,"line":86,"column":8,"endLine":97,"endColumn":9,"fileName":"pxt_modules/game/systemmenu.ts","functionName":"updateCard","argumentNames":["this"]} +scene_systemMenu_MenuOption_updateCard__P58290.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__P5277_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P58290_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P5277, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P58290, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60466,7 +60499,7 @@ function scene_systemMenu_MenuOption_updateCard__P5277_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P3072(s) { +function scene_systemMenu_MenuOption_setTheme__P56084(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60482,23 +60515,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3067_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C56079_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P5277_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P58290_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1672; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1673; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P3072.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__P56084.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__P3072_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P56084_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P3072, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P56084, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -60509,7 +60542,7 @@ function scene_systemMenu_MenuOption_setTheme__P3072_mk(s) { -function scene_systemMenu_MenuOption_position__P3070(s) { +function scene_systemMenu_MenuOption_position__P56082(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60526,58 +60559,58 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3067_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C56079_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P2380_mk(s); + s.tmp_0 = Sprite_left__P55392_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1663; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1664; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P2384_mk(s); + s.tmp_0 = Sprite_top__P55396_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; - s.callLocIdx = 1664; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1665; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P2335_mk(s); + s.tmp_0 = Sprite_x__P55347_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P2334_mk(s); + s.tmp_1 = Sprite_x__P55346_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1665; s.pc = 4; return s.tmp_1; + s.callLocIdx = 1666; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1666; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1667; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P2337_mk(s); + s.tmp_0 = Sprite_y__P55349_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P2336_mk(s); + s.tmp_1 = Sprite_y__P55348_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1667; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1668; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0.arg1 = r0; - s.callLocIdx = 1668; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1669; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P3070.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__P56082.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__P3070_mk(s) { +function scene_systemMenu_MenuOption_position__P56082_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P3070, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P56082, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60590,7 +60623,7 @@ function scene_systemMenu_MenuOption_position__P3070_mk(s) { -function scene_systemMenu_MenuOption_show__P3069(s) { +function scene_systemMenu_MenuOption_show__P56081(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60605,7 +60638,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C3067_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C56079_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -60619,21 +60652,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 = 1658; s.pc = 3; return s.tmp_1; } + else { s.callLocIdx = 1659; s.pc = 3; return s.tmp_1; } } case 3: r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___3091; + r0 = globals.CARD_NORMAL___56103; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P2256_mk(s); + s.tmp_5 = sprites_create__P55268_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; - s.callLocIdx = 1659; s.pc = 4; return s.tmp_5; + s.callLocIdx = 1660; s.pc = 4; return s.tmp_5; case 4: r0 = s.retval; s.tmp_4 = r0; @@ -60648,16 +60681,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 = 1660; s.pc = 5; return s.tmp_0; } + else { s.callLocIdx = 1661; s.pc = 5; return s.tmp_0; } } case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P2256_mk(s); + s.tmp_2 = sprites_create__P55268_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; - s.callLocIdx = 1661; s.pc = 6; return s.tmp_2; + s.callLocIdx = 1662; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; @@ -60672,7 +60705,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 = 1662; s.pc = 7; return s.tmp_0; } + else { s.callLocIdx = 1663; s.pc = 7; return s.tmp_0; } } case 7: r0 = s.retval; @@ -60681,12 +60714,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P3069.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__P56081.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__P3069_mk(s) { +function scene_systemMenu_MenuOption_show__P56081_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P3069, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P56081, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60701,7 +60734,7 @@ function scene_systemMenu_MenuOption_show__P3069_mk(s) { -function game_onShade__P2997(s) { +function game_onShade__P56009(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60715,9 +60748,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P5030_mk(s); + s.tmp_0 = game_init__P58043_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 1645; s.pc = 4; return s.tmp_0; + s.callLocIdx = 1646; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg0); @@ -60729,11 +60762,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P2785_mk(s); + s.tmp_2 = scene_createRenderable__P55797_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; - s.callLocIdx = 1646; s.pc = 5; return s.tmp_2; + s.callLocIdx = 1647; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; case 3: @@ -60741,12 +60774,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P2997.info = {"start":15386,"length":145,"line":462,"column":4,"endLine":466,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} +game_onShade__P56009.info = {"start":15517,"length":145,"line":464,"column":4,"endLine":468,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} -function game_onShade__P2997_mk(s) { +function game_onShade__P56009_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P2997, depth: s.depth + 1, + parent: s, fn: game_onShade__P56009, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60758,7 +60791,7 @@ function game_onShade__P2997_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P3076(s) { +function scene_systemMenu_PauseMenu_constructor__P56088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60775,7 +60808,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C3075_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C56087_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -60783,13 +60816,13 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P3084_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___3091); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P56096_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___56103); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; s.tmp_1.arg3 = undefined; - s.callLocIdx = 1686; s.pc = 3; return s.tmp_1; + s.callLocIdx = 1687; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 2: @@ -60803,12 +60836,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P3076.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__P56088.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__P3076_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P56088_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P3076, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P56088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60822,7 +60855,7 @@ function scene_systemMenu_PauseMenu_constructor__P3076_mk(s) { -function scene_systemMenu_buildMenuTheme__P3084(s) { +function scene_systemMenu_buildMenuTheme__P56096(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60832,7 +60865,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___23669 = undefined; + s.cardsPerRow___76698 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -60840,19 +60873,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); 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___23669 = (r0); + s.cardsPerRow___76698 = (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___1956; + r0 = globals.font8___54968; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -60863,9 +60896,9 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P1959_mk(s); + s.tmp_1 = image_doubledFont__P54971_mk(s); s.tmp_1.arg0 = s.arg2; - s.callLocIdx = 1796; s.pc = 5; return s.tmp_1; + s.callLocIdx = 1797; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; case 4: @@ -60876,12 +60909,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___23669); - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___76698); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_3 = r0; - r0 = (s.cardsPerRow___23669 * s.arg0); + r0 = (s.cardsPerRow___76698 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___23669 - 1); + r0 = (s.cardsPerRow___76698 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -60902,7 +60935,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 = 1797; s.pc = 6; return s.tmp_11; } + else { s.callLocIdx = 1798; s.pc = 6; return s.tmp_11; } } case 6: r0 = s.retval; @@ -60912,7 +60945,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___2013); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -60922,7 +60955,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 = 1798; s.pc = 7; return s.tmp_16; } + else { s.callLocIdx = 1799; s.pc = 7; return s.tmp_16; } } case 7: r0 = s.retval; @@ -60933,19 +60966,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___3092); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___3093); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___3091); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___56104); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___56105); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___56103); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P3084.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__P56096.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__P3084_mk(s) { +function scene_systemMenu_buildMenuTheme__P56096_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P3084, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P56096, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -60964,7 +60997,7 @@ function scene_systemMenu_buildMenuTheme__P3084_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___23669: undefined, + cardsPerRow___76698: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -60975,7 +61008,7 @@ function scene_systemMenu_buildMenuTheme__P3084_mk(s) { -function image_doubledFont__P1959(s) { +function image_doubledFont__P54971(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -60989,7 +61022,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P1960_mk(s); + s.tmp_0 = image_scaledFont__P54972_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.callLocIdx = 207; s.pc = 1; return s.tmp_0; @@ -60998,12 +61031,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_doubledFont__P1959.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__P54971.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__P1959_mk(s) { +function image_doubledFont__P54971_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P1959, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P54971, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -61013,7 +61046,7 @@ function image_doubledFont__P1959_mk(s) { -function image_scaledFont__P1960(s) { +function image_scaledFont__P54972(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61128,12 +61161,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P1960.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__P54972.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__P1960_mk(s) { +function image_scaledFont__P54972_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P1960, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P54972, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61159,7 +61192,7 @@ function image_scaledFont__P1960_mk(s) { -function scene_systemMenu_initScreen__P5290(s) { +function scene_systemMenu_initScreen__P58303(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61169,21 +61202,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___23749 = undefined; - s.tmp_0 = settings_readNumber__P2049_mk(s); + s.brightness___76778 = undefined; + s.tmp_0 = settings_readNumber__P55061_mk(s); s.tmp_0.arg0 = "#brightness"; - s.callLocIdx = 1805; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1806; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___23749 = (r0); - r0 = (s.brightness___23749 !== undefined); + s.brightness___76778 = (r0); + r0 = (s.brightness___76778 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P1946_mk(s); - s.tmp_1.arg0 = globals.screen___2013; - s.tmp_1.arg1 = s.brightness___23749; - s.callLocIdx = 1806; s.pc = 4; return s.tmp_1; + s.tmp_1 = helpers_setScreenBrightness__P54958_mk(s); + s.tmp_1.arg0 = globals.screen___55025; + s.tmp_1.arg1 = s.brightness___76778; + s.callLocIdx = 1807; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -61192,23 +61225,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P5290.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__P58303.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__P5290_mk(s) { +function scene_systemMenu_initScreen__P58303_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P5290, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P58303, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___23749: undefined, + brightness___76778: undefined, } } -function scene_systemMenu_initVolume__P5289(s) { +function scene_systemMenu_initVolume__P58302(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61218,20 +61251,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___23759 = undefined; - s.tmp_0 = settings_readNumber__P2049_mk(s); + s.vol___76788 = undefined; + s.tmp_0 = settings_readNumber__P55061_mk(s); s.tmp_0.arg0 = "#volume"; - s.callLocIdx = 1803; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1804; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___23759 = (r0); - r0 = (s.vol___23759 !== undefined); + s.vol___76788 = (r0); + r0 = (s.vol___76788 !== 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___23759; - s.callLocIdx = 1804; s.pc = 4; return s.tmp_1; + s.tmp_1 = music_setVolume__P54632_mk(s); + s.tmp_1.arg0 = s.vol___76788; + s.callLocIdx = 1805; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; case 1: @@ -61240,23 +61273,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P5289.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__P58302.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__P5289_mk(s) { +function scene_systemMenu_initVolume__P58302_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P5289, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P58302, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___23759: undefined, + vol___76788: undefined, } } -function game_GameOverConfig_constructor__P2968(s) { +function game_GameOverConfig_constructor__P55980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61271,22 +61304,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C2953_VT)) failedCast(r0); - s.tmp_0 = game_GameOverConfig_init__P2969_mk(s); + if (!checkSubtype(r0, game_GameOverConfig__C55965_VT)) failedCast(r0); + s.tmp_0 = game_GameOverConfig_init__P55981_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1586; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1587; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_GameOverConfig_constructor__P2968.info = {"start":893,"length":50,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["this"]} +game_GameOverConfig_constructor__P55980.info = {"start":893,"length":50,"line":35,"column":8,"endLine":37,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":["this"]} -function game_GameOverConfig_constructor__P2968_mk(s) { +function game_GameOverConfig_constructor__P55980_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_constructor__P2968, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_constructor__P55980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -61296,7 +61329,7 @@ function game_GameOverConfig_constructor__P2968_mk(s) { -function game_GameOverConfig_init__P2969(s) { +function game_GameOverConfig_init__P55981(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61311,22 +61344,22 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C2953_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverConfig__C55965_VT)) failedCast(r0); r0 = (s.arg0).fields["scoringType"] = (0); - r0 = (s.arg0).fields["winEffect"] = (globals.confetti___3254); - r0 = (s.arg0).fields["loseEffect"] = (globals.melt___3276); + r0 = (s.arg0).fields["winEffect"] = (globals.confetti___56266); + r0 = (s.arg0).fields["loseEffect"] = (globals.melt___56288); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = music_melodyPlayable__P1908_mk(s); - s.tmp_2.arg0 = globals.powerUp___1650; - s.callLocIdx = 1587; s.pc = 1; return s.tmp_2; + s.tmp_2 = music_melodyPlayable__P54920_mk(s); + s.tmp_2.arg0 = globals.powerUp___54662; + s.callLocIdx = 1588; 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__P1908_mk(s); - s.tmp_2.arg0 = globals.wawawawaa___1647; - s.callLocIdx = 1588; s.pc = 2; return s.tmp_2; + s.tmp_2 = music_melodyPlayable__P54920_mk(s); + s.tmp_2.arg0 = globals.wawawawaa___54659; + s.callLocIdx = 1589; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; @@ -61344,12 +61377,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_init__P2969.info = {"start":953,"length":701,"line":39,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["this"]} +game_GameOverConfig_init__P55981.info = {"start":953,"length":701,"line":39,"column":8,"endLine":54,"endColumn":9,"fileName":"pxt_modules/game/game.ts","functionName":"init","argumentNames":["this"]} -function game_GameOverConfig_init__P2969_mk(s) { +function game_GameOverConfig_init__P55981_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_init__P2969, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_init__P55981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61361,7 +61394,7 @@ function game_GameOverConfig_init__P2969_mk(s) { -function melt_inline__P23813(s) { +function melt_inline__P76842(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61371,11 +61404,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___23816 = undefined; - s.j___23824 = undefined; - s.x___23829 = undefined; - s.y___23835 = undefined; - s.c___23841 = undefined; + s.rounds___76845 = undefined; + s.j___76853 = undefined; + s.x___76858 = undefined; + s.y___76864 = undefined; + s.c___76870 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -61388,14 +61421,14 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___23816 = (r0); - s.j___23824 = (0); + s.rounds___76845 = (r0); + s.j___76853 = (0); case 1: - r0 = (s.j___23824 < s.rounds___23816); + r0 = (s.j___76853 < s.rounds___76845); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P3043_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P56055_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -61405,8 +61438,8 @@ switch (step) { s.callLocIdx = 79; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___23829 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P3043_mk(s); + s.x___76858 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P56055_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -61416,42 +61449,42 @@ switch (step) { s.callLocIdx = 80; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___23835 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___23829, s.y___23835); - s.c___23841 = (r0); + s.y___76864 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___76858, s.y___76864); + s.c___76870 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___23829; - r0 = (s.y___23835 + 1); + s.tmp_1 = r0 = s.x___76858; + r0 = (s.y___76864 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___23841); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___76870); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___23829; - r0 = (s.y___23835 + 2); + s.tmp_1 = r0 = s.x___76858; + r0 = (s.y___76864 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___23841); - r0 = (s.j___23824 + 1); - s.j___23824 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___76870); + r0 = (s.j___76853 + 1); + s.j___76853 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -melt_inline__P23813.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__P76842.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__P23813_mk(s) { +function melt_inline__P76842_mk(s) { checkStack(s.depth); return { - parent: s, fn: melt_inline__P23813, depth: s.depth + 1, + parent: s, fn: melt_inline__P76842, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___23816: undefined, - j___23824: undefined, - x___23829: undefined, - y___23835: undefined, - c___23841: undefined, + rounds___76845: undefined, + j___76853: undefined, + x___76858: undefined, + y___76864: undefined, + c___76870: undefined, arg0: undefined, arg1: undefined, } } @@ -61460,7 +61493,7 @@ function melt_inline__P23813_mk(s) { -function music_melodyPlayable__P1908(s) { +function music_melodyPlayable__P54920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61474,9 +61507,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayable__C1901_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayable__C54913_VT); s.tmp_0 = r0; - s.tmp_1 = music_MelodyPlayable_constructor__P1902_mk(s); + s.tmp_1 = music_MelodyPlayable_constructor__P54914_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 186; s.pc = 1; return s.tmp_1; @@ -61486,12 +61519,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_melodyPlayable__P1908.info = {"start":3172,"length":107,"line":121,"column":4,"endLine":123,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"melodyPlayable","argumentNames":["melody"]} +music_melodyPlayable__P54920.info = {"start":3172,"length":107,"line":121,"column":4,"endLine":123,"endColumn":5,"fileName":"pxt_modules/mixer/playable.ts","functionName":"melodyPlayable","argumentNames":["melody"]} -function music_melodyPlayable__P1908_mk(s) { +function music_melodyPlayable__P54920_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_melodyPlayable__P1908, depth: s.depth + 1, + parent: s, fn: music_melodyPlayable__P54920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61502,7 +61535,7 @@ function music_melodyPlayable__P1908_mk(s) { -function Fx8__P149(s) { +function Fx8__P53161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61522,12 +61555,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__P53161.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__P53161_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P149, depth: s.depth + 1, + parent: s, fn: Fx8__P53161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -61537,7 +61570,7 @@ function Fx8__P149_mk(s) { -function SpriteKind_create__P2459(s) { +function SpriteKind_create__P55471(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61547,26 +61580,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___4841 === undefined); + r0 = (globals.nextKind___57854 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___4841 = (1000); + globals.nextKind___57854 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___4841; + s.tmp_0 = r0 = globals.nextKind___57854; r0 = (s.tmp_0 + 1); - globals.nextKind___4841 = (r0); + globals.nextKind___57854 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P2459.info = {"start":783,"length":112,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P55471.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__P2459_mk(s) { +function SpriteKind_create__P55471_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P2459, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P55471, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -61575,7 +61608,7 @@ function SpriteKind_create__P2459_mk(s) { -function controller_Button_constructor__P2176(s) { +function controller_Button_constructor__P55188(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61592,7 +61625,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2170_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C55182_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -61602,13 +61635,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__P23900); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P76929); 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__P23907); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P76936); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -61627,12 +61660,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P2176.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__P55188.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__P2176_mk(s) { +function controller_Button_constructor__P55188_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P2176, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P55188, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61646,7 +61679,7 @@ function controller_Button_constructor__P2176_mk(s) { -function controller_Button_inline__P23900(s) { +function controller_Button_inline__P76929(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61656,7 +61689,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P2183_mk(s); + s.tmp_0 = controller_Button_setPressed__P55195_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.callLocIdx = 330; s.pc = 1; return s.tmp_0; @@ -61666,12 +61699,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_inline__P23900.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__P76929.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__P23900_mk(s) { +function controller_Button_inline__P76929_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P23900, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P76929, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -61680,7 +61713,7 @@ function controller_Button_inline__P23900_mk(s) { -function controller_Button_inline__P23907(s) { +function controller_Button_inline__P76936(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61690,7 +61723,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P2183_mk(s); + s.tmp_0 = controller_Button_setPressed__P55195_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.callLocIdx = 331; s.pc = 1; return s.tmp_0; @@ -61700,12 +61733,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_inline__P23907.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__P76936.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__P23907_mk(s) { +function controller_Button_inline__P76936_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P23907, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P76936, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -61714,7 +61747,7 @@ function controller_Button_inline__P23907_mk(s) { -function controller_setupButton__P4824(s) { +function controller_setupButton__P57837(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61733,12 +61766,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P4824.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__P57837.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__P4824_mk(s) { +function controller_setupButton__P57837_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P4824, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P57837, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -61748,7 +61781,7 @@ function controller_setupButton__P4824_mk(s) { -function controller_Button_setPressed__P2183(s) { +function controller_Button_setPressed__P55195(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61764,14 +61797,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2170_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C55182_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__P1914_mk(s); + s.tmp_2 = power_poke__P54926_mk(s); s.callLocIdx = 334; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -61779,7 +61812,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = controller_Controller_connected__P2137_mk(s); + s.tmp_1 = controller_Controller_connected__P55149_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; @@ -61794,7 +61827,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } r0 = (s.arg0).fields["_pressedElasped"] = (0); - s.tmp_0 = controller_Button_raiseButtonDown__P4808_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P57821_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 336; s.pc = 9; return s.tmp_0; case 9: @@ -61802,7 +61835,7 @@ switch (step) { { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P4807_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P57820_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 337; s.pc = 10; return s.tmp_0; case 10: @@ -61814,12 +61847,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P2183.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__P55195.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__P2183_mk(s) { +function controller_Button_setPressed__P55195_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P2183, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P55195, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61832,7 +61865,7 @@ function controller_Button_setPressed__P2183_mk(s) { -function controller_Button_raiseButtonDown__P4808(s) { +function controller_Button_raiseButtonDown__P57821(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61847,8 +61880,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2170_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4818); + if (!checkSubtype(r0, controller_Button__C55182_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___57831); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -61863,12 +61896,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P4808.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__P57821.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__P4808_mk(s) { +function controller_Button_raiseButtonDown__P57821_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P4808, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P57821, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -61878,7 +61911,7 @@ function controller_Button_raiseButtonDown__P4808_mk(s) { -function controller_Button_raiseButtonUp__P4807(s) { +function controller_Button_raiseButtonUp__P57820(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61893,8 +61926,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2170_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___4818); + if (!checkSubtype(r0, controller_Button__C55182_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___57831); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -61909,12 +61942,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P4807.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__P57820.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__P4807_mk(s) { +function controller_Button_raiseButtonUp__P57820_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P4807, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P57820, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -61924,7 +61957,7 @@ function controller_Button_raiseButtonUp__P4807_mk(s) { -function game_addScenePushHandler__P2998(s) { +function game_addScenePushHandler__P56010(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61938,35 +61971,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___5024); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___58037); 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___5024 = (r0); + globals._scenePushHandlers___58037 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___5024, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___58037, 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___5024, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___58037, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P2998.info = {"start":15913,"length":242,"line":477,"column":4,"endLine":481,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} +game_addScenePushHandler__P56010.info = {"start":16044,"length":242,"line":479,"column":4,"endLine":483,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} -function game_addScenePushHandler__P2998_mk(s) { +function game_addScenePushHandler__P56010_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P2998, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P56010, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -61977,7 +62010,7 @@ function game_addScenePushHandler__P2998_mk(s) { -function controller_Controller_id__P2122(s) { +function controller_Controller_id__P55134(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -61992,18 +62025,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2115_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C55127_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P2122.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__P2122.isGetter = true; +controller_Controller_id__P55134.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__P55134.isGetter = true; -function controller_Controller_id__P2122_mk(s) { +function controller_Controller_id__P55134_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P2122, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P55134, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -62012,7 +62045,7 @@ function controller_Controller_id__P2122_mk(s) { -function controller_Controller_connected__P2136(s) { +function controller_Controller_connected__P55148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62027,18 +62060,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C2115_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C55127_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P2136.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__P2136.isGetter = true; +controller_Controller_connected__P55148.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__P55148.isGetter = true; -function controller_Controller_connected__P2136_mk(s) { +function controller_Controller_connected__P55148_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P2136, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P55148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -62047,7 +62080,7 @@ function controller_Controller_connected__P2136_mk(s) { -function game_currentScene__P2979(s) { +function game_currentScene__P55991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62057,21 +62090,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P5030_mk(s); + s.tmp_0 = game_init__P58043_mk(s); s.tmp_0.arg0 = undefined; - s.callLocIdx = 1590; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1591; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___5022; + r0 = globals._scene___58035; return leave(s, r0) default: oops() } } } -game_currentScene__P2979.info = {"start":4025,"length":90,"line":118,"column":4,"endLine":121,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P55991.info = {"start":4025,"length":90,"line":118,"column":4,"endLine":121,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} -function game_currentScene__P2979_mk(s) { +function game_currentScene__P55991_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P2979, depth: s.depth + 1, + parent: s, fn: game_currentScene__P55991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -62080,7 +62113,7 @@ function game_currentScene__P2979_mk(s) { -function game_addScenePopHandler__P3000(s) { +function game_addScenePopHandler__P56012(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62094,35 +62127,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___5025); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___58038); 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___5025 = (r0); + globals._scenePopHandlers___58038 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___5025, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___58038, 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___5025, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___58038, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P3000.info = {"start":16914,"length":237,"line":501,"column":4,"endLine":505,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} +game_addScenePopHandler__P56012.info = {"start":17045,"length":237,"line":503,"column":4,"endLine":507,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} -function game_addScenePopHandler__P3000_mk(s) { +function game_addScenePopHandler__P56012_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P3000, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P56012, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62133,7 +62166,7 @@ function game_addScenePopHandler__P3000_mk(s) { -function settings_initScopes__P4712(s) { +function settings_initScopes__P57725(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62143,17 +62176,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___24002 = undefined; - s.tmp_1 = settings_runNumber__P2039_mk(s); + s.rn___77031 = undefined; + s.tmp_1 = settings_runNumber__P55051_mk(s); s.callLocIdx = 238; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___24002 = (r0); - s.tmp_0 = settings_writeNumber__P2044_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___4700; - s.tmp_0.arg1 = s.rn___24002; + s.rn___77031 = (r0); + s.tmp_0 = settings_writeNumber__P55056_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___57713; + s.tmp_0.arg1 = s.rn___77031; s.callLocIdx = 239; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -62162,8 +62195,8 @@ switch (step) { r0 = (s.tmp_1 & 2147483647); s.tmp_0 = r0; r0 = pxsim_pxtcore.seedAddRandom(s.tmp_0); - r0 = pxsim_pxtcore.seedAddRandom(s.rn___24002); - s.tmp_0 = settings_setScope__P4711_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___77031); + s.tmp_0 = settings_setScope__P57724_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; s.callLocIdx = 240; s.pc = 3; return s.tmp_0; @@ -62173,23 +62206,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_initScopes__P4712.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P57725.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__P4712_mk(s) { +function settings_initScopes__P57725_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P4712, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P57725, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___24002: undefined, + rn___77031: undefined, } } -function settings_setScope__P4711(s) { +function settings_setScope__P57724(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62199,7 +62232,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___24031 = undefined; + s.currScope___77060 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -62224,19 +62257,19 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P2047_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___4701; + s.tmp_0 = settings_readString__P55059_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___57714; s.callLocIdx = 236; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___24031 = (r0); - r0 = (s.currScope___24031 != s.arg0); + s.currScope___77060 = (r0); + r0 = (s.currScope___77060 != 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__P2042_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___4701; + s.tmp_0 = settings_writeString__P55054_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___57714; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 237; s.pc = 8; return s.tmp_0; case 8: @@ -62247,18 +62280,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P4711.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__P57724.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__P4711_mk(s) { +function settings_setScope__P57724_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P4711, depth: s.depth + 1, + parent: s, fn: settings_setScope__P57724, 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___24031: undefined, + currScope___77060: undefined, arg0: undefined, } } @@ -62266,7 +62299,7 @@ function settings_setScope__P4711_mk(s) { -function settings_readString__P2047(s) { +function settings_readString__P55059(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62276,14 +62309,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___24045 = undefined; + s.buf___77074 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___24045 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___24045); + s.buf___77074 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___77074); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -62293,7 +62326,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___24045); + r0 = pxsim.BufferMethods.toString(s.buf___77074); { step = 3; continue; } case 2: r0 = undefined; @@ -62301,16 +62334,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P2047.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__P55059.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__P2047_mk(s) { +function settings_readString__P55059_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P2047, depth: s.depth + 1, + parent: s, fn: settings_readString__P55059, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___24045: undefined, + buf___77074: undefined, arg0: undefined, } } @@ -62318,7 +62351,7 @@ function settings_readString__P2047_mk(s) { -function settings_runNumber__P2039(s) { +function settings_runNumber__P55051(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62328,8 +62361,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P2049_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___4700; + s.tmp_1 = settings_readNumber__P55061_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___57713; s.callLocIdx = 235; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -62347,12 +62380,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P2039.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P55051.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__P2039_mk(s) { +function settings_runNumber__P55051_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P2039, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P55051, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62363,7 +62396,7 @@ function settings_runNumber__P2039_mk(s) { -function control___screen_setupUpdate__P1975(s) { +function control___screen_setupUpdate__P54987(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62377,8 +62410,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___4667 = (true); - globals.__update___4665 = (s.arg0); + globals.__updated___57680 = (true); + globals.__update___57678 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); @@ -62389,12 +62422,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P1975.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__P54987.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__P1975_mk(s) { +function control___screen_setupUpdate__P54987_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P1975, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P54987, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -62404,7 +62437,7 @@ function control___screen_setupUpdate__P1975_mk(s) { -function _screen_internal_getScreenHeight__P2018(s) { +function _screen_internal_getScreenHeight__P55030(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62422,12 +62455,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_getScreenHeight__P2018.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__P55030.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__P2018_mk(s) { +function _screen_internal_getScreenHeight__P55030_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_getScreenHeight__P2018, depth: s.depth + 1, + parent: s, fn: _screen_internal_getScreenHeight__P55030, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -62436,7 +62469,7 @@ function _screen_internal_getScreenHeight__P2018_mk(s) { -function _screen_internal_getScreenWidth__P2017(s) { +function _screen_internal_getScreenWidth__P55029(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62454,12 +62487,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_getScreenWidth__P2017.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__P55029.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__P2017_mk(s) { +function _screen_internal_getScreenWidth__P55029_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_getScreenWidth__P2017, depth: s.depth + 1, + parent: s, fn: _screen_internal_getScreenWidth__P55029, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -62468,7 +62501,7 @@ function _screen_internal_getScreenWidth__P2017_mk(s) { -function control___screen_update__P1974(s) { +function control___screen_update__P54986(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62478,27 +62511,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___4665); + r0 = pxsim_numops_toBoolDecr(globals.__update___57678); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___4665; + s.tmp_0.argL = globals.__update___57678; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 228; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___4667 = (true); + globals.__updated___57680 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P1974.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__P54986.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__P1974_mk(s) { +function control___screen_update__P54986_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P1974, depth: s.depth + 1, + parent: s, fn: control___screen_update__P54986, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -62507,7 +62540,7 @@ function control___screen_update__P1974_mk(s) { -function pause__P413(s) { +function pause__P53425(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62531,12 +62564,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__P53425.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__P53425_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P413, depth: s.depth + 1, + parent: s, fn: pause__P53425, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -62545,7 +62578,7 @@ function pause__P413_mk(s) { -function statusbars_StatusHandler_constructor__P7105(s) { +function statusbars_StatusHandler_constructor__P60118(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62565,7 +62598,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusHandler__C7103_VT)) failedCast(r0); + if (!checkSubtype(r0, statusbars_StatusHandler__C60116_VT)) failedCast(r0); r0 = (s.arg0).fields["kind"] = (s.arg1); r0 = (s.arg0).fields["comparison"] = (s.arg2); r0 = (s.arg0).fields["comparisonType"] = (s.arg3); @@ -62575,12 +62608,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -statusbars_StatusHandler_constructor__P7105.info = {"start":24522,"length":257,"line":702,"column":8,"endLine":708,"endColumn":13,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["this","kind","comparison","comparisonType","percent","handler"]} +statusbars_StatusHandler_constructor__P60118.info = {"start":24522,"length":257,"line":702,"column":8,"endLine":708,"endColumn":13,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"inline","argumentNames":["this","kind","comparison","comparisonType","percent","handler"]} -function statusbars_StatusHandler_constructor__P7105_mk(s) { +function statusbars_StatusHandler_constructor__P60118_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusHandler_constructor__P7105, depth: s.depth + 1, + parent: s, fn: statusbars_StatusHandler_constructor__P60118, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -62594,7 +62627,7 @@ function statusbars_StatusHandler_constructor__P7105_mk(s) { -function music_SoundEffect_play__P1776(s) { +function music_SoundEffect_play__P54788(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62604,17 +62637,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.toPlay___24389 = undefined; + s.toPlay___77418 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_SoundEffect__C1765_VT)) failedCast(r0); - s.tmp_0 = music_SoundEffect_toBuffer__P1775_mk(s); + if (!checkSubtype(r0, music_SoundEffect__C54777_VT)) failedCast(r0); + s.tmp_0 = music_SoundEffect_toBuffer__P54787_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = music_volume__P1621_mk(s); + s.tmp_1 = music_volume__P54633_mk(s); s.callLocIdx = 142; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; @@ -62622,20 +62655,20 @@ switch (step) { s.callLocIdx = 143; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.toPlay___24389 = (r0); + s.toPlay___77418 = (r0); r0 = (s.arg1 === 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.music.queuePlayInstructions(0, s.toPlay___24389); + r0 = pxsim.music.queuePlayInstructions(0, s.toPlay___77418); { step = 4; continue; } case 1: r0 = (s.arg1 === 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - r0 = pxsim.music.queuePlayInstructions(0, s.toPlay___24389); - s.tmp_0 = pause__P413_mk(s); + r0 = pxsim.music.queuePlayInstructions(0, s.toPlay___77418); + s.tmp_0 = pause__P53425_mk(s); r0 = s.arg0.fields["duration"]; s.tmp_0.arg0 = r0; s.callLocIdx = 144; s.pc = 7; return s.tmp_0; @@ -62643,7 +62676,7 @@ switch (step) { r0 = s.retval; { step = 3; continue; } case 2: - s.tmp_0 = music_Playable_loop__P1900_mk(s); + s.tmp_0 = music_Playable_loop__P54912_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 145; s.pc = 8; return s.tmp_0; case 8: @@ -62654,16 +62687,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_SoundEffect_play__P1776.info = {"start":1889,"length":455,"line":81,"column":8,"endLine":93,"endColumn":9,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"play","argumentNames":["this","playbackMode"]} +music_SoundEffect_play__P54788.info = {"start":1889,"length":455,"line":81,"column":8,"endLine":93,"endColumn":9,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"play","argumentNames":["this","playbackMode"]} -function music_SoundEffect_play__P1776_mk(s) { +function music_SoundEffect_play__P54788_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_SoundEffect_play__P1776, depth: s.depth + 1, + parent: s, fn: music_SoundEffect_play__P54788, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - toPlay___24389: undefined, + toPlay___77418: undefined, arg0: undefined, arg1: undefined, } } @@ -62672,7 +62705,7 @@ function music_SoundEffect_play__P1776_mk(s) { -function music_Playable_loop__P1900(s) { +function music_Playable_loop__P54912(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62687,8 +62720,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Playable__C1896_VT)) failedCast(r0); - s.tmp_1 = music_state__P4643_mk(s); + if (!checkSubtype(r0, music_Playable__C54908_VT)) failedCast(r0); + s.tmp_1 = music_state__P57656_mk(s); s.callLocIdx = 178; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -62696,7 +62729,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg0); r0 = (s.arg0).fields["stopped"] = (false); - r0 = pxsim_pxtcore_mkAction(1, music_Playable_loop_inline__P24420); + r0 = pxsim_pxtcore_mkAction(1, music_Playable_loop_inline__P77449); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = pxsim.control.runInParallel(s.tmp_0); @@ -62704,12 +62737,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Playable_loop__P1900.info = {"start":1200,"length":264,"line":55,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"loop","argumentNames":["this"]} +music_Playable_loop__P54912.info = {"start":1200,"length":264,"line":55,"column":8,"endLine":64,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"loop","argumentNames":["this"]} -function music_Playable_loop__P1900_mk(s) { +function music_Playable_loop__P54912_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Playable_loop__P1900, depth: s.depth + 1, + parent: s, fn: music_Playable_loop__P54912, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62720,7 +62753,7 @@ function music_Playable_loop__P1900_mk(s) { -function music_Playable_loop_inline__P24420(s) { +function music_Playable_loop_inline__P77449(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62739,10 +62772,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_3 = music_Playable__C1896_v0_2_mk(s); + s.tmp_3 = music_Playable__C54908_v0_2_mk(s); s.tmp_3.arg0 = s.caps[0]; s.tmp_3.arg1 = 0; - if (!checkSubtype(s.tmp_3.arg0, music_Playable__C1896_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, music_Playable__C54908_VT)) failedCast(s.tmp_3.arg0); s.tmp_3.fn = s.tmp_3.arg0.vtable.methods.play; s.pc = 3; return s.tmp_3; case 3: @@ -62753,12 +62786,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Playable_loop_inline__P24420.info = {"start":1318,"length":134,"line":59,"column":34,"endLine":63,"endColumn":13,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":[]} +music_Playable_loop_inline__P77449.info = {"start":1318,"length":134,"line":59,"column":34,"endLine":63,"endColumn":13,"fileName":"pxt_modules/mixer/playable.ts","functionName":"inline","argumentNames":[]} -function music_Playable_loop_inline__P24420_mk(s) { +function music_Playable_loop_inline__P77449_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Playable_loop_inline__P24420, depth: s.depth + 1, + parent: s, fn: music_Playable_loop_inline__P77449, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62770,7 +62803,7 @@ function music_Playable_loop_inline__P24420_mk(s) { -function music_SoundEffect_toBuffer__P1775(s) { +function music_SoundEffect_toBuffer__P54787(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62786,19 +62819,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_SoundEffect__C1765_VT)) failedCast(r0); + if (!checkSubtype(r0, music_SoundEffect__C54777_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_volume__P1621_mk(s); + s.tmp_1 = music_volume__P54633_mk(s); s.callLocIdx = 140; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg1 = (r0); case 1: case 2: - s.tmp_0 = music_soundToInstructionBuffer__P1779_mk(s); + s.tmp_0 = music_soundToInstructionBuffer__P54791_mk(s); r0 = s.arg0.fields["waveShape"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["startFrequency"]; @@ -62824,12 +62857,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_SoundEffect_toBuffer__P1775.info = {"start":1390,"length":489,"line":63,"column":8,"endLine":79,"endColumn":9,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"toBuffer","argumentNames":["this","volume"]} +music_SoundEffect_toBuffer__P54787.info = {"start":1390,"length":489,"line":63,"column":8,"endLine":79,"endColumn":9,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"toBuffer","argumentNames":["this","volume"]} -function music_SoundEffect_toBuffer__P1775_mk(s) { +function music_SoundEffect_toBuffer__P54787_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_SoundEffect_toBuffer__P1775, depth: s.depth + 1, + parent: s, fn: music_SoundEffect_toBuffer__P54787, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -62841,7 +62874,7 @@ function music_SoundEffect_toBuffer__P1775_mk(s) { -function music_soundToInstructionBuffer__P1779(s) { +function music_soundToInstructionBuffer__P54791(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -62851,16 +62884,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.steps___24463 = undefined; - s.getVolumeAt___24497 = undefined; - s.getFrequencyAt___24514 = undefined; - s.timeSlice___24574 = undefined; - s.i___24578 = undefined; - s.newStep___24583 = undefined; - s.out___24665 = undefined; - s.stepDuration___24674 = undefined; - s.i___24682 = undefined; - s.offset___24689 = undefined; + s.steps___77492 = undefined; + s.getVolumeAt___77526 = undefined; + s.getFrequencyAt___77543 = undefined; + s.timeSlice___77603 = undefined; + s.i___77607 = undefined; + s.newStep___77612 = undefined; + s.out___77694 = undefined; + s.stepDuration___77703 = undefined; + s.i___77711 = undefined; + s.offset___77718 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -62876,7 +62909,7 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.steps___24463 = (r0); + s.steps___77492 = (r0); r0 = (s.arg7 === 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -62898,7 +62931,7 @@ switch (step) { r0 = (s.tmp_4 * s.arg10); s.tmp_3 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_2, "volume", s.tmp_3); - r0 = pxsim_Array__push(s.steps___24463, s.tmp_2); + r0 = pxsim_Array__push(s.steps___77492, s.tmp_2); r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "frequency", s.arg2); @@ -62907,10 +62940,10 @@ switch (step) { r0 = (s.tmp_2 * s.arg10); s.tmp_1 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "volume", s.tmp_1); - r0 = pxsim_Array__push(s.steps___24463, s.tmp_0); + r0 = pxsim_Array__push(s.steps___77492, s.tmp_0); { step = 22; continue; } case 3: - s.tmp_0 = Math_min__P131_mk(s); + s.tmp_0 = Math_min__P53143_mk(s); s.tmp_0.arg0 = s.arg8; r0 = (s.arg5 / 5); s.tmp_1 = r0; @@ -62920,13 +62953,13 @@ switch (step) { case 25: r0 = s.retval; s.arg8 = (r0); - r0 = pxsim_pxtcore_mkAction(4, getVolumeAt_inline__P24498); + r0 = pxsim_pxtcore_mkAction(4, getVolumeAt_inline__P77527); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg3); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg4); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg5); r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.arg10); - s.getVolumeAt___24497 = (s.tmp_0); + s.getVolumeAt___77526 = (s.tmp_0); s.tmp_0 = r0 = s.arg7; r0 = pxsim_pxtcore.switch_eq(0, s.tmp_0); if (r0) { step = 4; continue; } @@ -62937,42 +62970,42 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 4: - r0 = pxsim_pxtcore_mkAction(3, music_soundToInstructionBuffer_inline__P24521); + r0 = pxsim_pxtcore_mkAction(3, music_soundToInstructionBuffer_inline__P77550); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.arg2); r0 = pxsim_pxtrt_stclo(s.tmp_1, 2, s.arg5); - s.getFrequencyAt___24514 = (s.tmp_1); + s.getFrequencyAt___77543 = (s.tmp_1); { step = 7; continue; } case 5: - r0 = pxsim_pxtcore_mkAction(3, music_soundToInstructionBuffer_inline__P24533); + r0 = pxsim_pxtcore_mkAction(3, music_soundToInstructionBuffer_inline__P77562); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg2); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg5); - s.getFrequencyAt___24514 = (s.tmp_0); + s.getFrequencyAt___77543 = (s.tmp_0); { step = 7; continue; } case 6: - r0 = pxsim_pxtcore_mkAction(3, music_soundToInstructionBuffer_inline__P24552); + r0 = pxsim_pxtcore_mkAction(3, music_soundToInstructionBuffer_inline__P77581); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg5); r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.arg2); - s.getFrequencyAt___24514 = (s.tmp_0); + s.getFrequencyAt___77543 = (s.tmp_0); case 7: r0 = (s.arg5 / s.arg8); - s.timeSlice___24574 = (r0); - s.i___24578 = (0); + s.timeSlice___77603 = (r0); + s.i___77607 = (0); case 8: - r0 = (s.i___24578 < s.arg8); + r0 = (s.i___77607 < s.arg8); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 21; continue; } r0 = pxsim_pxtrt.mkMap(); s.tmp_1 = r0; s.tmp_3 = lambda_2_mk(s); - s.tmp_3.argL = s.getFrequencyAt___24514; - r0 = (s.i___24578 * s.timeSlice___24574); + s.tmp_3.argL = s.getFrequencyAt___77543; + r0 = (s.i___77607 * s.timeSlice___77603); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 148; s.pc = 26; return s.tmp_3; @@ -62981,8 +63014,8 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_1, "frequency", s.tmp_2); s.tmp_5 = lambda_2_mk(s); - s.tmp_5.argL = s.getVolumeAt___24497; - r0 = (s.i___24578 * s.timeSlice___24574); + s.tmp_5.argL = s.getVolumeAt___77526; + r0 = (s.i___77607 * s.timeSlice___77603); s.tmp_5.arg0 = r0; setupLambda(s.tmp_5, s.tmp_5.argL); s.callLocIdx = 149; s.pc = 27; return s.tmp_5; @@ -62990,22 +63023,22 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_pxtrt.mapSetByString(s.tmp_1, "volume", s.tmp_4); - s.newStep___24583 = (s.tmp_1); + s.newStep___77612 = (s.tmp_1); r0 = (s.arg6 === 2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.i___24578 % 2); + r0 = (s.i___77607 % 2); s.tmp_2 = r0; r0 = (s.tmp_2 === 0); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 9; continue; } s.tmp_3 = if_volume_2_mk(s); - s.tmp_3.arg0 = s.newStep___24583; - s.tmp_4 = Math_max__P130_mk(s); + s.tmp_3.arg0 = s.newStep___77612; + s.tmp_4 = Math_max__P53142_mk(s); s.tmp_6 = if_volume_1_mk(s); - s.tmp_6.arg0 = s.newStep___24583; + s.tmp_6.arg0 = s.newStep___77612; if (!s.tmp_6.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "volume"); } else { @@ -63039,10 +63072,10 @@ switch (step) { { step = 10; continue; } case 9: s.tmp_0 = if_volume_2_mk(s); - s.tmp_0.arg0 = s.newStep___24583; - s.tmp_1 = Math_min__P131_mk(s); + s.tmp_0.arg0 = s.newStep___77612; + s.tmp_1 = Math_min__P53143_mk(s); s.tmp_3 = if_volume_1_mk(s); - s.tmp_3.arg0 = s.newStep___24583; + s.tmp_3.arg0 = s.newStep___77612; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "volume"); } else { @@ -63080,17 +63113,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___24578 % 2); + r0 = (s.i___77607 % 2); s.tmp_2 = r0; r0 = (s.tmp_2 === 0); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 12; continue; } s.tmp_3 = if_frequency_2_mk(s); - s.tmp_3.arg0 = s.newStep___24583; - s.tmp_4 = Math_max__P130_mk(s); + s.tmp_3.arg0 = s.newStep___77612; + s.tmp_4 = Math_max__P53142_mk(s); s.tmp_6 = if_frequency_1_mk(s); - s.tmp_6.arg0 = s.newStep___24583; + s.tmp_6.arg0 = s.newStep___77612; if (!s.tmp_6.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "frequency"); } else { @@ -63124,9 +63157,9 @@ switch (step) { { step = 13; continue; } case 12: s.tmp_0 = if_frequency_2_mk(s); - s.tmp_0.arg0 = s.newStep___24583; + s.tmp_0.arg0 = s.newStep___77612; s.tmp_2 = if_frequency_1_mk(s); - s.tmp_2.arg0 = s.newStep___24583; + s.tmp_2.arg0 = s.newStep___77612; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "frequency"); } else { @@ -63159,17 +63192,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - r0 = (s.i___24578 % 2); + r0 = (s.i___77607 % 2); s.tmp_2 = r0; r0 = (s.tmp_2 === 0); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 15; continue; } s.tmp_3 = if_frequency_2_mk(s); - s.tmp_3.arg0 = s.newStep___24583; - s.tmp_4 = Math_max__P130_mk(s); + s.tmp_3.arg0 = s.newStep___77612; + s.tmp_4 = Math_max__P53142_mk(s); s.tmp_6 = if_frequency_1_mk(s); - s.tmp_6.arg0 = s.newStep___24583; + s.tmp_6.arg0 = s.newStep___77612; if (!s.tmp_6.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_6.arg0, "frequency"); } else { @@ -63203,9 +63236,9 @@ switch (step) { { step = 16; continue; } case 15: s.tmp_0 = if_frequency_2_mk(s); - s.tmp_0.arg0 = s.newStep___24583; + s.tmp_0.arg0 = s.newStep___77612; s.tmp_2 = if_frequency_1_mk(s); - s.tmp_2.arg0 = s.newStep___24583; + s.tmp_2.arg0 = s.newStep___77612; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "frequency"); } else { @@ -63236,33 +63269,33 @@ switch (step) { case 18: case 19: case 20: - r0 = pxsim_Array__push(s.steps___24463, s.newStep___24583); - r0 = (s.i___24578 + 1); - s.i___24578 = (r0); + r0 = pxsim_Array__push(s.steps___77492, s.newStep___77612); + r0 = (s.i___77607 + 1); + s.i___77607 = (r0); { step = 8; continue; } case 21: case 22: - r0 = pxsim_Array__length(s.steps___24463); + r0 = pxsim_Array__length(s.steps___77492); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; r0 = (12 * s.tmp_1); s.tmp_0 = r0; r0 = pxsim.control.createBuffer(s.tmp_0); - s.out___24665 = (r0); + s.out___77694 = (r0); s.tmp_1 = r0 = s.arg5; - r0 = pxsim_Array__length(s.steps___24463); + r0 = pxsim_Array__length(s.steps___77492); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.stepDuration___24674 = (r0); - s.i___24682 = (0); + s.stepDuration___77703 = (r0); + s.i___77711 = (0); case 23: - s.tmp_1 = r0 = s.i___24682; - r0 = pxsim_Array__length(s.steps___24463); + s.tmp_1 = r0 = s.i___77711; + r0 = pxsim_Array__length(s.steps___77492); s.tmp_3 = r0; r0 = (s.tmp_3 - 1); s.tmp_2 = r0; @@ -63270,22 +63303,22 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - r0 = (s.i___24682 * 12); - s.offset___24689 = (r0); - s.tmp_0 = r0 = s.out___24665; - s.tmp_1 = r0 = s.offset___24689; - s.tmp_3 = music_waveToValue__P4611_mk(s); + r0 = (s.i___77711 * 12); + s.offset___77718 = (r0); + s.tmp_0 = r0 = s.out___77694; + s.tmp_1 = r0 = s.offset___77718; + s.tmp_3 = music_waveToValue__P57624_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 166; s.pc = 44; return s.tmp_3; case 44: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 2, s.tmp_1, s.tmp_2); - s.tmp_0 = r0 = s.out___24665; - r0 = (s.offset___24689 + 2); + s.tmp_0 = r0 = s.out___77694; + r0 = (s.offset___77718 + 2); s.tmp_1 = r0; s.tmp_3 = if_frequency_1_mk(s); - r0 = pxsim_Array__getAt(s.steps___24463, s.i___24682); + r0 = pxsim_Array__getAt(s.steps___77492, s.i___77711); s.tmp_3.arg0 = r0; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "frequency"); @@ -63299,15 +63332,15 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.tmp_2); - s.tmp_0 = r0 = s.out___24665; - r0 = (s.offset___24689 + 4); + s.tmp_0 = r0 = s.out___77694; + r0 = (s.offset___77718 + 4); s.tmp_1 = r0; - r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.stepDuration___24674); - s.tmp_0 = r0 = s.out___24665; - r0 = (s.offset___24689 + 6); + r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.stepDuration___77703); + s.tmp_0 = r0 = s.out___77694; + r0 = (s.offset___77718 + 6); s.tmp_1 = r0; s.tmp_3 = if_volume_1_mk(s); - r0 = pxsim_Array__getAt(s.steps___24463, s.i___24682); + r0 = pxsim_Array__getAt(s.steps___77492, s.i___77711); s.tmp_3.arg0 = r0; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "volume"); @@ -63321,12 +63354,12 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.tmp_2); - s.tmp_0 = r0 = s.out___24665; - r0 = (s.offset___24689 + 8); + s.tmp_0 = r0 = s.out___77694; + r0 = (s.offset___77718 + 8); s.tmp_1 = r0; s.tmp_3 = if_volume_1_mk(s); - s.tmp_4 = r0 = s.steps___24463; - r0 = (s.i___24682 + 1); + s.tmp_4 = r0 = s.steps___77492; + r0 = (s.i___77711 + 1); s.tmp_5 = r0; r0 = pxsim_Array__getAt(s.tmp_4, s.tmp_5); s.tmp_3.arg0 = r0; @@ -63342,12 +63375,12 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.tmp_2); - s.tmp_0 = r0 = s.out___24665; - r0 = (s.offset___24689 + 10); + s.tmp_0 = r0 = s.out___77694; + r0 = (s.offset___77718 + 10); s.tmp_1 = r0; s.tmp_3 = if_frequency_1_mk(s); - s.tmp_4 = r0 = s.steps___24463; - r0 = (s.i___24682 + 1); + s.tmp_4 = r0 = s.steps___77492; + r0 = (s.i___77711 + 1); s.tmp_5 = r0; r0 = pxsim_Array__getAt(s.tmp_4, s.tmp_5); s.tmp_3.arg0 = r0; @@ -63363,20 +63396,20 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim.BufferMethods.setNumber(s.tmp_0, 4, s.tmp_1, s.tmp_2); - r0 = (s.i___24682 + 1); - s.i___24682 = (r0); + r0 = (s.i___77711 + 1); + s.i___77711 = (r0); { step = 23; continue; } case 24: - r0 = s.out___24665; + r0 = s.out___77694; return leave(s, r0) default: oops() } } } -music_soundToInstructionBuffer__P1779.info = {"start":5638,"length":3866,"line":181,"column":5,"endLine":265,"endColumn":5,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"soundToInstructionBuffer","argumentNames":["waveShape","startFrequency","endFrequency","startVolume","endVolume","duration","effect","interpolation","fxSteps","fxRange","globalVolume"]} +music_soundToInstructionBuffer__P54791.info = {"start":5638,"length":3866,"line":181,"column":5,"endLine":265,"endColumn":5,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"soundToInstructionBuffer","argumentNames":["waveShape","startFrequency","endFrequency","startVolume","endVolume","duration","effect","interpolation","fxSteps","fxRange","globalVolume"]} -function music_soundToInstructionBuffer__P1779_mk(s) { +function music_soundToInstructionBuffer__P54791_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_soundToInstructionBuffer__P1779, depth: s.depth + 1, + parent: s, fn: music_soundToInstructionBuffer__P54791, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63386,16 +63419,16 @@ function music_soundToInstructionBuffer__P1779_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - steps___24463: undefined, - getVolumeAt___24497: undefined, - getFrequencyAt___24514: undefined, - timeSlice___24574: undefined, - i___24578: undefined, - newStep___24583: undefined, - out___24665: undefined, - stepDuration___24674: undefined, - i___24682: undefined, - offset___24689: undefined, + steps___77492: undefined, + getVolumeAt___77526: undefined, + getFrequencyAt___77543: undefined, + timeSlice___77603: undefined, + i___77607: undefined, + newStep___77612: undefined, + out___77694: undefined, + stepDuration___77703: undefined, + i___77711: undefined, + offset___77718: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -63413,7 +63446,7 @@ function music_soundToInstructionBuffer__P1779_mk(s) { -function getVolumeAt_inline__P24498(s) { +function getVolumeAt_inline__P77527(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63443,12 +63476,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -getVolumeAt_inline__P24498.info = {"start":6507,"length":94,"line":199,"column":32,"endLine":199,"endColumn":126,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"inline","argumentNames":["t"]} +getVolumeAt_inline__P77527.info = {"start":6507,"length":94,"line":199,"column":32,"endLine":199,"endColumn":126,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"inline","argumentNames":["t"]} -function getVolumeAt_inline__P24498_mk(s) { +function getVolumeAt_inline__P77527_mk(s) { checkStack(s.depth); return { - parent: s, fn: getVolumeAt_inline__P24498, depth: s.depth + 1, + parent: s, fn: getVolumeAt_inline__P77527, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63464,7 +63497,7 @@ function getVolumeAt_inline__P24498_mk(s) { -function music_soundToInstructionBuffer_inline__P24521(s) { +function music_soundToInstructionBuffer_inline__P77550(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63490,12 +63523,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_soundToInstructionBuffer_inline__P24521.info = {"start":6781,"length":68,"line":204,"column":37,"endLine":204,"endColumn":105,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"inline","argumentNames":["t"]} +music_soundToInstructionBuffer_inline__P77550.info = {"start":6781,"length":68,"line":204,"column":37,"endLine":204,"endColumn":105,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"inline","argumentNames":["t"]} -function music_soundToInstructionBuffer_inline__P24521_mk(s) { +function music_soundToInstructionBuffer_inline__P77550_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_soundToInstructionBuffer_inline__P24521, depth: s.depth + 1, + parent: s, fn: music_soundToInstructionBuffer_inline__P77550, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63509,7 +63542,7 @@ function music_soundToInstructionBuffer_inline__P24521_mk(s) { -function music_soundToInstructionBuffer_inline__P24533(s) { +function music_soundToInstructionBuffer_inline__P77562(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63538,12 +63571,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_soundToInstructionBuffer_inline__P24533.info = {"start":6962,"length":94,"line":207,"column":37,"endLine":207,"endColumn":131,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"inline","argumentNames":["t"]} +music_soundToInstructionBuffer_inline__P77562.info = {"start":6962,"length":94,"line":207,"column":37,"endLine":207,"endColumn":131,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"inline","argumentNames":["t"]} -function music_soundToInstructionBuffer_inline__P24533_mk(s) { +function music_soundToInstructionBuffer_inline__P77562_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_soundToInstructionBuffer_inline__P24533, depth: s.depth + 1, + parent: s, fn: music_soundToInstructionBuffer_inline__P77562, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63558,7 +63591,7 @@ function music_soundToInstructionBuffer_inline__P24533_mk(s) { -function music_soundToInstructionBuffer_inline__P24552(s) { +function music_soundToInstructionBuffer_inline__P77581(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63593,12 +63626,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_soundToInstructionBuffer_inline__P24552.info = {"start":7175,"length":105,"line":210,"column":37,"endLine":210,"endColumn":142,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"inline","argumentNames":["t"]} +music_soundToInstructionBuffer_inline__P77581.info = {"start":7175,"length":105,"line":210,"column":37,"endLine":210,"endColumn":142,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"inline","argumentNames":["t"]} -function music_soundToInstructionBuffer_inline__P24552_mk(s) { +function music_soundToInstructionBuffer_inline__P77581_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_soundToInstructionBuffer_inline__P24552, depth: s.depth + 1, + parent: s, fn: music_soundToInstructionBuffer_inline__P77581, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63616,7 +63649,7 @@ function music_soundToInstructionBuffer_inline__P24552_mk(s) { -function music_waveToValue__P4611(s) { +function music_waveToValue__P57624(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63664,12 +63697,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_waveToValue__P4611.info = {"start":9510,"length":307,"line":267,"column":4,"endLine":275,"endColumn":5,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"waveToValue","argumentNames":["wave"]} +music_waveToValue__P57624.info = {"start":9510,"length":307,"line":267,"column":4,"endLine":275,"endColumn":5,"fileName":"pxt_modules/mixer/soundEffect.ts","functionName":"waveToValue","argumentNames":["wave"]} -function music_waveToValue__P4611_mk(s) { +function music_waveToValue__P57624_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_waveToValue__P4611, depth: s.depth + 1, + parent: s, fn: music_waveToValue__P57624, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -63679,7 +63712,7 @@ function music_waveToValue__P4611_mk(s) { -function particles_FireSource_updateParticle__P3155(s) { +function particles_FireSource_updateParticle__P56167(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63696,12 +63729,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_FireSource__C3153_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_updateParticle__P5363_mk(s); + if (!checkSubtype(r0, particles_FireSource__C56165_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_updateParticle__P58376_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.callLocIdx = 1878; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1879; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = s.arg1.fields["next"]; @@ -63711,11 +63744,11 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = Math_FastRandom_percentChance__P3046_mk(s); + s.tmp_1 = Math_FastRandom_percentChance__P56058_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 30; - s.callLocIdx = 1879; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1880; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; case 2: @@ -63737,12 +63770,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_FireSource_updateParticle__P3155.info = {"start":10620,"length":240,"line":348,"column":8,"endLine":354,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} +particles_FireSource_updateParticle__P56167.info = {"start":10620,"length":240,"line":348,"column":8,"endLine":354,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticle","argumentNames":["this","p","fixedDt"]} -function particles_FireSource_updateParticle__P3155_mk(s) { +function particles_FireSource_updateParticle__P56167_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_FireSource_updateParticle__P3155, depth: s.depth + 1, + parent: s, fn: particles_FireSource_updateParticle__P56167, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63757,7 +63790,7 @@ function particles_FireSource_updateParticle__P3155_mk(s) { -function particles_FireFactory_createParticle__P3202(s) { +function particles_FireFactory_createParticle__P56214(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63767,27 +63800,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___24790 = undefined; - s.i___24802 = undefined; - s.r___24809 = undefined; + s.p___77819 = undefined; + s.i___77831 = undefined; + s.r___77838 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_FireFactory__C3200_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P3169_mk(s); + if (!checkSubtype(r0, particles_FireFactory__C56212_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P56181_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1945; s.pc = 5; return s.tmp_0; + s.callLocIdx = 1946; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.p___24790 = (r0); - s.tmp_1 = Math_FastRandom_randomBool__P3045_mk(s); + s.p___77819 = (r0); + s.tmp_1 = Math_FastRandom_randomBool__P56057_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; - s.callLocIdx = 1946; s.pc = 6; return s.tmp_1; + s.callLocIdx = 1947; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; s.tmp_0 = r0; @@ -63796,10 +63829,10 @@ switch (step) { r0 = 2; { step = 4; continue; } case 1: - s.tmp_3 = Math_FastRandom_randomBool__P3045_mk(s); + s.tmp_3 = Math_FastRandom_randomBool__P56057_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_3.arg0 = r0; - s.callLocIdx = 1947; s.pc = 7; return s.tmp_3; + s.callLocIdx = 1948; s.pc = 7; return s.tmp_3; case 7: r0 = s.retval; s.tmp_2 = r0; @@ -63816,29 +63849,29 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - r0 = (s.p___24790).fields["color"] = (s.tmp_5); - s.tmp_0 = Math_FastRandom_randomRange__P3043_mk(s); + r0 = (s.p___77819).fields["color"] = (s.tmp_5); + s.tmp_0 = Math_FastRandom_randomRange__P56055_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 0; - r0 = pxsim_Array__length(globals.cachedCos___5374); + r0 = pxsim_Array__length(globals.cachedCos___58387); s.tmp_0.arg2 = r0; - s.callLocIdx = 1948; s.pc = 8; return s.tmp_0; + s.callLocIdx = 1949; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.i___24802 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P3043_mk(s); + s.i___77831 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P56055_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["minRadius"]; s.tmp_0.arg1 = r0; r0 = s.arg0.fields["maxRadius"]; s.tmp_0.arg2 = r0; - s.callLocIdx = 1949; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1950; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.r___24809 = (r0); - s.tmp_0 = r0 = s.p___24790; + s.r___77838 = (r0); + s.tmp_0 = r0 = s.p___77819; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -63847,16 +63880,16 @@ 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 = 1950; s.pc = 10; return s.tmp_3; } + else { s.callLocIdx = 1951; s.pc = 10; return s.tmp_3; } } case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.r___24809 * 256); + r0 = (s.r___77838 * 256); s.tmp_6 = r0; r0 = (s.tmp_6 | 0); s.tmp_5 = r0; - r0 = pxsim_Array__getAt(globals.cachedCos___5374, s.i___24802); + r0 = pxsim_Array__getAt(globals.cachedCos___58387, s.i___77831); s.tmp_7 = r0; r0 = pxsim.Math_.imul(s.tmp_5, s.tmp_7); s.tmp_8 = r0; @@ -63867,7 +63900,7 @@ switch (step) { r0 = (s.tmp_9 + s.tmp_4); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___24790; + s.tmp_0 = r0 = s.p___77819; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -63876,16 +63909,16 @@ 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 = 1954; s.pc = 11; return s.tmp_3; } + else { s.callLocIdx = 1955; s.pc = 11; return s.tmp_3; } } case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.r___24809 * 256); + r0 = (s.r___77838 * 256); s.tmp_6 = r0; r0 = (s.tmp_6 | 0); s.tmp_5 = r0; - r0 = pxsim_Array__getAt(globals.cachedSin___5373, s.i___24802); + r0 = pxsim_Array__getAt(globals.cachedSin___58386, s.i___77831); s.tmp_7 = r0; r0 = pxsim.Math_.imul(s.tmp_5, s.tmp_7); s.tmp_8 = r0; @@ -63896,7 +63929,7 @@ switch (step) { r0 = (s.tmp_9 + s.tmp_4); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___24790; + s.tmp_0 = r0 = s.p___77819; r0 = pxsim.Math_.randomRange(0, 10); s.tmp_2 = r0; r0 = (s.tmp_2 * 256); @@ -63904,7 +63937,7 @@ switch (step) { r0 = (s.tmp_3 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___24790; + s.tmp_0 = r0 = s.p___77819; r0 = pxsim.Math_.randomRange(-5, 5); s.tmp_2 = r0; r0 = (s.tmp_2 * 256); @@ -63912,17 +63945,17 @@ switch (step) { r0 = (s.tmp_3 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vx"] = (s.tmp_1); - r0 = (s.p___24790).fields["lifespan"] = (1500); - r0 = s.p___24790; + r0 = (s.p___77819).fields["lifespan"] = (1500); + r0 = s.p___77819; return leave(s, r0) default: oops() } } } -particles_FireFactory_createParticle__P3202.info = {"start":8876,"length":662,"line":290,"column":8,"endLine":306,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +particles_FireFactory_createParticle__P56214.info = {"start":8876,"length":662,"line":290,"column":8,"endLine":306,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} -function particles_FireFactory_createParticle__P3202_mk(s) { +function particles_FireFactory_createParticle__P56214_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_FireFactory_createParticle__P3202, depth: s.depth + 1, + parent: s, fn: particles_FireFactory_createParticle__P56214, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63934,9 +63967,9 @@ function particles_FireFactory_createParticle__P3202_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - p___24790: undefined, - i___24802: undefined, - r___24809: undefined, + p___77819: undefined, + i___77831: undefined, + r___77838: undefined, arg0: undefined, arg1: undefined, } } @@ -63945,7 +63978,7 @@ function particles_FireFactory_createParticle__P3202_mk(s) { -function Math_FastRandom_randomBool__P3045(s) { +function Math_FastRandom_randomBool__P56057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -63960,10 +63993,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C3039_VT)) failedCast(r0); - s.tmp_3 = Math_FastRandom_next__P3042_mk(s); + if (!checkSubtype(r0, Math_FastRandom__C56051_VT)) failedCast(r0); + s.tmp_3 = Math_FastRandom_next__P56054_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1656; s.pc = 1; return s.tmp_3; + s.callLocIdx = 1657; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; s.tmp_2 = r0; @@ -63975,12 +64008,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomBool__P3045.info = {"start":2627,"length":72,"line":80,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"randomBool","argumentNames":["this"]} +Math_FastRandom_randomBool__P56057.info = {"start":2627,"length":72,"line":80,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/mathUtil.ts","functionName":"randomBool","argumentNames":["this"]} -function Math_FastRandom_randomBool__P3045_mk(s) { +function Math_FastRandom_randomBool__P56057_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomBool__P3045, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomBool__P56057, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -63993,7 +64026,7 @@ function Math_FastRandom_randomBool__P3045_mk(s) { -function Fx_iadd__P158(s) { +function Fx_iadd__P53170(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64014,12 +64047,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__P53170.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__P53170_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P158, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P53170, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -64030,7 +64063,7 @@ function Fx_iadd__P158_mk(s) { -function animation_MovementAnimation_constructor__P3340(s) { +function animation_MovementAnimation_constructor__P56352(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64049,28 +64082,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_MovementAnimation__C3339_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_MovementAnimation__C56351_VT)) failedCast(r0); r0 = (s.arg0).fields["path"] = (s.arg2); r0 = (s.arg0).fields["nodeInterval"] = (s.arg3); - s.tmp_0 = animation_SpriteAnimation_constructor__P3333_mk(s); + s.tmp_0 = animation_SpriteAnimation_constructor__P56345_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg4; - s.callLocIdx = 2144; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2145; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_x__P2334_mk(s); + s.tmp_2 = Sprite_x__P55346_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 2145; s.pc = 2; return s.tmp_2; + s.callLocIdx = 2146; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["startX"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_y__P2336_mk(s); + s.tmp_2 = Sprite_y__P55348_mk(s); s.tmp_2.arg0 = s.arg1; - s.callLocIdx = 2146; s.pc = 3; return s.tmp_2; + s.callLocIdx = 2147; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_1 = r0; @@ -64080,12 +64113,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_MovementAnimation_constructor__P3340.info = {"start":20275,"length":244,"line":555,"column":8,"endLine":560,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","sprite","path","nodeInterval","loop"]} +animation_MovementAnimation_constructor__P56352.info = {"start":20275,"length":244,"line":555,"column":8,"endLine":560,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","sprite","path","nodeInterval","loop"]} -function animation_MovementAnimation_constructor__P3340_mk(s) { +function animation_MovementAnimation_constructor__P56352_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_MovementAnimation_constructor__P3340, depth: s.depth + 1, + parent: s, fn: animation_MovementAnimation_constructor__P56352, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -64101,7 +64134,7 @@ function animation_MovementAnimation_constructor__P3340_mk(s) { -function animation_MovementAnimation_update__P3341(s) { +function animation_MovementAnimation_update__P56353(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64111,18 +64144,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.result___24895 = undefined; + s.result___77924 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_MovementAnimation__C3339_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_MovementAnimation__C56351_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["elapsedTime"]; s.tmp_2 = r0; - s.tmp_4 = game_eventContext__P2982_mk(s); - s.callLocIdx = 2147; s.pc = 6; return s.tmp_4; + s.tmp_4 = game_eventContext__P55994_mk(s); + s.callLocIdx = 2148; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; r0 = r0.fields["deltaTimeMillis"]; @@ -64130,7 +64163,7 @@ switch (step) { r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; r0 = (s.tmp_0).fields["elapsedTime"] = (s.tmp_1); - s.tmp_0 = animation_Path_run__P3331_mk(s); + s.tmp_0 = animation_Path_run__P56343_mk(s); r0 = s.arg0.fields["path"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["nodeInterval"]; @@ -64139,11 +64172,11 @@ switch (step) { s.tmp_0.arg2 = r0; r0 = s.arg0.fields["elapsedTime"]; s.tmp_0.arg3 = r0; - s.callLocIdx = 2148; s.pc = 7; return s.tmp_0; + s.callLocIdx = 2149; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.result___24895 = (r0); - r0 = pxsim_numops_toBoolDecr(s.result___24895); + s.result___77924 = (r0); + r0 = pxsim_numops_toBoolDecr(s.result___77924); if (!r0) { step = 3; continue; } r0 = s.arg0.fields["loop"]; s.tmp_2 = r0; @@ -64158,26 +64191,26 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["elapsedTime"] = (0); - s.tmp_0 = animation_Path_reset__P3330_mk(s); + s.tmp_0 = animation_Path_reset__P56342_mk(s); r0 = s.arg0.fields["path"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 2149; s.pc = 8; return s.tmp_0; + s.callLocIdx = 2150; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_x__P2335_mk(s); + s.tmp_0 = Sprite_x__P55347_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["startX"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 2150; s.pc = 9; return s.tmp_0; + s.callLocIdx = 2151; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = Sprite_y__P2337_mk(s); + s.tmp_0 = Sprite_y__P55349_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["startY"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 2151; s.pc = 10; return s.tmp_0; + s.callLocIdx = 2152; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; case 3: @@ -64187,19 +64220,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_MovementAnimation_update__P3341.info = {"start":20529,"length":470,"line":562,"column":8,"endLine":574,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"update","argumentNames":["this"]} +animation_MovementAnimation_update__P56353.info = {"start":20529,"length":470,"line":562,"column":8,"endLine":574,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"update","argumentNames":["this"]} -function animation_MovementAnimation_update__P3341_mk(s) { +function animation_MovementAnimation_update__P56353_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_MovementAnimation_update__P3341, depth: s.depth + 1, + parent: s, fn: animation_MovementAnimation_update__P56353, 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, - result___24895: undefined, + result___77924: undefined, arg0: undefined, } } @@ -64207,7 +64240,7 @@ function animation_MovementAnimation_update__P3341_mk(s) { -function animation_Path_run__P3331(s) { +function animation_Path_run__P56343(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64217,8 +64250,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.nodeIndex___24967 = undefined; - s.nodeTime___24973 = undefined; + s.nodeIndex___77996 = undefined; + s.nodeTime___78002 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -64227,13 +64260,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Path__C3327_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Path__C56339_VT)) failedCast(r0); r0 = (s.arg3 / s.arg1); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.nodeIndex___24967 = (r0); + s.nodeIndex___77996 = (r0); r0 = (s.arg3 % s.arg1); - s.nodeTime___24973 = (r0); + s.nodeTime___78002 = (r0); r0 = s.arg0.fields["startX"]; s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); @@ -64241,41 +64274,41 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } s.tmp_2 = r0 = s.arg0; - s.tmp_4 = Sprite_x__P2334_mk(s); + s.tmp_4 = Sprite_x__P55346_mk(s); s.tmp_4.arg0 = s.arg2; - s.callLocIdx = 2092; s.pc = 10; return s.tmp_4; + s.callLocIdx = 2093; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2).fields["startX"] = (s.tmp_3); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_y__P2336_mk(s); + s.tmp_2 = Sprite_y__P55348_mk(s); s.tmp_2.arg0 = s.arg2; - s.callLocIdx = 2093; s.pc = 11; return s.tmp_2; + s.callLocIdx = 2094; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["startY"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_x__P2334_mk(s); + s.tmp_2 = Sprite_x__P55346_mk(s); s.tmp_2.arg0 = s.arg2; - s.callLocIdx = 2094; s.pc = 12; return s.tmp_2; + s.callLocIdx = 2095; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lastX"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_y__P2336_mk(s); + s.tmp_2 = Sprite_y__P55348_mk(s); s.tmp_2.arg0 = s.arg2; - s.callLocIdx = 2095; s.pc = 13; return s.tmp_2; + s.callLocIdx = 2096; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lastY"] = (s.tmp_1); r0 = (s.arg0).fields["commandIndex"] = (0); - s.tmp_0 = animation_Path_readNextCommand__P5444_mk(s); + s.tmp_0 = animation_Path_readNextCommand__P58457_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2096; s.pc = 14; return s.tmp_0; + s.callLocIdx = 2097; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 1: @@ -64283,7 +64316,7 @@ switch (step) { case 3: r0 = s.arg0.fields["commandIndex"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.nodeIndex___24967); + r0 = (s.tmp_1 < s.nodeIndex___77996); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -64291,26 +64324,26 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 4; continue; } - s.tmp_3 = animation_Path_runCurrentCommand__P5447_mk(s); + s.tmp_3 = animation_Path_runCurrentCommand__P58460_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = s.arg2; s.tmp_3.arg2 = s.arg1; s.tmp_3.arg3 = s.arg1; - s.callLocIdx = 2097; s.pc = 15; return s.tmp_3; + s.callLocIdx = 2098; s.pc = 15; return s.tmp_3; case 15: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_x__P2334_mk(s); + s.tmp_2 = Sprite_x__P55346_mk(s); s.tmp_2.arg0 = s.arg2; - s.callLocIdx = 2098; s.pc = 16; return s.tmp_2; + s.callLocIdx = 2099; s.pc = 16; return s.tmp_2; case 16: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lastX"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_y__P2336_mk(s); + s.tmp_2 = Sprite_y__P55348_mk(s); s.tmp_2.arg0 = s.arg2; - s.callLocIdx = 2099; s.pc = 17; return s.tmp_2; + s.callLocIdx = 2100; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; s.tmp_1 = r0; @@ -64323,16 +64356,16 @@ switch (step) { r0 = (s.tmp_2 + 1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["commandIndex"] = (s.tmp_1); - s.tmp_0 = animation_Path_readNextCommand__P5444_mk(s); + s.tmp_0 = animation_Path_readNextCommand__P58457_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2100; s.pc = 18; return s.tmp_0; + s.callLocIdx = 2101; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; { step = 3; continue; } case 6: r0 = s.arg0.fields["length"]; s.tmp_1 = r0; - r0 = (s.nodeIndex___24967 >= s.tmp_1); + r0 = (s.nodeIndex___77996 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -64340,12 +64373,12 @@ switch (step) { { step = 9; continue; } case 7: case 8: - s.tmp_2 = animation_Path_runCurrentCommand__P5447_mk(s); + s.tmp_2 = animation_Path_runCurrentCommand__P58460_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg2; - s.tmp_2.arg2 = s.nodeTime___24973; + s.tmp_2.arg2 = s.nodeTime___78002; s.tmp_2.arg3 = s.arg1; - s.callLocIdx = 2101; s.pc = 19; return s.tmp_2; + s.callLocIdx = 2102; s.pc = 19; return s.tmp_2; case 19: r0 = s.retval; r0 = false; @@ -64353,20 +64386,20 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Path_run__P3331.info = {"start":4368,"length":1111,"line":150,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"run","argumentNames":["this","interval","target","runningTime"]} +animation_Path_run__P56343.info = {"start":4368,"length":1111,"line":150,"column":8,"endLine":179,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"run","argumentNames":["this","interval","target","runningTime"]} -function animation_Path_run__P3331_mk(s) { +function animation_Path_run__P56343_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Path_run__P3331, depth: s.depth + 1, + parent: s, fn: animation_Path_run__P56343, 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, - nodeIndex___24967: undefined, - nodeTime___24973: undefined, + nodeIndex___77996: undefined, + nodeTime___78002: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -64377,7 +64410,7 @@ function animation_Path_run__P3331_mk(s) { -function animation_Path_runCurrentCommand__P5447(s) { +function animation_Path_runCurrentCommand__P58460(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -64395,7 +64428,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Path__C3327_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Path__C56339_VT)) failedCast(r0); r0 = s.arg0.fields["currentCommand"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq("M", s.tmp_0); @@ -64439,7 +64472,7 @@ switch (step) { case 1: r0 = (s.arg0).fields["lastControlX"] = (undefined); r0 = (s.arg0).fields["lastControlY"] = (undefined); - s.tmp_0 = animation_moveTo__P5449_mk(s); + s.tmp_0 = animation_moveTo__P58462_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -64451,14 +64484,14 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, 1); s.tmp_0.arg4 = r0; - s.callLocIdx = 2102; s.pc = 28; return s.tmp_0; + s.callLocIdx = 2103; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; { step = 27; continue; } case 2: r0 = (s.arg0).fields["lastControlX"] = (undefined); r0 = (s.arg0).fields["lastControlY"] = (undefined); - s.tmp_0 = animation_moveTo__P5449_mk(s); + s.tmp_0 = animation_moveTo__P58462_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -64478,14 +64511,14 @@ switch (step) { s.tmp_6 = r0; r0 = (s.tmp_4 + s.tmp_6); s.tmp_0.arg4 = r0; - s.callLocIdx = 2103; s.pc = 29; return s.tmp_0; + s.callLocIdx = 2104; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; { step = 27; continue; } case 3: r0 = (s.arg0).fields["lastControlX"] = (undefined); r0 = (s.arg0).fields["lastControlY"] = (undefined); - s.tmp_0 = animation_lineTo__P5450_mk(s); + s.tmp_0 = animation_lineTo__P58463_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -64501,14 +64534,14 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, 1); s.tmp_0.arg6 = r0; - s.callLocIdx = 2104; s.pc = 30; return s.tmp_0; + s.callLocIdx = 2105; s.pc = 30; return s.tmp_0; case 30: r0 = s.retval; { step = 27; continue; } case 4: r0 = (s.arg0).fields["lastControlX"] = (undefined); r0 = (s.arg0).fields["lastControlY"] = (undefined); - s.tmp_0 = animation_lineTo__P5450_mk(s); + s.tmp_0 = animation_lineTo__P58463_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -64532,14 +64565,14 @@ switch (step) { s.tmp_6 = r0; r0 = (s.tmp_4 + s.tmp_6); s.tmp_0.arg6 = r0; - s.callLocIdx = 2105; s.pc = 31; return s.tmp_0; + s.callLocIdx = 2106; s.pc = 31; return s.tmp_0; case 31: r0 = s.retval; { step = 27; continue; } case 5: r0 = (s.arg0).fields["lastControlX"] = (undefined); r0 = (s.arg0).fields["lastControlY"] = (undefined); - s.tmp_0 = animation_lineTo__P5450_mk(s); + s.tmp_0 = animation_lineTo__P58463_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -64553,14 +64586,14 @@ switch (step) { s.tmp_0.arg5 = r0; r0 = s.arg0.fields["lastY"]; s.tmp_0.arg6 = r0; - s.callLocIdx = 2106; s.pc = 32; return s.tmp_0; + s.callLocIdx = 2107; s.pc = 32; return s.tmp_0; case 32: r0 = s.retval; { step = 27; continue; } case 6: r0 = (s.arg0).fields["lastControlX"] = (undefined); r0 = (s.arg0).fields["lastControlY"] = (undefined); - s.tmp_0 = animation_lineTo__P5450_mk(s); + s.tmp_0 = animation_lineTo__P58463_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -64578,14 +64611,14 @@ switch (step) { s.tmp_0.arg5 = r0; r0 = s.arg0.fields["lastY"]; s.tmp_0.arg6 = r0; - s.callLocIdx = 2107; s.pc = 33; return s.tmp_0; + s.callLocIdx = 2108; s.pc = 33; return s.tmp_0; case 33: r0 = s.retval; { step = 27; continue; } case 7: r0 = (s.arg0).fields["lastControlX"] = (undefined); r0 = (s.arg0).fields["lastControlY"] = (undefined); - s.tmp_0 = animation_lineTo__P5450_mk(s); + s.tmp_0 = animation_lineTo__P58463_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -64599,14 +64632,14 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_Array__getAt(s.tmp_1, 0); s.tmp_0.arg6 = r0; - s.callLocIdx = 2108; s.pc = 34; return s.tmp_0; + s.callLocIdx = 2109; s.pc = 34; return s.tmp_0; case 34: r0 = s.retval; { step = 27; continue; } case 8: r0 = (s.arg0).fields["lastControlX"] = (undefined); r0 = (s.arg0).fields["lastControlY"] = (undefined); - s.tmp_0 = animation_lineTo__P5450_mk(s); + s.tmp_0 = animation_lineTo__P58463_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -64624,7 +64657,7 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_1 + s.tmp_3); s.tmp_0.arg6 = r0; - s.callLocIdx = 2109; s.pc = 35; return s.tmp_0; + s.callLocIdx = 2110; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; { step = 27; continue; } @@ -64641,7 +64674,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_2, 1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["lastControlY"] = (s.tmp_1); - s.tmp_0 = animation_quadraticCurveTo__P5451_mk(s); + s.tmp_0 = animation_quadraticCurveTo__P58464_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -64665,7 +64698,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_Array__getAt(s.tmp_4, 3); s.tmp_0.arg8 = r0; - s.callLocIdx = 2110; s.pc = 36; return s.tmp_0; + s.callLocIdx = 2111; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; { step = 27; continue; } @@ -64690,7 +64723,7 @@ switch (step) { r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; r0 = (s.tmp_0).fields["lastControlY"] = (s.tmp_1); - s.tmp_0 = animation_quadraticCurveTo__P5451_mk(s); + s.tmp_0 = animation_quadraticCurveTo__P58464_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -64730,17 +64763,17 @@ switch (step) { s.tmp_12 = r0; r0 = (s.tmp_10 + s.tmp_12); s.tmp_0.arg8 = r0; - s.callLocIdx = 2111; s.pc = 37; return s.tmp_0; + s.callLocIdx = 2112; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; { step = 27; continue; } case 11: - s.tmp_0 = animation_Path_ensureControlPoint__P5448_mk(s); + s.tmp_0 = animation_Path_ensureControlPoint__P58461_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2112; s.pc = 38; return s.tmp_0; + s.callLocIdx = 2113; s.pc = 38; return s.tmp_0; case 38: r0 = s.retval; - s.tmp_0 = animation_quadraticCurveTo__P5451_mk(s); + s.tmp_0 = animation_quadraticCurveTo__P58464_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -64776,7 +64809,7 @@ switch (step) { s.tmp_10 = r0; r0 = pxsim_Array__getAt(s.tmp_10, 1); s.tmp_0.arg8 = r0; - s.callLocIdx = 2113; s.pc = 39; return s.tmp_0; + s.callLocIdx = 2114; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; r0 = (s.arg2 === s.arg3); @@ -64811,12 +64844,12 @@ switch (step) { case 13: { step = 27; continue; } case 14: - s.tmp_0 = animation_Path_ensureControlPoint__P5448_mk(s); + s.tmp_0 = animation_Path_ensureControlPoint__P58461_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2114; s.pc = 40; return s.tmp_0; + s.callLocIdx = 2115; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.tmp_0 = animation_quadraticCurveTo__P5451_mk(s); + s.tmp_0 = animation_quadraticCurveTo__P58464_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -64860,7 +64893,7 @@ switch (step) { s.tmp_14 = r0; r0 = (s.tmp_12 + s.tmp_14); s.tmp_0.arg8 = r0; - s.callLocIdx = 2115; s.pc = 41; return s.tmp_0; + s.callLocIdx = 2116; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; r0 = (s.arg2 === s.arg3); @@ -64907,7 +64940,7 @@ switch (step) { r0 = pxsim_Array__getAt(s.tmp_2, 3); s.tmp_1 = r0; r0 = (s.tmp_0).fields["lastControlY"] = (s.tmp_1); - s.tmp_0 = animation_cubicCurveTo__P5452_mk(s); + s.tmp_0 = animation_cubicCurveTo__P58465_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -64939,7 +64972,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_Array__getAt(s.tmp_6, 5); s.tmp_0.arg10 = r0; - s.callLocIdx = 2116; s.pc = 42; return s.tmp_0; + s.callLocIdx = 2117; s.pc = 42; return s.tmp_0; case 42: r0 = s.retval; { step = 27; continue; } @@ -64964,7 +64997,7 @@ switch (step) { r0 = (s.tmp_2 + s.tmp_4); s.tmp_1 = r0; r0 = (s.tmp_0).fields["lastControlY"] = (s.tmp_1); - s.tmp_0 = animation_cubicCurveTo__P5452_mk(s); + s.tmp_0 = animation_cubicCurveTo__P58465_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -65020,17 +65053,17 @@ switch (step) { s.tmp_18 = r0; r0 = (s.tmp_16 + s.tmp_18); s.tmp_0.arg10 = r0; - s.callLocIdx = 2117; s.pc = 43; return s.tmp_0; + s.callLocIdx = 2118; s.pc = 43; return s.tmp_0; case 43: r0 = s.retval; { step = 27; continue; } case 19: - s.tmp_0 = animation_Path_ensureControlPoint__P5448_mk(s); + s.tmp_0 = animation_Path_ensureControlPoint__P58461_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2118; s.pc = 44; return s.tmp_0; + s.callLocIdx = 2119; s.pc = 44; return s.tmp_0; case 44: r0 = s.retval; - s.tmp_0 = animation_cubicCurveTo__P5452_mk(s); + s.tmp_0 = animation_cubicCurveTo__P58465_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -65074,7 +65107,7 @@ switch (step) { s.tmp_12 = r0; r0 = pxsim_Array__getAt(s.tmp_12, 3); s.tmp_0.arg10 = r0; - s.callLocIdx = 2119; s.pc = 45; return s.tmp_0; + s.callLocIdx = 2120; s.pc = 45; return s.tmp_0; case 45: r0 = s.retval; r0 = (s.arg2 === s.arg3); @@ -65097,12 +65130,12 @@ switch (step) { case 21: { step = 27; continue; } case 22: - s.tmp_0 = animation_Path_ensureControlPoint__P5448_mk(s); + s.tmp_0 = animation_Path_ensureControlPoint__P58461_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2120; s.pc = 46; return s.tmp_0; + s.callLocIdx = 2121; s.pc = 46; return s.tmp_0; case 46: r0 = s.retval; - s.tmp_0 = animation_cubicCurveTo__P5452_mk(s); + s.tmp_0 = animation_cubicCurveTo__P58465_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -65162,7 +65195,7 @@ switch (step) { s.tmp_20 = r0; r0 = (s.tmp_18 + s.tmp_20); s.tmp_0.arg10 = r0; - s.callLocIdx = 2121; s.pc = 47; return s.tmp_0; + s.callLocIdx = 2122; s.pc = 47; return s.tmp_0; case 47: r0 = s.retval; r0 = (s.arg2 === s.arg3); @@ -65196,7 +65229,7 @@ switch (step) { case 26: r0 = (s.arg0).fields["lastControlX"] = (undefined); r0 = (s.arg0).fields["lastControlY"] = (undefined); - s.tmp_0 = animation_lineTo__P5450_mk(s); + s.tmp_0 = animation_lineTo__P58463_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -65208,7 +65241,7 @@ switch (step) { s.tmp_0.arg5 = r0; r0 = s.arg0.fields["startY"]; s.tmp_0.arg6 = r0; - s.callLocIdx = 2122; s.pc = 48; return s.tmp_0; + s.callLocIdx = 2123; s.pc = 48; return s.tmp_0; case 48: r0 = s.retval; case 27: @@ -65216,12 +65249,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Path_runCurrentCommand__P5447.info = {"start":5489,"length":10309,"line":181,"column":8,"endLine":438,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"runCurrentCommand","argumentNames":["this","target","nodeTime","intervalTime"]} +animation_Path_runCurrentCommand__P58460.info = {"start":5489,"length":10309,"line":181,"column":8,"endLine":438,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"runCurrentCommand","argumentNames":["this","target","nodeTime","intervalTime"]} -function animation_Path_runCurrentCommand__P5447_mk(s) { +function animation_Path_runCurrentCommand__P58460_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Path_runCurrentCommand__P5447, depth: s.depth + 1, + parent: s, fn: animation_Path_runCurrentCommand__P58460, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65254,7 +65287,7 @@ function animation_Path_runCurrentCommand__P5447_mk(s) { -function animation_cubicCurveTo__P5452(s) { +function animation_cubicCurveTo__P58465(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65264,12 +65297,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.progress___25611 = undefined; - s.diff___25615 = undefined; - s.a___25619 = undefined; - s.b___25625 = undefined; - s.c___25633 = undefined; - s.d___25641 = undefined; + s.progress___78640 = undefined; + s.diff___78644 = undefined; + s.a___78648 = undefined; + s.b___78654 = undefined; + s.c___78662 = undefined; + s.d___78670 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -65285,76 +65318,76 @@ switch (step) { s.lambdaArgs = null; } r0 = (s.arg1 / s.arg2); - s.progress___25611 = (r0); - r0 = (1 - s.progress___25611); - s.diff___25615 = (r0); - r0 = (s.diff___25615 * s.diff___25615); + s.progress___78640 = (r0); + r0 = (1 - s.progress___78640); + s.diff___78644 = (r0); + r0 = (s.diff___78644 * s.diff___78644); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.diff___25615); - s.a___25619 = (r0); - r0 = (3 * s.diff___25615); + r0 = (s.tmp_0 * s.diff___78644); + s.a___78648 = (r0); + r0 = (3 * s.diff___78644); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.diff___25615); + r0 = (s.tmp_1 * s.diff___78644); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.progress___25611); - s.b___25625 = (r0); - r0 = (3 * s.diff___25615); + r0 = (s.tmp_0 * s.progress___78640); + s.b___78654 = (r0); + r0 = (3 * s.diff___78644); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.progress___25611); + r0 = (s.tmp_1 * s.progress___78640); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.progress___25611); - s.c___25633 = (r0); - r0 = (s.progress___25611 * s.progress___25611); + r0 = (s.tmp_0 * s.progress___78640); + s.c___78662 = (r0); + r0 = (s.progress___78640 * s.progress___78640); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.progress___25611); - s.d___25641 = (r0); - s.tmp_0 = Sprite_setPosition__P2389_mk(s); + r0 = (s.tmp_0 * s.progress___78640); + s.d___78670 = (r0); + s.tmp_0 = Sprite_setPosition__P55401_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (s.a___25619 * s.arg3); + r0 = (s.a___78648 * s.arg3); s.tmp_4 = r0; - r0 = (s.b___25625 * s.arg5); + r0 = (s.b___78654 * s.arg5); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); s.tmp_3 = r0; - r0 = (s.c___25633 * s.arg7); + r0 = (s.c___78662 * s.arg7); s.tmp_6 = r0; r0 = (s.tmp_3 + s.tmp_6); s.tmp_2 = r0; - r0 = (s.d___25641 * s.arg9); + r0 = (s.d___78670 * s.arg9); s.tmp_7 = r0; r0 = (s.tmp_2 + s.tmp_7); s.tmp_1 = r0; r0 = pxsim.Math_.round(s.tmp_1); s.tmp_0.arg1 = r0; - r0 = (s.a___25619 * s.arg4); + r0 = (s.a___78648 * s.arg4); s.tmp_11 = r0; - r0 = (s.b___25625 * s.arg6); + r0 = (s.b___78654 * s.arg6); s.tmp_12 = r0; r0 = (s.tmp_11 + s.tmp_12); s.tmp_10 = r0; - r0 = (s.c___25633 * s.arg8); + r0 = (s.c___78662 * s.arg8); s.tmp_13 = r0; r0 = (s.tmp_10 + s.tmp_13); s.tmp_9 = r0; - r0 = (s.d___25641 * s.arg10); + r0 = (s.d___78670 * s.arg10); s.tmp_14 = r0; r0 = (s.tmp_9 + s.tmp_14); s.tmp_8 = r0; r0 = pxsim.Math_.round(s.tmp_8); s.tmp_0.arg2 = r0; - s.callLocIdx = 2126; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2127; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -animation_cubicCurveTo__P5452.info = {"start":16933,"length":599,"line":469,"column":4,"endLine":481,"endColumn":5,"fileName":"pxt_modules/game/animation.ts","functionName":"cubicCurveTo","argumentNames":["target","nodeTime","interval","x0","y0","x1","y1","x2","y2","x3","y3"]} +animation_cubicCurveTo__P58465.info = {"start":16933,"length":599,"line":469,"column":4,"endLine":481,"endColumn":5,"fileName":"pxt_modules/game/animation.ts","functionName":"cubicCurveTo","argumentNames":["target","nodeTime","interval","x0","y0","x1","y1","x2","y2","x3","y3"]} -function animation_cubicCurveTo__P5452_mk(s) { +function animation_cubicCurveTo__P58465_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_cubicCurveTo__P5452, depth: s.depth + 1, + parent: s, fn: animation_cubicCurveTo__P58465, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65371,12 +65404,12 @@ function animation_cubicCurveTo__P5452_mk(s) { tmp_12: undefined, tmp_13: undefined, tmp_14: undefined, - progress___25611: undefined, - diff___25615: undefined, - a___25619: undefined, - b___25625: undefined, - c___25633: undefined, - d___25641: undefined, + progress___78640: undefined, + diff___78644: undefined, + a___78648: undefined, + b___78654: undefined, + c___78662: undefined, + d___78670: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -65394,7 +65427,7 @@ function animation_cubicCurveTo__P5452_mk(s) { -function animation_quadraticCurveTo__P5451(s) { +function animation_quadraticCurveTo__P58464(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65404,11 +65437,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.progress___25697 = undefined; - s.diff___25701 = undefined; - s.a___25705 = undefined; - s.b___25709 = undefined; - s.c___25715 = undefined; + s.progress___78726 = undefined; + s.diff___78730 = undefined; + s.a___78734 = undefined; + s.b___78738 = undefined; + s.c___78744 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -65422,56 +65455,56 @@ switch (step) { s.lambdaArgs = null; } r0 = (s.arg1 / s.arg2); - s.progress___25697 = (r0); - r0 = (1 - s.progress___25697); - s.diff___25701 = (r0); - r0 = (s.diff___25701 * s.diff___25701); - s.a___25705 = (r0); - r0 = (2 * s.diff___25701); - s.tmp_0 = r0; - r0 = (s.tmp_0 * s.progress___25697); - s.b___25709 = (r0); - r0 = (s.progress___25697 * s.progress___25697); - s.c___25715 = (r0); - s.tmp_0 = Sprite_setPosition__P2389_mk(s); + s.progress___78726 = (r0); + r0 = (1 - s.progress___78726); + s.diff___78730 = (r0); + r0 = (s.diff___78730 * s.diff___78730); + s.a___78734 = (r0); + r0 = (2 * s.diff___78730); + s.tmp_0 = r0; + r0 = (s.tmp_0 * s.progress___78726); + s.b___78738 = (r0); + r0 = (s.progress___78726 * s.progress___78726); + s.c___78744 = (r0); + s.tmp_0 = Sprite_setPosition__P55401_mk(s); s.tmp_0.arg0 = s.arg0; - r0 = (s.a___25705 * s.arg3); + r0 = (s.a___78734 * s.arg3); s.tmp_3 = r0; - r0 = (s.b___25709 * s.arg5); + r0 = (s.b___78738 * s.arg5); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_2 = r0; - r0 = (s.c___25715 * s.arg7); + r0 = (s.c___78744 * s.arg7); s.tmp_5 = r0; r0 = (s.tmp_2 + s.tmp_5); s.tmp_1 = r0; r0 = pxsim.Math_.round(s.tmp_1); s.tmp_0.arg1 = r0; - r0 = (s.a___25705 * s.arg4); + r0 = (s.a___78734 * s.arg4); s.tmp_8 = r0; - r0 = (s.b___25709 * s.arg6); + r0 = (s.b___78738 * s.arg6); s.tmp_9 = r0; r0 = (s.tmp_8 + s.tmp_9); s.tmp_7 = r0; - r0 = (s.c___25715 * s.arg8); + r0 = (s.c___78744 * s.arg8); s.tmp_10 = r0; r0 = (s.tmp_7 + s.tmp_10); s.tmp_6 = r0; r0 = pxsim.Math_.round(s.tmp_6); s.tmp_0.arg2 = r0; - s.callLocIdx = 2125; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2126; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -animation_quadraticCurveTo__P5451.info = {"start":16441,"length":486,"line":456,"column":4,"endLine":467,"endColumn":5,"fileName":"pxt_modules/game/animation.ts","functionName":"quadraticCurveTo","argumentNames":["target","nodeTime","interval","x0","y0","x1","y1","x2","y2"]} +animation_quadraticCurveTo__P58464.info = {"start":16441,"length":486,"line":456,"column":4,"endLine":467,"endColumn":5,"fileName":"pxt_modules/game/animation.ts","functionName":"quadraticCurveTo","argumentNames":["target","nodeTime","interval","x0","y0","x1","y1","x2","y2"]} -function animation_quadraticCurveTo__P5451_mk(s) { +function animation_quadraticCurveTo__P58464_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_quadraticCurveTo__P5451, depth: s.depth + 1, + parent: s, fn: animation_quadraticCurveTo__P58464, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65484,11 +65517,11 @@ function animation_quadraticCurveTo__P5451_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - progress___25697: undefined, - diff___25701: undefined, - a___25705: undefined, - b___25709: undefined, - c___25715: undefined, + progress___78726: undefined, + diff___78730: undefined, + a___78734: undefined, + b___78738: undefined, + c___78744: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -65504,7 +65537,7 @@ function animation_quadraticCurveTo__P5451_mk(s) { -function animation_lineTo__P5450(s) { +function animation_lineTo__P58463(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65524,7 +65557,7 @@ switch (step) { s.arg6 = (s.lambdaArgs[6]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_setPosition__P2389_mk(s); + s.tmp_0 = Sprite_setPosition__P55401_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg5 - s.arg3); s.tmp_4 = r0; @@ -65546,19 +65579,19 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_5 + s.arg4); s.tmp_0.arg2 = r0; - s.callLocIdx = 2124; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2125; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -animation_lineTo__P5450.info = {"start":16146,"length":289,"line":449,"column":4,"endLine":454,"endColumn":5,"fileName":"pxt_modules/game/animation.ts","functionName":"lineTo","argumentNames":["target","nodeTime","interval","x0","y0","x1","y1"]} +animation_lineTo__P58463.info = {"start":16146,"length":289,"line":449,"column":4,"endLine":454,"endColumn":5,"fileName":"pxt_modules/game/animation.ts","functionName":"lineTo","argumentNames":["target","nodeTime","interval","x0","y0","x1","y1"]} -function animation_lineTo__P5450_mk(s) { +function animation_lineTo__P58463_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_lineTo__P5450, depth: s.depth + 1, + parent: s, fn: animation_lineTo__P58463, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65582,7 +65615,7 @@ function animation_lineTo__P5450_mk(s) { -function animation_moveTo__P5449(s) { +function animation_moveTo__P58462(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65604,11 +65637,11 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = Sprite_setPosition__P2389_mk(s); + s.tmp_1 = Sprite_setPosition__P55401_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg3; s.tmp_1.arg2 = s.arg4; - s.callLocIdx = 2123; s.pc = 3; return s.tmp_1; + s.callLocIdx = 2124; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; case 1: @@ -65617,12 +65650,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_moveTo__P5449.info = {"start":15983,"length":157,"line":445,"column":4,"endLine":447,"endColumn":5,"fileName":"pxt_modules/game/animation.ts","functionName":"moveTo","argumentNames":["target","nodeTime","interval","x","y"]} +animation_moveTo__P58462.info = {"start":15983,"length":157,"line":445,"column":4,"endLine":447,"endColumn":5,"fileName":"pxt_modules/game/animation.ts","functionName":"moveTo","argumentNames":["target","nodeTime","interval","x","y"]} -function animation_moveTo__P5449_mk(s) { +function animation_moveTo__P58462_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_moveTo__P5449, depth: s.depth + 1, + parent: s, fn: animation_moveTo__P58462, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65637,7 +65670,7 @@ function animation_moveTo__P5449_mk(s) { -function animation_Path_ensureControlPoint__P5448(s) { +function animation_Path_ensureControlPoint__P58461(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65652,7 +65685,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Path__C3327_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Path__C56339_VT)) failedCast(r0); r0 = s.arg0.fields["lastControlX"]; s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); @@ -65666,12 +65699,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Path_ensureControlPoint__P5448.info = {"start":15808,"length":163,"line":440,"column":8,"endLine":442,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"ensureControlPoint","argumentNames":["this"]} +animation_Path_ensureControlPoint__P58461.info = {"start":15808,"length":163,"line":440,"column":8,"endLine":442,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"ensureControlPoint","argumentNames":["this"]} -function animation_Path_ensureControlPoint__P5448_mk(s) { +function animation_Path_ensureControlPoint__P58461_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Path_ensureControlPoint__P5448, depth: s.depth + 1, + parent: s, fn: animation_Path_ensureControlPoint__P58461, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65682,7 +65715,7 @@ function animation_Path_ensureControlPoint__P5448_mk(s) { -function animation_Path_readNextCommand__P5444(s) { +function animation_Path_readNextCommand__P58457(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65692,17 +65725,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.numArgs___25814 = undefined; - s.i___25833 = undefined; - s.arg___25848 = undefined; - s.unnamed1526___U3 = undefined; - s.unnamed1527___U4 = undefined; + s.numArgs___78843 = undefined; + s.i___78862 = undefined; + s.arg___78877 = undefined; + s.unnamed266___U3 = undefined; + s.unnamed267___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Path__C3327_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Path__C56339_VT)) failedCast(r0); r0 = s.arg0.fields["strIndex"]; s.tmp_1 = r0; r0 = s.arg0.fields["path"]; @@ -65718,9 +65751,9 @@ switch (step) { case 1: case 2: s.tmp_0 = r0 = s.arg0; - s.tmp_2 = animation_Path_readNextToken__P5445_mk(s); + s.tmp_2 = animation_Path_readNextToken__P58458_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 2087; s.pc = 14; return s.tmp_2; + s.callLocIdx = 2088; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_1 = r0; @@ -65740,14 +65773,14 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = (s.tmp_3).fields["args"] = (s.tmp_4); - s.tmp_0 = animation_Path_commandToArgCount__P5446_mk(s); + s.tmp_0 = animation_Path_commandToArgCount__P58459_mk(s); r0 = s.arg0.fields["currentCommand"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 2088; s.pc = 15; return s.tmp_0; + s.callLocIdx = 2089; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.numArgs___25814 = (r0); - r0 = (s.numArgs___25814 === -1); + s.numArgs___78843 = (r0); + r0 = (s.numArgs___78843 === -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } @@ -65778,42 +65811,42 @@ switch (step) { r0 = pxsim_pxtcore.throwValue(s.tmp_1); case 5: case 6: - s.i___25833 = (0); + s.i___78862 = (0); case 7: - r0 = (s.i___25833 < s.numArgs___25814); + r0 = (s.i___78862 < s.numArgs___78843); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } r0 = s.arg0.fields["args"]; s.tmp_1 = r0; - s.tmp_4 = animation_Path_readNextToken__P5445_mk(s); + s.tmp_4 = animation_Path_readNextToken__P58458_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 2089; s.pc = 18; return s.tmp_4; + s.callLocIdx = 2090; s.pc = 18; return s.tmp_4; case 18: r0 = s.retval; s.tmp_3 = r0; r0 = pxsim_String_.toNumber(s.tmp_3); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___25833 + 1); - s.i___25833 = (r0); + r0 = (s.i___78862 + 1); + s.i___78862 = (r0); { step = 7; continue; } case 8: - s.arg___25848 = (undefined); + s.arg___78877 = (undefined); r0 = s.arg0.fields["args"]; - s.unnamed1526___U3 = (r0); - s.unnamed1527___U4 = (0); + s.unnamed266___U3 = (r0); + s.unnamed267___U4 = (0); case 9: - s.tmp_0 = r0 = s.unnamed1527___U4; - r0 = pxsim_Array__length(s.unnamed1526___U3); + s.tmp_0 = r0 = s.unnamed267___U4; + r0 = pxsim_Array__length(s.unnamed266___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 12; continue; } - r0 = pxsim_Array__getAt(s.unnamed1526___U3, s.unnamed1527___U4); - s.arg___25848 = (r0); - s.tmp_3 = Number_isNaN__P95_mk(s); - s.tmp_3.arg0 = s.arg___25848; - s.callLocIdx = 2090; s.pc = 19; return s.tmp_3; + r0 = pxsim_Array__getAt(s.unnamed266___U3, s.unnamed267___U4); + s.arg___78877 = (r0); + s.tmp_3 = Number_isNaN__P53107_mk(s); + s.tmp_3.arg0 = s.arg___78877; + s.callLocIdx = 2091; s.pc = 19; return s.tmp_3; case 19: r0 = s.retval; s.tmp_2 = r0; @@ -65846,22 +65879,22 @@ switch (step) { r0 = pxsim_pxtcore.throwValue(s.tmp_4); case 10: case 11: - r0 = (s.unnamed1527___U4 + 1); - s.unnamed1527___U4 = (r0); + r0 = (s.unnamed267___U4 + 1); + s.unnamed267___U4 = (r0); { step = 9; continue; } case 12: - s.unnamed1526___U3 = (undefined); + s.unnamed266___U3 = (undefined); case 13: r0 = undefined; return leave(s, r0) default: oops() } } } -animation_Path_readNextCommand__P5444.info = {"start":1471,"length":776,"line":59,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"readNextCommand","argumentNames":["this"]} +animation_Path_readNextCommand__P58457.info = {"start":1471,"length":776,"line":59,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"readNextCommand","argumentNames":["this"]} -function animation_Path_readNextCommand__P5444_mk(s) { +function animation_Path_readNextCommand__P58457_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Path_readNextCommand__P5444, depth: s.depth + 1, + parent: s, fn: animation_Path_readNextCommand__P58457, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -65872,11 +65905,11 @@ function animation_Path_readNextCommand__P5444_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - numArgs___25814: undefined, - i___25833: undefined, - arg___25848: undefined, - unnamed1526___U3: undefined, - unnamed1527___U4: undefined, + numArgs___78843: undefined, + i___78862: undefined, + arg___78877: undefined, + unnamed266___U3: undefined, + unnamed267___U4: undefined, arg0: undefined, } } @@ -65884,7 +65917,7 @@ function animation_Path_readNextCommand__P5444_mk(s) { -function animation_Path_commandToArgCount__P5446(s) { +function animation_Path_commandToArgCount__P58459(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -65989,12 +66022,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Path_commandToArgCount__P5446.info = {"start":3204,"length":1154,"line":113,"column":8,"endLine":148,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"commandToArgCount","argumentNames":["command"]} +animation_Path_commandToArgCount__P58459.info = {"start":3204,"length":1154,"line":113,"column":8,"endLine":148,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"commandToArgCount","argumentNames":["command"]} -function animation_Path_commandToArgCount__P5446_mk(s) { +function animation_Path_commandToArgCount__P58459_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Path_commandToArgCount__P5446, depth: s.depth + 1, + parent: s, fn: animation_Path_commandToArgCount__P58459, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -66004,7 +66037,7 @@ function animation_Path_commandToArgCount__P5446_mk(s) { -function animation_Path_readNextToken__P5445(s) { +function animation_Path_readNextToken__P58458(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66014,13 +66047,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tokenStart___25902 = undefined; + s.tokenStart___78931 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Path__C3327_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Path__C56339_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["path"]; s.tmp_2 = r0; @@ -66070,7 +66103,7 @@ switch (step) { case 5: case 6: r0 = s.arg0.fields["strIndex"]; - s.tokenStart___25902 = (r0); + s.tokenStart___78931 = (r0); case 7: r0 = s.arg0.fields["path"]; s.tmp_2 = r0; @@ -66105,27 +66138,27 @@ switch (step) { r0 = (s.tmp_8).fields["strIndex"] = (s.tmp_9); { step = 7; continue; } case 10: - s.tmp_0 = helpers_stringSubstr__P118_mk(s); + s.tmp_0 = helpers_stringSubstr__P53130_mk(s); r0 = s.arg0.fields["path"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.tokenStart___25902; + s.tmp_0.arg1 = s.tokenStart___78931; r0 = s.arg0.fields["strIndex"]; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.tokenStart___25902); + r0 = (s.tmp_1 - s.tokenStart___78931); s.tmp_0.arg2 = r0; - s.callLocIdx = 2091; s.pc = 12; return s.tmp_0; + s.callLocIdx = 2092; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; case 11: return leave(s, r0) default: oops() } } } -animation_Path_readNextToken__P5445.info = {"start":2664,"length":530,"line":97,"column":8,"endLine":111,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"readNextToken","argumentNames":["this"]} +animation_Path_readNextToken__P58458.info = {"start":2664,"length":530,"line":97,"column":8,"endLine":111,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"readNextToken","argumentNames":["this"]} -function animation_Path_readNextToken__P5445_mk(s) { +function animation_Path_readNextToken__P58458_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Path_readNextToken__P5445, depth: s.depth + 1, + parent: s, fn: animation_Path_readNextToken__P58458, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66138,7 +66171,7 @@ function animation_Path_readNextToken__P5445_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - tokenStart___25902: undefined, + tokenStart___78931: undefined, arg0: undefined, } } @@ -66146,7 +66179,7 @@ function animation_Path_readNextToken__P5445_mk(s) { -function Number_isNaN__P95(s) { +function Number_isNaN__P53107(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66177,12 +66210,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Number_isNaN__P95.info = {"start":355,"length":93,"line":21,"column":4,"endLine":23,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isNaN","argumentNames":["x"]} +Number_isNaN__P53107.info = {"start":355,"length":93,"line":21,"column":4,"endLine":23,"endColumn":5,"fileName":"pxt_modules/base/pxt-helpers.ts","functionName":"isNaN","argumentNames":["x"]} -function Number_isNaN__P95_mk(s) { +function Number_isNaN__P53107_mk(s) { checkStack(s.depth); return { - parent: s, fn: Number_isNaN__P95, depth: s.depth + 1, + parent: s, fn: Number_isNaN__P53107, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66194,7 +66227,7 @@ function Number_isNaN__P95_mk(s) { -function animation_Path_reset__P3330(s) { +function animation_Path_reset__P56342(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66209,7 +66242,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Path__C3327_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Path__C56339_VT)) failedCast(r0); r0 = (s.arg0).fields["args"] = (undefined); r0 = (s.arg0).fields["currentCommand"] = (undefined); r0 = (s.arg0).fields["lastControlX"] = (undefined); @@ -66224,12 +66257,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -animation_Path_reset__P3330.info = {"start":2257,"length":397,"line":84,"column":8,"endLine":95,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"reset","argumentNames":["this"]} +animation_Path_reset__P56342.info = {"start":2257,"length":397,"line":84,"column":8,"endLine":95,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"reset","argumentNames":["this"]} -function animation_Path_reset__P3330_mk(s) { +function animation_Path_reset__P56342_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Path_reset__P3330, depth: s.depth + 1, + parent: s, fn: animation_Path_reset__P56342, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -66238,7 +66271,7 @@ function animation_Path_reset__P3330_mk(s) { -function animation_ImageAnimation_update__P3338(s) { +function animation_ImageAnimation_update__P56350(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66248,19 +66281,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.frameIndex___25939 = undefined; - s.newImage___25964 = undefined; + s.frameIndex___78968 = undefined; + s.newImage___78993 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_ImageAnimation__C3336_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_ImageAnimation__C56348_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["elapsedTime"]; s.tmp_2 = r0; - s.tmp_4 = game_eventContext__P2982_mk(s); - s.callLocIdx = 2141; s.pc = 12; return s.tmp_4; + s.tmp_4 = game_eventContext__P55994_mk(s); + s.callLocIdx = 2142; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; r0 = r0.fields["deltaTimeMillis"]; @@ -66275,10 +66308,10 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.frameIndex___25939 = (r0); + s.frameIndex___78968 = (r0); r0 = s.arg0.fields["lastFrame"]; s.tmp_1 = r0; - r0 = (s.tmp_1 != s.frameIndex___25939); + r0 = (s.tmp_1 != s.frameIndex___78968); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } @@ -66304,7 +66337,7 @@ switch (step) { r0 = s.tmp_4; { step = 4; continue; } case 3: - s.tmp_7 = r0 = s.frameIndex___25939; + s.tmp_7 = r0 = s.frameIndex___78968; r0 = s.arg0.fields["frames"]; s.tmp_9 = r0; r0 = pxsim_Array__length(s.tmp_9); @@ -66321,7 +66354,7 @@ switch (step) { case 6: r0 = s.arg0.fields["frames"]; s.tmp_11 = r0; - s.tmp_13 = r0 = s.frameIndex___25939; + s.tmp_13 = r0 = s.frameIndex___78968; r0 = s.arg0.fields["frames"]; s.tmp_15 = r0; r0 = pxsim_Array__length(s.tmp_15); @@ -66329,38 +66362,38 @@ switch (step) { r0 = (s.tmp_13 % s.tmp_14); s.tmp_12 = r0; r0 = pxsim_Array__getAt(s.tmp_11, s.tmp_12); - s.newImage___25964 = (r0); + s.newImage___78993 = (r0); r0 = s.arg0.fields["sprite"]; s.tmp_2 = r0; r0 = s.tmp_2.fields["_image"]; s.tmp_1 = r0; - r0 = (s.tmp_1 !== s.newImage___25964); + r0 = (s.tmp_1 !== s.newImage___78993); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_3 = Sprite_setImage__P2371_mk(s); + s.tmp_3 = Sprite_setImage__P55383_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.newImage___25964; - s.callLocIdx = 2143; s.pc = 13; return s.tmp_3; + s.tmp_3.arg1 = s.newImage___78993; + s.callLocIdx = 2144; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; case 7: case 8: case 9: case 10: - r0 = (s.arg0).fields["lastFrame"] = (s.frameIndex___25939); + r0 = (s.arg0).fields["lastFrame"] = (s.frameIndex___78968); r0 = false; case 11: return leave(s, r0) default: oops() } } } -animation_ImageAnimation_update__P3338.info = {"start":19465,"length":664,"line":532,"column":8,"endLine":548,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"update","argumentNames":["this"]} +animation_ImageAnimation_update__P56350.info = {"start":19465,"length":664,"line":532,"column":8,"endLine":548,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"update","argumentNames":["this"]} -function animation_ImageAnimation_update__P3338_mk(s) { +function animation_ImageAnimation_update__P56350_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_ImageAnimation_update__P3338, depth: s.depth + 1, + parent: s, fn: animation_ImageAnimation_update__P56350, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66378,8 +66411,8 @@ function animation_ImageAnimation_update__P3338_mk(s) { tmp_13: undefined, tmp_14: undefined, tmp_15: undefined, - frameIndex___25939: undefined, - newImage___25964: undefined, + frameIndex___78968: undefined, + newImage___78993: undefined, arg0: undefined, } } @@ -66387,7 +66420,7 @@ function animation_ImageAnimation_update__P3338_mk(s) { -function effects_SceneAnchor_height__P5410(s) { +function effects_SceneAnchor_height__P58423(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66402,18 +66435,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C5406_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.height(globals.screen___2013); + if (!checkSubtype(r0, effects_SceneAnchor__C58419_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.height(globals.screen___55025); return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_height__P5410.info = {"start":2634,"length":58,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"height","argumentNames":["this"]} -effects_SceneAnchor_height__P5410.isGetter = true; +effects_SceneAnchor_height__P58423.info = {"start":2634,"length":58,"line":71,"column":8,"endLine":73,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"height","argumentNames":["this"]} +effects_SceneAnchor_height__P58423.isGetter = true; -function effects_SceneAnchor_height__P5410_mk(s) { +function effects_SceneAnchor_height__P58423_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_height__P5410, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_height__P58423, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -66422,7 +66455,7 @@ function effects_SceneAnchor_height__P5410_mk(s) { -function effects_SceneAnchor_width__P5409(s) { +function effects_SceneAnchor_width__P58422(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66437,18 +66470,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C5406_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___2013); + if (!checkSubtype(r0, effects_SceneAnchor__C58419_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___55025); return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_width__P5409.info = {"start":2568,"length":56,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"width","argumentNames":["this"]} -effects_SceneAnchor_width__P5409.isGetter = true; +effects_SceneAnchor_width__P58422.info = {"start":2568,"length":56,"line":67,"column":8,"endLine":69,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"width","argumentNames":["this"]} +effects_SceneAnchor_width__P58422.isGetter = true; -function effects_SceneAnchor_width__P5409_mk(s) { +function effects_SceneAnchor_width__P58422_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_width__P5409, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_width__P58422, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -66457,7 +66490,7 @@ function effects_SceneAnchor_width__P5409_mk(s) { -function effects_SceneAnchor_y__P5408(s) { +function effects_SceneAnchor_y__P58421(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66472,12 +66505,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C5406_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_SceneAnchor__C58419_VT)) failedCast(r0); r0 = s.arg0.fields["camera"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_offsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___2013); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; @@ -66485,13 +66518,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_y__P5408.info = {"start":2476,"length":82,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"y","argumentNames":["this"]} -effects_SceneAnchor_y__P5408.isGetter = true; +effects_SceneAnchor_y__P58421.info = {"start":2476,"length":82,"line":63,"column":8,"endLine":65,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"y","argumentNames":["this"]} +effects_SceneAnchor_y__P58421.isGetter = true; -function effects_SceneAnchor_y__P5408_mk(s) { +function effects_SceneAnchor_y__P58421_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_y__P5408, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_y__P58421, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66504,7 +66537,7 @@ function effects_SceneAnchor_y__P5408_mk(s) { -function effects_SceneAnchor_x__P5407(s) { +function effects_SceneAnchor_x__P58420(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66519,12 +66552,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_SceneAnchor__C5406_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_SceneAnchor__C58419_VT)) failedCast(r0); r0 = s.arg0.fields["camera"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_offsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; @@ -66532,13 +66565,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -effects_SceneAnchor_x__P5407.info = {"start":2385,"length":81,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"x","argumentNames":["this"]} -effects_SceneAnchor_x__P5407.isGetter = true; +effects_SceneAnchor_x__P58420.info = {"start":2385,"length":81,"line":59,"column":8,"endLine":61,"endColumn":9,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"x","argumentNames":["this"]} +effects_SceneAnchor_x__P58420.isGetter = true; -function effects_SceneAnchor_x__P5407_mk(s) { +function effects_SceneAnchor_x__P58420_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_SceneAnchor_x__P5407, depth: s.depth + 1, + parent: s, fn: effects_SceneAnchor_x__P58420, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66551,7 +66584,7 @@ function effects_SceneAnchor_x__P5407_mk(s) { -function SnowFactory_createParticle__P16743(s) { +function SnowFactory_createParticle__P69772(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66561,26 +66594,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___26011 = undefined; + s.p___79040 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, SnowFactory__C16741_VT)) failedCast(r0); - s.tmp_0 = particles_ShapeFactory_createParticle__P3197_mk(s); + if (!checkSubtype(r0, SnowFactory__C69770_VT)) failedCast(r0); + s.tmp_0 = particles_ShapeFactory_createParticle__P56209_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 2049; s.pc = 3; return s.tmp_0; + s.callLocIdx = 2050; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___26011 = (r0); - s.tmp_1 = Math_FastRandom_percentChance__P3046_mk(s); + s.p___79040 = (r0); + s.tmp_1 = Math_FastRandom_percentChance__P56058_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 80; - s.callLocIdx = 2050; s.pc = 4; return s.tmp_1; + s.callLocIdx = 2051; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; s.tmp_0 = r0; @@ -66593,22 +66626,22 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - r0 = (s.p___26011).fields["color"] = (s.tmp_2); - r0 = s.p___26011; + r0 = (s.p___79040).fields["color"] = (s.tmp_2); + r0 = s.p___79040; return leave(s, r0) default: oops() } } } -SnowFactory_createParticle__P16743.info = {"start":12130,"length":215,"line":304,"column":12,"endLine":308,"endColumn":13,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +SnowFactory_createParticle__P69772.info = {"start":12130,"length":215,"line":304,"column":12,"endLine":308,"endColumn":13,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"createParticle","argumentNames":["this","anchor"]} -function SnowFactory_createParticle__P16743_mk(s) { +function SnowFactory_createParticle__P69772_mk(s) { checkStack(s.depth); return { - parent: s, fn: SnowFactory_createParticle__P16743, depth: s.depth + 1, + parent: s, fn: SnowFactory_createParticle__P69772, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___26011: undefined, + p___79040: undefined, arg0: undefined, arg1: undefined, } } @@ -66617,7 +66650,7 @@ function SnowFactory_createParticle__P16743_mk(s) { -function particles_ShapeFactory_createParticle__P3197(s) { +function particles_ShapeFactory_createParticle__P56209(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66627,47 +66660,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___26023 = undefined; + s.p___79052 = 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__C3193_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P3183_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C56205_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P56195_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1938; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1939; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___26023 = (r0); - s.tmp_0 = r0 = s.p___26023; - s.tmp_2 = Math_FastRandom_randomRange__P3043_mk(s); + s.p___79052 = (r0); + s.tmp_0 = r0 = s.p___79052; + s.tmp_2 = Math_FastRandom_randomRange__P56055_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; s.tmp_2.arg2 = 14; - s.callLocIdx = 1939; s.pc = 2; return s.tmp_2; + s.callLocIdx = 1940; 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___26023; + r0 = s.p___79052; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P3197.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__P56209.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__P3197_mk(s) { +function particles_ShapeFactory_createParticle__P56209_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P3197, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P56209, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___26023: undefined, + p___79052: undefined, arg0: undefined, arg1: undefined, } } @@ -66676,7 +66709,7 @@ function particles_ShapeFactory_createParticle__P3197_mk(s) { -function info_PlayerInfo_id__P2624(s) { +function info_PlayerInfo_id__P55636(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66691,19 +66724,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2597_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C55609_VT)) failedCast(r0); r0 = s.arg0.fields["impl"]; s.tmp_0 = r0; r0 = s.tmp_0.fields["_player"]; return leave(s, r0) default: oops() } } } -info_PlayerInfo_id__P2624.info = {"start":27406,"length":59,"line":911,"column":8,"endLine":913,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"id","argumentNames":["this"]} +info_PlayerInfo_id__P55636.info = {"start":27406,"length":59,"line":911,"column":8,"endLine":913,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"id","argumentNames":["this"]} -function info_PlayerInfo_id__P2624_mk(s) { +function info_PlayerInfo_id__P55636_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_id__P2624, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_id__P55636, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -66713,7 +66746,7 @@ function info_PlayerInfo_id__P2624_mk(s) { -function info_PlayerInfo_y__P2618(s) { +function info_PlayerInfo_y__P55630(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66729,7 +66762,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2597_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C55609_VT)) failedCast(r0); r0 = s.arg0.fields["impl"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["y"] = (s.arg1); @@ -66737,12 +66770,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_y__P2618.info = {"start":26852,"length":65,"line":885,"column":8,"endLine":887,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"y","argumentNames":["this","value"]} +info_PlayerInfo_y__P55630.info = {"start":26852,"length":65,"line":885,"column":8,"endLine":887,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"y","argumentNames":["this","value"]} -function info_PlayerInfo_y__P2618_mk(s) { +function info_PlayerInfo_y__P55630_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_y__P2618, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_y__P55630, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -66753,7 +66786,7 @@ function info_PlayerInfo_y__P2618_mk(s) { -function info_PlayerInfo_y__P2617(s) { +function info_PlayerInfo_y__P55629(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66768,19 +66801,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2597_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C55609_VT)) failedCast(r0); r0 = s.arg0.fields["impl"]; r0 = r0.fields["y"]; return leaveAccessor(s, r0) default: oops() } } } -info_PlayerInfo_y__P2617.info = {"start":26783,"length":59,"line":881,"column":8,"endLine":883,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"y","argumentNames":["this"]} -info_PlayerInfo_y__P2617.isGetter = true; +info_PlayerInfo_y__P55629.info = {"start":26783,"length":59,"line":881,"column":8,"endLine":883,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"y","argumentNames":["this"]} +info_PlayerInfo_y__P55629.isGetter = true; -function info_PlayerInfo_y__P2617_mk(s) { +function info_PlayerInfo_y__P55629_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_y__P2617, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_y__P55629, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -66789,7 +66822,7 @@ function info_PlayerInfo_y__P2617_mk(s) { -function info_PlayerInfo_x__P2616(s) { +function info_PlayerInfo_x__P55628(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66805,7 +66838,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2597_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C55609_VT)) failedCast(r0); r0 = s.arg0.fields["impl"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["x"] = (s.arg1); @@ -66813,12 +66846,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_x__P2616.info = {"start":26708,"length":65,"line":877,"column":8,"endLine":879,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"x","argumentNames":["this","value"]} +info_PlayerInfo_x__P55628.info = {"start":26708,"length":65,"line":877,"column":8,"endLine":879,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"x","argumentNames":["this","value"]} -function info_PlayerInfo_x__P2616_mk(s) { +function info_PlayerInfo_x__P55628_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_x__P2616, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_x__P55628, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -66829,7 +66862,7 @@ function info_PlayerInfo_x__P2616_mk(s) { -function info_PlayerInfo_x__P2615(s) { +function info_PlayerInfo_x__P55627(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66844,19 +66877,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2597_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C55609_VT)) failedCast(r0); r0 = s.arg0.fields["impl"]; r0 = r0.fields["x"]; return leaveAccessor(s, r0) default: oops() } } } -info_PlayerInfo_x__P2615.info = {"start":26639,"length":59,"line":873,"column":8,"endLine":875,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"x","argumentNames":["this"]} -info_PlayerInfo_x__P2615.isGetter = true; +info_PlayerInfo_x__P55627.info = {"start":26639,"length":59,"line":873,"column":8,"endLine":875,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"x","argumentNames":["this"]} +info_PlayerInfo_x__P55627.isGetter = true; -function info_PlayerInfo_x__P2615_mk(s) { +function info_PlayerInfo_x__P55627_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_x__P2615, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_x__P55627, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -66865,7 +66898,7 @@ function info_PlayerInfo_x__P2615_mk(s) { -function info_PlayerInfoImpl_id__P2585(s) { +function info_PlayerInfoImpl_id__P55597(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66880,17 +66913,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfoImpl__C2575_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfoImpl__C55587_VT)) failedCast(r0); r0 = s.arg0.fields["_player"]; return leave(s, r0) default: oops() } } } -info_PlayerInfoImpl_id__P2585.info = {"start":21343,"length":57,"line":687,"column":8,"endLine":689,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"id","argumentNames":["this"]} +info_PlayerInfoImpl_id__P55597.info = {"start":21343,"length":57,"line":687,"column":8,"endLine":689,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"id","argumentNames":["this"]} -function info_PlayerInfoImpl_id__P2585_mk(s) { +function info_PlayerInfoImpl_id__P55597_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfoImpl_id__P2585, depth: s.depth + 1, + parent: s, fn: info_PlayerInfoImpl_id__P55597, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -66899,7 +66932,7 @@ function info_PlayerInfoImpl_id__P2585_mk(s) { -function sprites_SpriteSet_toString__P2454(s) { +function sprites_SpriteSet_toString__P55466(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66914,7 +66947,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2443_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C55455_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -66936,12 +66969,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P2454.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__P55466.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__P2454_mk(s) { +function sprites_SpriteSet_toString__P55466_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P2454, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P55466, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -66955,7 +66988,7 @@ function sprites_SpriteSet_toString__P2454_mk(s) { -function sprites_SpriteSet_length__P2446(s) { +function sprites_SpriteSet_length__P55458(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -66970,20 +67003,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C2443_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C55455_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__P2446.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__P2446.isGetter = true; +sprites_SpriteSet_length__P55458.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__P55458.isGetter = true; -function sprites_SpriteSet_length__P2446_mk(s) { +function sprites_SpriteSet_length__P55458_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P2446, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P55458, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -66993,7 +67026,7 @@ function sprites_SpriteSet_length__P2446_mk(s) { -function effects_ImageEffect_startScreenEffect__P3274(s) { +function effects_ImageEffect_startScreenEffect__P56286(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67003,7 +67036,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.wasRunning___28676 = undefined; + s.wasRunning___81705 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -67011,9 +67044,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C3270_VT)) failedCast(r0); - s.tmp_4 = game_currentScene__P2979_mk(s); - s.callLocIdx = 2065; s.pc = 8; return s.tmp_4; + if (!checkSubtype(r0, effects_ImageEffect__C56282_VT)) failedCast(r0); + s.tmp_4 = game_currentScene__P55991_mk(s); + s.callLocIdx = 2066; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; r0 = r0.fields["background"]; @@ -67040,7 +67073,7 @@ switch (step) { r0 = s.arg0.fields["times"]; s.tmp_9 = r0; r0 = (s.tmp_9 != undefined); - s.wasRunning___28676 = (r0); + s.wasRunning___81705 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 3; continue; } r0 = s.arg1; @@ -67051,13 +67084,13 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (s.arg0).fields["times"] = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(s.wasRunning___28676); + r0 = pxsim_numops_toBoolDecr(s.wasRunning___81705); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = pxsim_pxtcore_mkAction(2, effects_ImageEffect_startScreenEffect_inline__P28689); + r0 = pxsim_pxtcore_mkAction(2, effects_ImageEffect_startScreenEffect_inline__P81718); s.tmp_2 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.arg0); r0 = pxsim_pxtrt_stclo(s.tmp_2, 1, s.arg2); @@ -67069,12 +67102,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_startScreenEffect__P3274.info = {"start":1457,"length":637,"line":41,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"startScreenEffect","argumentNames":["this","times","delay"]} +effects_ImageEffect_startScreenEffect__P56286.info = {"start":1457,"length":637,"line":41,"column":8,"endLine":56,"endColumn":9,"fileName":"pxt_modules/game/effects.ts","functionName":"startScreenEffect","argumentNames":["this","times","delay"]} -function effects_ImageEffect_startScreenEffect__P3274_mk(s) { +function effects_ImageEffect_startScreenEffect__P56286_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_startScreenEffect__P3274, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_startScreenEffect__P56286, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67086,7 +67119,7 @@ function effects_ImageEffect_startScreenEffect__P3274_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - wasRunning___28676: undefined, + wasRunning___81705: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -67096,7 +67129,7 @@ function effects_ImageEffect_startScreenEffect__P3274_mk(s) { -function effects_ImageEffect_startScreenEffect_inline__P28689(s) { +function effects_ImageEffect_startScreenEffect_inline__P81718(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67113,14 +67146,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = effects_ImageEffect_change__P3273_mk(s); + s.tmp_2 = effects_ImageEffect_change__P56285_mk(s); s.tmp_2.arg0 = s.caps[0]; - s.tmp_3 = scene_backgroundImage__P2866_mk(s); - s.callLocIdx = 2067; s.pc = 6; return s.tmp_3; + s.tmp_3 = scene_backgroundImage__P55878_mk(s); + s.callLocIdx = 2068; s.pc = 6; return s.tmp_3; case 6: r0 = s.retval; s.tmp_2.arg1 = r0; - s.callLocIdx = 2068; s.pc = 5; return s.tmp_2; + s.callLocIdx = 2069; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.caps[1]); @@ -67132,9 +67165,9 @@ switch (step) { case 3: // jmp value (already in r0) s.tmp_0 = r0; - s.tmp_1 = pause__P413_mk(s); + s.tmp_1 = pause__P53425_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.callLocIdx = 2069; s.pc = 7; return s.tmp_1; + s.callLocIdx = 2070; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; s.tmp_0 = r0 = s.caps[0]; @@ -67150,12 +67183,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_startScreenEffect_inline__P28689.info = {"start":1764,"length":304,"line":47,"column":38,"endLine":54,"endColumn":17,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":[]} +effects_ImageEffect_startScreenEffect_inline__P81718.info = {"start":1764,"length":304,"line":47,"column":38,"endLine":54,"endColumn":17,"fileName":"pxt_modules/game/effects.ts","functionName":"inline","argumentNames":[]} -function effects_ImageEffect_startScreenEffect_inline__P28689_mk(s) { +function effects_ImageEffect_startScreenEffect_inline__P81718_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_startScreenEffect_inline__P28689, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_startScreenEffect_inline__P81718, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67167,7 +67200,7 @@ function effects_ImageEffect_startScreenEffect_inline__P28689_mk(s) { -function scene_backgroundImage__P2866(s) { +function scene_backgroundImage__P55878(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67177,37 +67210,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___28708 = undefined; - s.tmp_0 = game_currentScene__P2979_mk(s); - s.callLocIdx = 1398; s.pc = 1; return s.tmp_0; + s.scene___81737 = undefined; + s.tmp_0 = game_currentScene__P55991_mk(s); + s.callLocIdx = 1399; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___28708 = (r0); - s.tmp_0 = scene_Background_image__P2655_mk(s); - r0 = s.scene___28708.fields["background"]; + s.scene___81737 = (r0); + s.tmp_0 = scene_Background_image__P55667_mk(s); + r0 = s.scene___81737.fields["background"]; s.tmp_0.arg0 = r0; - s.callLocIdx = 1399; s.pc = 2; return s.tmp_0; + s.callLocIdx = 1400; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -scene_backgroundImage__P2866.info = {"start":2297,"length":130,"line":90,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"backgroundImage","argumentNames":[]} +scene_backgroundImage__P55878.info = {"start":2297,"length":130,"line":90,"column":4,"endLine":93,"endColumn":5,"fileName":"pxt_modules/game/scenes.ts","functionName":"backgroundImage","argumentNames":[]} -function scene_backgroundImage__P2866_mk(s) { +function scene_backgroundImage__P55878_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_backgroundImage__P2866, depth: s.depth + 1, + parent: s, fn: scene_backgroundImage__P55878, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - scene___28708: undefined, + scene___81737: undefined, } } -function scene_Background_hasBackgroundImage__P2657(s) { +function scene_Background_hasBackgroundImage__P55669(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67222,7 +67255,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C2649_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C55661_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -67235,12 +67268,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_hasBackgroundImage__P2657.info = {"start":1081,"length":75,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"hasBackgroundImage","argumentNames":["this"]} +scene_Background_hasBackgroundImage__P55669.info = {"start":1081,"length":75,"line":44,"column":8,"endLine":46,"endColumn":9,"fileName":"pxt_modules/game/background.ts","functionName":"hasBackgroundImage","argumentNames":["this"]} -function scene_Background_hasBackgroundImage__P2657_mk(s) { +function scene_Background_hasBackgroundImage__P55669_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_hasBackgroundImage__P2657, depth: s.depth + 1, + parent: s, fn: scene_Background_hasBackgroundImage__P55669, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67253,7 +67286,7 @@ function scene_Background_hasBackgroundImage__P2657_mk(s) { -function particles_AshFactory_createParticle__P3213(s) { +function particles_AshFactory_createParticle__P56225(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67263,16 +67296,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___28737 = undefined; - s.choice___28746 = undefined; - s.p___28751 = undefined; + s.index___81766 = undefined; + s.choice___81775 = undefined; + s.p___81780 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AshFactory__C3211_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AshFactory__C56223_VT)) failedCast(r0); r0 = s.arg0.fields["colors"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); @@ -67285,7 +67318,7 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.tmp_3 = Math_FastRandom_randomRange__P3043_mk(s); + s.tmp_3 = Math_FastRandom_randomRange__P56055_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = 0; @@ -67295,28 +67328,28 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 - 1); s.tmp_3.arg2 = r0; - s.callLocIdx = 1996; s.pc = 8; return s.tmp_3; + s.callLocIdx = 1997; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - s.index___28737 = (r0); + s.index___81766 = (r0); r0 = s.arg0.fields["colors"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.index___28737); - s.choice___28746 = (r0); - s.tmp_0 = particles_AreaFactory_createParticle__P3183_mk(s); + r0 = pxsim_Array__getAt(s.tmp_0, s.index___81766); + s.choice___81775 = (r0); + s.tmp_0 = particles_AreaFactory_createParticle__P56195_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1997; s.pc = 9; return s.tmp_0; + s.callLocIdx = 1998; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.p___28751 = (r0); - s.tmp_0 = r0 = s.choice___28746; + s.p___81780 = (r0); + s.tmp_0 = r0 = s.choice___81775; r0 = s.tmp_0.fields["count"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["count"] = (s.tmp_1); - r0 = s.choice___28746.fields["count"]; + r0 = s.choice___81775.fields["count"]; s.tmp_1 = r0; r0 = (s.tmp_1 === 0); s.tmp_0 = r0; @@ -67324,14 +67357,14 @@ switch (step) { if (!r0) { step = 3; continue; } r0 = s.arg0.fields["colors"]; s.tmp_2 = r0; - r0 = pxsim_Array_.removeAt(s.tmp_2, s.index___28737); + r0 = pxsim_Array_.removeAt(s.tmp_2, s.index___81766); case 3: case 4: - r0 = s.choice___28746.fields["color"]; + r0 = s.choice___81775.fields["color"]; s.tmp_0 = r0; - r0 = (s.p___28751).fields["color"] = (s.tmp_0); - s.tmp_0 = r0 = s.p___28751; - s.tmp_3 = Math_FastRandom_randomRange__P3043_mk(s); + r0 = (s.p___81780).fields["color"] = (s.tmp_0); + s.tmp_0 = r0 = s.p___81780; + s.tmp_3 = Math_FastRandom_randomRange__P56055_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["yRange"]; @@ -67340,11 +67373,11 @@ switch (step) { s.tmp_3.arg1 = r0; r0 = s.arg0.fields["yRange"]; s.tmp_3.arg2 = r0; - s.callLocIdx = 1998; s.pc = 10; return s.tmp_3; + s.callLocIdx = 1999; s.pc = 10; return s.tmp_3; case 10: r0 = s.retval; s.tmp_2 = r0; - r0 = s.p___28751.fields["_y"]; + r0 = s.p___81780.fields["_y"]; s.tmp_5 = r0; r0 = (s.tmp_2 << 8); s.tmp_6 = r0; @@ -67359,7 +67392,7 @@ switch (step) { s.tmp_1.fn = s.tmp_1.arg0.vtable.iface["vx"]; if (s.tmp_1.fn == null) { s.retval = s.tmp_1.arg0.fields["vx"]; } else if (!s.tmp_1.fn.isGetter) { s.retval = bind(s.tmp_1); } - else { s.callLocIdx = 2000; s.pc = 11; return s.tmp_1; } + else { s.callLocIdx = 2001; s.pc = 11; return s.tmp_1; } } case 11: r0 = s.retval; @@ -67374,7 +67407,7 @@ switch (step) { s.tmp_5.fn = s.tmp_5.arg0.vtable.iface["vx"]; if (s.tmp_5.fn == null) { s.retval = s.tmp_5.arg0.fields["vx"]; } else if (!s.tmp_5.fn.isGetter) { s.retval = bind(s.tmp_5); } - else { s.callLocIdx = 2001; s.pc = 12; return s.tmp_5; } + else { s.callLocIdx = 2002; s.pc = 12; return s.tmp_5; } } case 12: r0 = s.retval; @@ -67392,14 +67425,14 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_7 = r0; - r0 = (s.p___28751).fields["vx"] = (s.tmp_7); - s.tmp_0 = r0 = s.p___28751; - s.tmp_3 = Math_FastRandom_randomRange__P3043_mk(s); + r0 = (s.p___81780).fields["vx"] = (s.tmp_7); + s.tmp_0 = r0 = s.p___81780; + s.tmp_3 = Math_FastRandom_randomRange__P56055_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = -150; s.tmp_3.arg2 = -50; - s.callLocIdx = 2004; s.pc = 13; return s.tmp_3; + s.callLocIdx = 2005; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; @@ -67408,17 +67441,17 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___28751; + r0 = s.p___81780; case 7: return leave(s, r0) default: oops() } } } -particles_AshFactory_createParticle__P3213.info = {"start":13251,"length":665,"line":425,"column":8,"endLine":442,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +particles_AshFactory_createParticle__P56225.info = {"start":13251,"length":665,"line":425,"column":8,"endLine":442,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} -function particles_AshFactory_createParticle__P3213_mk(s) { +function particles_AshFactory_createParticle__P56225_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AshFactory_createParticle__P3213, depth: s.depth + 1, + parent: s, fn: particles_AshFactory_createParticle__P56225, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67428,9 +67461,9 @@ function particles_AshFactory_createParticle__P3213_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - index___28737: undefined, - choice___28746: undefined, - p___28751: undefined, + index___81766: undefined, + choice___81775: undefined, + p___81780: undefined, arg0: undefined, arg1: undefined, } } @@ -67439,7 +67472,7 @@ function particles_AshFactory_createParticle__P3213_mk(s) { -function particles_AreaFactory_createParticle__P3183(s) { +function particles_AreaFactory_createParticle__P56195(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67449,42 +67482,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___28806 = undefined; + s.p___81835 = 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__C3177_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P3173_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C56189_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P56185_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1920; s.pc = 3; return s.tmp_0; + s.callLocIdx = 1921; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___28806 = (r0); - s.tmp_0 = r0 = s.p___28806; - s.tmp_2 = Math_FastRandom_randomRange__P3043_mk(s); + s.p___81835 = (r0); + s.tmp_0 = r0 = s.p___81835; + s.tmp_2 = Math_FastRandom_randomRange__P56055_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 = 1921; s.pc = 4; return s.tmp_2; + s.callLocIdx = 1922; 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___28806; - s.tmp_4 = Math_FastRandom_randomRange__P3043_mk(s); + s.tmp_0 = r0 = s.p___81835; + s.tmp_4 = Math_FastRandom_randomRange__P56055_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 = 1922; s.pc = 5; return s.tmp_4; + s.callLocIdx = 1923; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; @@ -67494,7 +67527,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___28806.fields["_x"]; + r0 = s.p___81835.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -67509,7 +67542,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 = 1925; s.pc = 6; return s.tmp_1; } + else { s.callLocIdx = 1926; s.pc = 6; return s.tmp_1; } } case 6: r0 = s.retval; @@ -67524,7 +67557,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 = 1926; s.pc = 7; return s.tmp_3; } + else { s.callLocIdx = 1927; s.pc = 7; return s.tmp_3; } } case 7: r0 = s.retval; @@ -67536,36 +67569,36 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___28806; - s.tmp_9 = Math_FastRandom_randomRange__P3043_mk(s); + s.tmp_5 = r0 = s.p___81835; + s.tmp_9 = Math_FastRandom_randomRange__P56055_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 = 1924; s.pc = 8; return s.tmp_9; + s.callLocIdx = 1925; 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___28806.fields["_y"]; + r0 = s.p___81835.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___28806; + r0 = s.p___81835; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P3183.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__P56195.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__P3183_mk(s) { +function particles_AreaFactory_createParticle__P56195_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P3183, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P56195, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67579,7 +67612,7 @@ function particles_AreaFactory_createParticle__P3183_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___28806: undefined, + p___81835: undefined, arg0: undefined, arg1: undefined, } } @@ -67588,7 +67621,7 @@ function particles_AreaFactory_createParticle__P3183_mk(s) { -function particles_SprayFactory_createParticle__P3173(s) { +function particles_SprayFactory_createParticle__P56185(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67598,39 +67631,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___28854 = undefined; - s.angle___28858 = undefined; + s.p___81883 = undefined; + s.angle___81887 = 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__C3171_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P3169_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C56183_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P56181_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1909; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1910; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___28854 = (r0); + s.p___81883 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P3043_mk(s); - s.tmp_3.arg0 = globals.galois___5378; + s.tmp_3 = Math_FastRandom_randomRange__P56055_mk(s); + s.tmp_3.arg0 = globals.galois___58391; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; - s.callLocIdx = 1910; s.pc = 2; return s.tmp_3; + s.callLocIdx = 1911; 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___28858 = (r0); - s.tmp_0 = r0 = s.p___28854; - r0 = pxsim_Array__getAt(globals.cachedSin___5373, s.angle___28858); + s.angle___81887 = (r0); + s.tmp_0 = r0 = s.p___81883; + r0 = pxsim_Array__getAt(globals.cachedSin___58386, s.angle___81887); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -67639,8 +67672,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___28854; - r0 = pxsim_Array__getAt(globals.cachedCos___5374, s.angle___28858); + s.tmp_0 = r0 = s.p___81883; + r0 = pxsim_Array__getAt(globals.cachedCos___58387, s.angle___81887); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -67649,24 +67682,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___28854; + r0 = s.p___81883; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P3173.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__P56185.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__P3173_mk(s) { +function particles_SprayFactory_createParticle__P56185_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P3173, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P56185, 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___28854: undefined, - angle___28858: undefined, + p___81883: undefined, + angle___81887: undefined, arg0: undefined, arg1: undefined, } } @@ -67675,7 +67708,7 @@ function particles_SprayFactory_createParticle__P3173_mk(s) { -function RingFactory_createParticle__P8941(s) { +function RingFactory_createParticle__P61969(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67685,47 +67718,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___28954 = undefined; + s.p___81983 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, RingFactory__C8939_VT)) failedCast(r0); - s.tmp_0 = particles_RadialFactory_createParticle__P3206_mk(s); + if (!checkSubtype(r0, RingFactory__C61967_VT)) failedCast(r0); + s.tmp_0 = particles_RadialFactory_createParticle__P56218_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 2039; s.pc = 1; return s.tmp_0; + s.callLocIdx = 2040; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___28954 = (r0); - s.tmp_0 = r0 = s.p___28954; - s.tmp_2 = Math_FastRandom_randomRange__P3043_mk(s); + s.p___81983 = (r0); + s.tmp_0 = r0 = s.p___81983; + s.tmp_2 = Math_FastRandom_randomRange__P56055_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 200; s.tmp_2.arg2 = 350; - s.callLocIdx = 2040; s.pc = 2; return s.tmp_2; + s.callLocIdx = 2041; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lifespan"] = (s.tmp_1); - r0 = s.p___28954; + r0 = s.p___81983; return leave(s, r0) default: oops() } } } -RingFactory_createParticle__P8941.info = {"start":10401,"length":210,"line":264,"column":12,"endLine":268,"endColumn":13,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +RingFactory_createParticle__P61969.info = {"start":10401,"length":210,"line":264,"column":12,"endLine":268,"endColumn":13,"fileName":"pxt_modules/game/particleeffects.ts","functionName":"createParticle","argumentNames":["this","anchor"]} -function RingFactory_createParticle__P8941_mk(s) { +function RingFactory_createParticle__P61969_mk(s) { checkStack(s.depth); return { - parent: s, fn: RingFactory_createParticle__P8941, depth: s.depth + 1, + parent: s, fn: RingFactory_createParticle__P61969, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___28954: undefined, + p___81983: undefined, arg0: undefined, arg1: undefined, } } @@ -67734,7 +67767,7 @@ function RingFactory_createParticle__P8941_mk(s) { -function particles_RadialFactory_createParticle__P3206(s) { +function particles_RadialFactory_createParticle__P56218(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67744,51 +67777,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___28966 = undefined; - s.time___28970 = undefined; - s.offsetTime___28978 = undefined; + s.p___81995 = undefined; + s.time___81999 = undefined; + s.offsetTime___82007 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_RadialFactory__C3204_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P3169_mk(s); + if (!checkSubtype(r0, particles_RadialFactory__C56216_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P56181_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.callLocIdx = 1967; s.pc = 1; return s.tmp_0; + s.callLocIdx = 1968; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___28966 = (r0); + s.p___81995 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["t"]; s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["t"] = (s.tmp_1); - r0 = pxsim_Array__length(globals.cachedCos___5374); + r0 = pxsim_Array__length(globals.cachedCos___58387); s.tmp_3 = r0; r0 = (s.tmp_1 % s.tmp_3); - s.time___28970 = (r0); - s.tmp_1 = r0 = s.time___28970; - s.tmp_3 = Math_FastRandom_randomRange__P3043_mk(s); + s.time___81999 = (r0); + s.tmp_1 = r0 = s.time___81999; + s.tmp_3 = Math_FastRandom_randomRange__P56055_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; - s.callLocIdx = 1968; s.pc = 2; return s.tmp_3; + s.callLocIdx = 1969; 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 = pxsim_Array__length(globals.cachedCos___5374); + r0 = pxsim_Array__length(globals.cachedCos___58387); s.tmp_4 = r0; r0 = (s.tmp_0 % s.tmp_4); - s.offsetTime___28978 = (r0); - s.tmp_0 = r0 = s.p___28966; + s.offsetTime___82007 = (r0); + s.tmp_0 = r0 = s.p___81995; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -67797,14 +67830,14 @@ 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 = 1969; s.pc = 3; return s.tmp_3; } + else { s.callLocIdx = 1970; s.pc = 3; return s.tmp_3; } } case 3: r0 = s.retval; s.tmp_2 = r0; r0 = s.arg0.fields["r"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(globals.cachedCos___5374, s.time___28970); + r0 = pxsim_Array__getAt(globals.cachedCos___58387, s.time___81999); s.tmp_6 = r0; r0 = pxsim.Math_.imul(s.tmp_5, s.tmp_6); s.tmp_7 = r0; @@ -67815,7 +67848,7 @@ switch (step) { r0 = (s.tmp_8 + s.tmp_4); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___28966; + s.tmp_0 = r0 = s.p___81995; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -67824,14 +67857,14 @@ 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 = 1972; s.pc = 4; return s.tmp_3; } + else { s.callLocIdx = 1973; s.pc = 4; return s.tmp_3; } } case 4: r0 = s.retval; s.tmp_2 = r0; r0 = s.arg0.fields["r"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(globals.cachedSin___5373, s.time___28970); + r0 = pxsim_Array__getAt(globals.cachedSin___58386, s.time___81999); s.tmp_6 = r0; r0 = pxsim.Math_.imul(s.tmp_5, s.tmp_6); s.tmp_7 = r0; @@ -67842,10 +67875,10 @@ switch (step) { r0 = (s.tmp_8 + s.tmp_4); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___28966; + s.tmp_0 = r0 = s.p___81995; r0 = s.arg0.fields["speed"]; s.tmp_2 = r0; - r0 = pxsim_Array__getAt(globals.cachedSin___5373, s.offsetTime___28978); + r0 = pxsim_Array__getAt(globals.cachedSin___58386, s.offsetTime___82007); s.tmp_4 = r0; r0 = (0 - s.tmp_4); s.tmp_3 = r0; @@ -67854,48 +67887,48 @@ switch (step) { r0 = (s.tmp_5 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vx"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___28966; + s.tmp_0 = r0 = s.p___81995; r0 = s.arg0.fields["speed"]; s.tmp_2 = r0; - r0 = pxsim_Array__getAt(globals.cachedCos___5374, s.offsetTime___28978); + r0 = pxsim_Array__getAt(globals.cachedCos___58387, s.offsetTime___82007); s.tmp_3 = r0; r0 = pxsim.Math_.imul(s.tmp_2, s.tmp_3); s.tmp_4 = r0; r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___28966; - s.tmp_2 = Math_FastRandom_randomRange__P3043_mk(s); + s.tmp_0 = r0 = s.p___81995; + s.tmp_2 = Math_FastRandom_randomRange__P56055_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 200; s.tmp_2.arg2 = 1500; - s.callLocIdx = 1978; s.pc = 5; return s.tmp_2; + s.callLocIdx = 1979; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___28966; - s.tmp_2 = Math_FastRandom_pickRandom__P3044_mk(s); + s.tmp_0 = r0 = s.p___81995; + s.tmp_2 = Math_FastRandom_pickRandom__P56056_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["colors"]; s.tmp_2.arg1 = r0; - s.callLocIdx = 1979; s.pc = 6; return s.tmp_2; + s.callLocIdx = 1980; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___28966; + r0 = s.p___81995; return leave(s, r0) default: oops() } } } -particles_RadialFactory_createParticle__P3206.info = {"start":10478,"length":675,"line":341,"column":8,"endLine":355,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} +particles_RadialFactory_createParticle__P56218.info = {"start":10478,"length":675,"line":341,"column":8,"endLine":355,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"createParticle","argumentNames":["this","anchor"]} -function particles_RadialFactory_createParticle__P3206_mk(s) { +function particles_RadialFactory_createParticle__P56218_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_RadialFactory_createParticle__P3206, depth: s.depth + 1, + parent: s, fn: particles_RadialFactory_createParticle__P56218, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67906,9 +67939,9 @@ function particles_RadialFactory_createParticle__P3206_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - p___28966: undefined, - time___28970: undefined, - offsetTime___28978: undefined, + p___81995: undefined, + time___81999: undefined, + offsetTime___82007: undefined, arg0: undefined, arg1: undefined, } } @@ -67917,7 +67950,7 @@ function particles_RadialFactory_createParticle__P3206_mk(s) { -function Math_FastRandom_pickRandom__P3044(s) { +function Math_FastRandom_pickRandom__P56056(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -67933,7 +67966,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C3039_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C56051_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -67956,14 +67989,14 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P3043_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P56055_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 = 1655; s.pc = 6; return s.tmp_6; + s.callLocIdx = 1656; s.pc = 6; return s.tmp_6; case 6: r0 = s.retval; s.tmp_5 = r0; @@ -67972,12 +68005,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P3044.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__P56056.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__P3044_mk(s) { +function Math_FastRandom_pickRandom__P56056_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P3044, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P56056, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -67995,7 +68028,7 @@ function Math_FastRandom_pickRandom__P3044_mk(s) { -function music_MelodyPlayable_play__P1903(s) { +function music_MelodyPlayable_play__P54915(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68011,15 +68044,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayable__C1901_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayable__C54913_VT)) failedCast(r0); r0 = (s.arg1 === 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_Melody_play__P1633_mk(s); + s.tmp_1 = music_Melody_play__P54645_mk(s); r0 = s.arg0.fields["melody"]; s.tmp_1.arg0 = r0; - s.tmp_2 = music_volume__P1621_mk(s); + s.tmp_2 = music_volume__P54633_mk(s); s.callLocIdx = 180; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; @@ -68033,10 +68066,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = music_Melody_playUntilDone__P1634_mk(s); + s.tmp_1 = music_Melody_playUntilDone__P54646_mk(s); r0 = s.arg0.fields["melody"]; s.tmp_1.arg0 = r0; - s.tmp_2 = music_volume__P1621_mk(s); + s.tmp_2 = music_volume__P54633_mk(s); s.callLocIdx = 182; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; @@ -68046,10 +68079,10 @@ switch (step) { r0 = s.retval; { step = 3; continue; } case 2: - s.tmp_0 = music_Melody_loop__P1632_mk(s); + s.tmp_0 = music_Melody_loop__P54644_mk(s); r0 = s.arg0.fields["melody"]; s.tmp_0.arg0 = r0; - s.tmp_1 = music_volume__P1621_mk(s); + s.tmp_1 = music_volume__P54633_mk(s); s.callLocIdx = 184; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -68063,12 +68096,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_MelodyPlayable_play__P1903.info = {"start":1608,"length":390,"line":72,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"play","argumentNames":["this","playbackMode"]} +music_MelodyPlayable_play__P54915.info = {"start":1608,"length":390,"line":72,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/mixer/playable.ts","functionName":"play","argumentNames":["this","playbackMode"]} -function music_MelodyPlayable_play__P1903_mk(s) { +function music_MelodyPlayable_play__P54915_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayable_play__P1903, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayable_play__P54915, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68081,7 +68114,7 @@ function music_MelodyPlayable_play__P1903_mk(s) { -function music_Melody_playUntilDone__P1634(s) { +function music_Melody_playUntilDone__P54646(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68091,42 +68124,42 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___24109 = undefined; + s.p___77138 = undefined; 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_stop__P1631_mk(s); + if (!checkSubtype(r0, music_Melody__C54638_VT)) failedCast(r0); + s.tmp_0 = music_Melody_stop__P54643_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 105; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C1637_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayer__C54649_VT); s.tmp_0 = r0; - s.tmp_1 = music_MelodyPlayer_constructor__P1640_mk(s); + s.tmp_1 = music_MelodyPlayer_constructor__P54652_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 106; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; r0 = (s.arg0).fields["_player"] = (s.tmp_0); - s.p___24109 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(2, music_Melody_playUntilDone_inline__P24118); + s.p___77138 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(2, music_Melody_playUntilDone_inline__P77147); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.p___24109); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.p___77138); r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.arg0); r0 = s.arg0.fields["_player"]; s.tmp_1 = r0; r0 = (s.tmp_1).fields["onPlayFinished"] = (s.tmp_0); - s.tmp_0 = music_Melody_registerMelody__P4582_mk(s); + s.tmp_0 = music_Melody_registerMelody__P57595_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 108; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = music_MelodyPlayer_play__P1642_mk(s); + s.tmp_0 = music_MelodyPlayer_play__P54654_mk(s); r0 = s.arg0.fields["_player"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -68137,16 +68170,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_playUntilDone__P1634.info = {"start":9869,"length":344,"line":307,"column":8,"endLine":316,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playUntilDone","argumentNames":["this","volume"]} +music_Melody_playUntilDone__P54646.info = {"start":9869,"length":344,"line":307,"column":8,"endLine":316,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"playUntilDone","argumentNames":["this","volume"]} -function music_Melody_playUntilDone__P1634_mk(s) { +function music_Melody_playUntilDone__P54646_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_playUntilDone__P1634, depth: s.depth + 1, + parent: s, fn: music_Melody_playUntilDone__P54646, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___24109: undefined, + p___77138: undefined, arg0: undefined, arg1: undefined, } } @@ -68155,7 +68188,7 @@ function music_Melody_playUntilDone__P1634_mk(s) { -function music_Melody_playUntilDone_inline__P24118(s) { +function music_Melody_playUntilDone_inline__P77147(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68171,7 +68204,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = music_Melody_unregisterMelody__P4583_mk(s); + s.tmp_2 = music_Melody_unregisterMelody__P57596_mk(s); s.tmp_2.arg0 = s.caps[1]; s.callLocIdx = 107; s.pc = 3; return s.tmp_2; case 3: @@ -68182,12 +68215,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_playUntilDone_inline__P24118.info = {"start":10025,"length":105,"line":310,"column":42,"endLine":313,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} +music_Melody_playUntilDone_inline__P77147.info = {"start":10025,"length":105,"line":310,"column":42,"endLine":313,"endColumn":13,"fileName":"pxt_modules/mixer/melody.ts","functionName":"inline","argumentNames":[]} -function music_Melody_playUntilDone_inline__P24118_mk(s) { +function music_Melody_playUntilDone_inline__P77147_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_playUntilDone_inline__P24118, depth: s.depth + 1, + parent: s, fn: music_Melody_playUntilDone_inline__P77147, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68198,7 +68231,7 @@ function music_Melody_playUntilDone_inline__P24118_mk(s) { -function music_Melody_loop__P1632(s) { +function music_Melody_loop__P54644(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68214,8 +68247,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1626_VT)) failedCast(r0); - s.tmp_0 = music_Melody_playCore__P4584_mk(s); + if (!checkSubtype(r0, music_Melody__C54638_VT)) failedCast(r0); + s.tmp_0 = music_Melody_playCore__P57597_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = true; @@ -68226,12 +68259,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_Melody_loop__P1632.info = {"start":8990,"length":70,"line":278,"column":8,"endLine":280,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"loop","argumentNames":["this","volume"]} +music_Melody_loop__P54644.info = {"start":8990,"length":70,"line":278,"column":8,"endLine":280,"endColumn":9,"fileName":"pxt_modules/mixer/melody.ts","functionName":"loop","argumentNames":["this","volume"]} -function music_Melody_loop__P1632_mk(s) { +function music_Melody_loop__P54644_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_loop__P1632, depth: s.depth + 1, + parent: s, fn: music_Melody_loop__P54644, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -68242,7 +68275,7 @@ function music_Melody_loop__P1632_mk(s) { -function game_SplashDialog_drawTextCore__P2922(s) { +function game_SplashDialog_drawTextCore__P55934(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68252,25 +68285,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scrollMax___24130 = undefined; - s.left___24173 = undefined; - s.ysub___24218 = undefined; - s.left___24229 = undefined; + s.scrollMax___77159 = undefined; + s.left___77202 = undefined; + s.ysub___77247 = undefined; + s.left___77258 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_SplashDialog__C2912_VT)) failedCast(r0); - s.tmp_0 = Math_max__P130_mk(s); + if (!checkSubtype(r0, game_SplashDialog__C55924_VT)) failedCast(r0); + s.tmp_0 = Math_max__P53142_mk(s); r0 = s.arg0.fields["maxOffset"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["maxSubOffset"]; s.tmp_0.arg1 = r0; - s.callLocIdx = 1471; s.pc = 15; return s.tmp_0; + s.callLocIdx = 1472; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.scrollMax___24130 = (r0); + s.scrollMax___77159 = (r0); r0 = s.arg0.fields["timer"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 0); @@ -68280,8 +68313,8 @@ switch (step) { s.tmp_2 = r0 = s.arg0; r0 = s.tmp_2.fields["timer"]; s.tmp_4 = r0; - s.tmp_7 = game_eventContext__P2982_mk(s); - s.callLocIdx = 1472; s.pc = 16; return s.tmp_7; + s.tmp_7 = game_eventContext__P55994_mk(s); + s.callLocIdx = 1473; s.pc = 16; return s.tmp_7; case 16: r0 = s.retval; s.tmp_6 = r0; @@ -68320,11 +68353,11 @@ switch (step) { r0 = (s.tmp_0).fields["offset"] = (s.tmp_1); r0 = s.arg0.fields["offset"]; s.tmp_1 = r0; - r0 = (s.tmp_1 >= s.scrollMax___24130); + r0 = (s.tmp_1 >= s.scrollMax___77159); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - r0 = (s.arg0).fields["offset"] = (s.scrollMax___24130); + r0 = (s.arg0).fields["offset"] = (s.scrollMax___77159); r0 = (s.arg0).fields["timer"] = (2); case 6: case 7: @@ -68354,7 +68387,7 @@ switch (step) { s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["charWidth"]; if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["charWidth"]; } else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } - else { s.callLocIdx = 1474; s.pc = 17; return s.tmp_10; } + else { s.callLocIdx = 1475; s.pc = 17; return s.tmp_10; } } case 17: r0 = s.retval; @@ -68364,25 +68397,25 @@ switch (step) { r0 = (s.tmp_6 >> 1); s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); - s.left___24173 = (r0); - s.tmp_0 = helpers_imagePrint__P1971_mk(s); + s.left___77202 = (r0); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["text"]; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___24173; + s.tmp_0.arg2 = s.left___77202; s.tmp_0.arg3 = 10; r0 = s.arg0.fields["textColor"]; s.tmp_0.arg4 = r0; r0 = s.arg0.fields["font"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1475; s.pc = 18; return s.tmp_0; + s.callLocIdx = 1476; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; { step = 10; continue; } case 9: - s.tmp_0 = helpers_imagePrint__P1971_mk(s); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["text"]; @@ -68399,7 +68432,7 @@ switch (step) { r0 = s.arg0.fields["font"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1476; s.pc = 19; return s.tmp_0; + s.callLocIdx = 1477; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; case 10: @@ -68416,7 +68449,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["charHeight"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["charHeight"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1477; s.pc = 20; return s.tmp_3; } + else { s.callLocIdx = 1478; s.pc = 20; return s.tmp_3; } } case 20: r0 = s.retval; @@ -68424,7 +68457,7 @@ switch (step) { r0 = (10 + s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_1 + 2); - s.ysub___24218 = (r0); + s.ysub___77247 = (r0); r0 = s.arg0.fields["maxSubOffset"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); @@ -68450,7 +68483,7 @@ switch (step) { s.tmp_10.fn = s.tmp_10.arg0.vtable.iface["charWidth"]; if (s.tmp_10.fn == null) { s.retval = s.tmp_10.arg0.fields["charWidth"]; } else if (!s.tmp_10.fn.isGetter) { s.retval = bind(s.tmp_10); } - else { s.callLocIdx = 1478; s.pc = 21; return s.tmp_10; } + else { s.callLocIdx = 1479; s.pc = 21; return s.tmp_10; } } case 21: r0 = s.retval; @@ -68460,69 +68493,69 @@ switch (step) { r0 = (s.tmp_6 >> 1); s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); - s.left___24229 = (r0); - s.tmp_0 = helpers_imagePrint__P1971_mk(s); + s.left___77258 = (r0); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["subtext"]; s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.left___24229; - s.tmp_0.arg3 = s.ysub___24218; + s.tmp_0.arg2 = s.left___77258; + s.tmp_0.arg3 = s.ysub___77247; r0 = s.arg0.fields["textColor"]; s.tmp_0.arg4 = r0; r0 = s.arg0.fields["font"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1479; s.pc = 22; return s.tmp_0; + s.callLocIdx = 1480; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; { step = 12; continue; } case 11: - s.tmp_0 = helpers_imagePrint__P1971_mk(s); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); r0 = s.arg0.fields["image"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["subtext"]; s.tmp_0.arg1 = r0; r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; - s.tmp_3 = Math_min__P131_mk(s); + s.tmp_3 = Math_min__P53143_mk(s); r0 = s.arg0.fields["offset"]; s.tmp_3.arg0 = r0; r0 = s.arg0.fields["maxSubOffset"]; s.tmp_3.arg1 = r0; - s.callLocIdx = 1480; s.pc = 24; return s.tmp_3; + s.callLocIdx = 1481; s.pc = 24; return s.tmp_3; case 24: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.ysub___24218; + s.tmp_0.arg3 = s.ysub___77247; r0 = s.arg0.fields["textColor"]; s.tmp_0.arg4 = r0; r0 = s.arg0.fields["font"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = undefined; - s.callLocIdx = 1481; s.pc = 23; return s.tmp_0; + s.callLocIdx = 1482; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; case 12: case 13: case 14: - s.tmp_0 = game_BaseDialog_drawBorder__P4984_mk(s); + s.tmp_0 = game_BaseDialog_drawBorder__P57997_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1482; s.pc = 25; return s.tmp_0; + s.callLocIdx = 1483; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -game_SplashDialog_drawTextCore__P2922.info = {"start":9958,"length":1616,"line":306,"column":8,"endLine":344,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_SplashDialog_drawTextCore__P55934.info = {"start":9958,"length":1616,"line":306,"column":8,"endLine":344,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_SplashDialog_drawTextCore__P2922_mk(s) { +function game_SplashDialog_drawTextCore__P55934_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_SplashDialog_drawTextCore__P2922, depth: s.depth + 1, + parent: s, fn: game_SplashDialog_drawTextCore__P55934, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68535,10 +68568,10 @@ function game_SplashDialog_drawTextCore__P2922_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scrollMax___24130: undefined, - left___24173: undefined, - ysub___24218: undefined, - left___24229: undefined, + scrollMax___77159: undefined, + left___77202: undefined, + ysub___77247: undefined, + left___77258: undefined, arg0: undefined, } } @@ -68546,7 +68579,7 @@ function game_SplashDialog_drawTextCore__P2922_mk(s) { -function sprites_SpriteMap_toString__P2434(s) { +function sprites_SpriteMap_toString__P55446(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68561,7 +68594,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2426_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C55438_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -68581,10 +68614,10 @@ 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__P53122_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = length_inline__P26074; + s.tmp_10.arg1 = length_inline__P79103; s.callLocIdx = 810; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -68606,12 +68639,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P2434.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__P55446.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__P2434_mk(s) { +function sprites_SpriteMap_toString__P55446_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P2434, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P55446, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68631,7 +68664,7 @@ function sprites_SpriteMap_toString__P2434_mk(s) { -function length_inline__P26074(s) { +function length_inline__P79103(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68655,12 +68688,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -length_inline__P26074.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__P79103.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__P26074_mk(s) { +function length_inline__P79103_mk(s) { checkStack(s.depth); return { - parent: s, fn: length_inline__P26074, depth: s.depth + 1, + parent: s, fn: length_inline__P79103, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68672,7 +68705,7 @@ function length_inline__P26074_mk(s) { -function ArcadePhysicsEngine_moveSprite__P2521(s) { +function ArcadePhysicsEngine_moveSprite__P55533(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68682,9 +68715,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___26106 = undefined; - s.maxDist___26114 = undefined; - s.ms___26134 = undefined; + s.tm___79135 = undefined; + s.maxDist___79143 = undefined; + s.ms___79163 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -68693,7 +68726,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -68712,19 +68745,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__P2979_mk(s); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 1053; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___26106 = (r0); - s.tmp_0 = r0 = s.tm___26106; + s.tm___79135 = (r0); + s.tmp_0 = r0 = s.tm___79135; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___26106.fields["_map"]; + r0 = s.tm___79135.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -68743,8 +68776,8 @@ switch (step) { r0 = (s.tmp_6 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.maxDist___26114 = (r0); - s.tmp_2 = Math_abs__P128_mk(s); + s.maxDist___79143 = (r0); + s.tmp_2 = Math_abs__P53140_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); @@ -68753,14 +68786,14 @@ switch (step) { case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___26114); + r0 = (s.tmp_1 <= s.maxDist___79143); 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__P53140_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); @@ -68769,15 +68802,15 @@ switch (step) { case 15: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___26114); + r0 = (s.tmp_4 <= s.maxDist___79143); 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__C2505_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C55517_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P2506_mk(s); + s.tmp_9 = MovingSprite_constructor__P55518_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -68791,18 +68824,18 @@ switch (step) { s.callLocIdx = 1060; s.pc = 16; return s.tmp_9; case 16: r0 = s.retval; - s.ms___26134 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P4878_mk(s); + s.ms___79163 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P57891_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___26134; - s.tmp_0.arg2 = s.tm___26106; + s.tmp_0.arg1 = s.ms___79163; + s.tmp_0.arg2 = s.tm___79135; s.callLocIdx = 1061; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 5: - s.tmp_1 = tiles_TileMap_isOnWall__P2738_mk(s); - s.tmp_1.arg0 = s.tm___26106; + s.tmp_1 = tiles_TileMap_isOnWall__P55750_mk(s); + s.tmp_1.arg0 = s.tm___79135; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 1062; s.pc = 18; return s.tmp_1; case 18: @@ -68813,10 +68846,10 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P4880_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P57893_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___26106; + s.tmp_4.arg2 = s.tm___79135; s.callLocIdx = 1063; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; @@ -68851,12 +68884,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P2521.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__P55533.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__P2521_mk(s) { +function ArcadePhysicsEngine_moveSprite__P55533_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P2521, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P55533, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -68868,9 +68901,9 @@ function ArcadePhysicsEngine_moveSprite__P2521_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___26106: undefined, - maxDist___26114: undefined, - ms___26134: undefined, + tm___79135: undefined, + maxDist___79143: undefined, + ms___79163: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -68881,7 +68914,7 @@ function ArcadePhysicsEngine_moveSprite__P2521_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P4880(s) { +function ArcadePhysicsEngine_canResolveClipping__P57893(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -68891,19 +68924,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___26179 = undefined; - s.sz___26182 = undefined; - s.maxMove___26187 = undefined; - s.origY___26189 = undefined; - s.origX___26192 = undefined; - s.l___26195 = undefined; - s.r___26200 = undefined; - s.t___26205 = undefined; - s.b___26210 = undefined; - s.offset___26215 = undefined; - s.offset___26240 = undefined; - s.offset___26271 = undefined; - s.offset___26296 = undefined; + s.hbox___79208 = undefined; + s.sz___79211 = undefined; + s.maxMove___79216 = undefined; + s.origY___79218 = undefined; + s.origX___79221 = undefined; + s.l___79224 = undefined; + s.r___79229 = undefined; + s.t___79234 = undefined; + s.b___79239 = undefined; + s.offset___79244 = undefined; + s.offset___79269 = undefined; + s.offset___79300 = undefined; + s.offset___79325 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -68911,7 +68944,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -68922,9 +68955,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite__C2321_v4_1_mk(s); + s.tmp_4 = Sprite__C55333_v4_1_mk(s); s.tmp_4.arg0 = s.arg1; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C2321_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, Sprite__C55333_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: @@ -68932,23 +68965,23 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___26179 = (r0); + s.hbox___79208 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___26182 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P2513_mk(s); + s.sz___79211 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P55525_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1066; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___26187 = (r0); + s.maxMove___79216 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___26189 = (r0); + s.origY___79218 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___26192 = (r0); - s.tmp_1 = game_Hitbox_left__P2197_mk(s); - s.tmp_1.arg0 = s.hbox___26179; + s.origX___79221 = (r0); + s.tmp_1 = game_Hitbox_left__P55209_mk(s); + s.tmp_1.arg0 = s.hbox___79208; s.callLocIdx = 1067; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -68956,9 +68989,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___26195 = (r0); - s.tmp_1 = game_Hitbox_right__P2199_mk(s); - s.tmp_1.arg0 = s.hbox___26179; + s.l___79224 = (r0); + s.tmp_1 = game_Hitbox_right__P55211_mk(s); + s.tmp_1.arg0 = s.hbox___79208; s.callLocIdx = 1069; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; @@ -68966,9 +68999,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___26200 = (r0); - s.tmp_1 = game_Hitbox_top__P2198_mk(s); - s.tmp_1.arg0 = s.hbox___26179; + s.r___79229 = (r0); + s.tmp_1 = game_Hitbox_top__P55210_mk(s); + s.tmp_1.arg0 = s.hbox___79208; s.callLocIdx = 1071; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; @@ -68976,9 +69009,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___26205 = (r0); - s.tmp_1 = game_Hitbox_bottom__P2200_mk(s); - s.tmp_1.arg0 = s.hbox___26179; + s.t___79234 = (r0); + s.tmp_1 = game_Hitbox_bottom__P55212_mk(s); + s.tmp_1.arg0 = s.hbox___79208; s.callLocIdx = 1073; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -68986,26 +69019,26 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___26210 = (r0); - r0 = (s.b___26210 + 1); + s.b___79239 = (r0); + r0 = (s.b___79239 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___26182); - s.offset___26215 = (r0); - r0 = (s.offset___26215 <= s.maxMove___26187); + r0 = (s.tmp_0 % s.sz___79211); + s.offset___79244 = (r0); + r0 = (s.offset___79244 <= s.maxMove___79216); 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___26215 * 256); + r0 = (s.offset___79244 * 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__P2738_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P55750_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 1077; s.pc = 26; return s.tmp_3; @@ -69022,35 +69055,35 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___26189); + r0 = (s.arg1).fields["_y"] = (s.origY___79218); case 4: case 5: case 6: - r0 = (s.t___26205 / s.sz___26182); + r0 = (s.t___79234 / s.sz___79211); 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___26182); + r0 = (s.tmp_1 * s.sz___79211); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___26205); - s.offset___26240 = (r0); - r0 = (s.offset___26240 <= s.maxMove___26187); + r0 = (s.tmp_0 - s.t___79234); + s.offset___79269 = (r0); + r0 = (s.offset___79269 <= s.maxMove___79216); 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___26240 * 256); + r0 = (s.offset___79269 * 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__P2738_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P55750_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 1080; s.pc = 27; return s.tmp_3; @@ -69067,29 +69100,29 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___26189); + r0 = (s.arg1).fields["_y"] = (s.origY___79218); case 8: case 9: case 10: - r0 = (s.r___26200 + 1); + r0 = (s.r___79229 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___26182); - s.offset___26271 = (r0); - r0 = (s.offset___26271 <= s.maxMove___26187); + r0 = (s.tmp_0 % s.sz___79211); + s.offset___79300 = (r0); + r0 = (s.offset___79300 <= s.maxMove___79216); 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___26271 * 256); + r0 = (s.offset___79300 * 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__P2738_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P55750_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 1083; s.pc = 28; return s.tmp_3; @@ -69106,35 +69139,35 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___26192); + r0 = (s.arg1).fields["_x"] = (s.origX___79221); case 12: case 13: case 14: - r0 = (s.l___26195 / s.sz___26182); + r0 = (s.l___79224 / s.sz___79211); 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___26182); + r0 = (s.tmp_1 * s.sz___79211); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___26195); - s.offset___26296 = (r0); - r0 = (s.offset___26296 <= s.maxMove___26187); + r0 = (s.tmp_0 - s.l___79224); + s.offset___79325 = (r0); + r0 = (s.offset___79325 <= s.maxMove___79216); 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___26296 * 256); + r0 = (s.offset___79325 * 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__P2738_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P55750_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 1086; s.pc = 29; return s.tmp_3; @@ -69151,7 +69184,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___26192); + r0 = (s.arg1).fields["_x"] = (s.origX___79221); case 16: case 17: case 18: @@ -69160,12 +69193,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P4880.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__P57893.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__P4880_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P57893_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P4880, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P57893, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69173,19 +69206,19 @@ function ArcadePhysicsEngine_canResolveClipping__P4880_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___26179: undefined, - sz___26182: undefined, - maxMove___26187: undefined, - origY___26189: undefined, - origX___26192: undefined, - l___26195: undefined, - r___26200: undefined, - t___26205: undefined, - b___26210: undefined, - offset___26215: undefined, - offset___26240: undefined, - offset___26271: undefined, - offset___26296: undefined, + hbox___79208: undefined, + sz___79211: undefined, + maxMove___79216: undefined, + origY___79218: undefined, + origX___79221: undefined, + l___79224: undefined, + r___79229: undefined, + t___79234: undefined, + b___79239: undefined, + offset___79244: undefined, + offset___79269: undefined, + offset___79300: undefined, + offset___79325: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -69195,7 +69228,7 @@ function ArcadePhysicsEngine_canResolveClipping__P4880_mk(s) { -function Sprite_isStatic__P2375(s) { +function Sprite_isStatic__P55387(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69210,19 +69243,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2375.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__P55387.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__P2375_mk(s) { +function Sprite_isStatic__P55387_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P2375, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P55387, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -69232,7 +69265,7 @@ function Sprite_isStatic__P2375_mk(s) { -function game_Hitbox_bottom__P2200(s) { +function game_Hitbox_bottom__P55212(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69247,10 +69280,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2189_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C55201_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P2198_mk(s); + s.tmp_3 = game_Hitbox_top__P55210_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 356; s.pc = 1; return s.tmp_3; case 1: @@ -69262,13 +69295,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P2200.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__P2200.isGetter = true; +game_Hitbox_bottom__P55212.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__P55212.isGetter = true; -function game_Hitbox_bottom__P2200_mk(s) { +function game_Hitbox_bottom__P55212_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P2200, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P55212, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69281,7 +69314,7 @@ function game_Hitbox_bottom__P2200_mk(s) { -function game_Hitbox_right__P2199(s) { +function game_Hitbox_right__P55211(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69296,10 +69329,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2189_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C55201_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P2197_mk(s); + s.tmp_3 = game_Hitbox_left__P55209_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 353; s.pc = 1; return s.tmp_3; case 1: @@ -69311,13 +69344,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P2199.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__P2199.isGetter = true; +game_Hitbox_right__P55211.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__P55211.isGetter = true; -function game_Hitbox_right__P2199_mk(s) { +function game_Hitbox_right__P55211_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P2199, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P55211, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69330,7 +69363,7 @@ function game_Hitbox_right__P2199_mk(s) { -function game_Hitbox_top__P2198(s) { +function game_Hitbox_top__P55210(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69345,7 +69378,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2189_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C55201_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -69355,13 +69388,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P2198.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__P2198.isGetter = true; +game_Hitbox_top__P55210.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__P55210.isGetter = true; -function game_Hitbox_top__P2198_mk(s) { +function game_Hitbox_top__P55210_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P2198, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P55210, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69372,7 +69405,7 @@ function game_Hitbox_top__P2198_mk(s) { -function game_Hitbox_left__P2197(s) { +function game_Hitbox_left__P55209(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69387,7 +69420,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2189_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C55201_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -69397,13 +69430,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P2197.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__P2197.isGetter = true; +game_Hitbox_left__P55209.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__P55209.isGetter = true; -function game_Hitbox_left__P2197_mk(s) { +function game_Hitbox_left__P55209_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P2197, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P55209, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -69414,7 +69447,7 @@ function game_Hitbox_left__P2197_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P4878(s) { +function ArcadePhysicsEngine_tilemapCollisions__P57891(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -69424,37 +69457,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___26439 = undefined; - s.hbox___26464 = undefined; - s.tileScale___26467 = undefined; - s.tileSize___26470 = undefined; - s.xDiff___26474 = undefined; - s.yDiff___26481 = undefined; - s.right___26497 = undefined; - s.x0___26501 = undefined; - s.collidedTiles___26516 = undefined; - s.y___26518 = undefined; - s.y0___26532 = undefined; - s.obstacle___26548 = undefined; - s.collisionDirection___26575 = undefined; - s.tile___26601 = undefined; - s.unnamed1506___U14 = undefined; - s.unnamed1507___U15 = undefined; - s.down___26692 = undefined; - s.y0___26696 = undefined; - s.collidedTiles___26711 = undefined; - s.x___26713 = undefined; - s.x0___26723 = undefined; - s.obstacle___26737 = undefined; - s.collisionDirection___26764 = undefined; - s.tile___26790 = undefined; - s.unnamed1508___U24 = undefined; - s.unnamed1509___U25 = undefined; - s.overlappedTiles___26884 = undefined; - s.x___26886 = undefined; - s.x0___26896 = undefined; - s.y___26906 = undefined; - s.y0___26916 = undefined; + s.s___79468 = undefined; + s.hbox___79493 = undefined; + s.tileScale___79496 = undefined; + s.tileSize___79499 = undefined; + s.xDiff___79503 = undefined; + s.yDiff___79510 = undefined; + s.right___79526 = undefined; + s.x0___79530 = undefined; + s.collidedTiles___79545 = undefined; + s.y___79547 = undefined; + s.y0___79561 = undefined; + s.obstacle___79577 = undefined; + s.collisionDirection___79604 = undefined; + s.tile___79630 = undefined; + s.unnamed246___U14 = undefined; + s.unnamed247___U15 = undefined; + s.down___79721 = undefined; + s.y0___79725 = undefined; + s.collidedTiles___79740 = undefined; + s.x___79742 = undefined; + s.x0___79752 = undefined; + s.obstacle___79766 = undefined; + s.collisionDirection___79793 = undefined; + s.tile___79819 = undefined; + s.unnamed248___U24 = undefined; + s.unnamed249___U25 = undefined; + s.overlappedTiles___79913 = undefined; + s.x___79915 = undefined; + s.x0___79925 = undefined; + s.y___79935 = undefined; + s.y0___79945 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -69462,18 +69495,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___26439 = (r0); - r0 = s.s___26439.fields["flags"]; + s.s___79468 = (r0); + r0 = s.s___79468.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__P2738_mk(s); + s.tmp_5 = tiles_TileMap_isOnWall__P55750_mk(s); s.tmp_5.arg0 = s.arg2; - s.tmp_5.arg1 = s.s___26439; + s.tmp_5.arg1 = s.s___79468; s.callLocIdx = 949; s.pc = 97; return s.tmp_5; case 97: r0 = s.retval; @@ -69484,7 +69517,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___26439; + s.tmp_6 = r0 = s.s___79468; r0 = s.tmp_6.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & -257); @@ -69494,7 +69527,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___26439.fields["_image"]; + r0 = s.s___79468.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -69504,34 +69537,34 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite__C2321_v4_1_mk(s); - s.tmp_4.arg0 = s.s___26439; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C2321_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = Sprite__C55333_v4_1_mk(s); + s.tmp_4.arg0 = s.s___79468; + if (!checkSubtype(s.tmp_4.arg0, Sprite__C55333_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___26439.fields["_hitbox"]; - s.hbox___26464 = (r0); + r0 = s.s___79468.fields["_hitbox"]; + s.hbox___79493 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___26467 = (r0); - r0 = (1 << s.tileScale___26467); - s.tileSize___26470 = (r0); - r0 = s.s___26439.fields["_x"]; + s.tileScale___79496 = (r0); + r0 = (1 << s.tileScale___79496); + s.tileSize___79499 = (r0); + r0 = s.s___79468.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___26439.fields["_lastX"]; + r0 = s.s___79468.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___26474 = (r0); - r0 = s.s___26439.fields["_y"]; + s.xDiff___79503 = (r0); + r0 = s.s___79468.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___26439.fields["_lastY"]; + r0 = s.s___79468.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___26481 = (r0); - r0 = s.s___26439.fields["flags"]; + s.yDiff___79510 = (r0); + r0 = s.s___79468.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 2818); s.tmp_2 = r0; @@ -69541,16 +69574,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 83; continue; } - r0 = (s.xDiff___26474 !== 0); + r0 = (s.xDiff___79503 !== 0); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 43; continue; } - r0 = (s.xDiff___26474 > 0); - s.right___26497 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___26497); + r0 = (s.xDiff___79503 > 0); + s.right___79526 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___79526); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P2199_mk(s); - s.tmp_1.arg0 = s.hbox___26464; + s.tmp_1 = game_Hitbox_right__P55211_mk(s); + s.tmp_1.arg0 = s.hbox___79493; s.callLocIdx = 954; s.pc = 99; return s.tmp_1; case 99: r0 = s.retval; @@ -69558,8 +69591,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P2197_mk(s); - s.tmp_3.arg0 = s.hbox___26464; + s.tmp_3 = game_Hitbox_left__P55209_mk(s); + s.tmp_3.arg0 = s.hbox___79493; s.callLocIdx = 956; s.pc = 100; return s.tmp_3; case 100: r0 = s.retval; @@ -69570,30 +69603,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___26467 + 8); + r0 = (s.tileScale___79496 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___26501 = (r0); + s.x0___79530 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___26516 = (r0); - s.tmp_1 = game_Hitbox_top__P2198_mk(s); - s.tmp_1.arg0 = s.hbox___26464; + s.collidedTiles___79545 = (r0); + s.tmp_1 = game_Hitbox_top__P55210_mk(s); + s.tmp_1.arg0 = s.hbox___79493; s.callLocIdx = 960; s.pc = 101; return s.tmp_1; case 101: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___26481); - s.y___26518 = (r0); + r0 = (s.tmp_0 - s.yDiff___79510); + s.y___79547 = (r0); case 9: - s.tmp_1 = r0 = s.y___26518; - s.tmp_3 = r0 = s.tileSize___26470; - s.tmp_6 = game_Hitbox_bottom__P2200_mk(s); - s.tmp_6.arg0 = s.hbox___26464; + s.tmp_1 = r0 = s.y___79547; + s.tmp_3 = r0 = s.tileSize___79499; + s.tmp_6 = game_Hitbox_bottom__P55212_mk(s); + s.tmp_6.arg0 = s.hbox___79493; s.callLocIdx = 962; s.pc = 102; return s.tmp_6; case 102: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___26481); + r0 = (s.tmp_5 - s.yDiff___79510); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -69603,15 +69636,15 @@ 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___26518; - s.tmp_12 = game_Hitbox_bottom__P2200_mk(s); - s.tmp_12.arg0 = s.hbox___26464; + s.tmp_10 = Fx_min__P53178_mk(s); + s.tmp_10.arg0 = s.y___79547; + s.tmp_12 = game_Hitbox_bottom__P55212_mk(s); + s.tmp_12.arg0 = s.hbox___79493; s.callLocIdx = 965; s.pc = 104; return s.tmp_12; case 104: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___26481); + r0 = (s.tmp_11 - s.yDiff___79510); s.tmp_10.arg1 = r0; s.callLocIdx = 967; s.pc = 103; return s.tmp_10; case 103: @@ -69619,33 +69652,33 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___26467 + 8); + r0 = (s.tileScale___79496 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___26532 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P2736_mk(s); + s.y0___79561 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P55748_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___26501; - s.tmp_1.arg2 = s.y0___26532; + s.tmp_1.arg1 = s.x0___79530; + s.tmp_1.arg2 = s.y0___79561; s.callLocIdx = 970; 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__P2737_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P55749_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___26501; - s.tmp_2.arg2 = s.y0___26532; + s.tmp_2.arg1 = s.x0___79530; + s.tmp_2.arg2 = s.y0___79561; s.callLocIdx = 971; s.pc = 106; return s.tmp_2; case 106: r0 = s.retval; - s.obstacle___26548 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P26556); + s.obstacle___79577 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P79585); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___26548); - s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.collidedTiles___26516; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___79577); + s.tmp_4 = helpers_arraySome__P53119_mk(s); + s.tmp_4.arg0 = s.collidedTiles___79545; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 972; s.pc = 107; return s.tmp_4; case 107: @@ -69657,22 +69690,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___26516, s.obstacle___26548); + r0 = pxsim_Array__push(s.collidedTiles___79545, s.obstacle___79577); case 10: case 11: case 12: case 13: - r0 = (s.tileSize___26470 << 8); + r0 = (s.tileSize___79499 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___26518); - s.y___26518 = (r0); + r0 = (s.tmp_0 + s.y___79547); + s.y___79547 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___26516); + r0 = pxsim_Array__length(s.collidedTiles___79545); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 41; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___26497); + r0 = pxsim_numops_toBoolDecr(s.right___79526); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -69681,23 +69714,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___26575 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___26497); + s.collisionDirection___79604 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___79526); if (!r0) { step = 17; continue; } - r0 = (s.x0___26501 << s.tileScale___26467); + r0 = (s.x0___79530 << s.tileScale___79496); 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___26464.fields["width"]; + r0 = s.hbox___79493.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___26501 + 1); + r0 = (s.x0___79530 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___26467); + r0 = (s.tmp_5 << s.tileScale___79496); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -69705,24 +69738,24 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___26439; - r0 = s.hbox___26464.fields["ox"]; + s.tmp_8 = r0 = s.s___79468; + r0 = s.hbox___79493.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___26601 = (undefined); - s.unnamed1506___U14 = (s.collidedTiles___26516); - s.unnamed1507___U15 = (0); + s.tile___79630 = (undefined); + s.unnamed246___U14 = (s.collidedTiles___79545); + s.unnamed247___U15 = (0); case 19: - s.tmp_0 = r0 = s.unnamed1507___U15; - r0 = pxsim_Array__length(s.unnamed1506___U14); + s.tmp_0 = r0 = s.unnamed247___U15; + r0 = pxsim_Array__length(s.unnamed246___U14); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 22; continue; } - r0 = pxsim_Array__getAt(s.unnamed1506___U14, s.unnamed1507___U15); - s.tile___26601 = (r0); - r0 = s.s___26439.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed246___U14, s.unnamed247___U15); + s.tile___79630 = (r0); + r0 = s.s___79468.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -69732,29 +69765,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 20; continue; } - s.tmp_6 = Sprite_registerObstacle__P2406_mk(s); - s.tmp_6.arg0 = s.s___26439; - s.tmp_6.arg1 = s.collisionDirection___26575; - s.tmp_6.arg2 = s.tile___26601; + s.tmp_6 = Sprite_registerObstacle__P55418_mk(s); + s.tmp_6.arg0 = s.s___79468; + s.tmp_6.arg1 = s.collisionDirection___79604; + s.tmp_6.arg2 = s.tile___79630; s.tmp_6.arg3 = s.arg2; s.callLocIdx = 978; s.pc = 108; return s.tmp_6; case 108: r0 = s.retval; case 20: case 21: - r0 = (s.unnamed1507___U15 + 1); - s.unnamed1507___U15 = (r0); + r0 = (s.unnamed247___U15 + 1); + s.unnamed247___U15 = (r0); { step = 19; continue; } case 22: - s.unnamed1506___U14 = (undefined); - r0 = s.s___26439.fields["flags"]; + s.unnamed246___U14 = (undefined); + r0 = s.s___79468.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__P2408_mk(s); - s.tmp_2.arg0 = s.s___26439; + s.tmp_2 = Sprite_destroy__P55420_mk(s); + s.tmp_2.arg0 = s.s___79468; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 979; s.pc = 109; return s.tmp_2; @@ -69762,7 +69795,7 @@ switch (step) { r0 = s.retval; { step = 40; continue; } case 23: - r0 = s.s___26439.fields["_vx"]; + r0 = s.s___79468.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -69773,7 +69806,7 @@ switch (step) { r0 = s.tmp_0; { step = 25; continue; } case 24: - r0 = s.s___26439.fields["flags"]; + r0 = s.s___79468.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -69785,13 +69818,13 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 36; continue; } - r0 = s.s___26439.fields["flags"]; + r0 = s.s___79468.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___26497); + r0 = pxsim_numops_toBoolDecr(s.right___79526); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -69800,8 +69833,8 @@ switch (step) { r0 = s.tmp_9; { step = 27; continue; } case 26: - s.tmp_12 = Sprite_vx__P2338_mk(s); - s.tmp_12.arg0 = s.s___26439; + s.tmp_12 = Sprite_vx__P55350_mk(s); + s.tmp_12.arg0 = s.s___79468; s.callLocIdx = 980; s.pc = 110; return s.tmp_12; case 110: r0 = s.retval; @@ -69815,14 +69848,14 @@ switch (step) { r0 = s.tmp_13; { step = 31; continue; } case 28: - s.tmp_14 = r0 = s.right___26497; + s.tmp_14 = r0 = s.right___79526; 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__P2338_mk(s); - s.tmp_16.arg0 = s.s___26439; + s.tmp_16 = Sprite_vx__P55350_mk(s); + s.tmp_16.arg0 = s.s___79468; s.callLocIdx = 981; s.pc = 111; return s.tmp_16; case 111: r0 = s.retval; @@ -69837,8 +69870,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___26439; - r0 = s.s___26439.fields["_vx"]; + s.tmp_19 = r0 = s.s___79468; + r0 = s.s___79468.fields["_vx"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -69860,12 +69893,12 @@ switch (step) { { step = 35; continue; } case 34: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___26439).fields["_vx"] = (0); + r0 = (s.s___79468).fields["_vx"] = (0); case 35: { step = 39; continue; } case 36: - s.tmp_2 = Math_sign__P129_mk(s); - r0 = s.s___26439.fields["_vx"]; + s.tmp_2 = Math_sign__P53141_mk(s); + r0 = s.s___79468.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -69875,7 +69908,7 @@ switch (step) { case 112: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P129_mk(s); + s.tmp_6 = Math_sign__P53141_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -69899,16 +69932,16 @@ switch (step) { case 42: case 43: case 44: - r0 = (s.yDiff___26481 !== 0); + r0 = (s.yDiff___79510 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 81; continue; } - r0 = (s.yDiff___26481 > 0); - s.down___26692 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___26692); + r0 = (s.yDiff___79510 > 0); + s.down___79721 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___79721); if (!r0) { step = 45; continue; } - s.tmp_1 = game_Hitbox_bottom__P2200_mk(s); - s.tmp_1.arg0 = s.hbox___26464; + s.tmp_1 = game_Hitbox_bottom__P55212_mk(s); + s.tmp_1.arg0 = s.hbox___79493; s.callLocIdx = 989; s.pc = 114; return s.tmp_1; case 114: r0 = s.retval; @@ -69916,8 +69949,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 46; continue; } case 45: - s.tmp_3 = game_Hitbox_top__P2198_mk(s); - s.tmp_3.arg0 = s.hbox___26464; + s.tmp_3 = game_Hitbox_top__P55210_mk(s); + s.tmp_3.arg0 = s.hbox___79493; s.callLocIdx = 991; s.pc = 115; return s.tmp_3; case 115: r0 = s.retval; @@ -69928,23 +69961,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___26467 + 8); + r0 = (s.tileScale___79496 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___26696 = (r0); + s.y0___79725 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___26711 = (r0); - s.tmp_0 = game_Hitbox_left__P2197_mk(s); - s.tmp_0.arg0 = s.hbox___26464; + s.collidedTiles___79740 = (r0); + s.tmp_0 = game_Hitbox_left__P55209_mk(s); + s.tmp_0.arg0 = s.hbox___79493; s.callLocIdx = 995; s.pc = 116; return s.tmp_0; case 116: r0 = s.retval; - s.x___26713 = (r0); + s.x___79742 = (r0); case 47: - s.tmp_1 = r0 = s.x___26713; - s.tmp_3 = r0 = s.tileSize___26470; - s.tmp_5 = game_Hitbox_right__P2199_mk(s); - s.tmp_5.arg0 = s.hbox___26464; + s.tmp_1 = r0 = s.x___79742; + s.tmp_3 = r0 = s.tileSize___79499; + s.tmp_5 = game_Hitbox_right__P55211_mk(s); + s.tmp_5.arg0 = s.hbox___79493; s.callLocIdx = 996; s.pc = 117; return s.tmp_5; case 117: r0 = s.retval; @@ -69957,10 +69990,10 @@ 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___26713; - s.tmp_10 = game_Hitbox_right__P2199_mk(s); - s.tmp_10.arg0 = s.hbox___26464; + s.tmp_9 = Fx_min__P53178_mk(s); + s.tmp_9.arg0 = s.x___79742; + s.tmp_10 = game_Hitbox_right__P55211_mk(s); + s.tmp_10.arg0 = s.hbox___79493; s.callLocIdx = 998; s.pc = 119; return s.tmp_10; case 119: r0 = s.retval; @@ -69971,33 +70004,33 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___26467 + 8); + r0 = (s.tileScale___79496 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___26723 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P2736_mk(s); + s.x0___79752 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P55748_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___26723; - s.tmp_1.arg2 = s.y0___26696; + s.tmp_1.arg1 = s.x0___79752; + s.tmp_1.arg2 = s.y0___79725; s.callLocIdx = 1002; 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__P2737_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P55749_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___26723; - s.tmp_2.arg2 = s.y0___26696; + s.tmp_2.arg1 = s.x0___79752; + s.tmp_2.arg2 = s.y0___79725; s.callLocIdx = 1003; s.pc = 121; return s.tmp_2; case 121: r0 = s.retval; - s.obstacle___26737 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P26745); + s.obstacle___79766 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P79774); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___26737); - s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.collidedTiles___26711; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___79766); + s.tmp_4 = helpers_arraySome__P53119_mk(s); + s.tmp_4.arg0 = s.collidedTiles___79740; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 1004; s.pc = 122; return s.tmp_4; case 122: @@ -70009,22 +70042,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___26711, s.obstacle___26737); + r0 = pxsim_Array__push(s.collidedTiles___79740, s.obstacle___79766); case 48: case 49: case 50: case 51: - r0 = (s.tileSize___26470 << 8); + r0 = (s.tileSize___79499 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___26713); - s.x___26713 = (r0); + r0 = (s.tmp_0 + s.x___79742); + s.x___79742 = (r0); { step = 47; continue; } case 52: - r0 = pxsim_Array__length(s.collidedTiles___26711); + r0 = pxsim_Array__length(s.collidedTiles___79740); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___26692); + r0 = pxsim_numops_toBoolDecr(s.down___79721); if (!r0) { step = 53; continue; } r0 = 3; { step = 54; continue; } @@ -70033,23 +70066,23 @@ switch (step) { case 54: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___26764 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___26692); + s.collisionDirection___79793 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___79721); if (!r0) { step = 55; continue; } - r0 = (s.y0___26696 << s.tileScale___26467); + r0 = (s.y0___79725 << s.tileScale___79496); 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___26464.fields["height"]; + r0 = s.hbox___79493.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 56; continue; } case 55: - r0 = (s.y0___26696 + 1); + r0 = (s.y0___79725 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___26467); + r0 = (s.tmp_5 << s.tileScale___79496); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -70057,24 +70090,24 @@ switch (step) { case 56: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___26439; - r0 = s.hbox___26464.fields["oy"]; + s.tmp_8 = r0 = s.s___79468; + r0 = s.hbox___79493.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___26790 = (undefined); - s.unnamed1508___U24 = (s.collidedTiles___26711); - s.unnamed1509___U25 = (0); + s.tile___79819 = (undefined); + s.unnamed248___U24 = (s.collidedTiles___79740); + s.unnamed249___U25 = (0); case 57: - s.tmp_0 = r0 = s.unnamed1509___U25; - r0 = pxsim_Array__length(s.unnamed1508___U24); + s.tmp_0 = r0 = s.unnamed249___U25; + r0 = pxsim_Array__length(s.unnamed248___U24); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 60; continue; } - r0 = pxsim_Array__getAt(s.unnamed1508___U24, s.unnamed1509___U25); - s.tile___26790 = (r0); - r0 = s.s___26439.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed248___U24, s.unnamed249___U25); + s.tile___79819 = (r0); + r0 = s.s___79468.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -70084,29 +70117,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 58; continue; } - s.tmp_6 = Sprite_registerObstacle__P2406_mk(s); - s.tmp_6.arg0 = s.s___26439; - s.tmp_6.arg1 = s.collisionDirection___26764; - s.tmp_6.arg2 = s.tile___26790; + s.tmp_6 = Sprite_registerObstacle__P55418_mk(s); + s.tmp_6.arg0 = s.s___79468; + s.tmp_6.arg1 = s.collisionDirection___79793; + s.tmp_6.arg2 = s.tile___79819; s.tmp_6.arg3 = s.arg2; s.callLocIdx = 1010; s.pc = 123; return s.tmp_6; case 123: r0 = s.retval; case 58: case 59: - r0 = (s.unnamed1509___U25 + 1); - s.unnamed1509___U25 = (r0); + r0 = (s.unnamed249___U25 + 1); + s.unnamed249___U25 = (r0); { step = 57; continue; } case 60: - s.unnamed1508___U24 = (undefined); - r0 = s.s___26439.fields["flags"]; + s.unnamed248___U24 = (undefined); + r0 = s.s___79468.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__P2408_mk(s); - s.tmp_2.arg0 = s.s___26439; + s.tmp_2 = Sprite_destroy__P55420_mk(s); + s.tmp_2.arg0 = s.s___79468; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 1011; s.pc = 124; return s.tmp_2; @@ -70114,7 +70147,7 @@ switch (step) { r0 = s.retval; { step = 78; continue; } case 61: - r0 = s.s___26439.fields["_vy"]; + r0 = s.s___79468.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -70125,7 +70158,7 @@ switch (step) { r0 = s.tmp_0; { step = 63; continue; } case 62: - r0 = s.s___26439.fields["flags"]; + r0 = s.s___79468.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -70137,13 +70170,13 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 74; continue; } - r0 = s.s___26439.fields["flags"]; + r0 = s.s___79468.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___26692); + r0 = pxsim_numops_toBoolDecr(s.down___79721); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -70152,8 +70185,8 @@ switch (step) { r0 = s.tmp_9; { step = 65; continue; } case 64: - s.tmp_12 = Sprite_vy__P2340_mk(s); - s.tmp_12.arg0 = s.s___26439; + s.tmp_12 = Sprite_vy__P55352_mk(s); + s.tmp_12.arg0 = s.s___79468; s.callLocIdx = 1012; s.pc = 125; return s.tmp_12; case 125: r0 = s.retval; @@ -70167,14 +70200,14 @@ switch (step) { r0 = s.tmp_13; { step = 69; continue; } case 66: - s.tmp_14 = r0 = s.down___26692; + s.tmp_14 = r0 = s.down___79721; 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__P2340_mk(s); - s.tmp_16.arg0 = s.s___26439; + s.tmp_16 = Sprite_vy__P55352_mk(s); + s.tmp_16.arg0 = s.s___79468; s.callLocIdx = 1013; s.pc = 126; return s.tmp_16; case 126: r0 = s.retval; @@ -70189,8 +70222,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___26439; - r0 = s.s___26439.fields["_vy"]; + s.tmp_19 = r0 = s.s___79468; + r0 = s.s___79468.fields["_vy"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -70212,12 +70245,12 @@ switch (step) { { step = 73; continue; } case 72: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___26439).fields["_vy"] = (0); + r0 = (s.s___79468).fields["_vy"] = (0); case 73: { step = 77; continue; } case 74: - s.tmp_2 = Math_sign__P129_mk(s); - r0 = s.s___26439.fields["_vy"]; + s.tmp_2 = Math_sign__P53141_mk(s); + r0 = s.s___79468.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -70227,7 +70260,7 @@ switch (step) { case 127: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P129_mk(s); + s.tmp_6 = Math_sign__P53141_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -70253,7 +70286,7 @@ switch (step) { case 82: case 83: case 84: - r0 = s.s___26439.fields["flags"]; + r0 = s.s___79468.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 1538); s.tmp_2 = r0; @@ -70264,18 +70297,18 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 95; continue; } r0 = pxsim_Array__mk(); - s.overlappedTiles___26884 = (r0); - s.tmp_0 = game_Hitbox_left__P2197_mk(s); - s.tmp_0.arg0 = s.hbox___26464; + s.overlappedTiles___79913 = (r0); + s.tmp_0 = game_Hitbox_left__P55209_mk(s); + s.tmp_0.arg0 = s.hbox___79493; s.callLocIdx = 1021; s.pc = 129; return s.tmp_0; case 129: r0 = s.retval; - s.x___26886 = (r0); + s.x___79915 = (r0); case 85: - s.tmp_1 = r0 = s.x___26886; - s.tmp_3 = r0 = s.tileSize___26470; - s.tmp_5 = game_Hitbox_right__P2199_mk(s); - s.tmp_5.arg0 = s.hbox___26464; + s.tmp_1 = r0 = s.x___79915; + s.tmp_3 = r0 = s.tileSize___79499; + s.tmp_5 = game_Hitbox_right__P55211_mk(s); + s.tmp_5.arg0 = s.hbox___79493; s.callLocIdx = 1022; s.pc = 130; return s.tmp_5; case 130: r0 = s.retval; @@ -70288,10 +70321,10 @@ 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___26886; - s.tmp_10 = game_Hitbox_right__P2199_mk(s); - s.tmp_10.arg0 = s.hbox___26464; + s.tmp_9 = Fx_min__P53178_mk(s); + s.tmp_9.arg0 = s.x___79915; + s.tmp_10 = game_Hitbox_right__P55211_mk(s); + s.tmp_10.arg0 = s.hbox___79493; s.callLocIdx = 1024; s.pc = 132; return s.tmp_10; case 132: r0 = s.retval; @@ -70302,21 +70335,21 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___26467 + 8); + r0 = (s.tileScale___79496 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___26896 = (r0); - s.tmp_0 = game_Hitbox_top__P2198_mk(s); - s.tmp_0.arg0 = s.hbox___26464; + s.x0___79925 = (r0); + s.tmp_0 = game_Hitbox_top__P55210_mk(s); + s.tmp_0.arg0 = s.hbox___79493; s.callLocIdx = 1028; s.pc = 133; return s.tmp_0; case 133: r0 = s.retval; - s.y___26906 = (r0); + s.y___79935 = (r0); case 86: - s.tmp_1 = r0 = s.y___26906; - s.tmp_3 = r0 = s.tileSize___26470; - s.tmp_5 = game_Hitbox_bottom__P2200_mk(s); - s.tmp_5.arg0 = s.hbox___26464; + s.tmp_1 = r0 = s.y___79935; + s.tmp_3 = r0 = s.tileSize___79499; + s.tmp_5 = game_Hitbox_bottom__P55212_mk(s); + s.tmp_5.arg0 = s.hbox___79493; s.callLocIdx = 1029; s.pc = 134; return s.tmp_5; case 134: r0 = s.retval; @@ -70329,10 +70362,10 @@ 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___26906; - s.tmp_10 = game_Hitbox_bottom__P2200_mk(s); - s.tmp_10.arg0 = s.hbox___26464; + s.tmp_9 = Fx_min__P53178_mk(s); + s.tmp_9.arg0 = s.y___79935; + s.tmp_10 = game_Hitbox_bottom__P55212_mk(s); + s.tmp_10.arg0 = s.hbox___79493; s.callLocIdx = 1031; s.pc = 136; return s.tmp_10; case 136: r0 = s.retval; @@ -70343,14 +70376,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___26467 + 8); + r0 = (s.tileScale___79496 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___26916 = (r0); - s.tmp_3 = tiles_TileMap_isObstacle__P2736_mk(s); + s.y0___79945 = (r0); + s.tmp_3 = tiles_TileMap_isObstacle__P55748_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___26896; - s.tmp_3.arg2 = s.y0___26916; + s.tmp_3.arg1 = s.x0___79925; + s.tmp_3.arg2 = s.y0___79945; s.callLocIdx = 1035; s.pc = 137; return s.tmp_3; case 137: r0 = s.retval; @@ -70364,7 +70397,7 @@ switch (step) { r0 = s.tmp_0; { step = 88; continue; } case 87: - r0 = s.s___26439.fields["flags"]; + r0 = s.s___79468.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 2048); s.tmp_7 = r0; @@ -70380,11 +70413,11 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 89; continue; } - s.tmp_10 = r0 = s.overlappedTiles___26884; - s.tmp_12 = tiles_TileMap_getTile__P2729_mk(s); + s.tmp_10 = r0 = s.overlappedTiles___79913; + s.tmp_12 = tiles_TileMap_getTile__P55741_mk(s); s.tmp_12.arg0 = s.arg2; - s.tmp_12.arg1 = s.x0___26896; - s.tmp_12.arg2 = s.y0___26916; + s.tmp_12.arg1 = s.x0___79925; + s.tmp_12.arg2 = s.y0___79945; s.callLocIdx = 1036; s.pc = 138; return s.tmp_12; case 138: r0 = s.retval; @@ -70392,26 +70425,26 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_10, s.tmp_11); case 89: case 90: - r0 = (s.tileSize___26470 << 8); + r0 = (s.tileSize___79499 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___26906); - s.y___26906 = (r0); + r0 = (s.tmp_0 + s.y___79935); + s.y___79935 = (r0); { step = 86; continue; } case 91: - r0 = (s.tileSize___26470 << 8); + r0 = (s.tileSize___79499 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___26886); - s.x___26886 = (r0); + r0 = (s.tmp_0 + s.x___79915); + s.x___79915 = (r0); { step = 85; continue; } case 92: - r0 = pxsim_Array__length(s.overlappedTiles___26884); + r0 = pxsim_Array__length(s.overlappedTiles___79913); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 93; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P4879_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P57892_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___26439; - s.tmp_1.arg2 = s.overlappedTiles___26884; + s.tmp_1.arg1 = s.s___79468; + s.tmp_1.arg2 = s.overlappedTiles___79913; s.callLocIdx = 1039; s.pc = 139; return s.tmp_1; case 139: r0 = s.retval; @@ -70423,12 +70456,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P4878.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__P57891.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__P4878_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P57891_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P4878, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P57891, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70452,37 +70485,37 @@ function ArcadePhysicsEngine_tilemapCollisions__P4878_mk(s) { tmp_19: undefined, tmp_20: undefined, tmp_21: undefined, - s___26439: undefined, - hbox___26464: undefined, - tileScale___26467: undefined, - tileSize___26470: undefined, - xDiff___26474: undefined, - yDiff___26481: undefined, - right___26497: undefined, - x0___26501: undefined, - collidedTiles___26516: undefined, - y___26518: undefined, - y0___26532: undefined, - obstacle___26548: undefined, - collisionDirection___26575: undefined, - tile___26601: undefined, - unnamed1506___U14: undefined, - unnamed1507___U15: undefined, - down___26692: undefined, - y0___26696: undefined, - collidedTiles___26711: undefined, - x___26713: undefined, - x0___26723: undefined, - obstacle___26737: undefined, - collisionDirection___26764: undefined, - tile___26790: undefined, - unnamed1508___U24: undefined, - unnamed1509___U25: undefined, - overlappedTiles___26884: undefined, - x___26886: undefined, - x0___26896: undefined, - y___26906: undefined, - y0___26916: undefined, + s___79468: undefined, + hbox___79493: undefined, + tileScale___79496: undefined, + tileSize___79499: undefined, + xDiff___79503: undefined, + yDiff___79510: undefined, + right___79526: undefined, + x0___79530: undefined, + collidedTiles___79545: undefined, + y___79547: undefined, + y0___79561: undefined, + obstacle___79577: undefined, + collisionDirection___79604: undefined, + tile___79630: undefined, + unnamed246___U14: undefined, + unnamed247___U15: undefined, + down___79721: undefined, + y0___79725: undefined, + collidedTiles___79740: undefined, + x___79742: undefined, + x0___79752: undefined, + obstacle___79766: undefined, + collisionDirection___79793: undefined, + tile___79819: undefined, + unnamed248___U24: undefined, + unnamed249___U25: undefined, + overlappedTiles___79913: undefined, + x___79915: undefined, + x0___79925: undefined, + y___79935: undefined, + y0___79945: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -70492,7 +70525,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P4878_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P26556(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P79585(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70514,12 +70547,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P26556.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__P79585.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__P26556_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P79585_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P26556, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P79585, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70530,7 +70563,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P26556_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P26745(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P79774(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70552,12 +70585,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P26745.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__P79774.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__P26745_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P79774_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P26745, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P79774, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70568,7 +70601,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P26745_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P4879(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P57892(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70578,11 +70611,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___26963 = undefined; - s.tile___26966 = undefined; - s.unnamed1510___U2 = undefined; - s.unnamed1511___U3 = undefined; - s.tileOverlapHandlers___26987 = undefined; + s.alreadyHandled___79992 = undefined; + s.tile___79995 = undefined; + s.unnamed250___U2 = undefined; + s.unnamed251___U3 = undefined; + s.tileOverlapHandlers___80016 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -70590,25 +70623,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___26963 = (r0); - s.tile___26966 = (undefined); - s.unnamed1510___U2 = (s.arg2); - s.unnamed1511___U3 = (0); + s.alreadyHandled___79992 = (r0); + s.tile___79995 = (undefined); + s.unnamed250___U2 = (s.arg2); + s.unnamed251___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1511___U3; - r0 = pxsim_Array__length(s.unnamed1510___U2); + s.tmp_0 = r0 = s.unnamed251___U3; + r0 = pxsim_Array__length(s.unnamed250___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed1510___U2, s.unnamed1511___U3); - s.tile___26966 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P26970); + r0 = pxsim_Array__getAt(s.unnamed250___U2, s.unnamed251___U3); + s.tile___79995 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P79999); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___26966); - s.tmp_4 = helpers_arraySome__P107_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___26963; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___79995); + s.tmp_4 = helpers_arraySome__P53119_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___79992; s.tmp_4.arg1 = s.tmp_2; s.callLocIdx = 1044; s.pc = 8; return s.tmp_4; case 8: @@ -70619,26 +70652,26 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___26963, s.tile___26966); - s.tmp_0 = game_currentScene__P2979_mk(s); + r0 = pxsim_Array__push(s.alreadyHandled___79992, s.tile___79995); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 1045; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___26987 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___26987); + s.tileOverlapHandlers___80016 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___80016); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P26995); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P80024); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___26966); - r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P27009); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___79995); + r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P80038); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___26966); - s.tmp_2 = helpers_arrayForEach__P109_mk(s); - s.tmp_3 = helpers_arrayFilter__P110_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___26987; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___79995); + s.tmp_2 = helpers_arrayForEach__P53121_mk(s); + s.tmp_3 = helpers_arrayFilter__P53122_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___80016; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 1048; s.pc = 11; return s.tmp_3; case 11: @@ -70651,32 +70684,32 @@ switch (step) { case 4: case 5: case 6: - r0 = (s.unnamed1511___U3 + 1); - s.unnamed1511___U3 = (r0); + r0 = (s.unnamed251___U3 + 1); + s.unnamed251___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed1510___U2 = (undefined); + s.unnamed250___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P4879.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__P57892.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__P4879_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P57892_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P4879, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P57892, 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___26963: undefined, - tile___26966: undefined, - unnamed1510___U2: undefined, - unnamed1511___U3: undefined, - tileOverlapHandlers___26987: undefined, + alreadyHandled___79992: undefined, + tile___79995: undefined, + unnamed250___U2: undefined, + unnamed251___U3: undefined, + tileOverlapHandlers___80016: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -70686,7 +70719,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P4879_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P26970(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P79999(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70723,12 +70756,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P26970.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__P79999.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__P26970_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P79999_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P26970, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P79999, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70743,7 +70776,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P26970_mk(s) { -function forEach_inline__P26995(s) { +function forEach_inline__P80024(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70770,7 +70803,7 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P2748_mk(s); + s.tmp_5 = tiles_getTileImage__P55760_mk(s); s.tmp_5.arg0 = s.caps[1]; s.callLocIdx = 1047; s.pc = 3; return s.tmp_5; case 3: @@ -70784,12 +70817,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P26995.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__P80024.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__P26995_mk(s) { +function forEach_inline__P80024_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P26995, depth: s.depth + 1, + parent: s, fn: forEach_inline__P80024, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70805,7 +70838,7 @@ function forEach_inline__P26995_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P27009(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P80038(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70838,12 +70871,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P27009.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__P80038.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__P27009_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P80038_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P27009, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P80038, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -70853,7 +70886,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P27009_mk(s) { -function tiles_TileMap_getObstacle__P2737(s) { +function tiles_TileMap_getObstacle__P55749(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70863,8 +70896,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___27118 = undefined; - s.tile___27130 = undefined; + s.index___80147 = undefined; + s.tile___80159 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -70872,8 +70905,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P2709_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P55721_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -70887,7 +70920,7 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P2703_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P55715_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -70898,20 +70931,20 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___27118 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P2706_mk(s); + s.index___80147 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P55718_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___27118; + s.tmp_0.arg1 = s.index___80147; s.callLocIdx = 1297; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___27130 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C2478_VT); + s.tile___80159 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C55490_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P2484_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P55496_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___27130; + s.tmp_1.arg1 = s.tile___80159; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -70924,7 +70957,7 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___27118; + s.tmp_1.arg5 = s.index___80147; s.callLocIdx = 1301; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; @@ -70932,12 +70965,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P2737.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__P55749.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__P2737_mk(s) { +function tiles_TileMap_getObstacle__P55749_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P2737, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P55749, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -70945,8 +70978,8 @@ function tiles_TileMap_getObstacle__P2737_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___27118: undefined, - tile___27130: undefined, + index___80147: undefined, + tile___80159: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -70956,7 +70989,7 @@ function tiles_TileMap_getObstacle__P2737_mk(s) { -function tiles_TileMap_layer__P2725(s) { +function tiles_TileMap_layer__P55737(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -70971,18 +71004,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P2725.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__P2725.isGetter = true; +tiles_TileMap_layer__P55737.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__P55737.isGetter = true; -function tiles_TileMap_layer__P2725_mk(s) { +function tiles_TileMap_layer__P55737_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P2725, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P55737, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -70991,7 +71024,7 @@ function tiles_TileMap_layer__P2725_mk(s) { -function sprites_StaticObstacle_constructor__P2484(s) { +function sprites_StaticObstacle_constructor__P55496(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71011,7 +71044,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2478_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C55490_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -71021,12 +71054,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P2484.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__P55496.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__P2484_mk(s) { +function sprites_StaticObstacle_constructor__P55496_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P2484, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P55496, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -71040,7 +71073,7 @@ function sprites_StaticObstacle_constructor__P2484_mk(s) { -function tiles_TileMap_isObstacle__P2736(s) { +function tiles_TileMap_isObstacle__P55748(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71057,7 +71090,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C2715_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -71078,7 +71111,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P2709_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P55721_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; @@ -71104,12 +71137,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P2736.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__P55748.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__P2736_mk(s) { +function tiles_TileMap_isObstacle__P55748_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P2736, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P55748, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71132,7 +71165,7 @@ function tiles_TileMap_isObstacle__P2736_mk(s) { -function tiles_TileMapData_isWall__P2708(s) { +function tiles_TileMapData_isWall__P55720(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71149,7 +71182,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C2697_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C55709_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -71158,12 +71191,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P2708.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__P55720.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__P2708_mk(s) { +function tiles_TileMapData_isWall__P55720_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P2708, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P55720, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71176,7 +71209,7 @@ function tiles_TileMapData_isWall__P2708_mk(s) { -function Sprite_registerObstacle__P2406(s) { +function Sprite_registerObstacle__P55418(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71186,10 +71219,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___27031 = undefined; - s.wallCollisionHandlers___27038 = undefined; - s.wallHandlersToRun___27063 = undefined; - s.asTileLocation___27076 = undefined; + s.collisionHandlers___80060 = undefined; + s.wallCollisionHandlers___80067 = undefined; + s.wallHandlersToRun___80092 = undefined; + s.asTileLocation___80105 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -71198,11 +71231,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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__P2979_mk(s); + s.tmp_1 = game_currentScene__P55991_mk(s); s.callLocIdx = 710; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -71222,24 +71255,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___27031 = (r0); - s.tmp_0 = game_currentScene__P2979_mk(s); + s.collisionHandlers___80060 = (r0); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 712; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___27038 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___27031); + s.wallCollisionHandlers___80067 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___80060); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P27046); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P80075); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P27052); + r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P80081); 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___27031; + s.tmp_2 = helpers_arrayForEach__P53121_mk(s); + s.tmp_3 = helpers_arrayFilter__P53122_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___80060; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 714; s.pc = 13; return s.tmp_3; case 13: @@ -71251,7 +71284,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___27038); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___80067); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -71259,7 +71292,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P2979_mk(s); + s.tmp_1 = game_currentScene__P55991_mk(s); s.callLocIdx = 717; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; @@ -71268,21 +71301,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P27065); + r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P80094); 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___27038; + s.tmp_1 = helpers_arrayFilter__P53122_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___80067; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 719; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___27063 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___27063); + s.wallHandlersToRun___80092 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___80092); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap_getTile__P2729_mk(s); + s.tmp_1 = tiles_TileMap_getTile__P55741_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -71321,13 +71354,13 @@ switch (step) { s.callLocIdx = 724; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___27076 = (r0); - r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P27092); + s.asTileLocation___80105 = (r0); + r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P80121); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___27076); - s.tmp_1 = helpers_arrayForEach__P109_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___27063; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___80105); + s.tmp_1 = helpers_arrayForEach__P53121_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___80092; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 726; s.pc = 19; return s.tmp_1; case 19: @@ -71340,12 +71373,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P2406.info = {"start":24832,"length":965,"line":815,"column":4,"endLine":835,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} +Sprite_registerObstacle__P55418.info = {"start":24832,"length":965,"line":815,"column":4,"endLine":835,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} -function Sprite_registerObstacle__P2406_mk(s) { +function Sprite_registerObstacle__P55418_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P2406, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P55418, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71355,10 +71388,10 @@ function Sprite_registerObstacle__P2406_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___27031: undefined, - wallCollisionHandlers___27038: undefined, - wallHandlersToRun___27063: undefined, - asTileLocation___27076: undefined, + collisionHandlers___80060: undefined, + wallCollisionHandlers___80067: undefined, + wallHandlersToRun___80092: undefined, + asTileLocation___80105: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -71369,7 +71402,7 @@ function Sprite_registerObstacle__P2406_mk(s) { -function forEach_inline__P27046(s) { +function forEach_inline__P80075(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71391,12 +71424,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P27046.info = {"start":25230,"length":26,"line":822,"column":24,"endLine":822,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P80075.info = {"start":25230,"length":26,"line":822,"column":24,"endLine":822,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P27046_mk(s) { +function forEach_inline__P80075_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P27046, depth: s.depth + 1, + parent: s, fn: forEach_inline__P80075, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71407,7 +71440,7 @@ function forEach_inline__P27046_mk(s) { -function Sprite_registerObstacle_inline__P27052(s) { +function Sprite_registerObstacle_inline__P80081(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71439,12 +71472,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P27052.info = {"start":25283,"length":20,"line":823,"column":25,"endLine":823,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P80081.info = {"start":25283,"length":20,"line":823,"column":25,"endLine":823,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P27052_mk(s) { +function Sprite_registerObstacle_inline__P80081_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P27052, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P80081, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -71454,7 +71487,7 @@ function Sprite_registerObstacle_inline__P27052_mk(s) { -function wallHandlersToRun_inline__P27065(s) { +function wallHandlersToRun_inline__P80094(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71476,12 +71509,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -wallHandlersToRun_inline__P27065.info = {"start":25489,"length":32,"line":828,"column":24,"endLine":828,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +wallHandlersToRun_inline__P80094.info = {"start":25489,"length":32,"line":828,"column":24,"endLine":828,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function wallHandlersToRun_inline__P27065_mk(s) { +function wallHandlersToRun_inline__P80094_mk(s) { checkStack(s.depth); return { - parent: s, fn: wallHandlersToRun_inline__P27065, depth: s.depth + 1, + parent: s, fn: wallHandlersToRun_inline__P80094, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71492,7 +71525,7 @@ function wallHandlersToRun_inline__P27065_mk(s) { -function Sprite_registerObstacle_inline__P27092(s) { +function Sprite_registerObstacle_inline__P80121(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71525,12 +71558,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P27092.info = {"start":25729,"length":36,"line":832,"column":29,"endLine":832,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P80121.info = {"start":25729,"length":36,"line":832,"column":29,"endLine":832,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P27092_mk(s) { +function Sprite_registerObstacle_inline__P80121_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P27092, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P80121, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -71540,7 +71573,7 @@ function Sprite_registerObstacle_inline__P27092_mk(s) { -function Math_sign__P129(s) { +function Math_sign__P53141(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71575,12 +71608,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__P53141.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__P53141_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P129, depth: s.depth + 1, + parent: s, fn: Math_sign__P53141, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -71591,7 +71624,7 @@ function Math_sign__P129_mk(s) { -function helpers_arraySome__P107(s) { +function helpers_arraySome__P53119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71601,26 +71634,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___27100 = undefined; - s.i___27103 = undefined; + s.len___80129 = undefined; + s.i___80132 = 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___27100 = (r0); - s.i___27103 = (0); + s.len___80129 = (r0); + s.i___80132 = (0); case 1: - r0 = (s.i___27103 < s.len___27100); + r0 = (s.i___80132 < s.len___80129); 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___27103); + r0 = pxsim_Array__getAt(s.arg0, s.i___80132); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___27103; + s.tmp_2.arg1 = s.i___80132; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 5; s.pc = 6; return s.tmp_2; case 6: @@ -71632,8 +71665,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___27103 + 1); - s.i___27103 = (r0); + r0 = (s.i___80132 + 1); + s.i___80132 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -71641,18 +71674,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__P53119.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__P53119_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P107, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P53119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___27100: undefined, - i___27103: undefined, + len___80129: undefined, + i___80132: undefined, arg0: undefined, arg1: undefined, } } @@ -71661,7 +71694,7 @@ function helpers_arraySome__P107_mk(s) { -function tiles_TileMap_isOnWall__P2738(s) { +function tiles_TileMap_isOnWall__P55750(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71671,24 +71704,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___26362 = undefined; - s.left___26365 = undefined; - s.right___26371 = undefined; - s.top___26377 = undefined; - s.bottom___26383 = undefined; - s.col___26389 = undefined; - s.row___26395 = undefined; + s.hbox___79391 = undefined; + s.left___79394 = undefined; + s.right___79400 = undefined; + s.top___79406 = undefined; + s.bottom___79412 = undefined; + s.col___79418 = undefined; + s.row___79424 = 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__C2715_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C55727_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___26362 = (r0); - s.tmp_1 = game_Hitbox_left__P2197_mk(s); - s.tmp_1.arg0 = s.hbox___26362; + s.hbox___79391 = (r0); + s.tmp_1 = game_Hitbox_left__P55209_mk(s); + s.tmp_1.arg0 = s.hbox___79391; s.callLocIdx = 1302; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -71698,9 +71731,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___26365 = (r0); - s.tmp_1 = game_Hitbox_right__P2199_mk(s); - s.tmp_1.arg0 = s.hbox___26362; + s.left___79394 = (r0); + s.tmp_1 = game_Hitbox_right__P55211_mk(s); + s.tmp_1.arg0 = s.hbox___79391; s.callLocIdx = 1305; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -71710,9 +71743,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___26371 = (r0); - s.tmp_1 = game_Hitbox_top__P2198_mk(s); - s.tmp_1.arg0 = s.hbox___26362; + s.right___79400 = (r0); + s.tmp_1 = game_Hitbox_top__P55210_mk(s); + s.tmp_1.arg0 = s.hbox___79391; s.callLocIdx = 1308; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -71722,9 +71755,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___26377 = (r0); - s.tmp_1 = game_Hitbox_bottom__P2200_mk(s); - s.tmp_1.arg0 = s.hbox___26362; + s.top___79406 = (r0); + s.tmp_1 = game_Hitbox_bottom__P55212_mk(s); + s.tmp_1.arg0 = s.hbox___79391; s.callLocIdx = 1311; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -71734,23 +71767,23 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___26383 = (r0); - s.col___26389 = (s.left___26365); + s.bottom___79412 = (r0); + s.col___79418 = (s.left___79394); case 1: - r0 = (s.col___26389 <= s.right___26371); + r0 = (s.col___79418 <= s.right___79400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___26395 = (s.top___26377); + s.row___79424 = (s.top___79406); case 2: - r0 = (s.row___26395 <= s.bottom___26383); + r0 = (s.row___79424 <= s.bottom___79412); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P2736_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P55748_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___26389; - s.tmp_2.arg2 = s.row___26395; + s.tmp_2.arg1 = s.col___79418; + s.tmp_2.arg2 = s.row___79424; s.callLocIdx = 1314; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; @@ -71761,12 +71794,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___26395 + 1); - s.row___26395 = (r0); + r0 = (s.row___79424 + 1); + s.row___79424 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___26389 + 1); - s.col___26389 = (r0); + r0 = (s.col___79418 + 1); + s.col___79418 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -71774,24 +71807,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P2738.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__P55750.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__P2738_mk(s) { +function tiles_TileMap_isOnWall__P55750_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P2738, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P55750, 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___26362: undefined, - left___26365: undefined, - right___26371: undefined, - top___26377: undefined, - bottom___26383: undefined, - col___26389: undefined, - row___26395: undefined, + hbox___79391: undefined, + left___79394: undefined, + right___79400: undefined, + top___79406: undefined, + bottom___79412: undefined, + col___79418: undefined, + row___79424: undefined, arg0: undefined, arg1: undefined, } } @@ -71800,7 +71833,7 @@ function tiles_TileMap_isOnWall__P2738_mk(s) { -function MovingSprite_constructor__P2506(s) { +function MovingSprite_constructor__P55518(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71822,7 +71855,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C2505_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C55517_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -71834,12 +71867,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P2506.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__P55518.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__P2506_mk(s) { +function MovingSprite_constructor__P55518_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P2506, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P55518, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -71855,7 +71888,7 @@ function MovingSprite_constructor__P2506_mk(s) { -function ArcadePhysicsEngine_move__P2519(s) { +function ArcadePhysicsEngine_move__P55531(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -71865,76 +71898,76 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtMs___27174 = undefined; - s.dt2___27180 = undefined; - s.scene___27184 = undefined; - s.tileMap___27187 = undefined; - s.movingSprites___27190 = undefined; - s.MAX_STEP_COUNT___27221 = undefined; - s.overlapHandlers___27233 = undefined; - s.selected___27240 = undefined; - s.buffers___27241 = undefined; - s.count___27245 = undefined; - s.currMovers___27255 = undefined; - s.remainingMovers___27262 = undefined; - s.ms___27267 = undefined; - s.unnamed1500___U13 = undefined; - s.unnamed1501___U14 = undefined; - s.s___27269 = undefined; - s.stepX___27362 = undefined; - s.stepY___27376 = undefined; - s.bounce___27439 = undefined; + s.dtMs___80203 = undefined; + s.dt2___80209 = undefined; + s.scene___80213 = undefined; + s.tileMap___80216 = undefined; + s.movingSprites___80219 = undefined; + s.MAX_STEP_COUNT___80250 = undefined; + s.overlapHandlers___80262 = undefined; + s.selected___80269 = undefined; + s.buffers___80270 = undefined; + s.count___80274 = undefined; + s.currMovers___80284 = undefined; + s.remainingMovers___80291 = undefined; + s.ms___80296 = undefined; + s.unnamed240___U13 = undefined; + s.unnamed241___U14 = undefined; + s.s___80298 = undefined; + s.stepX___80391 = undefined; + s.stepY___80405 = undefined; + s.bounce___80468 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); - s.tmp_0 = Math_min__P131_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); + s.tmp_0 = Math_min__P53143_mk(s); s.tmp_0.arg0 = 100; r0 = (s.arg1 * 1000); s.tmp_0.arg1 = r0; s.callLocIdx = 841; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.dtMs___27174 = (r0); - r0 = pxsim.Math_.idiv(s.dtMs___27174, 2); - s.dt2___27180 = (r0); - s.tmp_0 = game_currentScene__P2979_mk(s); + s.dtMs___80203 = (r0); + r0 = pxsim.Math_.idiv(s.dtMs___80203, 2); + s.dt2___80209 = (r0); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 842; s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.scene___27184 = (r0); - r0 = s.scene___27184.fields["tileMap"]; - s.tileMap___27187 = (r0); - r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P27192); + s.scene___80213 = (r0); + r0 = s.scene___80213.fields["tileMap"]; + s.tileMap___80216 = (r0); + r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P80221); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___27174); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___27180); - s.tmp_1 = helpers_arrayMap__P106_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___80203); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___80209); + s.tmp_1 = helpers_arrayMap__P53118_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 844; s.pc = 55; return s.tmp_1; case 55: r0 = s.retval; - s.movingSprites___27190 = (r0); - s.tmp_0 = helpers_arrayForEach__P109_mk(s); + s.movingSprites___80219 = (r0); + s.tmp_0 = helpers_arrayForEach__P53121_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P27204; + s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P80233; s.callLocIdx = 848; s.pc = 56; return s.tmp_0; case 56: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P2432_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P55444_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 849; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P2431_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P55443_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; @@ -71950,41 +71983,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___27174); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtMs___80203); 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___27221 = (r0); - s.tmp_0 = helpers_arraySlice__P115_mk(s); - r0 = s.scene___27184.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___80250 = (r0); + s.tmp_0 = helpers_arraySlice__P53127_mk(s); + r0 = s.scene___80213.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 855; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.overlapHandlers___27233 = (r0); - s.selected___27240 = (0); + s.overlapHandlers___80262 = (r0); + s.selected___80269 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___27190); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___80219); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___27241 = (s.tmp_0); - s.count___27245 = (0); + s.buffers___80270 = (s.tmp_0); + s.count___80274 = (0); case 1: - r0 = (s.count___27245 < s.MAX_STEP_COUNT___27221); + r0 = (s.count___80274 < s.MAX_STEP_COUNT___80250); 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___27241, s.selected___27240); + r0 = pxsim_Array__getAt(s.buffers___80270, s.selected___80269); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -71994,43 +72027,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___27241, s.selected___27240); - s.currMovers___27255 = (r0); - r0 = (s.selected___27240 ^ 1); - s.selected___27240 = (r0); - r0 = pxsim_Array__getAt(s.buffers___27241, s.selected___27240); - s.remainingMovers___27262 = (r0); - s.ms___27267 = (undefined); - s.unnamed1500___U13 = (s.currMovers___27255); - s.unnamed1501___U14 = (0); + r0 = pxsim_Array__getAt(s.buffers___80270, s.selected___80269); + s.currMovers___80284 = (r0); + r0 = (s.selected___80269 ^ 1); + s.selected___80269 = (r0); + r0 = pxsim_Array__getAt(s.buffers___80270, s.selected___80269); + s.remainingMovers___80291 = (r0); + s.ms___80296 = (undefined); + s.unnamed240___U13 = (s.currMovers___80284); + s.unnamed241___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed1501___U14; - r0 = pxsim_Array__length(s.unnamed1500___U13); + s.tmp_0 = r0 = s.unnamed241___U14; + r0 = pxsim_Array__length(s.unnamed240___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 49; continue; } - r0 = pxsim_Array__getAt(s.unnamed1500___U13, s.unnamed1501___U14); - s.ms___27267 = (r0); - r0 = s.ms___27267.fields["sprite"]; - s.s___27269 = (r0); - r0 = s.ms___27267.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed240___U13, s.unnamed241___U14); + s.ms___80296 = (r0); + r0 = s.ms___80296.fields["sprite"]; + s.s___80298 = (r0); + r0 = s.ms___80296.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___27269.fields["_vx"]; + r0 = s.s___80298.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___27269.fields["_vx"]; + r0 = s.s___80298.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___27267).fields["dx"] = (0); + r0 = (s.ms___80296).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___27269.fields["_vx"]; + r0 = s.s___80298.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -72039,7 +72072,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___27267.fields["cachedVx"]; + r0 = s.ms___80296.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -72050,7 +72083,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___27269.fields["_vx"]; + r0 = s.s___80298.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -72059,7 +72092,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___27267.fields["cachedVx"]; + r0 = s.ms___80296.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -72071,14 +72104,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___27267; - r0 = s.ms___27267.fields["dx"]; + s.tmp_9 = r0 = s.ms___80296; + r0 = s.ms___80296.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___27267; - r0 = s.ms___27267.fields["xStep"]; + s.tmp_0 = r0 = s.ms___80296; + r0 = s.ms___80296.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -72086,29 +72119,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___27269.fields["_vx"]; + r0 = s.s___80298.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___27267).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___80296).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___27267.fields["cachedVy"]; + r0 = s.ms___80296.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___27269.fields["_vy"]; + r0 = s.s___80298.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___27269.fields["_vy"]; + r0 = s.s___80298.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___27267).fields["dy"] = (0); + r0 = (s.ms___80296).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___27269.fields["_vy"]; + r0 = s.s___80298.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -72117,7 +72150,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___27267.fields["cachedVy"]; + r0 = s.ms___80296.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -72128,7 +72161,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___27269.fields["_vy"]; + r0 = s.s___80298.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -72137,7 +72170,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___27267.fields["cachedVy"]; + r0 = s.ms___80296.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -72149,14 +72182,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___27267; - r0 = s.ms___27267.fields["dy"]; + s.tmp_9 = r0 = s.ms___80296; + r0 = s.ms___80296.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___27267; - r0 = s.ms___27267.fields["yStep"]; + s.tmp_0 = r0 = s.ms___80296; + r0 = s.ms___80296.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -72164,20 +72197,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___27269.fields["_vy"]; + r0 = s.s___80298.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___27267).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___80296).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___27267.fields["xStep"]; + s.tmp_2 = Fx_abs__P53177_mk(s); + r0 = s.ms___80296.fields["xStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 860; 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___27267.fields["dx"]; + s.tmp_4 = Fx_abs__P53177_mk(s); + r0 = s.ms___80296.fields["dx"]; s.tmp_4.arg0 = r0; s.callLocIdx = 861; s.pc = 61; return s.tmp_4; case 61: @@ -72187,23 +72220,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___27267.fields["dx"]; + r0 = s.ms___80296.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___27267.fields["xStep"]; + r0 = s.ms___80296.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___27362 = (s.tmp_5); - s.tmp_2 = Fx_abs__P165_mk(s); - r0 = s.ms___27267.fields["yStep"]; + s.stepX___80391 = (s.tmp_5); + s.tmp_2 = Fx_abs__P53177_mk(s); + r0 = s.ms___80296.fields["yStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 862; 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___27267.fields["dy"]; + s.tmp_4 = Fx_abs__P53177_mk(s); + r0 = s.ms___80296.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 863; s.pc = 63; return s.tmp_4; case 63: @@ -72213,45 +72246,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___27267.fields["dy"]; + r0 = s.ms___80296.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___27267.fields["yStep"]; + r0 = s.ms___80296.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___27376 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___27267; - r0 = s.ms___27267.fields["dx"]; + s.stepY___80405 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___80296; + r0 = s.ms___80296.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___27362); + r0 = (s.tmp_2 - s.stepX___80391); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___27267; - r0 = s.ms___27267.fields["dy"]; + s.tmp_0 = r0 = s.ms___80296; + r0 = s.ms___80296.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___27376); + r0 = (s.tmp_2 - s.stepY___80405); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___27269.fields["_x"]; + r0 = s.s___80298.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___27269).fields["_lastX"] = (s.tmp_0); - r0 = s.s___27269.fields["_y"]; + r0 = (s.s___80298).fields["_lastX"] = (s.tmp_0); + r0 = s.s___80298.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___27269).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___27269; - r0 = s.s___27269.fields["_x"]; + r0 = (s.s___80298).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___80298; + r0 = s.s___80298.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___27362); + r0 = (s.tmp_2 + s.stepX___80391); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___27269; - r0 = s.s___27269.fields["_y"]; + s.tmp_0 = r0 = s.s___80298; + r0 = s.s___80298.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___27376); + r0 = (s.tmp_2 + s.stepY___80405); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___27269.fields["flags"]; + r0 = s.s___80298.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -72261,22 +72294,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__P2433_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P55445_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___27269; + s.tmp_4.arg1 = s.s___80298; s.callLocIdx = 868; s.pc = 64; return s.tmp_4; case 64: r0 = s.retval; case 33: case 34: - s.tmp_0 = r0 = s.tileMap___27187; + s.tmp_0 = r0 = s.tileMap___80216; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 35; continue; } r0 = s.tmp_0; { step = 36; continue; } case 35: - r0 = s.tileMap___27187.fields["_map"]; + r0 = s.tileMap___80216.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -72290,20 +72323,20 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 37; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P4878_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P57891_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___27267; - s.tmp_6.arg2 = s.tileMap___27187; + s.tmp_6.arg1 = s.ms___80296; + s.tmp_6.arg2 = s.tileMap___80216; s.callLocIdx = 870; s.pc = 65; return s.tmp_6; case 65: r0 = s.retval; case 37: case 38: - r0 = s.s___27269.fields["flags"]; + r0 = s.s___80298.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___27439 = (r0); - r0 = s.s___27269.fields["flags"]; + s.bounce___80468 = (r0); + r0 = s.s___80298.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); s.tmp_0 = r0; @@ -72312,13 +72345,13 @@ switch (step) { r0 = s.tmp_0; { step = 42; continue; } case 39: - s.tmp_2 = r0 = s.bounce___27439; + s.tmp_2 = r0 = s.bounce___80468; 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___27187); + r0 = pxsim_numops_toBoolDecr(s.tileMap___80216); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 41: @@ -72330,81 +72363,81 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 43; continue; } - s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P4877_mk(s); + s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P57890_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___27267; - s.tmp_6.arg2 = s.bounce___27439; - r0 = s.scene___27184.fields["camera"]; + s.tmp_6.arg1 = s.ms___80296; + s.tmp_6.arg2 = s.bounce___80468; + r0 = s.scene___80213.fields["camera"]; s.tmp_6.arg3 = r0; s.callLocIdx = 871; 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___27267.fields["dx"]; + s.tmp_2 = Fx_abs__P53177_mk(s); + r0 = s.ms___80296.fields["dx"]; s.tmp_2.arg0 = r0; s.callLocIdx = 872; s.pc = 67; return s.tmp_2; case 67: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___2501); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___55513); 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___27267.fields["dy"]; + s.tmp_4 = Fx_abs__P53177_mk(s); + r0 = s.ms___80296.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 873; s.pc = 68; return s.tmp_4; case 68: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___2501); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___55513); 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___27262, s.ms___27267); + r0 = pxsim_Array__push(s.remainingMovers___80291, s.ms___80296); case 47: case 48: - r0 = (s.unnamed1501___U14 + 1); - s.unnamed1501___U14 = (r0); + r0 = (s.unnamed241___U14 + 1); + s.unnamed241___U14 = (r0); { step = 4; continue; } case 49: - s.unnamed1500___U13 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P4876_mk(s); + s.unnamed240___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P57889_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___27255; - s.tmp_0.arg2 = s.overlapHandlers___27233; + s.tmp_0.arg1 = s.currMovers___80284; + s.tmp_0.arg2 = s.overlapHandlers___80262; s.callLocIdx = 874; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; case 50: - r0 = pxsim_Array__length(s.currMovers___27255); + r0 = pxsim_Array__length(s.currMovers___80284); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 51; continue; } - r0 = pxsim_Array_.pop(s.currMovers___27255); + r0 = pxsim_Array_.pop(s.currMovers___80284); { step = 50; continue; } case 51: - r0 = (s.count___27245 + 1); - s.count___27245 = (r0); + r0 = (s.count___80274 + 1); + s.count___80274 = (r0); { step = 1; continue; } case 52: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P2519.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__P55531.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__P2519_mk(s) { +function ArcadePhysicsEngine_move__P55531_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P2519, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P55531, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72418,25 +72451,25 @@ function ArcadePhysicsEngine_move__P2519_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtMs___27174: undefined, - dt2___27180: undefined, - scene___27184: undefined, - tileMap___27187: undefined, - movingSprites___27190: undefined, - MAX_STEP_COUNT___27221: undefined, - overlapHandlers___27233: undefined, - selected___27240: undefined, - buffers___27241: undefined, - count___27245: undefined, - currMovers___27255: undefined, - remainingMovers___27262: undefined, - ms___27267: undefined, - unnamed1500___U13: undefined, - unnamed1501___U14: undefined, - s___27269: undefined, - stepX___27362: undefined, - stepY___27376: undefined, - bounce___27439: undefined, + dtMs___80203: undefined, + dt2___80209: undefined, + scene___80213: undefined, + tileMap___80216: undefined, + movingSprites___80219: undefined, + MAX_STEP_COUNT___80250: undefined, + overlapHandlers___80262: undefined, + selected___80269: undefined, + buffers___80270: undefined, + count___80274: undefined, + currMovers___80284: undefined, + remainingMovers___80291: undefined, + ms___80296: undefined, + unnamed240___U13: undefined, + unnamed241___U14: undefined, + s___80298: undefined, + stepX___80391: undefined, + stepY___80405: undefined, + bounce___80468: undefined, arg0: undefined, arg1: undefined, } } @@ -72445,7 +72478,7 @@ function ArcadePhysicsEngine_move__P2519_mk(s) { -function movingSprites_inline__P27192(s) { +function movingSprites_inline__P80221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72459,7 +72492,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P4875_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P57888_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; @@ -72470,12 +72503,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -movingSprites_inline__P27192.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__P80221.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__P27192_mk(s) { +function movingSprites_inline__P80221_mk(s) { checkStack(s.depth); return { - parent: s, fn: movingSprites_inline__P27192, depth: s.depth + 1, + parent: s, fn: movingSprites_inline__P80221, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -72485,7 +72518,7 @@ function movingSprites_inline__P27192_mk(s) { -function ArcadePhysicsEngine_move_inline__P27204(s) { +function ArcadePhysicsEngine_move_inline__P80233(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72499,7 +72532,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P2338_mk(s); + s.tmp_1 = Sprite_vx__P55350_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 845; s.pc = 5; return s.tmp_1; case 5: @@ -72510,7 +72543,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P2340_mk(s); + s.tmp_2 = Sprite_vy__P55352_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 846; s.pc = 6; return s.tmp_2; case 6: @@ -72520,7 +72553,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P2405_mk(s); + s.tmp_4 = Sprite_clearObstacles__P55417_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 847; s.pc = 7; return s.tmp_4; case 7: @@ -72531,12 +72564,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move_inline__P27204.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__P80233.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__P27204_mk(s) { +function ArcadePhysicsEngine_move_inline__P80233_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move_inline__P27204, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move_inline__P80233, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72550,7 +72583,7 @@ function ArcadePhysicsEngine_move_inline__P27204_mk(s) { -function ArcadePhysicsEngine_screenEdgeCollisions__P4877(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P57890(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72560,8 +72593,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___27997 = undefined; - s.offset___28012 = undefined; + s.s___81026 = undefined; + s.offset___81041 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -72570,10 +72603,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___27997 = (r0); - r0 = s.s___27997.fields["_image"]; + s.s___81026 = (r0); + r0 = s.s___81026.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -72583,16 +72616,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite__C2321_v4_1_mk(s); - s.tmp_4.arg0 = s.s___27997; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C2321_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = Sprite__C55333_v4_1_mk(s); + s.tmp_4.arg0 = s.s___81026; + if (!checkSubtype(s.tmp_4.arg0, Sprite__C55333_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__P2777_mk(s); + s.tmp_3 = scene_Camera_isUpdated__P55789_mk(s); s.tmp_3.arg0 = s.arg3; s.callLocIdx = 919; s.pc = 22; return s.tmp_3; case 22: @@ -72604,15 +72637,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_4 = scene_Camera_update__P2778_mk(s); + s.tmp_4 = scene_Camera_update__P55790_mk(s); s.tmp_4.arg0 = s.arg3; s.callLocIdx = 920; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; case 3: case 4: - s.tmp_2 = game_Hitbox_left__P2197_mk(s); - r0 = s.s___27997.fields["_hitbox"]; + s.tmp_2 = game_Hitbox_left__P55209_mk(s); + r0 = s.s___81026.fields["_hitbox"]; s.tmp_2.arg0 = r0; s.callLocIdx = 921; s.pc = 24; return s.tmp_2; case 24: @@ -72623,31 +72656,31 @@ switch (step) { r0 = s.arg3.fields["_offsetX"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); - s.offset___28012 = (r0); - r0 = (s.offset___28012 < 0); + s.offset___81041 = (r0); + r0 = (s.offset___81041 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = Sprite_left__P2380_mk(s); - s.tmp_2 = r0 = s.s___27997; + s.tmp_1 = Sprite_left__P55392_mk(s); + s.tmp_2 = r0 = s.s___81026; s.tmp_1.arg0 = r0; - s.tmp_4 = Sprite_left__P2379_mk(s); + s.tmp_4 = Sprite_left__P55391_mk(s); s.tmp_4.arg0 = s.tmp_2; s.callLocIdx = 924; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 - s.offset___28012); + r0 = (s.tmp_3 - s.offset___81041); s.tmp_1.arg1 = r0; s.callLocIdx = 925; 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__P2339_mk(s); - s.tmp_0.arg0 = s.s___27997; - s.tmp_2 = Sprite_vx__P2338_mk(s); - s.tmp_2.arg0 = s.s___27997; + s.tmp_0 = Sprite_vx__P55351_mk(s); + s.tmp_0.arg0 = s.s___81026; + s.tmp_2 = Sprite_vx__P55350_mk(s); + s.tmp_2.arg0 = s.s___81026; s.callLocIdx = 926; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; @@ -72661,8 +72694,8 @@ switch (step) { case 6: { step = 12; continue; } case 7: - s.tmp_4 = game_Hitbox_right__P2199_mk(s); - r0 = s.s___27997.fields["_hitbox"]; + s.tmp_4 = game_Hitbox_right__P55211_mk(s); + r0 = s.s___81026.fields["_hitbox"]; s.tmp_4.arg0 = r0; s.callLocIdx = 928; s.pc = 29; return s.tmp_4; case 29: @@ -72674,35 +72707,35 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___28012 = (r0); + s.offset___81041 = (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__P2382_mk(s); - s.tmp_9 = r0 = s.s___27997; + s.tmp_8 = Sprite_right__P55394_mk(s); + s.tmp_9 = r0 = s.s___81026; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_right__P2381_mk(s); + s.tmp_11 = Sprite_right__P55393_mk(s); s.tmp_11.arg0 = s.tmp_9; s.callLocIdx = 931; s.pc = 31; return s.tmp_11; case 31: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___28012); + r0 = (s.tmp_10 - s.offset___81041); s.tmp_8.arg1 = r0; s.callLocIdx = 932; 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__P2339_mk(s); - s.tmp_0.arg0 = s.s___27997; - s.tmp_2 = Sprite_vx__P2338_mk(s); - s.tmp_2.arg0 = s.s___27997; + s.tmp_0 = Sprite_vx__P55351_mk(s); + s.tmp_0.arg0 = s.s___81026; + s.tmp_2 = Sprite_vx__P55350_mk(s); + s.tmp_2.arg0 = s.s___81026; s.callLocIdx = 933; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -72717,8 +72750,8 @@ switch (step) { case 10: case 11: case 12: - s.tmp_3 = game_Hitbox_top__P2198_mk(s); - r0 = s.s___27997.fields["_hitbox"]; + s.tmp_3 = game_Hitbox_top__P55210_mk(s); + r0 = s.s___81026.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 935; s.pc = 34; return s.tmp_3; case 34: @@ -72730,31 +72763,31 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_1 - s.tmp_4); s.tmp_0 = r0; - s.offset___28012 = (r0); + s.offset___81041 = (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__P2384_mk(s); - s.tmp_7 = r0 = s.s___27997; + s.tmp_6 = Sprite_top__P55396_mk(s); + s.tmp_7 = r0 = s.s___81026; s.tmp_6.arg0 = r0; - s.tmp_9 = Sprite_top__P2383_mk(s); + s.tmp_9 = Sprite_top__P55395_mk(s); s.tmp_9.arg0 = s.tmp_7; s.callLocIdx = 938; s.pc = 36; return s.tmp_9; case 36: r0 = s.retval; s.tmp_8 = r0; - r0 = (s.tmp_8 - s.offset___28012); + r0 = (s.tmp_8 - s.offset___81041); s.tmp_6.arg1 = r0; s.callLocIdx = 939; 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__P2341_mk(s); - s.tmp_0.arg0 = s.s___27997; - s.tmp_2 = Sprite_vy__P2340_mk(s); - s.tmp_2.arg0 = s.s___27997; + s.tmp_0 = Sprite_vy__P55353_mk(s); + s.tmp_0.arg0 = s.s___81026; + s.tmp_2 = Sprite_vy__P55352_mk(s); + s.tmp_2.arg0 = s.s___81026; s.callLocIdx = 940; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -72768,8 +72801,8 @@ switch (step) { case 14: { step = 20; continue; } case 15: - s.tmp_4 = game_Hitbox_bottom__P2200_mk(s); - r0 = s.s___27997.fields["_hitbox"]; + s.tmp_4 = game_Hitbox_bottom__P55212_mk(s); + r0 = s.s___81026.fields["_hitbox"]; s.tmp_4.arg0 = r0; s.callLocIdx = 942; s.pc = 39; return s.tmp_4; case 39: @@ -72781,35 +72814,35 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___2013); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___28012 = (r0); + s.offset___81041 = (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__P2386_mk(s); - s.tmp_9 = r0 = s.s___27997; + s.tmp_8 = Sprite_bottom__P55398_mk(s); + s.tmp_9 = r0 = s.s___81026; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_bottom__P2385_mk(s); + s.tmp_11 = Sprite_bottom__P55397_mk(s); s.tmp_11.arg0 = s.tmp_9; s.callLocIdx = 945; s.pc = 41; return s.tmp_11; case 41: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___28012); + r0 = (s.tmp_10 - s.offset___81041); s.tmp_8.arg1 = r0; s.callLocIdx = 946; 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__P2341_mk(s); - s.tmp_0.arg0 = s.s___27997; - s.tmp_2 = Sprite_vy__P2340_mk(s); - s.tmp_2.arg0 = s.s___27997; + s.tmp_0 = Sprite_vy__P55353_mk(s); + s.tmp_0.arg0 = s.s___81026; + s.tmp_2 = Sprite_vy__P55352_mk(s); + s.tmp_2.arg0 = s.s___81026; s.callLocIdx = 947; s.pc = 43; return s.tmp_2; case 43: r0 = s.retval; @@ -72828,12 +72861,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_screenEdgeCollisions__P4877.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__P57890.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__P4877_mk(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P57890_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P4877, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P57890, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72847,8 +72880,8 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P4877_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - s___27997: undefined, - offset___28012: undefined, + s___81026: undefined, + offset___81041: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -72859,7 +72892,7 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P4877_mk(s) { -function scene_Camera_isUpdated__P2777(s) { +function scene_Camera_isUpdated__P55789(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72874,7 +72907,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2761_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C55773_VT)) failedCast(r0); r0 = s.arg0.fields["sprite"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -72886,7 +72919,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 1: - s.tmp_5 = Sprite_x__P2334_mk(s); + s.tmp_5 = Sprite_x__P55346_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_5.arg0 = r0; s.callLocIdx = 1347; s.pc = 5; return s.tmp_5; @@ -72902,7 +72935,7 @@ switch (step) { r0 = s.tmp_3; { step = 3; continue; } case 2: - s.tmp_8 = Sprite_y__P2336_mk(s); + s.tmp_8 = Sprite_y__P55348_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_8.arg0 = r0; s.callLocIdx = 1348; s.pc = 6; return s.tmp_8; @@ -72923,12 +72956,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_isUpdated__P2777.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__P55789.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__P2777_mk(s) { +function scene_Camera_isUpdated__P55789_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_isUpdated__P2777, depth: s.depth + 1, + parent: s, fn: scene_Camera_isUpdated__P55789, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -72949,7 +72982,7 @@ function scene_Camera_isUpdated__P2777_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P4876(s) { +function ArcadePhysicsEngine_spriteCollisions__P57889(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -72959,18 +72992,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___27496 = undefined; - s.unnamed1502___U1 = undefined; - s.unnamed1503___U2 = undefined; - s.sprite___27498 = undefined; - s.overSprites___27505 = undefined; - s.overlapper___27513 = undefined; - s.unnamed1504___U6 = undefined; - s.unnamed1505___U7 = undefined; - s.thisKind___27519 = undefined; - s.otherKind___27523 = undefined; - s.higher___27536 = undefined; - s.lower___27545 = undefined; + s.ms___80525 = undefined; + s.unnamed242___U1 = undefined; + s.unnamed243___U2 = undefined; + s.sprite___80527 = undefined; + s.overSprites___80534 = undefined; + s.overlapper___80542 = undefined; + s.unnamed244___U6 = undefined; + s.unnamed245___U7 = undefined; + s.thisKind___80548 = undefined; + s.otherKind___80552 = undefined; + s.higher___80565 = undefined; + s.lower___80574 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -72978,7 +73011,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -72990,20 +73023,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___27496 = (undefined); - s.unnamed1502___U1 = (s.arg1); - s.unnamed1503___U2 = (0); + s.ms___80525 = (undefined); + s.unnamed242___U1 = (s.arg1); + s.unnamed243___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed1503___U2; - r0 = pxsim_Array__length(s.unnamed1502___U1); + s.tmp_0 = r0 = s.unnamed243___U2; + r0 = pxsim_Array__length(s.unnamed242___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed1502___U1, s.unnamed1503___U2); - s.ms___27496 = (r0); - r0 = s.ms___27496.fields["sprite"]; - s.sprite___27498 = (r0); - r0 = s.sprite___27498.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed242___U1, s.unnamed243___U2); + s.ms___80525 = (r0); + r0 = s.ms___80525.fields["sprite"]; + s.sprite___80527 = (r0); + r0 = s.sprite___80527.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4610); s.tmp_0 = r0; @@ -73012,27 +73045,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P2429_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P55441_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___27496.fields["sprite"]; + r0 = s.ms___80525.fields["sprite"]; s.tmp_2.arg1 = r0; s.callLocIdx = 912; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___27505 = (r0); - s.overlapper___27513 = (undefined); - s.unnamed1504___U6 = (s.overSprites___27505); - s.unnamed1505___U7 = (0); + s.overSprites___80534 = (r0); + s.overlapper___80542 = (undefined); + s.unnamed244___U6 = (s.overSprites___80534); + s.unnamed245___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed1505___U7; - r0 = pxsim_Array__length(s.unnamed1504___U6); + s.tmp_0 = r0 = s.unnamed245___U7; + r0 = pxsim_Array__length(s.unnamed244___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed1504___U6, s.unnamed1505___U7); - s.overlapper___27513 = (r0); - r0 = s.overlapper___27513.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed244___U6, s.unnamed245___U7); + s.overlapper___80542 = (r0); + r0 = s.overlapper___80542.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -73041,13 +73074,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___27498.fields["_kind"]; - s.thisKind___27519 = (r0); - r0 = s.overlapper___27513.fields["_kind"]; - s.otherKind___27523 = (r0); - r0 = s.sprite___27498.fields["_kindsOverlappedWith"]; + r0 = s.sprite___80527.fields["_kind"]; + s.thisKind___80548 = (r0); + r0 = s.overlapper___80542.fields["_kind"]; + s.otherKind___80552 = (r0); + r0 = s.sprite___80527.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___27523, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___80552, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -73056,37 +73089,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___27498.fields["id"]; + r0 = s.sprite___80527.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___27513.fields["id"]; + r0 = s.overlapper___80542.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___27498; + r0 = s.sprite___80527; { step = 12; continue; } case 11: - r0 = s.overlapper___27513; + r0 = s.overlapper___80542; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___27536 = (s.tmp_6); - r0 = (s.higher___27536 === s.sprite___27498); + s.higher___80565 = (s.tmp_6); + r0 = (s.higher___80565 === s.sprite___80527); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___27513; + r0 = s.overlapper___80542; { step = 14; continue; } case 13: - r0 = s.sprite___27498; + r0 = s.sprite___80527; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___27545 = (s.tmp_1); - r0 = s.higher___27536.fields["_overlappers"]; + s.lower___80574 = (s.tmp_1); + r0 = s.higher___80565.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___27545.fields["id"]; + r0 = s.lower___80574.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -73094,19 +73127,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P27565); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P80594); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___27519); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___27523); - r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P27587); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___80548); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___80552); + r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P80616); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___27536); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___27545); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___27498); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___27513); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___27519); - 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___80565); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___80574); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___80527); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___80542); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___80548); + s.tmp_6 = helpers_arrayForEach__P53121_mk(s); + s.tmp_7 = helpers_arrayFilter__P53122_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; s.callLocIdx = 915; s.pc = 24; return s.tmp_7; @@ -73120,28 +73153,28 @@ switch (step) { case 15: case 16: case 17: - r0 = (s.unnamed1505___U7 + 1); - s.unnamed1505___U7 = (r0); + r0 = (s.unnamed245___U7 + 1); + s.unnamed245___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed1504___U6 = (undefined); + s.unnamed244___U6 = (undefined); case 19: - r0 = (s.unnamed1503___U2 + 1); - s.unnamed1503___U2 = (r0); + r0 = (s.unnamed243___U2 + 1); + s.unnamed243___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed1502___U1 = (undefined); + s.unnamed242___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P4876.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__P57889.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__P4876_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P57889_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P4876, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P57889, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -73151,18 +73184,18 @@ function ArcadePhysicsEngine_spriteCollisions__P4876_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___27496: undefined, - unnamed1502___U1: undefined, - unnamed1503___U2: undefined, - sprite___27498: undefined, - overSprites___27505: undefined, - overlapper___27513: undefined, - unnamed1504___U6: undefined, - unnamed1505___U7: undefined, - thisKind___27519: undefined, - otherKind___27523: undefined, - higher___27536: undefined, - lower___27545: undefined, + ms___80525: undefined, + unnamed242___U1: undefined, + unnamed243___U2: undefined, + sprite___80527: undefined, + overSprites___80534: undefined, + overlapper___80542: undefined, + unnamed244___U6: undefined, + unnamed245___U7: undefined, + thisKind___80548: undefined, + otherKind___80552: undefined, + higher___80565: undefined, + lower___80574: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -73172,7 +73205,7 @@ function ArcadePhysicsEngine_spriteCollisions__P4876_mk(s) { -function forEach_inline__P27565(s) { +function forEach_inline__P80594(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -73229,12 +73262,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P27565.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__P80594.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__P27565_mk(s) { +function forEach_inline__P80594_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P27565, depth: s.depth + 1, + parent: s, fn: forEach_inline__P80594, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -73252,7 +73285,7 @@ function forEach_inline__P27565_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P27587(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P80616(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -73271,7 +73304,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__P27597); + r0 = pxsim_pxtcore_mkAction(6, ArcadePhysicsEngine_spriteCollisions_inline__P80626); 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]); @@ -73284,12 +73317,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P27587.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__P80616.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__P27587_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P80616_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P27587, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P80616, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -73300,7 +73333,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P27587_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P27597(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P80626(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -73376,12 +73409,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P27597.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__P80626.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__P27597_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P80626_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P27597, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P80626, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -73402,7 +73435,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P27597_mk(s) { -function sprites_SpriteMap_overlaps__P2429(s) { +function sprites_SpriteMap_overlaps__P55441(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -73412,47 +73445,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___27630 = undefined; - s.o___27634 = undefined; + s.n___80659 = undefined; + s.o___80663 = 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__C2426_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P2428_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C55438_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P55440_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 783; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___27630 = (r0); - r0 = pxsim_pxtcore_mkAction(1, o_inline__P27636); + s.n___80659 = (r0); + r0 = pxsim_pxtcore_mkAction(1, o_inline__P80665); 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___27630; + s.tmp_1 = helpers_arrayFilter__P53122_mk(s); + s.tmp_1.arg0 = s.n___80659; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 785; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___27634 = (r0); - r0 = s.o___27634; + s.o___80663 = (r0); + r0 = s.o___80663; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P2429.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__P55441.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__P2429_mk(s) { +function sprites_SpriteMap_overlaps__P55441_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P2429, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P55441, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___27630: undefined, - o___27634: undefined, + n___80659: undefined, + o___80663: undefined, arg0: undefined, arg1: undefined, } } @@ -73461,7 +73494,7 @@ function sprites_SpriteMap_overlaps__P2429_mk(s) { -function o_inline__P27636(s) { +function o_inline__P80665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -73475,7 +73508,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P2400_mk(s); + s.tmp_0 = Sprite_overlapsWith__P55412_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 784; s.pc = 1; return s.tmp_0; @@ -73484,12 +73517,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -o_inline__P27636.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__P80665.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__P27636_mk(s) { +function o_inline__P80665_mk(s) { checkStack(s.depth); return { - parent: s, fn: o_inline__P27636, depth: s.depth + 1, + parent: s, fn: o_inline__P80665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -73499,7 +73532,7 @@ function o_inline__P27636_mk(s) { -function sprites_SpriteMap_neighbors__P2428(s) { +function sprites_SpriteMap_neighbors__P55440(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -73509,112 +73542,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___27887 = undefined; - s.layer___27889 = undefined; + s.n___80916 = undefined; + s.layer___80918 = 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__C2426_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C55438_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___27887 = (r0); + s.n___80916 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___27889 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4840_mk(s); + s.layer___80918 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P57853_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P2379_mk(s); + s.tmp_1 = Sprite_left__P55391_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 771; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P2383_mk(s); + s.tmp_2 = Sprite_top__P55395_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 772; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___27889; - s.tmp_0.arg4 = s.n___27887; + s.tmp_0.arg3 = s.layer___80918; + s.tmp_0.arg4 = s.n___80916; s.callLocIdx = 773; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4840_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P57853_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P2379_mk(s); + s.tmp_1 = Sprite_left__P55391_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 774; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P2385_mk(s); + s.tmp_2 = Sprite_bottom__P55397_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 775; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___27889; - s.tmp_0.arg4 = s.n___27887; + s.tmp_0.arg3 = s.layer___80918; + s.tmp_0.arg4 = s.n___80916; s.callLocIdx = 776; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4840_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P57853_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P2381_mk(s); + s.tmp_1 = Sprite_right__P55393_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 777; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P2383_mk(s); + s.tmp_2 = Sprite_top__P55395_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 778; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___27889; - s.tmp_0.arg4 = s.n___27887; + s.tmp_0.arg3 = s.layer___80918; + s.tmp_0.arg4 = s.n___80916; s.callLocIdx = 779; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P4840_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P57853_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P2381_mk(s); + s.tmp_1 = Sprite_right__P55393_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 780; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P2385_mk(s); + s.tmp_2 = Sprite_bottom__P55397_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 781; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___27889; - s.tmp_0.arg4 = s.n___27887; + s.tmp_0.arg3 = s.layer___80918; + s.tmp_0.arg4 = s.n___80916; s.callLocIdx = 782; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___27887, s.arg1); - r0 = s.n___27887; + r0 = pxsim_Array_.removeElement(s.n___80916, s.arg1); + r0 = s.n___80916; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P2428.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__P55440.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__P2428_mk(s) { +function sprites_SpriteMap_neighbors__P55440_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P2428, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P55440, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___27887: undefined, - layer___27889: undefined, + n___80916: undefined, + layer___80918: undefined, arg0: undefined, arg1: undefined, } } @@ -73623,7 +73656,7 @@ function sprites_SpriteMap_neighbors__P2428_mk(s) { -function sprites_SpriteMap_mergeAtKey__P4840(s) { +function sprites_SpriteMap_mergeAtKey__P57853(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -73633,11 +73666,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___27930 = undefined; - s.bucket___27935 = undefined; - s.sprite___27942 = undefined; - s.unnamed1498___U3 = undefined; - s.unnamed1499___U4 = undefined; + s.k___80959 = undefined; + s.bucket___80964 = undefined; + s.sprite___80971 = undefined; + s.unnamed238___U3 = undefined; + s.unnamed239___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -73647,33 +73680,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2426_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P4838_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C55438_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P57851_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 809; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___27930 = (r0); + s.k___80959 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___27930); - s.bucket___27935 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___27935); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___80959); + s.bucket___80964 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___80964); if (!r0) { step = 7; continue; } - s.sprite___27942 = (undefined); - s.unnamed1498___U3 = (s.bucket___27935); - s.unnamed1499___U4 = (0); + s.sprite___80971 = (undefined); + s.unnamed238___U3 = (s.bucket___80964); + s.unnamed239___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1499___U4; - r0 = pxsim_Array__length(s.unnamed1498___U3); + s.tmp_0 = r0 = s.unnamed239___U4; + r0 = pxsim_Array__length(s.unnamed238___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed1498___U3, s.unnamed1499___U4); - s.sprite___27942 = (r0); - r0 = s.sprite___27942.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed238___U3, s.unnamed239___U4); + s.sprite___80971 = (r0); + r0 = s.sprite___80971.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -73682,7 +73715,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___27942, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___80971, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -73690,26 +73723,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___27942); + r0 = pxsim_Array__push(s.arg4, s.sprite___80971); case 4: case 5: - r0 = (s.unnamed1499___U4 + 1); - s.unnamed1499___U4 = (r0); + r0 = (s.unnamed239___U4 + 1); + s.unnamed239___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed1498___U3 = (undefined); + s.unnamed238___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P4840.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__P57853.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__P4840_mk(s) { +function sprites_SpriteMap_mergeAtKey__P57853_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P4840, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P57853, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -73717,11 +73750,11 @@ function sprites_SpriteMap_mergeAtKey__P4840_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___27930: undefined, - bucket___27935: undefined, - sprite___27942: undefined, - unnamed1498___U3: undefined, - unnamed1499___U4: undefined, + k___80959: undefined, + bucket___80964: undefined, + sprite___80971: undefined, + unnamed238___U3: undefined, + unnamed239___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -73733,7 +73766,7 @@ function sprites_SpriteMap_mergeAtKey__P4840_mk(s) { -function sprites_SpriteMap_key__P4838(s) { +function sprites_SpriteMap_key__P57851(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -73743,8 +73776,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___27963 = undefined; - s.yi___27975 = undefined; + s.xi___80992 = undefined; + s.yi___81004 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -73752,8 +73785,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2426_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P127_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C55438_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P53139_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -73764,8 +73797,8 @@ switch (step) { s.callLocIdx = 797; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___27963 = (r0); - s.tmp_0 = Math_clamp__P127_mk(s); + s.xi___80992 = (r0); + s.tmp_0 = Math_clamp__P53139_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -73776,28 +73809,28 @@ switch (step) { s.callLocIdx = 798; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___27975 = (r0); - s.tmp_0 = r0 = s.xi___27963; + s.yi___81004 = (r0); + s.tmp_0 = r0 = s.xi___80992; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___27975 * s.tmp_2); + r0 = (s.yi___81004 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P4838.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__P57851.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__P4838_mk(s) { +function sprites_SpriteMap_key__P57851_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P4838, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P57851, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___27963: undefined, - yi___27975: undefined, + xi___80992: undefined, + yi___81004: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -73807,7 +73840,7 @@ function sprites_SpriteMap_key__P4838_mk(s) { -function Sprite_overlapsWith__P2400(s) { +function Sprite_overlapsWith__P55412(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -73817,15 +73850,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___27700 = undefined; - s.B___27701 = undefined; + s.A___80729 = undefined; + s.B___80730 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -73854,7 +73887,7 @@ switch (step) { { step = 23; continue; } case 5: case 6: - s.tmp_8 = game_Hitbox_overlapsWith__P2204_mk(s); + s.tmp_8 = game_Hitbox_overlapsWith__P55216_mk(s); r0 = s.arg1.fields["_hitbox"]; s.tmp_8.arg0 = r0; r0 = s.arg0.fields["_hitbox"]; @@ -73873,7 +73906,7 @@ switch (step) { { step = 23; continue; } case 7: case 8: - s.tmp_12 = Sprite_isScaled__P4831_mk(s); + s.tmp_12 = Sprite_isScaled__P57844_mk(s); s.tmp_12.arg0 = s.arg0; s.callLocIdx = 681; s.pc = 25; return s.tmp_12; case 25: @@ -73888,7 +73921,7 @@ switch (step) { r0 = s.tmp_9; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_isScaled__P4831_mk(s); + s.tmp_15 = Sprite_isScaled__P57844_mk(s); s.tmp_15.arg0 = s.arg1; s.callLocIdx = 682; s.pc = 26; return s.tmp_15; case 26: @@ -73906,13 +73939,13 @@ switch (step) { s.tmp_17 = r0; r0 = s.arg0.fields["_image"]; s.tmp_18 = r0; - s.tmp_21 = Sprite_left__P2379_mk(s); + s.tmp_21 = Sprite_left__P55391_mk(s); s.tmp_21.arg0 = s.arg0; s.callLocIdx = 683; s.pc = 27; return s.tmp_21; case 27: r0 = s.retval; s.tmp_20 = r0; - s.tmp_23 = Sprite_left__P2379_mk(s); + s.tmp_23 = Sprite_left__P55391_mk(s); s.tmp_23.arg0 = s.arg1; s.callLocIdx = 684; s.pc = 28; return s.tmp_23; case 28: @@ -73920,13 +73953,13 @@ switch (step) { s.tmp_22 = r0; r0 = (s.tmp_20 - s.tmp_22); s.tmp_19 = r0; - s.tmp_26 = Sprite_top__P2383_mk(s); + s.tmp_26 = Sprite_top__P55395_mk(s); s.tmp_26.arg0 = s.arg0; s.callLocIdx = 685; s.pc = 29; return s.tmp_26; case 29: r0 = s.retval; s.tmp_25 = r0; - s.tmp_28 = Sprite_top__P2383_mk(s); + s.tmp_28 = Sprite_top__P55395_mk(s); s.tmp_28.arg0 = s.arg1; s.callLocIdx = 686; s.pc = 30; return s.tmp_28; case 30: @@ -73938,7 +73971,7 @@ switch (step) { { step = 23; continue; } { step = 22; continue; } case 11: - s.tmp_31 = Sprite_sx__P2350_mk(s); + s.tmp_31 = Sprite_sx__P55362_mk(s); s.tmp_31.arg0 = s.arg0; s.callLocIdx = 687; s.pc = 31; return s.tmp_31; case 31: @@ -73951,7 +73984,7 @@ switch (step) { r0 = s.tmp_29; { step = 13; continue; } case 12: - s.tmp_33 = Sprite_sy__P2352_mk(s); + s.tmp_33 = Sprite_sy__P55364_mk(s); s.tmp_33.arg0 = s.arg0; s.callLocIdx = 688; s.pc = 32; return s.tmp_33; case 32: @@ -73966,7 +73999,7 @@ switch (step) { r0 = s.tmp_34; { step = 15; continue; } case 14: - s.tmp_36 = Sprite_sx__P2350_mk(s); + s.tmp_36 = Sprite_sx__P55362_mk(s); s.tmp_36.arg0 = s.arg1; s.callLocIdx = 689; s.pc = 33; return s.tmp_36; case 33: @@ -73981,7 +74014,7 @@ switch (step) { r0 = s.tmp_37; { step = 17; continue; } case 16: - s.tmp_39 = Sprite_sy__P2352_mk(s); + s.tmp_39 = Sprite_sy__P55364_mk(s); s.tmp_39.arg0 = s.arg1; s.callLocIdx = 690; s.pc = 34; return s.tmp_39; case 34: @@ -73997,13 +74030,13 @@ switch (step) { { step = 23; continue; } case 18: case 19: - s.tmp_44 = Sprite_sx__P2350_mk(s); + s.tmp_44 = Sprite_sx__P55362_mk(s); s.tmp_44.arg0 = s.arg0; s.callLocIdx = 691; s.pc = 35; return s.tmp_44; case 35: r0 = s.retval; s.tmp_43 = r0; - s.tmp_46 = Sprite_sy__P2352_mk(s); + s.tmp_46 = Sprite_sy__P55364_mk(s); s.tmp_46.arg0 = s.arg0; s.callLocIdx = 692; s.pc = 36; return s.tmp_46; case 36: @@ -74011,13 +74044,13 @@ switch (step) { s.tmp_45 = r0; r0 = (s.tmp_43 * s.tmp_45); s.tmp_42 = r0; - s.tmp_49 = Sprite_sx__P2350_mk(s); + s.tmp_49 = Sprite_sx__P55362_mk(s); s.tmp_49.arg0 = s.arg1; s.callLocIdx = 693; s.pc = 37; return s.tmp_49; case 37: r0 = s.retval; s.tmp_48 = r0; - s.tmp_51 = Sprite_sy__P2352_mk(s); + s.tmp_51 = Sprite_sy__P55364_mk(s); s.tmp_51.arg0 = s.arg1; s.callLocIdx = 694; s.pc = 38; return s.tmp_51; case 38: @@ -74029,97 +74062,97 @@ switch (step) { s.tmp_41 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_41); if (!r0) { step = 20; continue; } - s.A___27700 = (s.arg0); - s.B___27701 = (s.arg1); + s.A___80729 = (s.arg0); + s.B___80730 = (s.arg1); { step = 21; continue; } case 20: - s.A___27700 = (s.arg1); - s.B___27701 = (s.arg0); + s.A___80729 = (s.arg1); + s.B___80730 = (s.arg0); case 21: - s.tmp_0 = helpers_imageBlit__P1936_mk(s); - r0 = s.A___27700.fields["_image"]; + s.tmp_0 = helpers_imageBlit__P54948_mk(s); + r0 = s.A___80729.fields["_image"]; s.tmp_0.arg0 = r0; - s.tmp_3 = Sprite_left__P2379_mk(s); - s.tmp_3.arg0 = s.B___27701; + s.tmp_3 = Sprite_left__P55391_mk(s); + s.tmp_3.arg0 = s.B___80730; s.callLocIdx = 696; s.pc = 40; return s.tmp_3; case 40: r0 = s.retval; s.tmp_2 = r0; - s.tmp_5 = Sprite_left__P2379_mk(s); - s.tmp_5.arg0 = s.A___27700; + s.tmp_5 = Sprite_left__P55391_mk(s); + s.tmp_5.arg0 = s.A___80729; s.callLocIdx = 697; s.pc = 41; return s.tmp_5; case 41: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1 = r0; - s.tmp_7 = Sprite_sx__P2350_mk(s); - s.tmp_7.arg0 = s.A___27700; + s.tmp_7 = Sprite_sx__P55362_mk(s); + s.tmp_7.arg0 = s.A___80729; s.callLocIdx = 698; s.pc = 42; return s.tmp_7; case 42: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_1 / s.tmp_6); s.tmp_0.arg1 = r0; - s.tmp_10 = Sprite_top__P2383_mk(s); - s.tmp_10.arg0 = s.B___27701; + s.tmp_10 = Sprite_top__P55395_mk(s); + s.tmp_10.arg0 = s.B___80730; s.callLocIdx = 699; s.pc = 43; return s.tmp_10; case 43: r0 = s.retval; s.tmp_9 = r0; - s.tmp_12 = Sprite_top__P2383_mk(s); - s.tmp_12.arg0 = s.A___27700; + s.tmp_12 = Sprite_top__P55395_mk(s); + s.tmp_12.arg0 = s.A___80729; s.callLocIdx = 700; s.pc = 44; return s.tmp_12; case 44: r0 = s.retval; s.tmp_11 = r0; r0 = (s.tmp_9 - s.tmp_11); s.tmp_8 = r0; - s.tmp_14 = Sprite_sy__P2352_mk(s); - s.tmp_14.arg0 = s.A___27700; + s.tmp_14 = Sprite_sy__P55364_mk(s); + s.tmp_14.arg0 = s.A___80729; s.callLocIdx = 701; s.pc = 45; return s.tmp_14; case 45: r0 = s.retval; s.tmp_13 = r0; r0 = (s.tmp_8 / s.tmp_13); s.tmp_0.arg2 = r0; - s.tmp_16 = Sprite_width__P2377_mk(s); - s.tmp_16.arg0 = s.B___27701; + s.tmp_16 = Sprite_width__P55389_mk(s); + s.tmp_16.arg0 = s.B___80730; s.callLocIdx = 702; s.pc = 46; return s.tmp_16; case 46: r0 = s.retval; s.tmp_15 = r0; - s.tmp_18 = Sprite_sx__P2350_mk(s); - s.tmp_18.arg0 = s.A___27700; + s.tmp_18 = Sprite_sx__P55362_mk(s); + s.tmp_18.arg0 = s.A___80729; s.callLocIdx = 703; s.pc = 47; return s.tmp_18; case 47: r0 = s.retval; s.tmp_17 = r0; r0 = (s.tmp_15 / s.tmp_17); s.tmp_0.arg3 = r0; - s.tmp_20 = Sprite_height__P2378_mk(s); - s.tmp_20.arg0 = s.B___27701; + s.tmp_20 = Sprite_height__P55390_mk(s); + s.tmp_20.arg0 = s.B___80730; s.callLocIdx = 704; s.pc = 48; return s.tmp_20; case 48: r0 = s.retval; s.tmp_19 = r0; - s.tmp_22 = Sprite_sy__P2352_mk(s); - s.tmp_22.arg0 = s.A___27700; + s.tmp_22 = Sprite_sy__P55364_mk(s); + s.tmp_22.arg0 = s.A___80729; s.callLocIdx = 705; s.pc = 49; return s.tmp_22; case 49: r0 = s.retval; s.tmp_21 = r0; r0 = (s.tmp_19 / s.tmp_21); s.tmp_0.arg4 = r0; - r0 = s.B___27701.fields["_image"]; + r0 = s.B___80730.fields["_image"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = 0; s.tmp_0.arg7 = 0; - r0 = s.B___27701.fields["_image"]; + r0 = s.B___80730.fields["_image"]; s.tmp_23 = r0; r0 = pxsim_ImageMethods.width(s.tmp_23); s.tmp_0.arg8 = r0; - r0 = s.B___27701.fields["_image"]; + r0 = s.B___80730.fields["_image"]; s.tmp_24 = r0; r0 = pxsim_ImageMethods.height(s.tmp_24); s.tmp_0.arg9 = r0; @@ -74135,12 +74168,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P2400.info = {"start":20623,"length":1575,"line":689,"column":4,"endLine":736,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P55412.info = {"start":20623,"length":1575,"line":689,"column":4,"endLine":736,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function Sprite_overlapsWith__P2400_mk(s) { +function Sprite_overlapsWith__P55412_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P2400, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P55412, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -74194,8 +74227,8 @@ function Sprite_overlapsWith__P2400_mk(s) { tmp_49: undefined, tmp_50: undefined, tmp_51: undefined, - A___27700: undefined, - B___27701: undefined, + A___80729: undefined, + B___80730: undefined, arg0: undefined, arg1: undefined, } } @@ -74204,7 +74237,7 @@ function Sprite_overlapsWith__P2400_mk(s) { -function Sprite_isScaled__P4831(s) { +function Sprite_isScaled__P57844(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74219,7 +74252,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== 256); @@ -74239,12 +74272,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isScaled__P4831.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__P57844.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__P4831_mk(s) { +function Sprite_isScaled__P57844_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isScaled__P4831, depth: s.depth + 1, + parent: s, fn: Sprite_isScaled__P57844, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -74257,7 +74290,7 @@ function Sprite_isScaled__P4831_mk(s) { -function game_Hitbox_overlapsWith__P2204(s) { +function game_Hitbox_overlapsWith__P55216(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74273,26 +74306,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2189_VT)) failedCast(r0); - s.tmp_0 = game_Hitbox_updateIfInvalid__P2203_mk(s); + if (!checkSubtype(r0, game_Hitbox__C55201_VT)) failedCast(r0); + s.tmp_0 = game_Hitbox_updateIfInvalid__P55215_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 380; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = game_Hitbox_updateIfInvalid__P2203_mk(s); + s.tmp_0 = game_Hitbox_updateIfInvalid__P55215_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 381; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_1 = game_Hitbox_contains__P2202_mk(s); + s.tmp_1 = game_Hitbox_contains__P55214_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = game_Hitbox_left__P2197_mk(s); + s.tmp_2 = game_Hitbox_left__P55209_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 382; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; s.tmp_1.arg1 = r0; - s.tmp_3 = game_Hitbox_top__P2198_mk(s); + s.tmp_3 = game_Hitbox_top__P55210_mk(s); s.tmp_3.arg0 = s.arg1; s.callLocIdx = 383; s.pc = 22; return s.tmp_3; case 22: @@ -74308,15 +74341,15 @@ switch (step) { { step = 17; continue; } case 1: case 2: - s.tmp_5 = game_Hitbox_contains__P2202_mk(s); + s.tmp_5 = game_Hitbox_contains__P55214_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_6 = game_Hitbox_left__P2197_mk(s); + s.tmp_6 = game_Hitbox_left__P55209_mk(s); s.tmp_6.arg0 = s.arg1; s.callLocIdx = 385; s.pc = 24; return s.tmp_6; case 24: r0 = s.retval; s.tmp_5.arg1 = r0; - s.tmp_7 = game_Hitbox_bottom__P2200_mk(s); + s.tmp_7 = game_Hitbox_bottom__P55212_mk(s); s.tmp_7.arg0 = s.arg1; s.callLocIdx = 386; s.pc = 25; return s.tmp_7; case 25: @@ -74332,15 +74365,15 @@ switch (step) { { step = 17; continue; } case 3: case 4: - s.tmp_9 = game_Hitbox_contains__P2202_mk(s); + s.tmp_9 = game_Hitbox_contains__P55214_mk(s); s.tmp_9.arg0 = s.arg0; - s.tmp_10 = game_Hitbox_right__P2199_mk(s); + s.tmp_10 = game_Hitbox_right__P55211_mk(s); s.tmp_10.arg0 = s.arg1; s.callLocIdx = 388; s.pc = 27; return s.tmp_10; case 27: r0 = s.retval; s.tmp_9.arg1 = r0; - s.tmp_11 = game_Hitbox_top__P2198_mk(s); + s.tmp_11 = game_Hitbox_top__P55210_mk(s); s.tmp_11.arg0 = s.arg1; s.callLocIdx = 389; s.pc = 28; return s.tmp_11; case 28: @@ -74356,15 +74389,15 @@ switch (step) { { step = 17; continue; } case 5: case 6: - s.tmp_13 = game_Hitbox_contains__P2202_mk(s); + s.tmp_13 = game_Hitbox_contains__P55214_mk(s); s.tmp_13.arg0 = s.arg0; - s.tmp_14 = game_Hitbox_right__P2199_mk(s); + s.tmp_14 = game_Hitbox_right__P55211_mk(s); s.tmp_14.arg0 = s.arg1; s.callLocIdx = 391; s.pc = 30; return s.tmp_14; case 30: r0 = s.retval; s.tmp_13.arg1 = r0; - s.tmp_15 = game_Hitbox_bottom__P2200_mk(s); + s.tmp_15 = game_Hitbox_bottom__P55212_mk(s); s.tmp_15.arg0 = s.arg1; s.callLocIdx = 392; s.pc = 31; return s.tmp_15; case 31: @@ -74380,15 +74413,15 @@ switch (step) { { step = 17; continue; } case 7: case 8: - s.tmp_17 = game_Hitbox_contains__P2202_mk(s); + s.tmp_17 = game_Hitbox_contains__P55214_mk(s); s.tmp_17.arg0 = s.arg1; - s.tmp_18 = game_Hitbox_left__P2197_mk(s); + s.tmp_18 = game_Hitbox_left__P55209_mk(s); s.tmp_18.arg0 = s.arg0; s.callLocIdx = 394; s.pc = 33; return s.tmp_18; case 33: r0 = s.retval; s.tmp_17.arg1 = r0; - s.tmp_19 = game_Hitbox_top__P2198_mk(s); + s.tmp_19 = game_Hitbox_top__P55210_mk(s); s.tmp_19.arg0 = s.arg0; s.callLocIdx = 395; s.pc = 34; return s.tmp_19; case 34: @@ -74404,15 +74437,15 @@ switch (step) { { step = 17; continue; } case 9: case 10: - s.tmp_21 = game_Hitbox_contains__P2202_mk(s); + s.tmp_21 = game_Hitbox_contains__P55214_mk(s); s.tmp_21.arg0 = s.arg1; - s.tmp_22 = game_Hitbox_left__P2197_mk(s); + s.tmp_22 = game_Hitbox_left__P55209_mk(s); s.tmp_22.arg0 = s.arg0; s.callLocIdx = 397; s.pc = 36; return s.tmp_22; case 36: r0 = s.retval; s.tmp_21.arg1 = r0; - s.tmp_23 = game_Hitbox_bottom__P2200_mk(s); + s.tmp_23 = game_Hitbox_bottom__P55212_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 398; s.pc = 37; return s.tmp_23; case 37: @@ -74428,15 +74461,15 @@ switch (step) { { step = 17; continue; } case 11: case 12: - s.tmp_25 = game_Hitbox_contains__P2202_mk(s); + s.tmp_25 = game_Hitbox_contains__P55214_mk(s); s.tmp_25.arg0 = s.arg1; - s.tmp_26 = game_Hitbox_right__P2199_mk(s); + s.tmp_26 = game_Hitbox_right__P55211_mk(s); s.tmp_26.arg0 = s.arg0; s.callLocIdx = 400; s.pc = 39; return s.tmp_26; case 39: r0 = s.retval; s.tmp_25.arg1 = r0; - s.tmp_27 = game_Hitbox_top__P2198_mk(s); + s.tmp_27 = game_Hitbox_top__P55210_mk(s); s.tmp_27.arg0 = s.arg0; s.callLocIdx = 401; s.pc = 40; return s.tmp_27; case 40: @@ -74452,15 +74485,15 @@ switch (step) { { step = 17; continue; } case 13: case 14: - s.tmp_29 = game_Hitbox_contains__P2202_mk(s); + s.tmp_29 = game_Hitbox_contains__P55214_mk(s); s.tmp_29.arg0 = s.arg1; - s.tmp_30 = game_Hitbox_right__P2199_mk(s); + s.tmp_30 = game_Hitbox_right__P55211_mk(s); s.tmp_30.arg0 = s.arg0; s.callLocIdx = 403; s.pc = 42; return s.tmp_30; case 42: r0 = s.retval; s.tmp_29.arg1 = r0; - s.tmp_31 = game_Hitbox_bottom__P2200_mk(s); + s.tmp_31 = game_Hitbox_bottom__P55212_mk(s); s.tmp_31.arg0 = s.arg0; s.callLocIdx = 404; s.pc = 43; return s.tmp_31; case 43: @@ -74481,12 +74514,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_overlapsWith__P2204.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__P55216.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__P2204_mk(s) { +function game_Hitbox_overlapsWith__P55216_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_overlapsWith__P2204, depth: s.depth + 1, + parent: s, fn: game_Hitbox_overlapsWith__P55216, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -74528,7 +74561,7 @@ function game_Hitbox_overlapsWith__P2204_mk(s) { -function game_Hitbox_contains__P2202(s) { +function game_Hitbox_contains__P55214(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74545,9 +74578,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C2189_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C55201_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = game_Hitbox_left__P2197_mk(s); + s.tmp_3 = game_Hitbox_left__P55209_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 360; s.pc = 7; return s.tmp_3; case 7: @@ -74561,7 +74594,7 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = game_Hitbox_right__P2199_mk(s); + s.tmp_6 = game_Hitbox_right__P55211_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 361; s.pc = 8; return s.tmp_6; case 8: @@ -74577,7 +74610,7 @@ switch (step) { { step = 4; continue; } case 3: s.tmp_8 = r0 = s.arg2; - s.tmp_10 = game_Hitbox_top__P2198_mk(s); + s.tmp_10 = game_Hitbox_top__P55210_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 362; s.pc = 9; return s.tmp_10; case 9: @@ -74593,7 +74626,7 @@ switch (step) { { step = 6; continue; } case 5: s.tmp_12 = r0 = s.arg2; - s.tmp_14 = game_Hitbox_bottom__P2200_mk(s); + s.tmp_14 = game_Hitbox_bottom__P55212_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 363; s.pc = 10; return s.tmp_14; case 10: @@ -74607,12 +74640,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_contains__P2202.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__P55214.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__P2202_mk(s) { +function game_Hitbox_contains__P55214_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_contains__P2202, depth: s.depth + 1, + parent: s, fn: game_Hitbox_contains__P55214, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -74639,7 +74672,7 @@ function game_Hitbox_contains__P2202_mk(s) { -function helpers_imageBlit__P1936(s) { +function helpers_imageBlit__P54948(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74664,7 +74697,7 @@ switch (step) { s.arg11 = (s.lambdaArgs[11]); s.lambdaArgs = null; } - s.tmp_0 = r0 = globals._blitArgs___4660; + s.tmp_0 = r0 = globals._blitArgs___57673; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -74674,36 +74707,36 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - globals._blitArgs___4660 = (s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___4660; + globals._blitArgs___57673 = (s.tmp_1); + s.tmp_0 = r0 = globals._blitArgs___57673; 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___4660; + s.tmp_0 = r0 = globals._blitArgs___57673; 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___4660; + s.tmp_0 = r0 = globals._blitArgs___57673; 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___4660; + s.tmp_0 = r0 = globals._blitArgs___57673; 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___4660; + s.tmp_0 = r0 = globals._blitArgs___57673; 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___4660; + s.tmp_0 = r0 = globals._blitArgs___57673; 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___4660; + s.tmp_0 = r0 = globals._blitArgs___57673; 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___4660; + s.tmp_0 = r0 = globals._blitArgs___57673; r0 = (s.arg9 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 7, s.tmp_1); @@ -74716,7 +74749,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___4660, 8, s.tmp_0); + r0 = pxsim_Array_.setAt(globals._blitArgs___57673, 8, s.tmp_0); r0 = pxsim_numops_toBoolDecr(s.arg11); if (!r0) { step = 5; continue; } r0 = 1; @@ -74726,17 +74759,17 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___4660, 9, s.tmp_0); - r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___4660); + r0 = pxsim_Array_.setAt(globals._blitArgs___57673, 9, s.tmp_0); + r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___57673); return leave(s, r0) default: oops() } } } -helpers_imageBlit__P1936.info = {"start":3839,"length":642,"line":136,"column":4,"endLine":149,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageBlit","argumentNames":["img","xDst","yDst","wDst","hDst","src","xSrc","ySrc","wSrc","hSrc","transparent","check"]} +helpers_imageBlit__P54948.info = {"start":3839,"length":642,"line":136,"column":4,"endLine":149,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageBlit","argumentNames":["img","xDst","yDst","wDst","hDst","src","xSrc","ySrc","wSrc","hSrc","transparent","check"]} -function helpers_imageBlit__P1936_mk(s) { +function helpers_imageBlit__P54948_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageBlit__P1936, depth: s.depth + 1, + parent: s, fn: helpers_imageBlit__P54948, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -74758,7 +74791,7 @@ function helpers_imageBlit__P1936_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P4875(s) { +function ArcadePhysicsEngine_createMovingSprite__P57888(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -74768,16 +74801,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___28306 = undefined; - s.ovy___28311 = undefined; - s.fx___28338 = undefined; - s.c___28345 = undefined; - s.fy___28388 = undefined; - s.c___28395 = undefined; - s.dx___28434 = undefined; - s.dy___28447 = undefined; - s.xStep___28460 = undefined; - s.yStep___28462 = undefined; + s.ovx___81335 = undefined; + s.ovy___81340 = undefined; + s.fx___81367 = undefined; + s.c___81374 = undefined; + s.fy___81417 = undefined; + s.c___81424 = undefined; + s.dx___81463 = undefined; + s.dy___81476 = undefined; + s.xStep___81489 = undefined; + s.yStep___81491 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -74786,23 +74819,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P4881_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P57894_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; s.callLocIdx = 875; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___28306 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P4881_mk(s); + s.ovx___81335 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P57894_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; s.callLocIdx = 876; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___28311 = (r0); + s.ovy___81340 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -74836,21 +74869,21 @@ switch (step) { r0 = pxsim.Math_.imul(s.tmp_2, s.arg2); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fx___28338 = (r0); + s.fx___81367 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___28338); - s.c___28345 = (r0); - r0 = (s.c___28345 < 0); + r0 = (s.tmp_0 - s.fx___81367); + s.c___81374 = (r0); + r0 = (s.c___81374 < 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__P53178_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___28338); + r0 = (s.tmp_4 + s.fx___81367); s.tmp_3.arg1 = r0; s.callLocIdx = 884; s.pc = 27; return s.tmp_3; case 27: @@ -74859,16 +74892,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___28345 > 0); + r0 = (s.c___81374 > 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__P53179_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___28338); + r0 = (s.tmp_4 - s.fx___81367); s.tmp_3.arg1 = r0; s.callLocIdx = 886; s.pc = 28; return s.tmp_3; case 28: @@ -74910,21 +74943,21 @@ switch (step) { r0 = pxsim.Math_.imul(s.tmp_2, s.arg2); s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_1, 1000); - s.fy___28388 = (r0); + s.fy___81417 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___28388); - s.c___28395 = (r0); - r0 = (s.c___28395 < 0); + r0 = (s.tmp_0 - s.fy___81417); + s.c___81424 = (r0); + r0 = (s.c___81424 < 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__P53178_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___28388); + r0 = (s.tmp_4 + s.fy___81417); s.tmp_3.arg1 = r0; s.callLocIdx = 894; s.pc = 29; return s.tmp_3; case 29: @@ -74933,16 +74966,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___28395 > 0); + r0 = (s.c___81424 > 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__P53179_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___28388); + r0 = (s.tmp_4 - s.fy___81417); s.tmp_3.arg1 = r0; s.callLocIdx = 896; s.pc = 30; return s.tmp_3; case 30: @@ -74958,7 +74991,7 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P4881_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P57894_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; @@ -74968,7 +75001,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P4881_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P57894_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; @@ -74979,7 +75012,7 @@ switch (step) { r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovx___28306); + r0 = (s.tmp_4 + s.ovx___81335); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -74990,10 +75023,10 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dx___28434 = (r0); + s.dx___81463 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovy___28311); + r0 = (s.tmp_4 + s.ovy___81340); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -75004,12 +75037,12 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dy___28447 = (r0); - s.xStep___28460 = (s.dx___28434); - s.yStep___28462 = (s.dy___28447); + s.dy___81476 = (r0); + s.xStep___81489 = (s.dx___81463); + s.yStep___81491 = (s.dy___81476); case 17: - s.tmp_2 = Fx_abs__P165_mk(s); - s.tmp_2.arg0 = s.xStep___28460; + s.tmp_2 = Fx_abs__P53177_mk(s); + s.tmp_2.arg0 = s.xStep___81489; s.callLocIdx = 905; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -75023,8 +75056,8 @@ 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___28462; + s.tmp_5 = Fx_abs__P53177_mk(s); + s.tmp_5.arg0 = s.yStep___81491; s.callLocIdx = 906; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; @@ -75037,8 +75070,8 @@ 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___28460; + s.tmp_10 = Fx_abs__P53177_mk(s); + s.tmp_10.arg0 = s.xStep___81489; s.callLocIdx = 907; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; @@ -75049,12 +75082,12 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 20; continue; } - r0 = pxsim.Math_.idiv(s.xStep___28460, 2); - s.xStep___28460 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___81489, 2); + s.xStep___81489 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P165_mk(s); - s.tmp_2.arg0 = s.yStep___28462; + s.tmp_2 = Fx_abs__P53177_mk(s); + s.tmp_2.arg0 = s.yStep___81491; s.callLocIdx = 909; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; @@ -75065,25 +75098,25 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = pxsim.Math_.idiv(s.yStep___28462, 2); - s.yStep___28462 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___81491, 2); + s.yStep___81491 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C2505_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C55517_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P2506_mk(s); + s.tmp_1 = MovingSprite_constructor__P55518_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___28434; - s.tmp_1.arg5 = s.dy___28447; - s.tmp_1.arg6 = s.xStep___28460; - s.tmp_1.arg7 = s.yStep___28462; + s.tmp_1.arg4 = s.dx___81463; + s.tmp_1.arg5 = s.dy___81476; + s.tmp_1.arg6 = s.xStep___81489; + s.tmp_1.arg7 = s.yStep___81491; s.callLocIdx = 911; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; @@ -75091,12 +75124,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P4875.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__P57888.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__P4875_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P57888_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P4875, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P57888, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -75110,16 +75143,16 @@ function ArcadePhysicsEngine_createMovingSprite__P4875_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___28306: undefined, - ovy___28311: undefined, - fx___28338: undefined, - c___28345: undefined, - fy___28388: undefined, - c___28395: undefined, - dx___28434: undefined, - dy___28447: undefined, - xStep___28460: undefined, - yStep___28462: undefined, + ovx___81335: undefined, + ovy___81340: undefined, + fx___81367: undefined, + c___81374: undefined, + fy___81417: undefined, + c___81424: undefined, + dx___81463: undefined, + dy___81476: undefined, + xStep___81489: undefined, + yStep___81491: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -75130,7 +75163,7 @@ function ArcadePhysicsEngine_createMovingSprite__P4875_mk(s) { -function ArcadePhysicsEngine_constrain__P4881(s) { +function ArcadePhysicsEngine_constrain__P57894(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75146,9 +75179,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P167_mk(s); - s.tmp_1 = Fx_min__P166_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P53179_mk(s); + s.tmp_1 = Fx_min__P53178_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -75164,12 +75197,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P4881.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__P57894.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__P4881_mk(s) { +function ArcadePhysicsEngine_constrain__P57894_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P4881, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P57894, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -75181,7 +75214,7 @@ function ArcadePhysicsEngine_constrain__P4881_mk(s) { -function Fx_compare__P164(s) { +function Fx_compare__P53176(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75200,12 +75233,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__P53176.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__P53176_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P164, depth: s.depth + 1, + parent: s, fn: Fx_compare__P53176, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -75215,7 +75248,7 @@ function Fx_compare__P164_mk(s) { -function sprites_SpriteMap_insertAABB__P2433(s) { +function sprites_SpriteMap_insertAABB__P55445(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75225,32 +75258,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___28126 = undefined; - s.top___28129 = undefined; - s.xn___28132 = undefined; - s.yn___28143 = undefined; - s.x___28154 = undefined; - s.y___28159 = undefined; + s.left___81155 = undefined; + s.top___81158 = undefined; + s.xn___81161 = undefined; + s.yn___81172 = undefined; + s.x___81183 = undefined; + s.y___81188 = 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__C2426_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P2379_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C55438_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P55391_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 800; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___28126 = (r0); - s.tmp_0 = Sprite_top__P2383_mk(s); + s.left___81155 = (r0); + s.tmp_0 = Sprite_top__P55395_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 801; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___28129 = (r0); - s.tmp_3 = Sprite_width__P2377_mk(s); + s.top___81158 = (r0); + s.tmp_3 = Sprite_width__P55389_mk(s); s.tmp_3.arg0 = s.arg1; s.callLocIdx = 802; s.pc = 7; return s.tmp_3; case 7: @@ -75265,8 +75298,8 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___28132 = (r0); - s.tmp_3 = Sprite_height__P2378_mk(s); + s.xn___81161 = (r0); + s.tmp_3 = Sprite_height__P55390_mk(s); s.tmp_3.arg0 = s.arg1; s.callLocIdx = 803; s.pc = 8; return s.tmp_3; case 8: @@ -75281,24 +75314,24 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___28143 = (r0); - s.x___28154 = (0); + s.yn___81172 = (r0); + s.x___81183 = (0); case 1: - r0 = (s.x___28154 <= s.xn___28132); + r0 = (s.x___81183 <= s.xn___81161); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___28159 = (0); + s.y___81188 = (0); case 2: - r0 = (s.y___28159 <= s.yn___28143); + r0 = (s.y___81188 <= s.yn___81172); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P4839_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P57852_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___28126; - s.tmp_4 = Math_min__P131_mk(s); - s.tmp_5 = Sprite_width__P2377_mk(s); + s.tmp_2 = r0 = s.left___81155; + s.tmp_4 = Math_min__P53143_mk(s); + s.tmp_5 = Sprite_width__P55389_mk(s); s.tmp_5.arg0 = s.arg1; s.callLocIdx = 804; s.pc = 11; return s.tmp_5; case 11: @@ -75306,7 +75339,7 @@ switch (step) { s.tmp_4.arg0 = r0; r0 = s.arg0.fields["cellWidth"]; s.tmp_6 = r0; - r0 = (s.x___28154 * s.tmp_6); + r0 = (s.x___81183 * s.tmp_6); s.tmp_4.arg1 = r0; s.callLocIdx = 805; s.pc = 10; return s.tmp_4; case 10: @@ -75314,9 +75347,9 @@ switch (step) { s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1.arg1 = r0; - s.tmp_7 = r0 = s.top___28129; - s.tmp_9 = Math_min__P131_mk(s); - s.tmp_10 = Sprite_height__P2378_mk(s); + s.tmp_7 = r0 = s.top___81158; + s.tmp_9 = Math_min__P53143_mk(s); + s.tmp_10 = Sprite_height__P55390_mk(s); s.tmp_10.arg0 = s.arg1; s.callLocIdx = 806; s.pc = 13; return s.tmp_10; case 13: @@ -75324,7 +75357,7 @@ switch (step) { s.tmp_9.arg0 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_11 = r0; - r0 = (s.y___28159 * s.tmp_11); + r0 = (s.y___81188 * s.tmp_11); s.tmp_9.arg1 = r0; s.callLocIdx = 807; s.pc = 12; return s.tmp_9; case 12: @@ -75336,24 +75369,24 @@ switch (step) { s.callLocIdx = 808; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = (s.y___28159 + 1); - s.y___28159 = (r0); + r0 = (s.y___81188 + 1); + s.y___81188 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___28154 + 1); - s.x___28154 = (r0); + r0 = (s.x___81183 + 1); + s.x___81183 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P2433.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__P55445.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__P2433_mk(s) { +function sprites_SpriteMap_insertAABB__P55445_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P2433, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P55445, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -75367,12 +75400,12 @@ function sprites_SpriteMap_insertAABB__P2433_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___28126: undefined, - top___28129: undefined, - xn___28132: undefined, - yn___28143: undefined, - x___28154: undefined, - y___28159: undefined, + left___81155: undefined, + top___81158: undefined, + xn___81161: undefined, + yn___81172: undefined, + x___81183: undefined, + y___81188: undefined, arg0: undefined, arg1: undefined, } } @@ -75381,7 +75414,7 @@ function sprites_SpriteMap_insertAABB__P2433_mk(s) { -function sprites_SpriteMap_insertAtKey__P4839(s) { +function sprites_SpriteMap_insertAtKey__P57852(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75391,8 +75424,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___28194 = undefined; - s.bucket___28199 = undefined; + s.k___81223 = undefined; + s.bucket___81228 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -75401,20 +75434,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2426_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P4838_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C55438_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P57851_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 799; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___28194 = (r0); + s.k___81223 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___28194); - s.bucket___28199 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___28199); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___81223); + s.bucket___81228 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___81228); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -75422,40 +75455,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___28194; + s.tmp_3 = r0 = s.k___81223; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___28199 = (s.tmp_4); + s.bucket___81228 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___28199, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___81228, 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___28199, s.arg3); + r0 = pxsim_Array__push(s.bucket___81228, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P4839.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__P57852.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__P4839_mk(s) { +function sprites_SpriteMap_insertAtKey__P57852_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P4839, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P57852, 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___28194: undefined, - bucket___28199: undefined, + k___81223: undefined, + bucket___81228: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -75466,7 +75499,7 @@ function sprites_SpriteMap_insertAtKey__P4839_mk(s) { -function sprites_SpriteMap_clear__P2432(s) { +function sprites_SpriteMap_clear__P55444(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75481,7 +75514,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2426_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C55438_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -75490,12 +75523,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P2432.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__P55444.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__P2432_mk(s) { +function sprites_SpriteMap_clear__P55444_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P2432, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P55444, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -75506,7 +75539,7 @@ function sprites_SpriteMap_clear__P2432_mk(s) { -function sprites_SpriteMap_resizeBuckets__P2431(s) { +function sprites_SpriteMap_resizeBuckets__P55443(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75516,115 +75549,115 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___28229 = undefined; - s.maxHeight___28230 = undefined; - s.sprite___28232 = undefined; - s.unnamed1496___U3 = undefined; - s.unnamed1497___U4 = undefined; - s.tMap___28248 = undefined; - s.areaWidth___28252 = undefined; - s.areaHeight___28259 = undefined; + s.maxWidth___81258 = undefined; + s.maxHeight___81259 = undefined; + s.sprite___81261 = undefined; + s.unnamed236___U3 = undefined; + s.unnamed237___U4 = undefined; + s.tMap___81277 = undefined; + s.areaWidth___81281 = undefined; + s.areaHeight___81288 = 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__C2426_VT)) failedCast(r0); - s.maxWidth___28229 = (0); - s.maxHeight___28230 = (0); - s.sprite___28232 = (undefined); - s.unnamed1496___U3 = (s.arg1); - s.unnamed1497___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C55438_VT)) failedCast(r0); + s.maxWidth___81258 = (0); + s.maxHeight___81259 = (0); + s.sprite___81261 = (undefined); + s.unnamed236___U3 = (s.arg1); + s.unnamed237___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1497___U4; - r0 = pxsim_Array__length(s.unnamed1496___U3); + s.tmp_0 = r0 = s.unnamed237___U4; + r0 = pxsim_Array__length(s.unnamed236___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed1496___U3, s.unnamed1497___U4); - s.sprite___28232 = (r0); - s.tmp_4 = Sprite_width__P2377_mk(s); - s.tmp_4.arg0 = s.sprite___28232; + r0 = pxsim_Array__getAt(s.unnamed236___U3, s.unnamed237___U4); + s.sprite___81261 = (r0); + s.tmp_4 = Sprite_width__P55389_mk(s); + s.tmp_4.arg0 = s.sprite___81261; s.callLocIdx = 788; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___28229); + r0 = (s.tmp_3 > s.maxWidth___81258); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - s.tmp_5 = Sprite_width__P2377_mk(s); - s.tmp_5.arg0 = s.sprite___28232; + s.tmp_5 = Sprite_width__P55389_mk(s); + s.tmp_5.arg0 = s.sprite___81261; s.callLocIdx = 789; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; - s.maxWidth___28229 = (r0); + s.maxWidth___81258 = (r0); case 2: case 3: - s.tmp_2 = Sprite_height__P2378_mk(s); - s.tmp_2.arg0 = s.sprite___28232; + s.tmp_2 = Sprite_height__P55390_mk(s); + s.tmp_2.arg0 = s.sprite___81261; s.callLocIdx = 790; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___28230); + r0 = (s.tmp_1 > s.maxHeight___81259); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_3 = Sprite_height__P2378_mk(s); - s.tmp_3.arg0 = s.sprite___28232; + s.tmp_3 = Sprite_height__P55390_mk(s); + s.tmp_3.arg0 = s.sprite___81261; s.callLocIdx = 791; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; - s.maxHeight___28230 = (r0); + s.maxHeight___81259 = (r0); case 4: case 5: - r0 = (s.unnamed1497___U4 + 1); - s.unnamed1497___U4 = (r0); + r0 = (s.unnamed237___U4 + 1); + s.unnamed237___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed1496___U3 = (undefined); - s.tmp_0 = game_currentScene__P2979_mk(s); + s.unnamed236___U3 = (undefined); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 792; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___28248 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___28248); + s.tMap___81277 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___81277); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P2723_mk(s); - s.tmp_0.arg0 = s.tMap___28248; + s.tmp_0 = tiles_TileMap_areaWidth__P55735_mk(s); + s.tmp_0.arg0 = s.tMap___81277; s.callLocIdx = 793; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___28252 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___28248); + s.areaWidth___81281 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___81277); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P2724_mk(s); - s.tmp_0.arg0 = s.tMap___28248; + s.tmp_0 = tiles_TileMap_areaHeight__P55736_mk(s); + s.tmp_0.arg0 = s.tMap___81277; s.callLocIdx = 794; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___2013); + r0 = pxsim_ImageMethods.height(globals.screen___55025); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___28259 = (s.tmp_1); + s.areaHeight___81288 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P53139_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___28252 >> 2); + r0 = (s.areaWidth___81281 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___28229 * 2); + r0 = (s.maxWidth___81258 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 795; s.pc = 18; return s.tmp_2; case 18: @@ -75632,11 +75665,11 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["cellWidth"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P127_mk(s); + s.tmp_2 = Math_clamp__P53139_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___28259 >> 2); + r0 = (s.areaHeight___81288 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___28230 * 2); + r0 = (s.maxHeight___81259 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 796; s.pc = 19; return s.tmp_2; case 19: @@ -75646,25 +75679,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___28259, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___81288, 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___28252, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___81281, 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__P2431.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__P55443.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__P2431_mk(s) { +function sprites_SpriteMap_resizeBuckets__P55443_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P2431, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P55443, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -75672,14 +75705,14 @@ function sprites_SpriteMap_resizeBuckets__P2431_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___28229: undefined, - maxHeight___28230: undefined, - sprite___28232: undefined, - unnamed1496___U3: undefined, - unnamed1497___U4: undefined, - tMap___28248: undefined, - areaWidth___28252: undefined, - areaHeight___28259: undefined, + maxWidth___81258: undefined, + maxHeight___81259: undefined, + sprite___81261: undefined, + unnamed236___U3: undefined, + unnamed237___U4: undefined, + tMap___81277: undefined, + areaWidth___81281: undefined, + areaHeight___81288: undefined, arg0: undefined, arg1: undefined, } } @@ -75688,7 +75721,7 @@ function sprites_SpriteMap_resizeBuckets__P2431_mk(s) { -function Sprite_clearObstacles__P2405(s) { +function Sprite_clearObstacles__P55417(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75703,7 +75736,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -75712,12 +75745,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P2405.info = {"start":24772,"length":54,"line":811,"column":4,"endLine":813,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P55417.info = {"start":24772,"length":54,"line":811,"column":4,"endLine":813,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -function Sprite_clearObstacles__P2405_mk(s) { +function Sprite_clearObstacles__P55417_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P2405, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P55417, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -75728,7 +75761,7 @@ function Sprite_clearObstacles__P2405_mk(s) { -function Fx_idiv__P163(s) { +function Fx_idiv__P53175(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75747,12 +75780,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__P53175.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__P53175_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P163, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P53175, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -75762,7 +75795,7 @@ function Fx_idiv__P163_mk(s) { -function ArcadePhysicsEngine_draw__P2518(s) { +function ArcadePhysicsEngine_draw__P55530(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75777,8 +75810,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P2430_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P55442_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 840; s.pc = 1; return s.tmp_0; @@ -75788,12 +75821,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P2518.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__P55530.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__P2518_mk(s) { +function ArcadePhysicsEngine_draw__P55530_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P2518, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P55530, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -75803,7 +75836,7 @@ function ArcadePhysicsEngine_draw__P2518_mk(s) { -function sprites_SpriteMap_draw__P2430(s) { +function sprites_SpriteMap_draw__P55442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75813,70 +75846,70 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___28527 = undefined; - s.y___28533 = undefined; - s.left___28539 = undefined; - s.top___28544 = undefined; - s.k___28549 = undefined; - s.b___28554 = undefined; + s.x___81556 = undefined; + s.y___81562 = undefined; + s.left___81568 = undefined; + s.top___81573 = undefined; + s.k___81578 = undefined; + s.b___81583 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C2426_VT)) failedCast(r0); - s.x___28527 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C55438_VT)) failedCast(r0); + s.x___81556 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___28527 < s.tmp_1); + r0 = (s.x___81556 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___28533 = (0); + s.y___81562 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___28533 < s.tmp_1); + r0 = (s.y___81562 < 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___28527 * s.tmp_2); - s.left___28539 = (r0); + r0 = (s.x___81556 * s.tmp_2); + s.left___81568 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___28533 * s.tmp_0); - s.top___28544 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P4838_mk(s); + r0 = (s.y___81562 * s.tmp_0); + s.top___81573 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P57851_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___28539; - s.tmp_0.arg2 = s.top___28544; + s.tmp_0.arg1 = s.left___81568; + s.tmp_0.arg2 = s.top___81573; s.callLocIdx = 786; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___28549 = (r0); + s.k___81578 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___28549); - s.b___28554 = (r0); - s.tmp_0 = r0 = s.b___28554; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___81578); + s.b___81583 = (r0); + s.tmp_0 = r0 = s.b___81583; 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___28554); + r0 = pxsim_Array__length(s.b___81583); 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__P1942_mk(s); - s.tmp_2.arg0 = globals.screen___2013; - s.tmp_2.arg1 = s.left___28539; - s.tmp_2.arg2 = s.top___28544; + s.tmp_2 = helpers_imageDrawRect__P54954_mk(s); + s.tmp_2.arg0 = globals.screen___55025; + s.tmp_2.arg1 = s.left___81568; + s.tmp_2.arg2 = s.top___81573; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -75887,34 +75920,34 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___28533 + 1); - s.y___28533 = (r0); + r0 = (s.y___81562 + 1); + s.y___81562 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___28527 + 1); - s.x___28527 = (r0); + r0 = (s.x___81556 + 1); + s.x___81556 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P2430.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__P55442.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__P2430_mk(s) { +function sprites_SpriteMap_draw__P55442_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P2430, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P55442, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___28527: undefined, - y___28533: undefined, - left___28539: undefined, - top___28544: undefined, - k___28549: undefined, - b___28554: undefined, + x___81556: undefined, + y___81562: undefined, + left___81568: undefined, + top___81573: undefined, + k___81578: undefined, + b___81583: undefined, arg0: undefined, } } @@ -75922,7 +75955,7 @@ function sprites_SpriteMap_draw__P2430_mk(s) { -function ArcadePhysicsEngine_removeSprite__P2517(s) { +function ArcadePhysicsEngine_removeSprite__P55529(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75938,7 +75971,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -75946,12 +75979,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P2517.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__P55529.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__P2517_mk(s) { +function ArcadePhysicsEngine_removeSprite__P55529_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P2517, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P55529, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -75962,7 +75995,7 @@ function ArcadePhysicsEngine_removeSprite__P2517_mk(s) { -function ArcadePhysicsEngine_addSprite__P2516(s) { +function ArcadePhysicsEngine_addSprite__P55528(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -75972,31 +76005,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___28591 = undefined; + s.tm___81620 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C2507_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C55519_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__P2979_mk(s); + s.tmp_0 = game_currentScene__P55991_mk(s); s.callLocIdx = 838; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___28591 = (r0); - s.tmp_0 = r0 = s.tm___28591; + s.tm___81620 = (r0); + s.tmp_0 = r0 = s.tm___81620; 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__P2738_mk(s); - s.tmp_1.arg0 = s.tm___28591; + s.tmp_1 = tiles_TileMap_isOnWall__P55750_mk(s); + s.tmp_1.arg0 = s.tm___81620; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 839; s.pc = 6; return s.tmp_1; case 6: @@ -76018,12 +76051,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P2516.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__P55528.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__P2516_mk(s) { +function ArcadePhysicsEngine_addSprite__P55528_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P2516, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P55528, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -76031,7 +76064,7 @@ function ArcadePhysicsEngine_addSprite__P2516_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___28591: undefined, + tm___81620: undefined, arg0: undefined, arg1: undefined, } } @@ -76040,7 +76073,7 @@ function ArcadePhysicsEngine_addSprite__P2516_mk(s) { -function scene_BackgroundLayer_constructor__P2666(s) { +function scene_BackgroundLayer_constructor__P55678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76058,9 +76091,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C2659_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C55671_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P130_mk(s); + s.tmp_2 = Math_max__P53142_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 1211; s.pc = 7; return s.tmp_2; @@ -76106,12 +76139,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P2666.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__P55678.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__P2666_mk(s) { +function scene_BackgroundLayer_constructor__P55678_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P2666, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P55678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -76126,7 +76159,7 @@ function scene_BackgroundLayer_constructor__P2666_mk(s) { -function particles_ParticleSource_factory__P3149(s) { +function particles_ParticleSource_factory__P56161(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76141,18 +76174,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3131_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); r0 = s.arg0.fields["_factory"]; return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_factory__P3149.info = {"start":7951,"length":76,"line":264,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"factory","argumentNames":["this"]} -particles_ParticleSource_factory__P3149.isGetter = true; +particles_ParticleSource_factory__P56161.info = {"start":7951,"length":76,"line":264,"column":8,"endLine":266,"endColumn":9,"fileName":"pxt_modules/game/particles.ts","functionName":"factory","argumentNames":["this"]} +particles_ParticleSource_factory__P56161.isGetter = true; -function particles_ParticleSource_factory__P3149_mk(s) { +function particles_ParticleSource_factory__P56161_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_factory__P3149, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_factory__P56161, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -76161,7 +76194,7 @@ function particles_ParticleSource_factory__P3149_mk(s) { -function particles_ParticleSource___draw__P3137(s) { +function particles_ParticleSource___draw__P56149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76171,18 +76204,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___28890 = undefined; - s.left___28893 = undefined; - s.top___28903 = undefined; + s.current___81919 = undefined; + s.left___81922 = undefined; + s.top___81932 = 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__C3131_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___28890 = (r0); + s.current___81919 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -76200,7 +76233,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___28893 = (s.tmp_4); + s.left___81922 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -76218,49 +76251,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___28903 = (s.tmp_4); + s.top___81932 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___28890); + r0 = pxsim_numops_toBoolDecr(s.current___81919); if (!r0) { step = 8; continue; } - r0 = s.current___28890.fields["lifespan"]; + r0 = s.current___81919.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__P5364_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P58377_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___28890; - s.tmp_2.arg2 = s.left___28893; - s.tmp_2.arg3 = s.top___28903; - s.callLocIdx = 1839; s.pc = 9; return s.tmp_2; + s.tmp_2.arg1 = s.current___81919; + s.tmp_2.arg2 = s.left___81922; + s.tmp_2.arg3 = s.top___81932; + s.callLocIdx = 1840; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___28890.fields["next"]; - s.current___28890 = (r0); + r0 = s.current___81919.fields["next"]; + s.current___81919 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P3137.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__P56149.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__P3137_mk(s) { +function particles_ParticleSource___draw__P56149_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P3137, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P56149, 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___28890: undefined, - left___28893: undefined, - top___28903: undefined, + current___81919: undefined, + left___81922: undefined, + top___81932: undefined, arg0: undefined, arg1: undefined, } } @@ -76269,7 +76302,7 @@ function particles_ParticleSource___draw__P3137_mk(s) { -function particles_ParticleSource_drawParticle__P5364(s) { +function particles_ParticleSource_drawParticle__P58377(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76287,8 +76320,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C3131_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C3167_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C56143_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C56179_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -76300,7 +76333,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__C3167_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C56179_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: @@ -76309,12 +76342,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P5364.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__P58377.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__P5364_mk(s) { +function particles_ParticleSource_drawParticle__P58377_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P5364, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P58377, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -76329,7 +76362,7 @@ function particles_ParticleSource_drawParticle__P5364_mk(s) { -function particles_ParticleFactory_drawParticle__P3170(s) { +function particles_ParticleFactory_drawParticle__P56182(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76347,8 +76380,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C3167_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___2013; + if (!checkSubtype(r0, particles_ParticleFactory__C56179_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___55025; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -76362,12 +76395,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P3170.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__P56182.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__P3170_mk(s) { +function particles_ParticleFactory_drawParticle__P56182_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P3170, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P56182, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -76384,7 +76417,7 @@ function particles_ParticleFactory_drawParticle__P3170_mk(s) { -function game_Dialog_drawTextCore__P2911(s) { +function game_Dialog_drawTextCore__P55923(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76394,20 +76427,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.lines___24285 = undefined; - s.availableWidth___24291 = undefined; - s.availableHeight___24294 = undefined; - s.charactersPerRow___24297 = undefined; - s.rowsOfCharacters___24305 = undefined; - s.textLeft___24316 = undefined; - s.textTop___24338 = undefined; - s.row___24353 = undefined; + s.lines___77314 = undefined; + s.availableWidth___77320 = undefined; + s.availableHeight___77323 = undefined; + s.charactersPerRow___77326 = undefined; + s.rowsOfCharacters___77334 = undefined; + s.textLeft___77345 = undefined; + s.textTop___77367 = undefined; + s.row___77382 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Dialog__C2901_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Dialog__C55913_VT)) failedCast(r0); r0 = s.arg0.fields["chunks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -76437,20 +76470,20 @@ switch (step) { r0 = s.arg0.fields["chunkIndex"]; s.tmp_7 = r0; r0 = pxsim_Array__getAt(s.tmp_6, s.tmp_7); - s.lines___24285 = (r0); - s.tmp_0 = game_BaseDialog_textAreaWidth__P4990_mk(s); + s.lines___77314 = (r0); + s.tmp_0 = game_BaseDialog_textAreaWidth__P58003_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1453; s.pc = 10; return s.tmp_0; + s.callLocIdx = 1454; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - s.availableWidth___24291 = (r0); - s.tmp_0 = game_BaseDialog_textAreaHeight__P4991_mk(s); + s.availableWidth___77320 = (r0); + s.tmp_0 = game_BaseDialog_textAreaHeight__P58004_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 1454; s.pc = 11; return s.tmp_0; + s.callLocIdx = 1455; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.availableHeight___24294 = (r0); - s.tmp_1 = r0 = s.availableWidth___24291; + s.availableHeight___77323 = (r0); + s.tmp_1 = r0 = s.availableWidth___77320; s.tmp_3 = if_charWidth_1_mk(s); r0 = s.arg0.fields["font"]; s.tmp_3.arg0 = r0; @@ -76460,7 +76493,7 @@ switch (step) { s.tmp_3.fn = s.tmp_3.arg0.vtable.iface["charWidth"]; if (s.tmp_3.fn == null) { s.retval = s.tmp_3.arg0.fields["charWidth"]; } else if (!s.tmp_3.fn.isGetter) { s.retval = bind(s.tmp_3); } - else { s.callLocIdx = 1455; s.pc = 12; return s.tmp_3; } + else { s.callLocIdx = 1456; s.pc = 12; return s.tmp_3; } } case 12: r0 = s.retval; @@ -76468,27 +76501,27 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.charactersPerRow___24297 = (r0); - s.tmp_1 = r0 = s.availableHeight___24294; - s.tmp_3 = game_BaseDialog_rowHeight__P4989_mk(s); + s.charactersPerRow___77326 = (r0); + s.tmp_1 = r0 = s.availableHeight___77323; + s.tmp_3 = game_BaseDialog_rowHeight__P58002_mk(s); s.tmp_3.arg0 = s.arg0; - s.callLocIdx = 1456; s.pc = 13; return s.tmp_3; + s.callLocIdx = 1457; 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 = pxsim.Math_.floor(s.tmp_0); - s.rowsOfCharacters___24305 = (r0); + s.rowsOfCharacters___77334 = (r0); r0 = s.arg0.fields["unit"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 12); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = game_BaseDialog_drawBorder__P4984_mk(s); + s.tmp_2 = game_BaseDialog_drawBorder__P57997_mk(s); s.tmp_2.arg0 = s.arg0; - s.callLocIdx = 1457; s.pc = 14; return s.tmp_2; + s.callLocIdx = 1458; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; case 5: @@ -76497,18 +76530,18 @@ switch (step) { s.tmp_2 = r0; r0 = (1 + s.tmp_2); s.tmp_1 = r0; - s.tmp_4 = Math_min__P131_mk(s); + s.tmp_4 = Math_min__P53143_mk(s); r0 = s.arg0.fields["unit"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 12; - s.callLocIdx = 1458; s.pc = 15; return s.tmp_4; + s.callLocIdx = 1459; s.pc = 15; return s.tmp_4; case 15: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_1 + s.tmp_3); s.tmp_0 = r0; - s.tmp_7 = r0 = s.availableWidth___24291; - s.tmp_9 = r0 = s.charactersPerRow___24297; + s.tmp_7 = r0 = s.availableWidth___77320; + s.tmp_9 = r0 = s.charactersPerRow___77326; s.tmp_11 = if_charWidth_1_mk(s); r0 = s.arg0.fields["font"]; s.tmp_11.arg0 = r0; @@ -76518,7 +76551,7 @@ switch (step) { s.tmp_11.fn = s.tmp_11.arg0.vtable.iface["charWidth"]; if (s.tmp_11.fn == null) { s.retval = s.tmp_11.arg0.fields["charWidth"]; } else if (!s.tmp_11.fn.isGetter) { s.retval = bind(s.tmp_11); } - else { s.callLocIdx = 1459; s.pc = 16; return s.tmp_11; } + else { s.callLocIdx = 1460; s.pc = 16; return s.tmp_11; } } case 16: r0 = s.retval; @@ -76530,7 +76563,7 @@ switch (step) { r0 = (s.tmp_6 >> 1); s.tmp_5 = r0; r0 = (s.tmp_0 + s.tmp_5); - s.textLeft___24316 = (r0); + s.textLeft___77345 = (r0); r0 = s.arg0.fields["image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.height(s.tmp_3); @@ -76539,11 +76572,11 @@ switch (step) { s.tmp_1 = r0; r0 = (1 + s.tmp_1); s.tmp_0 = r0; - r0 = pxsim_Array__length(s.lines___24285); + r0 = pxsim_Array__length(s.lines___77314); s.tmp_6 = r0; - s.tmp_8 = game_BaseDialog_rowHeight__P4989_mk(s); + s.tmp_8 = game_BaseDialog_rowHeight__P58002_mk(s); s.tmp_8.arg0 = s.arg0; - s.callLocIdx = 1460; s.pc = 17; return s.tmp_8; + s.callLocIdx = 1461; s.pc = 17; return s.tmp_8; case 17: r0 = s.retval; s.tmp_7 = r0; @@ -76552,27 +76585,27 @@ switch (step) { r0 = (s.tmp_5 >> 1); s.tmp_4 = r0; r0 = (s.tmp_0 - s.tmp_4); - s.textTop___24338 = (r0); - s.row___24353 = (0); + s.textTop___77367 = (r0); + s.row___77382 = (0); case 7: - s.tmp_1 = r0 = s.row___24353; - r0 = pxsim_Array__length(s.lines___24285); + s.tmp_1 = r0 = s.row___77382; + r0 = pxsim_Array__length(s.lines___77314); 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 = 8; continue; } - s.tmp_3 = helpers_imagePrint__P1971_mk(s); + s.tmp_3 = helpers_imagePrint__P54983_mk(s); r0 = s.arg0.fields["image"]; s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.lines___24285, s.row___24353); + r0 = pxsim_Array__getAt(s.lines___77314, s.row___77382); s.tmp_3.arg1 = r0; - s.tmp_3.arg2 = s.textLeft___24316; - s.tmp_4 = r0 = s.textTop___24338; - s.tmp_6 = r0 = s.row___24353; - s.tmp_8 = game_BaseDialog_rowHeight__P4989_mk(s); + s.tmp_3.arg2 = s.textLeft___77345; + s.tmp_4 = r0 = s.textTop___77367; + s.tmp_6 = r0 = s.row___77382; + s.tmp_8 = game_BaseDialog_rowHeight__P58002_mk(s); s.tmp_8.arg0 = s.arg0; - s.callLocIdx = 1461; s.pc = 19; return s.tmp_8; + s.callLocIdx = 1462; s.pc = 19; return s.tmp_8; case 19: r0 = s.retval; s.tmp_7 = r0; @@ -76585,11 +76618,11 @@ switch (step) { r0 = s.arg0.fields["font"]; s.tmp_3.arg5 = r0; s.tmp_3.arg6 = undefined; - s.callLocIdx = 1462; s.pc = 18; return s.tmp_3; + s.callLocIdx = 1463; s.pc = 18; return s.tmp_3; case 18: r0 = s.retval; - r0 = (s.row___24353 + 1); - s.row___24353 = (r0); + r0 = (s.row___77382 + 1); + s.row___77382 = (r0); { step = 7; continue; } case 8: case 9: @@ -76597,12 +76630,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Dialog_drawTextCore__P2911.info = {"start":7867,"length":1045,"line":247,"column":8,"endLine":269,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} +game_Dialog_drawTextCore__P55923.info = {"start":7867,"length":1045,"line":247,"column":8,"endLine":269,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"drawTextCore","argumentNames":["this"]} -function game_Dialog_drawTextCore__P2911_mk(s) { +function game_Dialog_drawTextCore__P55923_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Dialog_drawTextCore__P2911, depth: s.depth + 1, + parent: s, fn: game_Dialog_drawTextCore__P55923, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -76616,14 +76649,14 @@ function game_Dialog_drawTextCore__P2911_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - lines___24285: undefined, - availableWidth___24291: undefined, - availableHeight___24294: undefined, - charactersPerRow___24297: undefined, - rowsOfCharacters___24305: undefined, - textLeft___24316: undefined, - textTop___24338: undefined, - row___24353: undefined, + lines___77314: undefined, + availableWidth___77320: undefined, + availableHeight___77323: undefined, + charactersPerRow___77326: undefined, + rowsOfCharacters___77334: undefined, + textLeft___77345: undefined, + textTop___77367: undefined, + row___77382: undefined, arg0: undefined, } } @@ -76631,7 +76664,7 @@ function game_Dialog_drawTextCore__P2911_mk(s) { -function game_BaseDialog_setText__P2898(s) { +function game_BaseDialog_setText__P55910(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76647,17 +76680,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_BaseDialog__C2883_VT)) failedCast(r0); + if (!checkSubtype(r0, game_BaseDialog__C55895_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_BaseDialog_setText__P2898.info = {"start":2302,"length":77,"line":80,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} +game_BaseDialog_setText__P55910.info = {"start":2302,"length":77,"line":80,"column":8,"endLine":82,"endColumn":9,"fileName":"pxt_modules/game/textDialogs.ts","functionName":"setText","argumentNames":["this","rawString"]} -function game_BaseDialog_setText__P2898_mk(s) { +function game_BaseDialog_setText__P55910_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_BaseDialog_setText__P2898, depth: s.depth + 1, + parent: s, fn: game_BaseDialog_setText__P55910, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -76667,7 +76700,7 @@ function game_BaseDialog_setText__P2898_mk(s) { -function music_sequencer_Sequencer_constructor__P1887(s) { +function music_sequencer_Sequencer_constructor__P54899(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76683,7 +76716,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_sequencer_Sequencer__C1882_VT)) failedCast(r0); + if (!checkSubtype(r0, music_sequencer_Sequencer__C54894_VT)) failedCast(r0); r0 = (s.arg0).fields["song"] = (s.arg1); r0 = (s.arg0).fields["currentTick"] = (0); r0 = (s.arg0).fields["isPlaying"] = (false); @@ -76692,12 +76725,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_sequencer_Sequencer_constructor__P1887.info = {"start":179,"length":148,"line":7,"column":8,"endLine":11,"endColumn":9,"fileName":"pxt_modules/mixer/sequencer.ts","functionName":"inline","argumentNames":["this","song"]} +music_sequencer_Sequencer_constructor__P54899.info = {"start":179,"length":148,"line":7,"column":8,"endLine":11,"endColumn":9,"fileName":"pxt_modules/mixer/sequencer.ts","functionName":"inline","argumentNames":["this","song"]} -function music_sequencer_Sequencer_constructor__P1887_mk(s) { +function music_sequencer_Sequencer_constructor__P54899_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_sequencer_Sequencer_constructor__P1887, depth: s.depth + 1, + parent: s, fn: music_sequencer_Sequencer_constructor__P54899, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -76707,7 +76740,7 @@ function music_sequencer_Sequencer_constructor__P1887_mk(s) { -function scene_Camera_y__P2771(s) { +function scene_Camera_y__P55783(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76722,10 +76755,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2761_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C55773_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___2013); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -76733,13 +76766,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_y__P2771.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__P2771.isGetter = true; +scene_Camera_y__P55783.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__P55783.isGetter = true; -function scene_Camera_y__P2771_mk(s) { +function scene_Camera_y__P55783_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P2771, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P55783, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -76751,7 +76784,7 @@ function scene_Camera_y__P2771_mk(s) { -function scene_Camera_x__P2770(s) { +function scene_Camera_x__P55782(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76766,10 +76799,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2761_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C55773_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -76777,13 +76810,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_x__P2770.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__P2770.isGetter = true; +scene_Camera_x__P55782.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__P55782.isGetter = true; -function scene_Camera_x__P2770_mk(s) { +function scene_Camera_x__P55782_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P2770, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P55782, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -76795,7 +76828,7 @@ function scene_Camera_x__P2770_mk(s) { -function statusbars_StatusBar_image__P4371(s) { +function statusbars_StatusBar_image__P57384(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76811,17 +76844,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, statusbars_StatusBar__C4345_VT)) failedCast(r0); + if (!checkSubtype(r0, statusbars_StatusBar__C57358_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -statusbars_StatusBar_image__P4371.info = {"start":17585,"length":86,"line":512,"column":8,"endLine":514,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"image","argumentNames":["this","v"]} +statusbars_StatusBar_image__P57384.info = {"start":17585,"length":86,"line":512,"column":8,"endLine":514,"endColumn":9,"fileName":"pxt_modules/pxt-status-bar/status-bar.ts","functionName":"image","argumentNames":["this","v"]} -function statusbars_StatusBar_image__P4371_mk(s) { +function statusbars_StatusBar_image__P57384_mk(s) { checkStack(s.depth); return { - parent: s, fn: statusbars_StatusBar_image__P4371, depth: s.depth + 1, + parent: s, fn: statusbars_StatusBar_image__P57384, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -76831,7 +76864,7 @@ function statusbars_StatusBar_image__P4371_mk(s) { -function music_Melody_toString__P1635(s) { +function music_Melody_toString__P54647(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76846,17 +76879,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C1626_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C54638_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"]} +music_Melody_toString__P54647.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) { +function music_Melody_toString__P54647_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P1635, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P54647, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -76865,7 +76898,7 @@ function music_Melody_toString__P1635_mk(s) { -function Sprite_toString__P2414(s) { +function Sprite_toString__P55426(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -76880,7 +76913,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -76898,7 +76931,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P2334_mk(s); + s.tmp_14 = Sprite_x__P55346_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 739; s.pc = 2; return s.tmp_14; case 2: @@ -76917,7 +76950,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P2336_mk(s); + s.tmp_17 = Sprite_y__P55348_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 740; s.pc = 4; return s.tmp_17; case 4: @@ -76936,7 +76969,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P2338_mk(s); + s.tmp_20 = Sprite_vx__P55350_mk(s); s.tmp_20.arg0 = s.arg0; s.callLocIdx = 741; s.pc = 6; return s.tmp_20; case 6: @@ -76955,7 +76988,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P2340_mk(s); + s.tmp_23 = Sprite_vy__P55352_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 742; s.pc = 8; return s.tmp_23; case 8: @@ -76976,12 +77009,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P2414.info = {"start":33951,"length":93,"line":1064,"column":4,"endLine":1066,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P55426.info = {"start":33951,"length":93,"line":1064,"column":4,"endLine":1066,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} -function Sprite_toString__P2414_mk(s) { +function Sprite_toString__P55426_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P2414, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P55426, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77014,7 +77047,7 @@ function Sprite_toString__P2414_mk(s) { -function Sprite___update__P2396(s) { +function Sprite___update__P55408(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77031,7 +77064,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -77053,7 +77086,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["lifespan"] = (undefined); - s.tmp_0 = Sprite__destroyCore__P2409_mk(s); + s.tmp_0 = Sprite__destroyCore__P55421_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 675; s.pc = 11; return s.tmp_0; case 11: @@ -77071,7 +77104,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P2394_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P55406_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 676; s.pc = 12; return s.tmp_2; @@ -77082,7 +77115,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P2408_mk(s); + s.tmp_4 = Sprite_destroy__P55420_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; @@ -77095,13 +77128,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = sprites_BaseSpriteSayRenderer__C2240_v1_4_mk(s); + s.tmp_1 = sprites_BaseSpriteSayRenderer__C55252_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__C2240_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C55252_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: @@ -77112,12 +77145,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P2396.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__P55408.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__P2396_mk(s) { +function Sprite___update__P55408_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P2396, depth: s.depth + 1, + parent: s, fn: Sprite___update__P55408, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77134,7 +77167,7 @@ function Sprite___update__P2396_mk(s) { -function Sprite_isOutOfScreen__P2394(s) { +function Sprite_isOutOfScreen__P55406(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77144,15 +77177,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___29129 = undefined; - s.oy___29137 = undefined; + s.ox___82158 = undefined; + s.oy___82166 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -77166,7 +77199,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___29129 = (s.tmp_2); + s.ox___82158 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -77180,14 +77213,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___29137 = (s.tmp_2); - s.tmp_3 = Sprite_right__P2381_mk(s); + s.oy___82166 = (s.tmp_2); + s.tmp_3 = Sprite_right__P55393_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 666; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___29129); + r0 = (s.tmp_2 - s.ox___82158); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -77196,13 +77229,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P2385_mk(s); + s.tmp_6 = Sprite_bottom__P55397_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 667; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___29137); + r0 = (s.tmp_5 - s.oy___82166); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -77213,15 +77246,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P2379_mk(s); + s.tmp_10 = Sprite_left__P55391_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 668; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___29129); + r0 = (s.tmp_9 - s.ox___82158); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___2013); + r0 = pxsim_ImageMethods.width(globals.screen___55025); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -77232,15 +77265,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P2383_mk(s); + s.tmp_15 = Sprite_top__P55395_mk(s); s.tmp_15.arg0 = s.arg0; s.callLocIdx = 669; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___29137); + r0 = (s.tmp_14 - s.oy___82166); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___2013); + r0 = pxsim_ImageMethods.height(globals.screen___55025); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -77250,12 +77283,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P2394.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__P55406.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__P2394_mk(s) { +function Sprite_isOutOfScreen__P55406_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P2394, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P55406, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77275,8 +77308,8 @@ function Sprite_isOutOfScreen__P2394_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___29129: undefined, - oy___29137: undefined, + ox___82158: undefined, + oy___82166: undefined, arg0: undefined, arg1: undefined, } } @@ -77285,7 +77318,7 @@ function Sprite_isOutOfScreen__P2394_mk(s) { -function sprites_BaseSpriteSayRenderer_update__P2243(s) { +function sprites_BaseSpriteSayRenderer_update__P55255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77303,17 +77336,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2240_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C55252_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_update__P2243.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__P55255.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__P2243_mk(s) { +function sprites_BaseSpriteSayRenderer_update__P55255_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_update__P2243, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_update__P55255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -77325,7 +77358,7 @@ function sprites_BaseSpriteSayRenderer_update__P2243_mk(s) { -function Sprite_data__P2357(s) { +function Sprite_data__P55369(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77341,18 +77374,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P2357.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__P55369.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__P2357_mk(s) { +function Sprite_data__P55369_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P2357, depth: s.depth + 1, + parent: s, fn: Sprite_data__P55369, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -77362,7 +77395,7 @@ function Sprite_data__P2357_mk(s) { -function sprites_BaseSprite___update__P2083(s) { +function sprites_BaseSprite___update__P55095(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77379,17 +77412,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C2075_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C55087_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P2083.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__P55095.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__P2083_mk(s) { +function sprites_BaseSprite___update__P55095_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P2083, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P55095, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -77400,7 +77433,7 @@ function sprites_BaseSprite___update__P2083_mk(s) { -function sprites_BaseSprite___draw__P2081(s) { +function sprites_BaseSprite___draw__P55093(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77416,10 +77449,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C2075_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C2075_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C55087_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C55087_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C2075_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C55087_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: @@ -77427,10 +77460,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C2075_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C55087_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C2075_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C55087_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: @@ -77441,12 +77474,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P2081.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__P55093.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__P2081_mk(s) { +function sprites_BaseSprite___draw__P55093_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P2081, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P55093, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77459,7 +77492,7 @@ function sprites_BaseSprite___draw__P2081_mk(s) { -function sprites_BaseSprite___drawCore__P2082(s) { +function sprites_BaseSprite___drawCore__P55094(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77475,17 +77508,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C2075_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C55087_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P2082.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__P55094.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__P2082_mk(s) { +function sprites_BaseSprite___drawCore__P55094_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P2082, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P55094, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -77495,7 +77528,7 @@ function sprites_BaseSprite___drawCore__P2082_mk(s) { -function sprites_BaseSprite___visible__P2078(s) { +function sprites_BaseSprite___visible__P55090(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77510,17 +77543,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C2075_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C55087_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P2078.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__P55090.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__P2078_mk(s) { +function sprites_BaseSprite___visible__P55090_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P2078, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P55090, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -77529,7 +77562,7 @@ function sprites_BaseSprite___visible__P2078_mk(s) { -function controller_AnyButton_isPressed__P4812(s) { +function controller_AnyButton_isPressed__P57825(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77539,36 +77572,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___29185 = undefined; - s.b___29189 = undefined; - s.unnamed1488___U2 = undefined; - s.unnamed1489___U3 = undefined; + s.ctrl___82214 = undefined; + s.b___82218 = undefined; + s.unnamed228___U2 = undefined; + s.unnamed229___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C4804_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P2109_mk(s); + if (!checkSubtype(r0, controller_AnyButton__C57817_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P55121_mk(s); s.callLocIdx = 327; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___29185 = (r0); - s.b___29189 = (undefined); - r0 = s.ctrl___29185.fields["buttons"]; - s.unnamed1488___U2 = (r0); - s.unnamed1489___U3 = (0); + s.ctrl___82214 = (r0); + s.b___82218 = (undefined); + r0 = s.ctrl___82214.fields["buttons"]; + s.unnamed228___U2 = (r0); + s.unnamed229___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed1489___U3; - r0 = pxsim_Array__length(s.unnamed1488___U2); + s.tmp_0 = r0 = s.unnamed229___U3; + r0 = pxsim_Array__length(s.unnamed228___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed1488___U2, s.unnamed1489___U3); - s.b___29189 = (r0); - s.tmp_3 = controller_Button__C2170_v0_1_mk(s); - s.tmp_3.arg0 = s.b___29189; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C2170_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed228___U2, s.unnamed229___U3); + s.b___82218 = (r0); + s.tmp_3 = controller_Button__C55182_v0_1_mk(s); + s.tmp_3.arg0 = s.b___82218; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C55182_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: @@ -77580,31 +77613,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed1489___U3 + 1); - s.unnamed1489___U3 = (r0); + r0 = (s.unnamed229___U3 + 1); + s.unnamed229___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed1488___U2 = (undefined); + s.unnamed228___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P4812.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__P57825.info = {"start":15724,"length":202,"line":469,"column":8,"endLine":476,"endColumn":9,"fileName":"pxt_modules/game/controller.ts","functionName":"isPressed","argumentNames":["this"]} -function controller_AnyButton_isPressed__P4812_mk(s) { +function controller_AnyButton_isPressed__P57825_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P4812, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P57825, 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___29185: undefined, - b___29189: undefined, - unnamed1488___U2: undefined, - unnamed1489___U3: undefined, + ctrl___82214: undefined, + b___82218: undefined, + unnamed228___U2: undefined, + unnamed229___U3: undefined, arg0: undefined, } } @@ -77612,7 +77645,7 @@ function controller_AnyButton_isPressed__P4812_mk(s) { -function controller_Button_toString__P2175(s) { +function controller_Button_toString__P55187(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77627,7 +77660,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C2170_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C55182_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -77667,12 +77700,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P2175.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__P55187.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__P2175_mk(s) { +function controller_Button_toString__P55187_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P2175, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P55187, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77688,7 +77721,7 @@ function controller_Button_toString__P2175_mk(s) { -function sprites_StaticObstacle_width__P2488(s) { +function sprites_StaticObstacle_width__P55500(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77703,20 +77736,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2478_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C55490_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__P2488.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__P2488.isGetter = true; +sprites_StaticObstacle_width__P55500.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__P55500.isGetter = true; -function sprites_StaticObstacle_width__P2488_mk(s) { +function sprites_StaticObstacle_width__P55500_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P2488, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P55500, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -77726,7 +77759,7 @@ function sprites_StaticObstacle_width__P2488_mk(s) { -function sprites_StaticObstacle_height__P2487(s) { +function sprites_StaticObstacle_height__P55499(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77741,20 +77774,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2478_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C55490_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__P2487.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__P2487.isGetter = true; +sprites_StaticObstacle_height__P55499.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__P55499.isGetter = true; -function sprites_StaticObstacle_height__P2487_mk(s) { +function sprites_StaticObstacle_height__P55499_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P2487, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P55499, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -77764,7 +77797,7 @@ function sprites_StaticObstacle_height__P2487_mk(s) { -function sprites_StaticObstacle_y__P2486(s) { +function sprites_StaticObstacle_y__P55498(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77779,7 +77812,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2478_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C55490_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -77792,13 +77825,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P2486.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__P2486.isGetter = true; +sprites_StaticObstacle_y__P55498.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__P55498.isGetter = true; -function sprites_StaticObstacle_y__P2486_mk(s) { +function sprites_StaticObstacle_y__P55498_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P2486, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P55498, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77811,7 +77844,7 @@ function sprites_StaticObstacle_y__P2486_mk(s) { -function sprites_StaticObstacle_x__P2485(s) { +function sprites_StaticObstacle_x__P55497(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77826,7 +77859,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C2478_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C55490_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -77839,13 +77872,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P2485.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__P2485.isGetter = true; +sprites_StaticObstacle_x__P55497.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__P55497.isGetter = true; -function sprites_StaticObstacle_x__P2485_mk(s) { +function sprites_StaticObstacle_x__P55497_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P2485, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P55497, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77858,7 +77891,7 @@ function sprites_StaticObstacle_x__P2485_mk(s) { -function animation_Path_constructor__P3329(s) { +function animation_Path_constructor__P56341(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77874,7 +77907,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, animation_Path__C3327_VT)) failedCast(r0); + if (!checkSubtype(r0, animation_Path__C56339_VT)) failedCast(r0); r0 = (s.arg0).fields["path"] = (s.arg1); r0 = (s.arg0).fields["strIndex"] = (0); r0 = (s.arg0).fields["length"] = (0); @@ -77889,9 +77922,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_4 = animation_Path_readNextCommand__P5444_mk(s); + s.tmp_4 = animation_Path_readNextCommand__P58457_mk(s); s.tmp_4.arg0 = s.arg0; - s.callLocIdx = 2085; s.pc = 5; return s.tmp_4; + s.callLocIdx = 2086; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; r0 = s.arg0.fields["currentCommand"]; @@ -77908,21 +77941,21 @@ switch (step) { case 3: { step = 1; continue; } case 4: - s.tmp_0 = animation_Path_reset__P3330_mk(s); + s.tmp_0 = animation_Path_reset__P56342_mk(s); s.tmp_0.arg0 = s.arg0; - s.callLocIdx = 2086; s.pc = 6; return s.tmp_0; + s.callLocIdx = 2087; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = undefined; return leave(s, r0) default: oops() } } } -animation_Path_constructor__P3329.info = {"start":1081,"length":380,"line":46,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","path"]} +animation_Path_constructor__P56341.info = {"start":1081,"length":380,"line":46,"column":8,"endLine":57,"endColumn":9,"fileName":"pxt_modules/game/animation.ts","functionName":"inline","argumentNames":["this","path"]} -function animation_Path_constructor__P3329_mk(s) { +function animation_Path_constructor__P56341_mk(s) { checkStack(s.depth); return { - parent: s, fn: animation_Path_constructor__P3329, depth: s.depth + 1, + parent: s, fn: animation_Path_constructor__P56341, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77937,7 +77970,7 @@ function animation_Path_constructor__P3329_mk(s) { -function particles_FireFactory_drawParticle__P3203(s) { +function particles_FireFactory_drawParticle__P56215(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -77955,8 +77988,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_FireFactory__C3200_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___2013; + if (!checkSubtype(r0, particles_FireFactory__C56212_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___55025; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -77972,12 +78005,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_FireFactory_drawParticle__P3203.info = {"start":9548,"length":179,"line":308,"column":8,"endLine":314,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} +particles_FireFactory_drawParticle__P56215.info = {"start":9548,"length":179,"line":308,"column":8,"endLine":314,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} -function particles_FireFactory_drawParticle__P3203_mk(s) { +function particles_FireFactory_drawParticle__P56215_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_FireFactory_drawParticle__P3203, depth: s.depth + 1, + parent: s, fn: particles_FireFactory_drawParticle__P56215, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -77995,7 +78028,7 @@ function particles_FireFactory_drawParticle__P3203_mk(s) { -function particles_ShapeFactory_drawParticle__P3196(s) { +function particles_ShapeFactory_drawParticle__P56208(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78005,7 +78038,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___29264 = undefined; + s.pImage___82293 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -78014,23 +78047,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C3193_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P3044_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C56205_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P56056_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; s.tmp_1.arg1 = r0; - s.callLocIdx = 1933; s.pc = 1; return s.tmp_1; + s.callLocIdx = 1934; 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___29264 = (r0); + s.pImage___82293 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___29264, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___2013; - s.tmp_1 = r0 = s.pImage___29264; + r0 = pxsim_ImageMethods.replace(s.pImage___82293, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___55025; + s.tmp_1 = r0 = s.pImage___82293; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -78052,12 +78085,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P3196.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__P56208.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__P3196_mk(s) { +function particles_ShapeFactory_drawParticle__P56208_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P3196, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P56208, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78069,7 +78102,7 @@ function particles_ShapeFactory_drawParticle__P3196_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___29264: undefined, + pImage___82293: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -78080,7 +78113,7 @@ function particles_ShapeFactory_drawParticle__P3196_mk(s) { -function info_PlayerInfo_left__P2620(s) { +function info_PlayerInfo_left__P55632(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78096,7 +78129,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2597_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C55609_VT)) failedCast(r0); r0 = s.arg0.fields["impl"]; s.tmp_0 = r0; r0 = (s.tmp_0).fields["left"] = (s.arg1); @@ -78104,12 +78137,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_PlayerInfo_left__P2620.info = {"start":27003,"length":72,"line":893,"column":8,"endLine":895,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"left","argumentNames":["this","value"]} +info_PlayerInfo_left__P55632.info = {"start":27003,"length":72,"line":893,"column":8,"endLine":895,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"left","argumentNames":["this","value"]} -function info_PlayerInfo_left__P2620_mk(s) { +function info_PlayerInfo_left__P55632_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_left__P2620, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_left__P55632, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -78120,7 +78153,7 @@ function info_PlayerInfo_left__P2620_mk(s) { -function info_PlayerInfo_left__P2619(s) { +function info_PlayerInfo_left__P55631(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78135,19 +78168,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, info_PlayerInfo__C2597_VT)) failedCast(r0); + if (!checkSubtype(r0, info_PlayerInfo__C55609_VT)) failedCast(r0); r0 = s.arg0.fields["impl"]; r0 = r0.fields["left"]; return leaveAccessor(s, r0) default: oops() } } } -info_PlayerInfo_left__P2619.info = {"start":26927,"length":66,"line":889,"column":8,"endLine":891,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"left","argumentNames":["this"]} -info_PlayerInfo_left__P2619.isGetter = true; +info_PlayerInfo_left__P55631.info = {"start":26927,"length":66,"line":889,"column":8,"endLine":891,"endColumn":9,"fileName":"pxt_modules/game/info.ts","functionName":"left","argumentNames":["this"]} +info_PlayerInfo_left__P55631.isGetter = true; -function info_PlayerInfo_left__P2619_mk(s) { +function info_PlayerInfo_left__P55631_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_PlayerInfo_left__P2619, depth: s.depth + 1, + parent: s, fn: info_PlayerInfo_left__P55631, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -78156,7 +78189,7 @@ function info_PlayerInfo_left__P2619_mk(s) { -function particles_AshFactory_drawParticle__P3214(s) { +function particles_AshFactory_drawParticle__P56226(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78174,8 +78207,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AshFactory__C3211_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___2013; + if (!checkSubtype(r0, particles_AshFactory__C56223_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___55025; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -78191,12 +78224,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AshFactory_drawParticle__P3214.info = {"start":13926,"length":117,"line":444,"column":8,"endLine":446,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} +particles_AshFactory_drawParticle__P56226.info = {"start":13926,"length":117,"line":444,"column":8,"endLine":446,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} -function particles_AshFactory_drawParticle__P3214_mk(s) { +function particles_AshFactory_drawParticle__P56226_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AshFactory_drawParticle__P3214, depth: s.depth + 1, + parent: s, fn: particles_AshFactory_drawParticle__P56226, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78214,7 +78247,7 @@ function particles_AshFactory_drawParticle__P3214_mk(s) { -function particles_AreaFactory_drawParticle__P3184(s) { +function particles_AreaFactory_drawParticle__P56196(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78224,7 +78257,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___29329 = undefined; + s.col___82358 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -78233,7 +78266,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C3177_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C56189_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -78260,8 +78293,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___29329 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___2013; + s.col___82358 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___55025; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -78270,17 +78303,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___29329); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___82358); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P3184.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__P56196.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__P3184_mk(s) { +function particles_AreaFactory_drawParticle__P56196_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P3184, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P56196, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78288,7 +78321,7 @@ function particles_AreaFactory_drawParticle__P3184_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___29329: undefined, + col___82358: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -78299,7 +78332,7 @@ function particles_AreaFactory_drawParticle__P3184_mk(s) { -function particles_SprayFactory_drawParticle__P3174(s) { +function particles_SprayFactory_drawParticle__P56186(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78317,8 +78350,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C3171_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___2013; + if (!checkSubtype(r0, particles_SprayFactory__C56183_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___55025; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -78332,12 +78365,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P3174.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__P56186.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__P3174_mk(s) { +function particles_SprayFactory_drawParticle__P56186_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P3174, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P56186, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78354,7 +78387,7 @@ function particles_SprayFactory_drawParticle__P3174_mk(s) { -function particles_RadialFactory_drawParticle__P3207(s) { +function particles_RadialFactory_drawParticle__P56219(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78372,8 +78405,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_RadialFactory__C3204_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___2013; + if (!checkSubtype(r0, particles_RadialFactory__C56216_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___55025; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -78389,12 +78422,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_RadialFactory_drawParticle__P3207.info = {"start":11163,"length":179,"line":357,"column":8,"endLine":363,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} +particles_RadialFactory_drawParticle__P56219.info = {"start":11163,"length":179,"line":357,"column":8,"endLine":363,"endColumn":9,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"drawParticle","argumentNames":["this","p","x","y"]} -function particles_RadialFactory_drawParticle__P3207_mk(s) { +function particles_RadialFactory_drawParticle__P56219_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_RadialFactory_drawParticle__P3207, depth: s.depth + 1, + parent: s, fn: particles_RadialFactory_drawParticle__P56219, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78412,7 +78445,7 @@ function particles_RadialFactory_drawParticle__P3207_mk(s) { -function scene_Renderable___drawCore__P2783(s) { +function scene_Renderable___drawCore__P55795(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78428,10 +78461,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C2780_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C55792_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___2013; + s.tmp_0.arg1 = globals.screen___55025; 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); @@ -78448,12 +78481,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P2783.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__P55795.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__P2783_mk(s) { +function scene_Renderable___drawCore__P55795_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P2783, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P55795, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -78464,7 +78497,7 @@ function scene_Renderable___drawCore__P2783_mk(s) { -function scene_Renderable___visible__P2782(s) { +function scene_Renderable___visible__P55794(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78479,7 +78512,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C2780_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C55792_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { @@ -78496,12 +78529,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P2782.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__P55794.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__P2782_mk(s) { +function scene_Renderable___visible__P55794_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P2782, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P55794, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -78511,7 +78544,7 @@ function scene_Renderable___visible__P2782_mk(s) { -function scene_Camera_top__P2774(s) { +function scene_Camera_top__P55786(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78526,18 +78559,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2761_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C55773_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_top__P2774.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__P2774.isGetter = true; +scene_Camera_top__P55786.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__P55786.isGetter = true; -function scene_Camera_top__P2774_mk(s) { +function scene_Camera_top__P55786_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P2774, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P55786, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -78546,7 +78579,7 @@ function scene_Camera_top__P2774_mk(s) { -function scene_Camera_left__P2772(s) { +function scene_Camera_left__P55784(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78561,18 +78594,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C2761_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C55773_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_left__P2772.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__P2772.isGetter = true; +scene_Camera_left__P55784.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__P55784.isGetter = true; -function scene_Camera_left__P2772_mk(s) { +function scene_Camera_left__P55784_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P2772, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P55784, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -78581,7 +78614,7 @@ function scene_Camera_left__P2772_mk(s) { -function tiles_Location_top__P2681(s) { +function tiles_Location_top__P55693(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78596,10 +78629,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2673_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C55685_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; s.tmp_0 = r0; - s.tmp_3 = tiles_Location_tileMap__P2675_mk(s); + s.tmp_3 = tiles_Location_tileMap__P55687_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1221; s.pc = 1; return s.tmp_3; case 1: @@ -78611,13 +78644,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_top__P2681.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__P2681.isGetter = true; +tiles_Location_top__P55693.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__P55693.isGetter = true; -function tiles_Location_top__P2681_mk(s) { +function tiles_Location_top__P55693_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_top__P2681, depth: s.depth + 1, + parent: s, fn: tiles_Location_top__P55693, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78630,7 +78663,7 @@ function tiles_Location_top__P2681_mk(s) { -function tiles_Location_left__P2680(s) { +function tiles_Location_left__P55692(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78645,10 +78678,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C2673_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C55685_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; s.tmp_0 = r0; - s.tmp_3 = tiles_Location_tileMap__P2675_mk(s); + s.tmp_3 = tiles_Location_tileMap__P55687_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1219; s.pc = 1; return s.tmp_3; case 1: @@ -78660,13 +78693,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_left__P2680.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__P2680.isGetter = true; +tiles_Location_left__P55692.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__P55692.isGetter = true; -function tiles_Location_left__P2680_mk(s) { +function tiles_Location_left__P55692_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_left__P2680, depth: s.depth + 1, + parent: s, fn: tiles_Location_left__P55692, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78679,7 +78712,7 @@ function tiles_Location_left__P2680_mk(s) { -function Sprite___drawCore__P2395(s) { +function Sprite___drawCore__P55407(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78689,24 +78722,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___29387 = undefined; - s.oy___29395 = undefined; - s.l___29403 = undefined; - s.t___29409 = undefined; + s.ox___82416 = undefined; + s.oy___82424 = undefined; + s.l___82432 = undefined; + s.t___82438 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_0 = Sprite_drawSay__P4832_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_0 = Sprite_drawSay__P57845_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 670; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_1 = Sprite_isOutOfScreen__P2394_mk(s); + s.tmp_1 = Sprite_isOutOfScreen__P55406_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 671; s.pc = 9; return s.tmp_1; @@ -78731,7 +78764,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___29387 = (s.tmp_4); + s.ox___82416 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -78745,42 +78778,42 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___29395 = (s.tmp_2); - s.tmp_2 = Sprite_left__P2379_mk(s); + s.oy___82424 = (s.tmp_2); + s.tmp_2 = Sprite_left__P55391_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 672; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___29387); + r0 = (s.tmp_1 - s.ox___82416); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.l___29403 = (r0); - s.tmp_2 = Sprite_top__P2383_mk(s); + s.l___82432 = (r0); + s.tmp_2 = Sprite_top__P55395_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 673; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.oy___29395); + r0 = (s.tmp_1 - s.oy___82424); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.t___29409 = (r0); - s.tmp_0 = Sprite__C2321_v6_3_mk(s); + s.t___82438 = (r0); + s.tmp_0 = Sprite__C55333_v6_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___29403; - s.tmp_0.arg2 = s.t___29409; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C2321_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.l___82432; + s.tmp_0.arg2 = s.t___82438; + if (!checkSubtype(s.tmp_0.arg0, Sprite__C55333_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__P4833_mk(s); + s.tmp_0 = Sprite_drawDebug__P57846_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___29403; - s.tmp_0.arg2 = s.t___29409; - s.tmp_0.arg3 = s.ox___29387; - s.tmp_0.arg4 = s.oy___29395; + s.tmp_0.arg1 = s.l___82432; + s.tmp_0.arg2 = s.t___82438; + s.tmp_0.arg3 = s.ox___82416; + s.tmp_0.arg4 = s.oy___82424; s.callLocIdx = 674; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -78789,22 +78822,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P2395.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__P55407.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__P2395_mk(s) { +function Sprite___drawCore__P55407_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P2395, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P55407, 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___29387: undefined, - oy___29395: undefined, - l___29403: undefined, - t___29409: undefined, + ox___82416: undefined, + oy___82424: undefined, + l___82432: undefined, + t___82438: undefined, arg0: undefined, arg1: undefined, } } @@ -78813,7 +78846,7 @@ function Sprite___drawCore__P2395_mk(s) { -function Sprite_drawSprite__P4834(s) { +function Sprite_drawSprite__P57847(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78830,8 +78863,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); - s.tmp_3 = Sprite_isScaled__P4831_mk(s); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); + s.tmp_3 = Sprite_isScaled__P57844_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 767; s.pc = 3; return s.tmp_3; case 3: @@ -78845,20 +78878,20 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["_image"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___2013, s.tmp_4, s.arg1, s.arg2); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___55025, s.tmp_4, s.arg1, s.arg2); { step = 2; continue; } case 1: - s.tmp_0 = helpers_imageBlit__P1936_mk(s); - s.tmp_0.arg0 = globals.screen___2013; + s.tmp_0 = helpers_imageBlit__P54948_mk(s); + s.tmp_0.arg0 = globals.screen___55025; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.tmp_1 = Sprite_width__P2377_mk(s); + s.tmp_1 = Sprite_width__P55389_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 768; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg3 = r0; - s.tmp_2 = Sprite_height__P2378_mk(s); + s.tmp_2 = Sprite_height__P55390_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 769; s.pc = 6; return s.tmp_2; case 6: @@ -78886,12 +78919,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSprite__P4834.info = {"start":35728,"length":514,"line":1116,"column":4,"endLine":1130,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]} +Sprite_drawSprite__P57847.info = {"start":35728,"length":514,"line":1116,"column":4,"endLine":1130,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]} -function Sprite_drawSprite__P4834_mk(s) { +function Sprite_drawSprite__P57847_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSprite__P4834, depth: s.depth + 1, + parent: s, fn: Sprite_drawSprite__P57847, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -78907,7 +78940,7 @@ function Sprite_drawSprite__P4834_mk(s) { -function Sprite_drawDebug__P4833(s) { +function Sprite_drawDebug__P57846(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -78917,9 +78950,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.font___29433 = undefined; - s.tx___29437 = undefined; - s.ty___29439 = undefined; + s.font___82462 = undefined; + s.tx___82466 = undefined; + s.ty___82468 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -78929,17 +78962,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_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___29433 = (globals.font5___1961); - s.tx___29437 = (s.arg1); + s.font___82462 = (globals.font5___54973); + s.tx___82466 = (s.arg1); s.tmp_1 = r0 = s.arg2; - s.tmp_3 = Sprite_height__P2378_mk(s); + s.tmp_3 = Sprite_height__P55390_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 743; s.pc = 13; return s.tmp_3; case 13: @@ -78948,12 +78981,12 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___29439 = (r0); - s.tmp_0 = helpers_imagePrint__P1971_mk(s); - s.tmp_0.arg0 = globals.screen___2013; + s.ty___82468 = (r0); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); + s.tmp_0.arg0 = globals.screen___55025; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P2334_mk(s); + s.tmp_7 = Sprite_x__P55346_mk(s); s.tmp_7.arg0 = s.arg0; s.callLocIdx = 744; s.pc = 15; return s.tmp_7; case 15: @@ -78974,7 +79007,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P2336_mk(s); + s.tmp_11 = Sprite_y__P55348_mk(s); s.tmp_11.arg0 = s.arg0; s.callLocIdx = 745; s.pc = 17; return s.tmp_11; case 17: @@ -78993,17 +79026,17 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_8); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.tx___29437; - s.tmp_0.arg3 = s.ty___29439; + s.tmp_0.arg2 = s.tx___82466; + s.tmp_0.arg3 = s.ty___82468; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___29433; + s.tmp_0.arg5 = s.font___82462; s.tmp_0.arg6 = undefined; s.callLocIdx = 746; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = r0 = s.tx___29437; + s.tmp_0 = r0 = s.tx___82466; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___29433; + s.tmp_2.arg0 = s.font___82462; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -79016,8 +79049,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___29437 = (r0); - s.tmp_1 = Sprite_vx__P2338_mk(s); + s.tx___82466 = (r0); + s.tmp_1 = Sprite_vx__P55350_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 748; s.pc = 20; return s.tmp_1; case 20: @@ -79028,7 +79061,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P2340_mk(s); + s.tmp_2 = Sprite_vy__P55352_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 749; s.pc = 21; return s.tmp_2; case 21: @@ -79038,9 +79071,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = r0 = s.ty___29439; + s.tmp_4 = r0 = s.ty___82468; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___29433; + s.tmp_7.arg0 = s.font___82462; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -79055,10 +79088,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___29439 = (r0); - s.tmp_0 = helpers_imagePrint__P1971_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - s.tmp_6 = Sprite_vx__P2338_mk(s); + s.ty___82468 = (r0); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + s.tmp_6 = Sprite_vx__P55350_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 751; s.pc = 24; return s.tmp_6; case 24: @@ -79079,7 +79112,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P2340_mk(s); + s.tmp_10 = Sprite_vy__P55352_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 752; s.pc = 26; return s.tmp_10; case 26: @@ -79098,17 +79131,17 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_7); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.tx___29437; - s.tmp_0.arg3 = s.ty___29439; + s.tmp_0.arg2 = s.tx___82466; + s.tmp_0.arg3 = s.ty___82468; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___29433; + s.tmp_0.arg5 = s.font___82462; s.tmp_0.arg6 = undefined; s.callLocIdx = 753; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; case 3: case 4: - s.tmp_1 = Sprite_ax__P2342_mk(s); + s.tmp_1 = Sprite_ax__P55354_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 754; s.pc = 28; return s.tmp_1; case 28: @@ -79119,7 +79152,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_ay__P2344_mk(s); + s.tmp_2 = Sprite_ay__P55356_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 755; s.pc = 29; return s.tmp_2; case 29: @@ -79129,9 +79162,9 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = r0 = s.ty___29439; + s.tmp_4 = r0 = s.ty___82468; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___29433; + s.tmp_7.arg0 = s.font___82462; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -79146,10 +79179,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___29439 = (r0); - s.tmp_0 = helpers_imagePrint__P1971_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - s.tmp_6 = Sprite_ax__P2342_mk(s); + s.ty___82468 = (r0); + s.tmp_0 = helpers_imagePrint__P54983_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + s.tmp_6 = Sprite_ax__P55354_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 757; s.pc = 32; return s.tmp_6; case 32: @@ -79170,7 +79203,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P2344_mk(s); + s.tmp_10 = Sprite_ay__P55356_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 758; s.pc = 34; return s.tmp_10; case 34: @@ -79189,10 +79222,10 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_7); s.tmp_0.arg1 = r0; - s.tmp_0.arg2 = s.tx___29437; - s.tmp_0.arg3 = s.ty___29439; + s.tmp_0.arg2 = s.tx___82466; + s.tmp_0.arg3 = s.ty___82468; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___29433; + s.tmp_0.arg5 = s.font___82462; s.tmp_0.arg6 = undefined; s.callLocIdx = 759; s.pc = 31; return s.tmp_0; case 31: @@ -79201,11 +79234,11 @@ switch (step) { case 8: case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.debug___2947); + r0 = pxsim_numops_toBoolDecr(globals.debug___55959); if (!r0) { step = 11; continue; } - s.tmp_0 = helpers_imageDrawRect__P1942_mk(s); - s.tmp_0.arg0 = globals.screen___2013; - s.tmp_3 = game_Hitbox_left__P2197_mk(s); + s.tmp_0 = helpers_imageDrawRect__P54954_mk(s); + s.tmp_0.arg0 = globals.screen___55025; + s.tmp_3 = game_Hitbox_left__P55209_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 760; s.pc = 37; return s.tmp_3; @@ -79218,7 +79251,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - s.arg3); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P2198_mk(s); + s.tmp_7 = game_Hitbox_top__P55210_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; s.callLocIdx = 762; s.pc = 38; return s.tmp_7; @@ -79255,12 +79288,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawDebug__P4833.info = {"start":34630,"length":1092,"line":1086,"column":4,"endLine":1114,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]} +Sprite_drawDebug__P57846.info = {"start":34630,"length":1092,"line":1086,"column":4,"endLine":1114,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]} -function Sprite_drawDebug__P4833_mk(s) { +function Sprite_drawDebug__P57846_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawDebug__P4833, depth: s.depth + 1, + parent: s, fn: Sprite_drawDebug__P57846, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -79275,9 +79308,9 @@ function Sprite_drawDebug__P4833_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - font___29433: undefined, - tx___29437: undefined, - ty___29439: undefined, + font___82462: undefined, + tx___82466: undefined, + ty___82468: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -79289,7 +79322,7 @@ function Sprite_drawDebug__P4833_mk(s) { -function Sprite_drawSay__P4832(s) { +function Sprite_drawSay__P57845(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79305,7 +79338,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -79324,23 +79357,23 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 1; continue; } - s.tmp_6 = sprites_BaseSpriteSayRenderer__C2240_v0_4_mk(s); + s.tmp_6 = sprites_BaseSpriteSayRenderer__C55252_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_6.arg0 = r0; - s.tmp_6.arg1 = globals.screen___2013; + s.tmp_6.arg1 = globals.screen___55025; s.tmp_6.arg2 = s.arg1; s.tmp_6.arg3 = s.arg0; - if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C2240_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C55252_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__C2240_v2_1_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C55252_v2_1_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C2240_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C55252_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: @@ -79350,13 +79383,13 @@ switch (step) { case 2: { step = 4; continue; } case 3: - s.tmp_0 = sprites_BaseSpriteSayRenderer__C2240_v0_4_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C55252_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.screen___2013; + s.tmp_0.arg1 = globals.screen___55025; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C2240_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C55252_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: @@ -79368,12 +79401,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSay__P4832.info = {"start":34050,"length":574,"line":1068,"column":4,"endLine":1084,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]} +Sprite_drawSay__P57845.info = {"start":34050,"length":574,"line":1068,"column":4,"endLine":1084,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]} -function Sprite_drawSay__P4832_mk(s) { +function Sprite_drawSay__P57845_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSay__P4832, depth: s.depth + 1, + parent: s, fn: Sprite_drawSay__P57845, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -79390,7 +79423,7 @@ function Sprite_drawSay__P4832_mk(s) { -function sprites_BaseSpriteSayRenderer_draw__P2242(s) { +function sprites_BaseSpriteSayRenderer_draw__P55254(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79408,17 +79441,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C2240_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C55252_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_draw__P2242.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__P55254.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__P2242_mk(s) { +function sprites_BaseSpriteSayRenderer_draw__P55254_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P2242, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P55254, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -79430,7 +79463,7 @@ function sprites_BaseSpriteSayRenderer_draw__P2242_mk(s) { -function Sprite___visible__P2376(s) { +function Sprite___visible__P55388(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79445,7 +79478,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C2321_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C55333_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -79456,12 +79489,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P2376.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__P55388.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__P2376_mk(s) { +function Sprite___visible__P55388_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P2376, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P55388, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -79473,7 +79506,7 @@ function Sprite___visible__P2376_mk(s) { -function sprites_SpriteSayRenderer_draw__P2248(s) { +function sprites_SpriteSayRenderer_draw__P55260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79483,14 +79516,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___29620 = undefined; - s.oy___29628 = undefined; - s.l___29636 = undefined; - s.t___29643 = undefined; - s.height___29650 = undefined; - s.width___29660 = undefined; - s.sayLeft___29670 = undefined; - s.sayTop___29680 = undefined; + s.ox___82649 = undefined; + s.oy___82657 = undefined; + s.l___82665 = undefined; + s.t___82672 = undefined; + s.height___82679 = undefined; + s.width___82689 = undefined; + s.sayLeft___82699 = undefined; + s.sayTop___82709 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -79499,7 +79532,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSayRenderer__C2245_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSayRenderer__C55257_VT)) failedCast(r0); r0 = s.arg3.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -79513,7 +79546,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___29620 = (s.tmp_2); + s.ox___82649 = (s.tmp_2); r0 = s.arg3.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -79527,32 +79560,32 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___29628 = (s.tmp_2); - s.tmp_2 = Sprite_left__P2379_mk(s); + s.oy___82657 = (s.tmp_2); + s.tmp_2 = Sprite_left__P55391_mk(s); s.tmp_2.arg0 = s.arg3; s.callLocIdx = 554; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___29620); + r0 = (s.tmp_1 - s.ox___82649); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.l___29636 = (r0); - s.tmp_2 = Sprite_top__P2383_mk(s); + s.l___82665 = (r0); + s.tmp_2 = Sprite_top__P55395_mk(s); s.tmp_2.arg0 = s.arg3; s.callLocIdx = 555; s.pc = 23; return s.tmp_2; case 23: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.oy___29628); + r0 = (s.tmp_1 - s.oy___82657); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.t___29643 = (r0); + s.t___82672 = (r0); r0 = s.arg0.fields["animation"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = sprites_RenderTextAnimation_currentHeight__P2231_mk(s); + s.tmp_1 = sprites_RenderTextAnimation_currentHeight__P55243_mk(s); r0 = s.arg0.fields["animation"]; s.tmp_1.arg0 = r0; s.callLocIdx = 556; s.pc = 24; return s.tmp_1; @@ -79565,12 +79598,12 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.height___29650 = (s.tmp_2); + s.height___82679 = (s.tmp_2); r0 = s.arg0.fields["animation"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = sprites_RenderTextAnimation_currentWidth__P2232_mk(s); + s.tmp_1 = sprites_RenderTextAnimation_currentWidth__P55244_mk(s); r0 = s.arg0.fields["animation"]; s.tmp_1.arg0 = r0; s.callLocIdx = 557; s.pc = 25; return s.tmp_1; @@ -79583,9 +79616,9 @@ switch (step) { case 8: // jmp value (already in r0) s.tmp_2 = r0; - s.width___29660 = (s.tmp_2); - s.tmp_1 = r0 = s.l___29636; - s.tmp_4 = Sprite_width__P2377_mk(s); + s.width___82689 = (s.tmp_2); + s.tmp_1 = r0 = s.l___82665; + s.tmp_4 = Sprite_width__P55389_mk(s); s.tmp_4.arg0 = s.arg3; s.callLocIdx = 558; s.pc = 26; return s.tmp_4; case 26: @@ -79595,15 +79628,15 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; - r0 = (s.width___29660 >> 1); + r0 = (s.width___82689 >> 1); s.tmp_5 = r0; r0 = (s.tmp_0 - s.tmp_5); - s.sayLeft___29670 = (r0); - r0 = (s.t___29643 - s.height___29650); + s.sayLeft___82699 = (r0); + r0 = (s.t___82672 - s.height___82679); s.tmp_0 = r0; r0 = (s.tmp_0 - 4); - s.sayTop___29680 = (r0); - r0 = (s.sayLeft___29670 + s.width___29660); + s.sayTop___82709 = (r0); + r0 = (s.sayLeft___82699 + s.width___82689); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -79612,7 +79645,7 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = (s.sayTop___29680 + s.height___29650); + r0 = (s.sayTop___82709 + s.height___82679); s.tmp_2 = r0; r0 = (s.tmp_2 < 0); case 10: @@ -79623,7 +79656,7 @@ switch (step) { r0 = s.tmp_3; { step = 12; continue; } case 11: - s.tmp_4 = r0 = s.sayLeft___29670; + s.tmp_4 = r0 = s.sayLeft___82699; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; r0 = (s.tmp_4 > s.tmp_5); @@ -79635,7 +79668,7 @@ switch (step) { r0 = s.tmp_6; { step = 14; continue; } case 13: - s.tmp_7 = r0 = s.sayTop___29680; + s.tmp_7 = r0 = s.sayTop___82709; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_8 = r0; r0 = (s.tmp_7 > s.tmp_8); @@ -79647,18 +79680,18 @@ switch (step) { { step = 21; continue; } case 15: case 16: - s.tmp_10 = sprites_SpriteSayRenderer_drawSayFrame__P2246_mk(s); - s.tmp_10.arg0 = s.sayLeft___29670; - s.tmp_10.arg1 = s.sayTop___29680; - s.tmp_10.arg2 = s.width___29660; - s.tmp_10.arg3 = s.height___29650; - s.tmp_11 = Sprite_x__P2334_mk(s); + s.tmp_10 = sprites_SpriteSayRenderer_drawSayFrame__P55258_mk(s); + s.tmp_10.arg0 = s.sayLeft___82699; + s.tmp_10.arg1 = s.sayTop___82709; + s.tmp_10.arg2 = s.width___82689; + s.tmp_10.arg3 = s.height___82679; + s.tmp_11 = Sprite_x__P55346_mk(s); s.tmp_11.arg0 = s.arg3; s.callLocIdx = 559; s.pc = 28; return s.tmp_11; case 28: r0 = s.retval; s.tmp_10.arg4 = r0; - s.tmp_12 = Sprite_y__P2336_mk(s); + s.tmp_12 = Sprite_y__P55348_mk(s); s.tmp_12.arg0 = s.arg3; s.callLocIdx = 560; s.pc = 29; return s.tmp_12; case 29: @@ -79670,18 +79703,18 @@ switch (step) { s.callLocIdx = 561; s.pc = 27; return s.tmp_10; case 27: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(s.height___29650); + r0 = pxsim_numops_toBoolDecr(s.height___82679); if (!r0) { step = 19; continue; } r0 = s.arg0.fields["animation"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 17; continue; } - s.tmp_1 = sprites_RenderTextAnimation_draw__P2238_mk(s); + s.tmp_1 = sprites_RenderTextAnimation_draw__P55250_mk(s); r0 = s.arg0.fields["animation"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; - s.tmp_1.arg2 = s.sayLeft___29670; - s.tmp_1.arg3 = s.sayTop___29680; + s.tmp_1.arg2 = s.sayLeft___82699; + s.tmp_1.arg3 = s.sayTop___82709; r0 = s.arg0.fields["fgColor"]; s.tmp_1.arg4 = r0; s.callLocIdx = 562; s.pc = 30; return s.tmp_1; @@ -79689,12 +79722,12 @@ switch (step) { r0 = s.retval; { step = 18; continue; } case 17: - s.tmp_0 = sprites_RenderText_draw__P2213_mk(s); + s.tmp_0 = sprites_RenderText_draw__P55225_mk(s); r0 = s.arg0.fields["renderText"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.sayLeft___29670; - s.tmp_0.arg3 = s.sayTop___29680; + s.tmp_0.arg2 = s.sayLeft___82699; + s.tmp_0.arg3 = s.sayTop___82709; r0 = s.arg0.fields["fgColor"]; s.tmp_0.arg4 = r0; s.tmp_0.arg5 = undefined; @@ -79710,12 +79743,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSayRenderer_draw__P2248.info = {"start":9106,"length":1208,"line":239,"column":8,"endLine":263,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"draw","argumentNames":["this","screen","camera","owner"]} +sprites_SpriteSayRenderer_draw__P55260.info = {"start":9106,"length":1208,"line":239,"column":8,"endLine":263,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"draw","argumentNames":["this","screen","camera","owner"]} -function sprites_SpriteSayRenderer_draw__P2248_mk(s) { +function sprites_SpriteSayRenderer_draw__P55260_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSayRenderer_draw__P2248, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSayRenderer_draw__P55260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -79730,14 +79763,14 @@ function sprites_SpriteSayRenderer_draw__P2248_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - ox___29620: undefined, - oy___29628: undefined, - l___29636: undefined, - t___29643: undefined, - height___29650: undefined, - width___29660: undefined, - sayLeft___29670: undefined, - sayTop___29680: undefined, + ox___82649: undefined, + oy___82657: undefined, + l___82665: undefined, + t___82672: undefined, + height___82679: undefined, + width___82689: undefined, + sayLeft___82699: undefined, + sayTop___82709: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -79748,7 +79781,7 @@ function sprites_SpriteSayRenderer_draw__P2248_mk(s) { -function sprites_SpriteSayRenderer_drawSayFrame__P2246(s) { +function sprites_SpriteSayRenderer_drawSayFrame__P55258(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -79758,16 +79791,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xDiff___30154 = undefined; - s.yDiff___30167 = undefined; - s.anchorY___30188 = undefined; - s.anchorY___30223 = undefined; - s.anchorX___30254 = undefined; - s.anchorX___30289 = undefined; - s.anchorX___30320 = undefined; - s.anchorX___30355 = undefined; - s.anchorY___30386 = undefined; - s.anchorY___30421 = undefined; + s.xDiff___83183 = undefined; + s.yDiff___83196 = undefined; + s.anchorY___83217 = undefined; + s.anchorY___83252 = undefined; + s.anchorX___83283 = undefined; + s.anchorX___83318 = undefined; + s.anchorX___83349 = undefined; + s.anchorX___83384 = undefined; + s.anchorY___83415 = undefined; + s.anchorY___83450 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -79825,7 +79858,7 @@ switch (step) { case 8: r0 = pxsim_numops_toBoolDecr(s.arg3); if (!r0) { step = 35; continue; } - s.tmp_10 = helpers_imageFillRect__P1939_mk(s); + s.tmp_10 = helpers_imageFillRect__P54951_mk(s); s.tmp_10.arg0 = s.arg7; s.tmp_10.arg1 = s.arg0; s.tmp_10.arg2 = s.arg1; @@ -79835,7 +79868,7 @@ switch (step) { s.callLocIdx = 502; s.pc = 38; return s.tmp_10; case 38: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; r0 = (s.arg0 - 1); s.tmp_0.arg1 = r0; @@ -79848,7 +79881,7 @@ switch (step) { s.callLocIdx = 503; s.pc = 39; return s.tmp_0; case 39: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; r0 = (s.arg0 + s.arg2); s.tmp_0.arg1 = r0; @@ -79861,7 +79894,7 @@ switch (step) { s.callLocIdx = 504; s.pc = 40; return s.tmp_0; case 40: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; r0 = (s.arg0 + 1); s.tmp_0.arg1 = r0; @@ -79874,7 +79907,7 @@ switch (step) { s.callLocIdx = 505; s.pc = 41; return s.tmp_0; case 41: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; r0 = (s.arg0 + 1); s.tmp_0.arg1 = r0; @@ -79927,15 +79960,15 @@ switch (step) { { step = 37; continue; } case 15: case 16: - s.tmp_8 = Math_max__P130_mk(s); - s.tmp_9 = Math_abs__P128_mk(s); + s.tmp_8 = Math_max__P53142_mk(s); + s.tmp_9 = Math_abs__P53140_mk(s); r0 = (s.arg4 - s.arg0); s.tmp_9.arg0 = r0; s.callLocIdx = 507; s.pc = 44; return s.tmp_9; case 44: r0 = s.retval; s.tmp_8.arg0 = r0; - s.tmp_10 = Math_abs__P128_mk(s); + s.tmp_10 = Math_abs__P53140_mk(s); s.tmp_11 = r0 = s.arg4; r0 = (s.arg0 + s.arg2); s.tmp_12 = r0; @@ -79948,16 +79981,16 @@ switch (step) { s.callLocIdx = 509; s.pc = 43; return s.tmp_8; case 43: r0 = s.retval; - s.xDiff___30154 = (r0); - s.tmp_0 = Math_max__P130_mk(s); - s.tmp_1 = Math_abs__P128_mk(s); + s.xDiff___83183 = (r0); + s.tmp_0 = Math_max__P53142_mk(s); + s.tmp_1 = Math_abs__P53140_mk(s); r0 = (s.arg5 - s.arg3); s.tmp_1.arg0 = r0; s.callLocIdx = 510; s.pc = 47; return s.tmp_1; case 47: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_2 = Math_abs__P128_mk(s); + s.tmp_2 = Math_abs__P53140_mk(s); s.tmp_3 = r0 = s.arg5; r0 = (s.arg3 + s.arg3); s.tmp_4 = r0; @@ -79970,8 +80003,8 @@ switch (step) { s.callLocIdx = 512; s.pc = 46; return s.tmp_0; case 46: r0 = s.retval; - s.yDiff___30167 = (r0); - r0 = (s.xDiff___30154 > s.yDiff___30167); + s.yDiff___83196 = (r0); + r0 = (s.xDiff___83183 > s.yDiff___83196); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } @@ -79982,8 +80015,8 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 17; continue; } - s.tmp_4 = Math_max__P130_mk(s); - s.tmp_5 = Math_min__P131_mk(s); + s.tmp_4 = Math_max__P53142_mk(s); + s.tmp_5 = Math_min__P53143_mk(s); s.tmp_5.arg0 = s.arg5; r0 = (s.arg1 + s.arg3); s.tmp_6 = r0; @@ -79998,14 +80031,14 @@ switch (step) { s.callLocIdx = 514; s.pc = 49; return s.tmp_4; case 49: r0 = s.retval; - s.anchorY___30188 = (r0); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.anchorY___83217 = (r0); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; r0 = (s.arg0 + s.arg2); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg1 = r0; - r0 = (s.anchorY___30188 - 2); + r0 = (s.anchorY___83217 - 2); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 1; s.tmp_0.arg4 = 3; @@ -80013,13 +80046,13 @@ switch (step) { s.callLocIdx = 515; s.pc = 51; return s.tmp_0; case 51: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; r0 = (s.arg0 + s.arg2); s.tmp_1 = r0; r0 = (s.tmp_1 + 2); s.tmp_0.arg1 = r0; - r0 = (s.anchorY___30188 - 1); + r0 = (s.anchorY___83217 - 1); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 1; s.tmp_0.arg4 = 1; @@ -80033,8 +80066,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.tmp_1 = Math_max__P130_mk(s); - s.tmp_2 = Math_min__P131_mk(s); + s.tmp_1 = Math_max__P53142_mk(s); + s.tmp_2 = Math_min__P53143_mk(s); s.tmp_2.arg0 = s.arg5; r0 = (s.arg1 + s.arg3); s.tmp_3 = r0; @@ -80049,12 +80082,12 @@ switch (step) { s.callLocIdx = 518; s.pc = 53; return s.tmp_1; case 53: r0 = s.retval; - s.anchorY___30223 = (r0); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.anchorY___83252 = (r0); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; r0 = (s.arg0 - 2); s.tmp_0.arg1 = r0; - r0 = (s.anchorY___30223 - 2); + r0 = (s.anchorY___83252 - 2); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 1; s.tmp_0.arg4 = 3; @@ -80062,11 +80095,11 @@ switch (step) { s.callLocIdx = 519; s.pc = 55; return s.tmp_0; case 55: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; r0 = (s.arg0 - 3); s.tmp_0.arg1 = r0; - r0 = (s.anchorY___30223 - 1); + r0 = (s.anchorY___83252 - 1); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 1; s.tmp_0.arg4 = 1; @@ -80083,8 +80116,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - s.tmp_3 = Math_max__P130_mk(s); - s.tmp_4 = Math_min__P131_mk(s); + s.tmp_3 = Math_max__P53142_mk(s); + s.tmp_4 = Math_min__P53143_mk(s); s.tmp_4.arg0 = s.arg4; r0 = (s.arg0 + s.arg2); s.tmp_5 = r0; @@ -80099,10 +80132,10 @@ switch (step) { s.callLocIdx = 522; s.pc = 57; return s.tmp_3; case 57: r0 = s.retval; - s.anchorX___30254 = (r0); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.anchorX___83283 = (r0); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; - r0 = (s.anchorX___30254 - 2); + r0 = (s.anchorX___83283 - 2); s.tmp_0.arg1 = r0; r0 = (s.arg1 + s.arg3); s.tmp_1 = r0; @@ -80114,9 +80147,9 @@ switch (step) { s.callLocIdx = 523; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; - r0 = (s.anchorX___30254 - 1); + r0 = (s.anchorX___83283 - 1); s.tmp_0.arg1 = r0; r0 = (s.arg1 + s.arg3); s.tmp_1 = r0; @@ -80134,8 +80167,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = Math_max__P130_mk(s); - s.tmp_2 = Math_min__P131_mk(s); + s.tmp_1 = Math_max__P53142_mk(s); + s.tmp_2 = Math_min__P53143_mk(s); s.tmp_2.arg0 = s.arg4; r0 = (s.arg0 + s.arg2); s.tmp_3 = r0; @@ -80150,10 +80183,10 @@ switch (step) { s.callLocIdx = 526; s.pc = 61; return s.tmp_1; case 61: r0 = s.retval; - s.anchorX___30289 = (r0); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.anchorX___83318 = (r0); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; - r0 = (s.anchorX___30289 - 2); + r0 = (s.anchorX___83318 - 2); s.tmp_0.arg1 = r0; r0 = (s.arg1 - 2); s.tmp_0.arg2 = r0; @@ -80163,9 +80196,9 @@ switch (step) { s.callLocIdx = 527; s.pc = 63; return s.tmp_0; case 63: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; - r0 = (s.anchorX___30289 - 1); + r0 = (s.anchorX___83318 - 1); s.tmp_0.arg1 = r0; r0 = (s.arg1 - 3); s.tmp_0.arg2 = r0; @@ -80189,8 +80222,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_3 = Math_max__P130_mk(s); - s.tmp_4 = Math_min__P131_mk(s); + s.tmp_3 = Math_max__P53142_mk(s); + s.tmp_4 = Math_min__P53143_mk(s); s.tmp_4.arg0 = s.arg4; r0 = (s.arg0 + s.arg2); s.tmp_5 = r0; @@ -80205,10 +80238,10 @@ switch (step) { s.callLocIdx = 530; s.pc = 65; return s.tmp_3; case 65: r0 = s.retval; - s.anchorX___30320 = (r0); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.anchorX___83349 = (r0); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; - r0 = (s.anchorX___30320 - 2); + r0 = (s.anchorX___83349 - 2); s.tmp_0.arg1 = r0; r0 = (s.arg1 + s.arg3); s.tmp_1 = r0; @@ -80220,9 +80253,9 @@ switch (step) { s.callLocIdx = 531; s.pc = 67; return s.tmp_0; case 67: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; - r0 = (s.anchorX___30320 - 1); + r0 = (s.anchorX___83349 - 1); s.tmp_0.arg1 = r0; r0 = (s.arg1 + s.arg3); s.tmp_1 = r0; @@ -80240,8 +80273,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 27; continue; } - s.tmp_1 = Math_max__P130_mk(s); - s.tmp_2 = Math_min__P131_mk(s); + s.tmp_1 = Math_max__P53142_mk(s); + s.tmp_2 = Math_min__P53143_mk(s); s.tmp_2.arg0 = s.arg4; r0 = (s.arg0 + s.arg2); s.tmp_3 = r0; @@ -80256,10 +80289,10 @@ switch (step) { s.callLocIdx = 534; s.pc = 69; return s.tmp_1; case 69: r0 = s.retval; - s.anchorX___30355 = (r0); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.anchorX___83384 = (r0); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; - r0 = (s.anchorX___30355 - 2); + r0 = (s.anchorX___83384 - 2); s.tmp_0.arg1 = r0; r0 = (s.arg1 - 2); s.tmp_0.arg2 = r0; @@ -80269,9 +80302,9 @@ switch (step) { s.callLocIdx = 535; s.pc = 71; return s.tmp_0; case 71: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; - r0 = (s.anchorX___30355 - 1); + r0 = (s.anchorX___83384 - 1); s.tmp_0.arg1 = r0; r0 = (s.arg1 - 3); s.tmp_0.arg2 = r0; @@ -80290,8 +80323,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 28; continue; } - s.tmp_3 = Math_max__P130_mk(s); - s.tmp_4 = Math_min__P131_mk(s); + s.tmp_3 = Math_max__P53142_mk(s); + s.tmp_4 = Math_min__P53143_mk(s); s.tmp_4.arg0 = s.arg5; r0 = (s.arg1 + s.arg3); s.tmp_5 = r0; @@ -80306,14 +80339,14 @@ switch (step) { s.callLocIdx = 538; s.pc = 73; return s.tmp_3; case 73: r0 = s.retval; - s.anchorY___30386 = (r0); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.anchorY___83415 = (r0); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; r0 = (s.arg0 + s.arg2); s.tmp_1 = r0; r0 = (s.tmp_1 + 1); s.tmp_0.arg1 = r0; - r0 = (s.anchorY___30386 - 2); + r0 = (s.anchorY___83415 - 2); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 1; s.tmp_0.arg4 = 3; @@ -80321,13 +80354,13 @@ switch (step) { s.callLocIdx = 539; s.pc = 75; return s.tmp_0; case 75: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; r0 = (s.arg0 + s.arg2); s.tmp_1 = r0; r0 = (s.tmp_1 + 2); s.tmp_0.arg1 = r0; - r0 = (s.anchorY___30386 - 1); + r0 = (s.anchorY___83415 - 1); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 1; s.tmp_0.arg4 = 1; @@ -80341,8 +80374,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - s.tmp_1 = Math_max__P130_mk(s); - s.tmp_2 = Math_min__P131_mk(s); + s.tmp_1 = Math_max__P53142_mk(s); + s.tmp_2 = Math_min__P53143_mk(s); s.tmp_2.arg0 = s.arg5; r0 = (s.arg1 + s.arg3); s.tmp_3 = r0; @@ -80357,12 +80390,12 @@ switch (step) { s.callLocIdx = 542; s.pc = 77; return s.tmp_1; case 77: r0 = s.retval; - s.anchorY___30421 = (r0); - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.anchorY___83450 = (r0); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; r0 = (s.arg0 - 2); s.tmp_0.arg1 = r0; - r0 = (s.anchorY___30421 - 2); + r0 = (s.anchorY___83450 - 2); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 1; s.tmp_0.arg4 = 3; @@ -80370,11 +80403,11 @@ switch (step) { s.callLocIdx = 543; s.pc = 79; return s.tmp_0; case 79: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P1939_mk(s); + s.tmp_0 = helpers_imageFillRect__P54951_mk(s); s.tmp_0.arg0 = s.arg7; r0 = (s.arg0 - 3); s.tmp_0.arg1 = r0; - r0 = (s.anchorY___30421 - 1); + r0 = (s.anchorY___83450 - 1); s.tmp_0.arg2 = r0; s.tmp_0.arg3 = 1; s.tmp_0.arg4 = 1; @@ -80395,12 +80428,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSayRenderer_drawSayFrame__P2246.info = {"start":433,"length":7757,"line":19,"column":8,"endLine":217,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"drawSayFrame","argumentNames":["textLeft","textTop","textWidth","textHeight","speakerX","speakerY","color","canvas"]} +sprites_SpriteSayRenderer_drawSayFrame__P55258.info = {"start":433,"length":7757,"line":19,"column":8,"endLine":217,"endColumn":9,"fileName":"pxt_modules/game/spritesay.ts","functionName":"drawSayFrame","argumentNames":["textLeft","textTop","textWidth","textHeight","speakerX","speakerY","color","canvas"]} -function sprites_SpriteSayRenderer_drawSayFrame__P2246_mk(s) { +function sprites_SpriteSayRenderer_drawSayFrame__P55258_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSayRenderer_drawSayFrame__P2246, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSayRenderer_drawSayFrame__P55258, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -80415,16 +80448,16 @@ function sprites_SpriteSayRenderer_drawSayFrame__P2246_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - xDiff___30154: undefined, - yDiff___30167: undefined, - anchorY___30188: undefined, - anchorY___30223: undefined, - anchorX___30254: undefined, - anchorX___30289: undefined, - anchorX___30320: undefined, - anchorX___30355: undefined, - anchorY___30386: undefined, - anchorY___30421: undefined, + xDiff___83183: undefined, + yDiff___83196: undefined, + anchorY___83217: undefined, + anchorY___83252: undefined, + anchorX___83283: undefined, + anchorX___83318: undefined, + anchorX___83349: undefined, + anchorX___83384: undefined, + anchorY___83415: undefined, + anchorY___83450: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -80439,7 +80472,7 @@ function sprites_SpriteSayRenderer_drawSayFrame__P2246_mk(s) { -function sprites_RenderTextAnimation_draw__P2238(s) { +function sprites_RenderTextAnimation_draw__P55250(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80449,7 +80482,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pageFinished___29831 = undefined; + s.pageFinished___82860 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -80459,7 +80492,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderTextAnimation__C2225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderTextAnimation__C55237_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === 0); @@ -80475,7 +80508,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - s.tmp_4 = sprites_RenderText_drawPartial__P2215_mk(s); + s.tmp_4 = sprites_RenderText_drawPartial__P55227_mk(s); r0 = s.arg0.fields["text"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg1; @@ -80498,7 +80531,7 @@ switch (step) { s.tmp_10 = r0; r0 = s.arg0.fields["height"]; s.tmp_12 = r0; - s.tmp_14 = sprites_RenderText_lineHeight__P2218_mk(s); + s.tmp_14 = sprites_RenderText_lineHeight__P55230_mk(s); r0 = s.arg0.fields["text"]; s.tmp_14.arg0 = r0; s.callLocIdx = 492; s.pc = 19; return s.tmp_14; @@ -80514,7 +80547,7 @@ switch (step) { s.callLocIdx = 493; s.pc = 18; return s.tmp_4; case 18: r0 = s.retval; - s.pageFinished___29831 = (r0); + s.pageFinished___82860 = (r0); r0 = s.arg0.fields["onTickCB"]; s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -80555,7 +80588,7 @@ switch (step) { r0 = s.retval; case 4: case 5: - r0 = pxsim_numops_toBoolDecr(s.pageFinished___29831); + r0 = pxsim_numops_toBoolDecr(s.pageFinished___82860); if (!r0) { step = 6; continue; } r0 = (s.arg0).fields["state"] = (2); r0 = s.arg0.fields["pauseMillis"]; @@ -80565,7 +80598,7 @@ switch (step) { case 7: { step = 15; continue; } case 8: - s.tmp_0 = sprites_RenderText_draw__P2213_mk(s); + s.tmp_0 = sprites_RenderText_draw__P55225_mk(s); r0 = s.arg0.fields["text"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -80578,7 +80611,7 @@ switch (step) { s.tmp_2 = r0; r0 = s.arg0.fields["height"]; s.tmp_4 = r0; - s.tmp_6 = sprites_RenderText_lineHeight__P2218_mk(s); + s.tmp_6 = sprites_RenderText_lineHeight__P55230_mk(s); r0 = s.arg0.fields["text"]; s.tmp_6.arg0 = r0; s.callLocIdx = 496; s.pc = 22; return s.tmp_6; @@ -80597,7 +80630,7 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; - s.tmp_4 = game_currentScene__P2979_mk(s); + s.tmp_4 = game_currentScene__P55991_mk(s); s.callLocIdx = 498; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; @@ -80618,7 +80651,7 @@ switch (step) { s.tmp_4 = r0; r0 = s.arg0.fields["height"]; s.tmp_7 = r0; - s.tmp_9 = sprites_RenderText_lineHeight__P2218_mk(s); + s.tmp_9 = sprites_RenderText_lineHeight__P55230_mk(s); r0 = s.arg0.fields["text"]; s.tmp_9.arg0 = r0; s.callLocIdx = 499; s.pc = 24; return s.tmp_9; @@ -80692,12 +80725,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_RenderTextAnimation_draw__P2238.info = {"start":10915,"length":1875,"line":314,"column":8,"endLine":362,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"draw","argumentNames":["this","canvas","left","top","color"]} +sprites_RenderTextAnimation_draw__P55250.info = {"start":10915,"length":1875,"line":314,"column":8,"endLine":362,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"draw","argumentNames":["this","canvas","left","top","color"]} -function sprites_RenderTextAnimation_draw__P2238_mk(s) { +function sprites_RenderTextAnimation_draw__P55250_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderTextAnimation_draw__P2238, depth: s.depth + 1, + parent: s, fn: sprites_RenderTextAnimation_draw__P55250, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -80714,7 +80747,7 @@ function sprites_RenderTextAnimation_draw__P2238_mk(s) { tmp_12: undefined, tmp_13: undefined, tmp_14: undefined, - pageFinished___29831: undefined, + pageFinished___82860: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -80726,7 +80759,7 @@ function sprites_RenderTextAnimation_draw__P2238_mk(s) { -function sprites_RenderTextAnimation_currentOffset__P2233(s) { +function sprites_RenderTextAnimation_currentOffset__P55245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80741,7 +80774,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderTextAnimation__C2225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderTextAnimation__C55237_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_1 = r0; r0 = s.arg0.fields["timer"]; @@ -80754,12 +80787,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_RenderTextAnimation_currentOffset__P2233.info = {"start":10449,"length":104,"line":294,"column":8,"endLine":296,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"currentOffset","argumentNames":["this"]} +sprites_RenderTextAnimation_currentOffset__P55245.info = {"start":10449,"length":104,"line":294,"column":8,"endLine":296,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"currentOffset","argumentNames":["this"]} -function sprites_RenderTextAnimation_currentOffset__P2233_mk(s) { +function sprites_RenderTextAnimation_currentOffset__P55245_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderTextAnimation_currentOffset__P2233, depth: s.depth + 1, + parent: s, fn: sprites_RenderTextAnimation_currentOffset__P55245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -80772,7 +80805,7 @@ function sprites_RenderTextAnimation_currentOffset__P2233_mk(s) { -function sprites_RenderText_drawPartial__P2215(s) { +function sprites_RenderText_drawPartial__P55227(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80782,8 +80815,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currentTextIndex___29974 = undefined; - s.i___29975 = undefined; + s.currentTextIndex___83003 = undefined; + s.i___83004 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -80796,7 +80829,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderText__C2207_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderText__C55219_VT)) failedCast(r0); r0 = (s.arg6 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -80816,26 +80849,26 @@ switch (step) { s.arg7 = (r0); case 3: case 4: - s.currentTextIndex___29974 = (0); - s.i___29975 = (s.arg6); + s.currentTextIndex___83003 = (0); + s.i___83004 = (s.arg6); case 5: - r0 = (s.i___29975 < s.arg7); + r0 = (s.i___83004 < s.arg7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.tmp_1 = sprites_RenderText_drawPartialLine__P2216_mk(s); + s.tmp_1 = sprites_RenderText_drawPartialLine__P55228_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg3; - s.tmp_1.arg4 = s.i___29975; + s.tmp_1.arg4 = s.i___83004; s.tmp_1.arg5 = s.arg4; - s.tmp_1.arg6 = s.currentTextIndex___29974; + s.tmp_1.arg6 = s.currentTextIndex___83003; s.tmp_1.arg7 = s.arg5; s.callLocIdx = 435; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.currentTextIndex___29974 = (r0); + s.currentTextIndex___83003 = (r0); s.tmp_0 = r0 = s.arg3; s.tmp_2 = if_charHeight_1_mk(s); r0 = s.arg0.fields["font"]; @@ -80853,7 +80886,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); s.arg3 = (r0); - r0 = (s.currentTextIndex___29974 >= s.arg5); + r0 = (s.currentTextIndex___83003 >= s.arg5); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -80861,8 +80894,8 @@ switch (step) { { step = 9; continue; } case 6: case 7: - r0 = (s.i___29975 + 1); - s.i___29975 = (r0); + r0 = (s.i___83004 + 1); + s.i___83004 = (r0); { step = 5; continue; } case 8: r0 = true; @@ -80870,18 +80903,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_RenderText_drawPartial__P2215.info = {"start":1153,"length":639,"line":33,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"drawPartial","argumentNames":["this","canvas","left","top","color","lengthToDraw","lineStart","lineEnd"]} +sprites_RenderText_drawPartial__P55227.info = {"start":1153,"length":639,"line":33,"column":8,"endLine":45,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"drawPartial","argumentNames":["this","canvas","left","top","color","lengthToDraw","lineStart","lineEnd"]} -function sprites_RenderText_drawPartial__P2215_mk(s) { +function sprites_RenderText_drawPartial__P55227_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderText_drawPartial__P2215, depth: s.depth + 1, + parent: s, fn: sprites_RenderText_drawPartial__P55227, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - currentTextIndex___29974: undefined, - i___29975: undefined, + currentTextIndex___83003: undefined, + i___83004: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -80896,7 +80929,7 @@ function sprites_RenderText_drawPartial__P2215_mk(s) { -function sprites_RenderText_drawPartialLine__P2216(s) { +function sprites_RenderText_drawPartialLine__P55228(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -80906,9 +80939,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___30009 = undefined; - s.end___30013 = undefined; - s.i___30017 = undefined; + s.start___83038 = undefined; + s.end___83042 = undefined; + s.i___83046 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -80921,32 +80954,32 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderText__C2207_VT)) failedCast(r0); - s.tmp_0 = sprites_RenderText_lineStart__P2222_mk(s); + if (!checkSubtype(r0, sprites_RenderText__C55219_VT)) failedCast(r0); + s.tmp_0 = sprites_RenderText_lineStart__P55234_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.callLocIdx = 437; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.start___30009 = (r0); - s.tmp_0 = sprites_RenderText_lineEnd__P2221_mk(s); + s.start___83038 = (r0); + s.tmp_0 = sprites_RenderText_lineEnd__P55233_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.callLocIdx = 438; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.end___30013 = (r0); - s.i___30017 = (s.start___30009); + s.end___83042 = (r0); + s.i___83046 = (s.start___83038); case 1: - r0 = (s.i___30017 < s.end___30013); + r0 = (s.i___83046 < s.end___83042); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = helpers_imagePrint__P1971_mk(s); + s.tmp_1 = helpers_imagePrint__P54983_mk(s); s.tmp_1.arg0 = s.arg1; r0 = s.arg0.fields["text"]; s.tmp_2 = r0; - r0 = pxsim_String_.charAt(s.tmp_2, s.i___30017); + r0 = pxsim_String_.charAt(s.tmp_2, s.i___83046); s.tmp_1.arg1 = r0; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg3; @@ -80975,7 +81008,7 @@ switch (step) { r0 = (s.tmp_0 + s.tmp_1); s.arg2 = (r0); s.tmp_2 = r0 = s.arg6; - r0 = (s.i___30017 - s.start___30009); + r0 = (s.i___83046 - s.start___83038); s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); s.tmp_1 = r0; @@ -80987,31 +81020,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___30017 + 1); - s.i___30017 = (r0); + r0 = (s.i___83046 + 1); + s.i___83046 = (r0); { step = 1; continue; } case 4: - r0 = (s.arg6 + s.end___30013); + r0 = (s.arg6 + s.end___83042); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.start___30009); + r0 = (s.tmp_0 - s.start___83038); case 5: return leave(s, r0) default: oops() } } } -sprites_RenderText_drawPartialLine__P2216.info = {"start":1802,"length":622,"line":47,"column":8,"endLine":60,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"drawPartialLine","argumentNames":["this","canvas","left","top","lineIndex","color","currentTextIndex","lengthToDraw"]} +sprites_RenderText_drawPartialLine__P55228.info = {"start":1802,"length":622,"line":47,"column":8,"endLine":60,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"drawPartialLine","argumentNames":["this","canvas","left","top","lineIndex","color","currentTextIndex","lengthToDraw"]} -function sprites_RenderText_drawPartialLine__P2216_mk(s) { +function sprites_RenderText_drawPartialLine__P55228_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderText_drawPartialLine__P2216, depth: s.depth + 1, + parent: s, fn: sprites_RenderText_drawPartialLine__P55228, 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, - start___30009: undefined, - end___30013: undefined, - i___30017: undefined, + start___83038: undefined, + end___83042: undefined, + i___83046: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -81026,7 +81059,7 @@ function sprites_RenderText_drawPartialLine__P2216_mk(s) { -function sprites_RenderTextAnimation_currentWidth__P2232(s) { +function sprites_RenderTextAnimation_currentWidth__P55244(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81041,7 +81074,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderTextAnimation__C2225_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderTextAnimation__C55237_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === 1); @@ -81063,20 +81096,20 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - s.tmp_7 = sprites_RenderText_widthOfLines__P2224_mk(s); + s.tmp_7 = sprites_RenderText_widthOfLines__P55236_mk(s); r0 = s.arg0.fields["text"]; s.tmp_7.arg0 = r0; r0 = s.arg0.fields["pageLine"]; s.tmp_7.arg1 = r0; r0 = s.arg0.fields["pageLine"]; s.tmp_9 = r0; - s.tmp_12 = sprites_RenderTextAnimation_currentHeight__P2231_mk(s); + s.tmp_12 = sprites_RenderTextAnimation_currentHeight__P55243_mk(s); s.tmp_12.arg0 = s.arg0; s.callLocIdx = 487; s.pc = 4; return s.tmp_12; case 4: r0 = s.retval; s.tmp_11 = r0; - s.tmp_14 = sprites_RenderText_lineHeight__P2218_mk(s); + s.tmp_14 = sprites_RenderText_lineHeight__P55230_mk(s); r0 = s.arg0.fields["text"]; s.tmp_14.arg0 = r0; s.callLocIdx = 488; s.pc = 5; return s.tmp_14; @@ -81096,12 +81129,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_RenderTextAnimation_currentWidth__P2232.info = {"start":10131,"length":308,"line":286,"column":8,"endLine":292,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"currentWidth","argumentNames":["this"]} +sprites_RenderTextAnimation_currentWidth__P55244.info = {"start":10131,"length":308,"line":286,"column":8,"endLine":292,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"currentWidth","argumentNames":["this"]} -function sprites_RenderTextAnimation_currentWidth__P2232_mk(s) { +function sprites_RenderTextAnimation_currentWidth__P55244_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderTextAnimation_currentWidth__P2232, depth: s.depth + 1, + parent: s, fn: sprites_RenderTextAnimation_currentWidth__P55244, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81125,7 +81158,7 @@ function sprites_RenderTextAnimation_currentWidth__P2232_mk(s) { -function sprites_RenderText_widthOfLines__P2224(s) { +function sprites_RenderText_widthOfLines__P55236(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81135,9 +81168,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.width___30480 = undefined; - s.fullTextOffset___30481 = undefined; - s.i___30482 = undefined; + s.width___83509 = undefined; + s.fullTextOffset___83510 = undefined; + s.i___83511 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -81146,7 +81179,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderText__C2207_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderText__C55219_VT)) failedCast(r0); r0 = s.arg0.fields["linebreaks"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); @@ -81155,7 +81188,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = sprites_RenderText_widthOfLine__P2223_mk(s); + s.tmp_3 = sprites_RenderText_widthOfLine__P55235_mk(s); s.tmp_3.arg0 = s.arg0; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = s.arg3; @@ -81165,11 +81198,11 @@ switch (step) { { step = 11; continue; } case 1: case 2: - s.width___30480 = (0); - s.i___30482 = (s.arg1); + s.width___83509 = (0); + s.i___83511 = (s.arg1); case 3: - s.tmp_1 = r0 = s.i___30482; - s.tmp_3 = Math_min__P131_mk(s); + s.tmp_1 = r0 = s.i___83511; + s.tmp_3 = Math_min__P53143_mk(s); s.tmp_3.arg0 = s.arg2; r0 = s.arg0.fields["linebreaks"]; s.tmp_5 = r0; @@ -81189,26 +81222,26 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 4; continue; } - s.tmp_8 = sprites_RenderText_lineStart__P2222_mk(s); + s.tmp_8 = sprites_RenderText_lineStart__P55234_mk(s); s.tmp_8.arg0 = s.arg0; - s.tmp_8.arg1 = s.i___30482; + s.tmp_8.arg1 = s.i___83511; s.callLocIdx = 464; s.pc = 14; return s.tmp_8; case 14: r0 = s.retval; s.tmp_7 = r0; r0 = (s.tmp_7 + s.arg3); - s.fullTextOffset___30481 = (r0); + s.fullTextOffset___83510 = (r0); s.tmp_0 = r0 = s.arg3; - s.tmp_3 = sprites_RenderText_lineEnd__P2221_mk(s); + s.tmp_3 = sprites_RenderText_lineEnd__P55233_mk(s); s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.i___30482; + s.tmp_3.arg1 = s.i___83511; s.callLocIdx = 465; s.pc = 15; return s.tmp_3; case 15: r0 = s.retval; s.tmp_2 = r0; - s.tmp_5 = sprites_RenderText_lineStart__P2222_mk(s); + s.tmp_5 = sprites_RenderText_lineStart__P55234_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.i___30482; + s.tmp_5.arg1 = s.i___83511; s.callLocIdx = 466; s.pc = 16; return s.tmp_5; case 16: r0 = s.retval; @@ -81219,21 +81252,21 @@ switch (step) { s.arg3 = (r0); case 4: case 5: - r0 = (s.fullTextOffset___30481 !== undefined); + r0 = (s.fullTextOffset___83510 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 6; continue; } r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_2 = sprites_RenderText_lineStart__P2222_mk(s); + s.tmp_2 = sprites_RenderText_lineStart__P55234_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.i___30482; + s.tmp_2.arg1 = s.i___83511; s.callLocIdx = 467; s.pc = 17; return s.tmp_2; case 17: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.fullTextOffset___30481); + r0 = (s.tmp_1 > s.fullTextOffset___83510); case 7: // jmp value (already in r0) s.tmp_3 = r0; @@ -81242,12 +81275,12 @@ switch (step) { { step = 10; continue; } case 8: case 9: - s.tmp_4 = Math_max__P130_mk(s); - s.tmp_4.arg0 = s.width___30480; - s.tmp_5 = sprites_RenderText_widthOfLine__P2223_mk(s); + s.tmp_4 = Math_max__P53142_mk(s); + s.tmp_4.arg0 = s.width___83509; + s.tmp_5 = sprites_RenderText_widthOfLine__P55235_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.i___30482; - s.tmp_5.arg2 = s.fullTextOffset___30481; + s.tmp_5.arg1 = s.i___83511; + s.tmp_5.arg2 = s.fullTextOffset___83510; s.callLocIdx = 468; s.pc = 19; return s.tmp_5; case 19: r0 = s.retval; @@ -81255,22 +81288,22 @@ switch (step) { s.callLocIdx = 469; s.pc = 18; return s.tmp_4; case 18: r0 = s.retval; - s.width___30480 = (r0); - r0 = (s.i___30482 + 1); - s.i___30482 = (r0); + s.width___83509 = (r0); + r0 = (s.i___83511 + 1); + s.i___83511 = (r0); { step = 3; continue; } case 10: - r0 = s.width___30480; + r0 = s.width___83509; case 11: return leave(s, r0) default: oops() } } } -sprites_RenderText_widthOfLines__P2224.info = {"start":5471,"length":747,"line":145,"column":8,"endLine":159,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"widthOfLines","argumentNames":["this","lineStartIndex","lineEndIndex","offset"]} +sprites_RenderText_widthOfLines__P55236.info = {"start":5471,"length":747,"line":145,"column":8,"endLine":159,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"widthOfLines","argumentNames":["this","lineStartIndex","lineEndIndex","offset"]} -function sprites_RenderText_widthOfLines__P2224_mk(s) { +function sprites_RenderText_widthOfLines__P55236_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderText_widthOfLines__P2224, depth: s.depth + 1, + parent: s, fn: sprites_RenderText_widthOfLines__P55236, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81281,9 +81314,9 @@ function sprites_RenderText_widthOfLines__P2224_mk(s) { tmp_6: undefined, tmp_7: undefined, tmp_8: undefined, - width___30480: undefined, - fullTextOffset___30481: undefined, - i___30482: undefined, + width___83509: undefined, + fullTextOffset___83510: undefined, + i___83511: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -81294,7 +81327,7 @@ function sprites_RenderText_widthOfLines__P2224_mk(s) { -function sprites_RenderText_widthOfLine__P2223(s) { +function sprites_RenderText_widthOfLine__P55235(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81311,13 +81344,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderText__C2207_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderText__C55219_VT)) failedCast(r0); r0 = (s.arg2 != undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_min__P131_mk(s); - s.tmp_4 = sprites_RenderText_lineEnd__P2221_mk(s); + s.tmp_3 = Math_min__P53143_mk(s); + s.tmp_4 = sprites_RenderText_lineEnd__P55233_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; s.callLocIdx = 455; s.pc = 5; return s.tmp_4; @@ -81330,7 +81363,7 @@ switch (step) { case 4: r0 = s.retval; s.tmp_2 = r0; - s.tmp_6 = sprites_RenderText_lineStart__P2222_mk(s); + s.tmp_6 = sprites_RenderText_lineStart__P55234_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = s.arg1; s.callLocIdx = 457; s.pc = 6; return s.tmp_6; @@ -81357,14 +81390,14 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_11 = sprites_RenderText_lineEnd__P2221_mk(s); + s.tmp_11 = sprites_RenderText_lineEnd__P55233_mk(s); s.tmp_11.arg0 = s.arg0; s.tmp_11.arg1 = s.arg1; s.callLocIdx = 459; s.pc = 8; return s.tmp_11; case 8: r0 = s.retval; s.tmp_10 = r0; - s.tmp_13 = sprites_RenderText_lineStart__P2222_mk(s); + s.tmp_13 = sprites_RenderText_lineStart__P55234_mk(s); s.tmp_13.arg0 = s.arg0; s.tmp_13.arg1 = s.arg1; s.callLocIdx = 460; s.pc = 9; return s.tmp_13; @@ -81392,12 +81425,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_RenderText_widthOfLine__P2223.info = {"start":5107,"length":354,"line":138,"column":8,"endLine":143,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"widthOfLine","argumentNames":["this","lineIndex","fullTextOffset"]} +sprites_RenderText_widthOfLine__P55235.info = {"start":5107,"length":354,"line":138,"column":8,"endLine":143,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"widthOfLine","argumentNames":["this","lineIndex","fullTextOffset"]} -function sprites_RenderText_widthOfLine__P2223_mk(s) { +function sprites_RenderText_widthOfLine__P55235_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderText_widthOfLine__P2223, depth: s.depth + 1, + parent: s, fn: sprites_RenderText_widthOfLine__P55235, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81424,7 +81457,7 @@ function sprites_RenderText_widthOfLine__P2223_mk(s) { -function sprites_RenderTextAnimation_currentHeight__P2231(s) { +function sprites_RenderTextAnimation_currentHeight__P55243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81434,26 +81467,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.minHeight___30563 = undefined; - s.maxHeight___30568 = undefined; + s.minHeight___83592 = undefined; + s.maxHeight___83597 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderTextAnimation__C2225_VT)) failedCast(r0); - s.tmp_0 = sprites_RenderText_lineHeight__P2218_mk(s); + if (!checkSubtype(r0, sprites_RenderTextAnimation__C55237_VT)) failedCast(r0); + s.tmp_0 = sprites_RenderText_lineHeight__P55230_mk(s); r0 = s.arg0.fields["text"]; s.tmp_0.arg0 = r0; s.callLocIdx = 478; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.minHeight___30563 = (r0); - s.tmp_0 = Math_max__P130_mk(s); - s.tmp_2 = Math_min__P131_mk(s); + s.minHeight___83592 = (r0); + s.tmp_0 = Math_max__P53142_mk(s); + s.tmp_2 = Math_min__P53143_mk(s); r0 = s.arg0.fields["height"]; s.tmp_4 = r0; - s.tmp_6 = sprites_RenderText_lineHeight__P2218_mk(s); + s.tmp_6 = sprites_RenderText_lineHeight__P55230_mk(s); r0 = s.arg0.fields["text"]; s.tmp_6.arg0 = r0; s.callLocIdx = 479; s.pc = 9; return s.tmp_6; @@ -81479,7 +81512,7 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - s.tmp_12 = sprites_RenderText_lineHeight__P2218_mk(s); + s.tmp_12 = sprites_RenderText_lineHeight__P55230_mk(s); r0 = s.arg0.fields["text"]; s.tmp_12.arg0 = r0; s.callLocIdx = 481; s.pc = 10; return s.tmp_12; @@ -81488,20 +81521,20 @@ switch (step) { s.tmp_11 = r0; r0 = (s.tmp_1 * s.tmp_11); s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.minHeight___30563; + s.tmp_0.arg1 = s.minHeight___83592; s.callLocIdx = 482; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.maxHeight___30568 = (r0); + s.maxHeight___83597 = (r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = Math_max__P130_mk(s); - s.tmp_3 = Math_min__P131_mk(s); - s.tmp_4 = sprites_RenderText_calculatePartialHeight__P2217_mk(s); + s.tmp_2 = Math_max__P53142_mk(s); + s.tmp_3 = Math_min__P53143_mk(s); + s.tmp_4 = sprites_RenderText_calculatePartialHeight__P55229_mk(s); r0 = s.arg0.fields["text"]; s.tmp_4.arg0 = r0; r0 = s.arg0.fields["pageLine"]; @@ -81520,12 +81553,12 @@ switch (step) { case 13: r0 = s.retval; s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.maxHeight___30568; + s.tmp_3.arg1 = s.maxHeight___83597; s.callLocIdx = 485; s.pc = 12; return s.tmp_3; case 12: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.minHeight___30563; + s.tmp_2.arg1 = s.minHeight___83592; s.callLocIdx = 486; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; @@ -81538,7 +81571,7 @@ switch (step) { s.tmp_9 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_9); if (!r0) { step = 2; continue; } - r0 = s.maxHeight___30568; + r0 = s.maxHeight___83597; { step = 5; continue; } { step = 3; continue; } case 2: @@ -81551,12 +81584,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_RenderTextAnimation_currentHeight__P2231.info = {"start":9294,"length":827,"line":261,"column":8,"endLine":284,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"currentHeight","argumentNames":["this"]} +sprites_RenderTextAnimation_currentHeight__P55243.info = {"start":9294,"length":827,"line":261,"column":8,"endLine":284,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"currentHeight","argumentNames":["this"]} -function sprites_RenderTextAnimation_currentHeight__P2231_mk(s) { +function sprites_RenderTextAnimation_currentHeight__P55243_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderTextAnimation_currentHeight__P2231, depth: s.depth + 1, + parent: s, fn: sprites_RenderTextAnimation_currentHeight__P55243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81571,8 +81604,8 @@ function sprites_RenderTextAnimation_currentHeight__P2231_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - minHeight___30563: undefined, - maxHeight___30568: undefined, + minHeight___83592: undefined, + maxHeight___83597: undefined, arg0: undefined, } } @@ -81580,7 +81613,7 @@ function sprites_RenderTextAnimation_currentHeight__P2231_mk(s) { -function sprites_RenderText_calculatePartialHeight__P2217(s) { +function sprites_RenderText_calculatePartialHeight__P55229(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81590,8 +81623,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___30625 = undefined; - s.i___30626 = undefined; + s.current___83654 = undefined; + s.i___83655 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -81599,7 +81632,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderText__C2207_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderText__C55219_VT)) failedCast(r0); r0 = s.arg0.fields["linebreaks"]; s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); @@ -81624,10 +81657,10 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.current___30625 = (0); - s.i___30626 = (s.arg1); + s.current___83654 = (0); + s.i___83655 = (s.arg1); case 3: - s.tmp_1 = r0 = s.i___30626; + s.tmp_1 = r0 = s.i___83655; r0 = s.arg0.fields["linebreaks"]; s.tmp_4 = r0; r0 = pxsim_Array__length(s.tmp_4); @@ -81638,17 +81671,17 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_5 = r0 = s.current___30625; - s.tmp_8 = sprites_RenderText_lineEnd__P2221_mk(s); + s.tmp_5 = r0 = s.current___83654; + s.tmp_8 = sprites_RenderText_lineEnd__P55233_mk(s); s.tmp_8.arg0 = s.arg0; - s.tmp_8.arg1 = s.i___30626; + s.tmp_8.arg1 = s.i___83655; s.callLocIdx = 442; s.pc = 9; return s.tmp_8; case 9: r0 = s.retval; s.tmp_7 = r0; - s.tmp_10 = sprites_RenderText_lineStart__P2222_mk(s); + s.tmp_10 = sprites_RenderText_lineStart__P55234_mk(s); s.tmp_10.arg0 = s.arg0; - s.tmp_10.arg1 = s.i___30626; + s.tmp_10.arg1 = s.i___83655; s.callLocIdx = 443; s.pc = 10; return s.tmp_10; case 10: r0 = s.retval; @@ -81656,12 +81689,12 @@ switch (step) { r0 = (s.tmp_7 - s.tmp_9); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); - s.current___30625 = (r0); - r0 = (s.current___30625 > s.arg2); + s.current___83654 = (r0); + r0 = (s.current___83654 > s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = (s.i___30626 - s.arg1); + r0 = (s.i___83655 - s.arg1); s.tmp_2 = r0; r0 = (s.tmp_2 + 1); s.tmp_1 = r0; @@ -81683,8 +81716,8 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___30626 + 1); - s.i___30626 = (r0); + r0 = (s.i___83655 + 1); + s.i___83655 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["height"]; @@ -81692,12 +81725,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_RenderText_calculatePartialHeight__P2217.info = {"start":2434,"length":460,"line":62,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"calculatePartialHeight","argumentNames":["this","startLine","lengthToDraw"]} +sprites_RenderText_calculatePartialHeight__P55229.info = {"start":2434,"length":460,"line":62,"column":8,"endLine":72,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"calculatePartialHeight","argumentNames":["this","startLine","lengthToDraw"]} -function sprites_RenderText_calculatePartialHeight__P2217_mk(s) { +function sprites_RenderText_calculatePartialHeight__P55229_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderText_calculatePartialHeight__P2217, depth: s.depth + 1, + parent: s, fn: sprites_RenderText_calculatePartialHeight__P55229, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -81710,8 +81743,8 @@ function sprites_RenderText_calculatePartialHeight__P2217_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - current___30625: undefined, - i___30626: undefined, + current___83654: undefined, + i___83655: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -81721,7 +81754,7 @@ function sprites_RenderText_calculatePartialHeight__P2217_mk(s) { -function sprites_RenderText_draw__P2213(s) { +function sprites_RenderText_draw__P55225(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81731,7 +81764,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___29757 = undefined; + s.i___82786 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -81743,7 +81776,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderText__C2207_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_RenderText__C55219_VT)) failedCast(r0); r0 = (s.arg5 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -81763,18 +81796,18 @@ switch (step) { s.arg6 = (r0); case 3: case 4: - s.i___29757 = (s.arg5); + s.i___82786 = (s.arg5); case 5: - r0 = (s.i___29757 < s.arg6); + r0 = (s.i___82786 < s.arg6); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.tmp_1 = sprites_RenderText_drawLine__P2214_mk(s); + s.tmp_1 = sprites_RenderText_drawLine__P55226_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg3; - s.tmp_1.arg4 = s.i___29757; + s.tmp_1.arg4 = s.i___82786; s.tmp_1.arg5 = s.arg4; s.callLocIdx = 429; s.pc = 7; return s.tmp_1; case 7: @@ -81796,25 +81829,25 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); s.arg3 = (r0); - r0 = (s.i___29757 + 1); - s.i___29757 = (r0); + r0 = (s.i___82786 + 1); + s.i___82786 = (r0); { step = 5; continue; } case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_RenderText_draw__P2213.info = {"start":327,"length":420,"line":13,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"draw","argumentNames":["this","canvas","left","top","color","lineStart","lineEnd"]} +sprites_RenderText_draw__P55225.info = {"start":327,"length":420,"line":13,"column":8,"endLine":21,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"draw","argumentNames":["this","canvas","left","top","color","lineStart","lineEnd"]} -function sprites_RenderText_draw__P2213_mk(s) { +function sprites_RenderText_draw__P55225_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderText_draw__P2213, depth: s.depth + 1, + parent: s, fn: sprites_RenderText_draw__P55225, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___29757: undefined, + i___82786: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -81828,7 +81861,7 @@ function sprites_RenderText_draw__P2213_mk(s) { -function sprites_RenderText_drawLine__P2214(s) { +function sprites_RenderText_drawLine__P55226(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -81838,9 +81871,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.start___29783 = undefined; - s.end___29787 = undefined; - s.i___29791 = undefined; + s.start___82812 = undefined; + s.end___82816 = undefined; + s.i___82820 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -81851,32 +81884,32 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_RenderText__C2207_VT)) failedCast(r0); - s.tmp_0 = sprites_RenderText_lineStart__P2222_mk(s); + if (!checkSubtype(r0, sprites_RenderText__C55219_VT)) failedCast(r0); + s.tmp_0 = sprites_RenderText_lineStart__P55234_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.callLocIdx = 431; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.start___29783 = (r0); - s.tmp_0 = sprites_RenderText_lineEnd__P2221_mk(s); + s.start___82812 = (r0); + s.tmp_0 = sprites_RenderText_lineEnd__P55233_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.callLocIdx = 432; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.end___29787 = (r0); - s.i___29791 = (s.start___29783); + s.end___82816 = (r0); + s.i___82820 = (s.start___82812); case 1: - r0 = (s.i___29791 < s.end___29787); + r0 = (s.i___82820 < s.end___82816); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = helpers_imagePrint__P1971_mk(s); + s.tmp_1 = helpers_imagePrint__P54983_mk(s); s.tmp_1.arg0 = s.arg1; r0 = s.arg0.fields["text"]; s.tmp_2 = r0; - r0 = pxsim_String_.charAt(s.tmp_2, s.i___29791); + r0 = pxsim_String_.charAt(s.tmp_2, s.i___82820); s.tmp_1.arg1 = r0; s.tmp_1.arg2 = s.arg2; s.tmp_1.arg3 = s.arg3; @@ -81904,27 +81937,27 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); s.arg2 = (r0); - r0 = (s.i___29791 + 1); - s.i___29791 = (r0); + r0 = (s.i___82820 + 1); + s.i___82820 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_RenderText_drawLine__P2214.info = {"start":757,"length":386,"line":23,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"drawLine","argumentNames":["this","canvas","left","top","lineIndex","color"]} +sprites_RenderText_drawLine__P55226.info = {"start":757,"length":386,"line":23,"column":8,"endLine":31,"endColumn":9,"fileName":"pxt_modules/game/renderText.ts","functionName":"drawLine","argumentNames":["this","canvas","left","top","lineIndex","color"]} -function sprites_RenderText_drawLine__P2214_mk(s) { +function sprites_RenderText_drawLine__P55226_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_RenderText_drawLine__P2214, depth: s.depth + 1, + parent: s, fn: sprites_RenderText_drawLine__P55226, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - start___29783: undefined, - end___29787: undefined, - i___29791: undefined, + start___82812: undefined, + end___82816: undefined, + i___82820: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -82093,7 +82126,7 @@ function if_yOffset_1_mk(s) { } } -function Sprite__C2321_v5_1_mk(s) { +function Sprite__C55333_v5_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82107,7 +82140,7 @@ function Sprite__C2321_v5_1_mk(s) { } } -function Sprite__C2321_v4_1_mk(s) { +function Sprite__C55333_v4_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82121,7 +82154,7 @@ function Sprite__C2321_v4_1_mk(s) { } } -function game_Dialog__C2901_v1_2_mk(s) { +function game_Dialog__C55913_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82136,7 +82169,7 @@ function game_Dialog__C2901_v1_2_mk(s) { } } -function game_BaseDialog__C2883_v0_1_mk(s) { +function game_BaseDialog__C55895_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82150,7 +82183,7 @@ function game_BaseDialog__C2883_v0_1_mk(s) { } } -function controller_Button__C2170_v0_1_mk(s) { +function controller_Button__C55182_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82164,7 +82197,7 @@ function controller_Button__C2170_v0_1_mk(s) { } } -function PhysicsEngine__C2491_v4_2_mk(s) { +function PhysicsEngine__C55503_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82195,7 +82228,7 @@ function if___update_3_mk(s) { } } -function PhysicsEngine__C2491_v3_1_mk(s) { +function PhysicsEngine__C55503_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82294,7 +82327,7 @@ function if_vy_1_mk(s) { } } -function game_BaseDialog__C2883_v2_1_mk(s) { +function game_BaseDialog__C55895_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82308,7 +82341,7 @@ function game_BaseDialog__C2883_v2_1_mk(s) { } } -function PhysicsEngine__C2491_v2_4_mk(s) { +function PhysicsEngine__C55503_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82342,7 +82375,7 @@ function lambda_4_mk(s) { } } -function game_SplashDialog__C2912_v1_2_mk(s) { +function game_SplashDialog__C55924_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82430,7 +82463,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C3167_v0_2_mk(s) { +function particles_ParticleFactory__C56179_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82445,7 +82478,7 @@ function particles_ParticleFactory__C3167_v0_2_mk(s) { } } -function particles_ParticleSource__C3131_v4_3_mk(s) { +function particles_ParticleSource__C56143_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82563,7 +82596,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C2491_v1_2_mk(s) { +function PhysicsEngine__C55503_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82621,7 +82654,7 @@ function if_startScreenEffect_1_mk(s) { } } -function game_GameOverDialog__C2926_v0_1_mk(s) { +function game_GameOverDialog__C55938_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82635,7 +82668,7 @@ function game_GameOverDialog__C2926_v0_1_mk(s) { } } -function game_GameOverDialog__C2926_v2_1_mk(s) { +function game_GameOverDialog__C55938_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82677,7 +82710,7 @@ function if_lifeZeroHandler_1_mk(s) { } } -function PhysicsEngine__C2491_v0_2_mk(s) { +function PhysicsEngine__C55503_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82721,7 +82754,7 @@ function if_animations_1_mk(s) { } } -function animation_SpriteAnimation__C3332_v0_1_mk(s) { +function animation_SpriteAnimation__C56344_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82767,7 +82800,7 @@ function lambda_5_mk(s) { } } -function music_Playable__C1896_v0_2_mk(s) { +function music_Playable__C54908_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -82782,7 +82815,7 @@ function music_Playable__C1896_v0_2_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C2240_v2_1_mk(s) { +function sprites_BaseSpriteSayRenderer__C55252_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83179,7 +83212,7 @@ function if_top_1_mk(s) { } } -function particles_ParticleFactory__C3167_v1_4_mk(s) { +function particles_ParticleFactory__C56179_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83196,7 +83229,7 @@ function particles_ParticleFactory__C3167_v1_4_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C2240_v1_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C55252_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83213,7 +83246,7 @@ function sprites_BaseSpriteSayRenderer__C2240_v1_4_mk(s) { } } -function sprites_BaseSprite__C2075_v0_1_mk(s) { +function sprites_BaseSprite__C55087_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83227,7 +83260,7 @@ function sprites_BaseSprite__C2075_v0_1_mk(s) { } } -function sprites_BaseSprite__C2075_v2_2_mk(s) { +function sprites_BaseSprite__C55087_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83256,7 +83289,7 @@ function if_shouldBeVisible_1_mk(s) { } } -function Sprite__C2321_v6_3_mk(s) { +function Sprite__C55333_v6_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83272,7 +83305,7 @@ function Sprite__C2321_v6_3_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C2240_v0_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C55252_v0_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -83344,7 +83377,7 @@ function if_state_1_mk(s) { arg0: undefined, } } -const controller_Controller__C2115_VT = mkVTable({ +const controller_Controller__C55127_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 16, @@ -83363,29 +83396,29 @@ const controller_Controller__C2115_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P2120, - "set/_controlledSprites": controller_Controller__controlledSprites__P2121, - "id": controller_Controller_id__P2122, - "left": controller_Controller_left__P2124, - "right": controller_Controller_right__P2125, - "up": controller_Controller_up__P2126, - "down": controller_Controller_down__P2127, - "_moveSpriteInternal": controller_Controller__moveSpriteInternal__P2133, - "button": controller_Controller_button__P4803, - "connected": controller_Controller_connected__P2136, - "set/connected": controller_Controller_connected__P2137, - "__preUpdate": controller_Controller___preUpdate__P2143, - "__update": controller_Controller___update__P2144, + "_controlledSprites": controller_Controller__controlledSprites__P55132, + "set/_controlledSprites": controller_Controller__controlledSprites__P55133, + "id": controller_Controller_id__P55134, + "left": controller_Controller_left__P55136, + "right": controller_Controller_right__P55137, + "up": controller_Controller_up__P55138, + "down": controller_Controller_down__P55139, + "_moveSpriteInternal": controller_Controller__moveSpriteInternal__P55145, + "button": controller_Controller_button__P57816, + "connected": controller_Controller_connected__P55148, + "set/connected": controller_Controller_connected__P55149, + "__preUpdate": controller_Controller___preUpdate__P55155, + "__update": controller_Controller___update__P55156, }, }); -const controller_Button__C2170_VT = mkVTable({ +const controller_Button__C55182_VT = mkVTable({ name: "Button", numFields: 7, classNo: 17, lastSubtypeNo: 18, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P2181, + "isPressed": controller_Button_isPressed__P55193, }, iface: { "_owner": null, @@ -83402,29 +83435,29 @@ const controller_Button__C2170_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "handlerState": controller_Button_handlerState__P4806, - "toString": controller_Button_toString__P2175, - "raiseButtonUp": controller_Button_raiseButtonUp__P4807, - "raiseButtonDown": controller_Button_raiseButtonDown__P4808, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4809, - "onEvent": controller_Button_onEvent__P2177, - "isPressed": controller_Button_isPressed__P2181, - "pressureLevel": controller_Button_pressureLevel__P2182, - "setPressed": controller_Button_setPressed__P2183, - "__update": controller_Button___update__P2184, - "runButtonEvents": controller_Button_runButtonEvents__P4810, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P4811, + "handlerState": controller_Button_handlerState__P57819, + "toString": controller_Button_toString__P55187, + "raiseButtonUp": controller_Button_raiseButtonUp__P57820, + "raiseButtonDown": controller_Button_raiseButtonDown__P57821, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P57822, + "onEvent": controller_Button_onEvent__P55189, + "isPressed": controller_Button_isPressed__P55193, + "pressureLevel": controller_Button_pressureLevel__P55194, + "setPressed": controller_Button_setPressed__P55195, + "__update": controller_Button___update__P55196, + "runButtonEvents": controller_Button_runButtonEvents__P57823, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P57824, }, - toStringMethod: controller_Button_toString__P2175, + toStringMethod: controller_Button_toString__P55187, }); -const controller_AnyButton__C4804_VT = mkVTable({ +const controller_AnyButton__C57817_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 18, lastSubtypeNo: 18, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P4812, + "isPressed": controller_AnyButton_isPressed__P57825, }, iface: { "_owner": null, @@ -83441,21 +83474,21 @@ const controller_AnyButton__C4804_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P4812, - "handlerState": controller_Button_handlerState__P4806, - "toString": controller_Button_toString__P2175, - "raiseButtonUp": controller_Button_raiseButtonUp__P4807, - "raiseButtonDown": controller_Button_raiseButtonDown__P4808, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P4809, - "onEvent": controller_Button_onEvent__P2177, - "pressureLevel": controller_Button_pressureLevel__P2182, - "setPressed": controller_Button_setPressed__P2183, - "__update": controller_Button___update__P2184, - "runButtonEvents": controller_Button_runButtonEvents__P4810, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P4811, + "isPressed": controller_AnyButton_isPressed__P57825, + "handlerState": controller_Button_handlerState__P57819, + "toString": controller_Button_toString__P55187, + "raiseButtonUp": controller_Button_raiseButtonUp__P57820, + "raiseButtonDown": controller_Button_raiseButtonDown__P57821, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P57822, + "onEvent": controller_Button_onEvent__P55189, + "pressureLevel": controller_Button_pressureLevel__P55194, + "setPressed": controller_Button_setPressed__P55195, + "__update": controller_Button___update__P55196, + "runButtonEvents": controller_Button_runButtonEvents__P57823, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P57824, }, }); -const game_GameOverConfig__C2953_VT = mkVTable({ +const game_GameOverConfig__C55965_VT = mkVTable({ name: "GameOverConfig", numFields: 14, classNo: 19, @@ -83492,17 +83525,17 @@ const game_GameOverConfig__C2953_VT = mkVTable({ "set/messageSetByUser": null, "scoringTypeSetByUser": null, "set/scoringTypeSetByUser": null, - "init": game_GameOverConfig_init__P2969, - "setEffect": game_GameOverConfig_setEffect__P2971, - "getEffect": game_GameOverConfig_getEffect__P2972, - "setSound": game_GameOverConfig_setSound__P2973, - "getSound": game_GameOverConfig_getSound__P2974, - "getSoundLooping": game_GameOverConfig_getSoundLooping__P2975, - "setMessage": game_GameOverConfig_setMessage__P2976, - "getMessage": game_GameOverConfig_getMessage__P2977, + "init": game_GameOverConfig_init__P55981, + "setEffect": game_GameOverConfig_setEffect__P55983, + "getEffect": game_GameOverConfig_getEffect__P55984, + "setSound": game_GameOverConfig_setSound__P55985, + "getSound": game_GameOverConfig_getSound__P55986, + "getSoundLooping": game_GameOverConfig_getSoundLooping__P55987, + "setMessage": game_GameOverConfig_setMessage__P55988, + "getMessage": game_GameOverConfig_getMessage__P55989, }, }); -const Math_FastRandom__C3039_VT = mkVTable({ +const Math_FastRandom__C56051_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 20, @@ -83515,14 +83548,14 @@ const Math_FastRandom__C3039_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P3042, - "randomRange": Math_FastRandom_randomRange__P3043, - "pickRandom": Math_FastRandom_pickRandom__P3044, - "randomBool": Math_FastRandom_randomBool__P3045, - "percentChance": Math_FastRandom_percentChance__P3046, + "next": Math_FastRandom_next__P56054, + "randomRange": Math_FastRandom_randomRange__P56055, + "pickRandom": Math_FastRandom_pickRandom__P56056, + "randomBool": Math_FastRandom_randomBool__P56057, + "percentChance": Math_FastRandom_percentChance__P56058, }, }); -const forestFire_FireState__C7146_VT = mkVTable({ +const forestFire_FireState__C60159_VT = mkVTable({ name: "FireState", numFields: 14, classNo: 21, @@ -83559,59 +83592,59 @@ const forestFire_FireState__C7146_VT = mkVTable({ "set/fireHasStarted": null, "updateHasBeenCalled": null, "set/updateHasBeenCalled": null, - "danger": forestFire_FireState_danger__P7147, - "spreadTime": forestFire_FireState_spreadTime__P7148, - "getRandomSpreadInterval": forestFire_FireState_getRandomSpreadInterval__P7149, - "createFireAtRandomLocation": forestFire_FireState_createFireAtRandomLocation__P7150, - "createFireAtLocation": forestFire_FireState_createFireAtLocation__P7151, - "update": forestFire_FireState_update__P7152, - "updateFireSpread": forestFire_FireState_updateFireSpread__P7153, - "tryFireSpread": forestFire_FireState_tryFireSpread__P7154, - "onFireCreated": forestFire_FireState_onFireCreated__P7155, - "onFireDestroyed": forestFire_FireState_onFireDestroyed__P7156, - "setFireHealth": forestFire_FireState_setFireHealth__P7157, - "changeFireHealth": forestFire_FireState_changeFireHealth__P7158, + "danger": forestFire_FireState_danger__P60160, + "spreadTime": forestFire_FireState_spreadTime__P60161, + "getRandomSpreadInterval": forestFire_FireState_getRandomSpreadInterval__P60162, + "createFireAtRandomLocation": forestFire_FireState_createFireAtRandomLocation__P60163, + "createFireAtLocation": forestFire_FireState_createFireAtLocation__P60164, + "update": forestFire_FireState_update__P60165, + "updateFireSpread": forestFire_FireState_updateFireSpread__P60166, + "tryFireSpread": forestFire_FireState_tryFireSpread__P60167, + "onFireCreated": forestFire_FireState_onFireCreated__P60168, + "onFireDestroyed": forestFire_FireState_onFireDestroyed__P60169, + "setFireHealth": forestFire_FireState_setFireHealth__P60170, + "changeFireHealth": forestFire_FireState_changeFireHealth__P60171, }, }); -const sprites_BaseSprite__C2075_VT = mkVTable({ +const sprites_BaseSprite__C55087_VT = mkVTable({ name: "BaseSprite", numFields: 2, classNo: 22, lastSubtypeNo: 27, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P2078, - "__draw": sprites_BaseSprite___draw__P2081, - "__drawCore": sprites_BaseSprite___drawCore__P2082, - "__update": sprites_BaseSprite___update__P2083, + "__visible": sprites_BaseSprite___visible__P55090, + "__draw": sprites_BaseSprite___draw__P55093, + "__drawCore": sprites_BaseSprite___drawCore__P55094, + "__update": sprites_BaseSprite___update__P55095, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P2078, - "z": sprites_BaseSprite_z__P2079, - "set/z": sprites_BaseSprite_z__P2080, - "__draw": sprites_BaseSprite___draw__P2081, - "__drawCore": sprites_BaseSprite___drawCore__P2082, - "__update": sprites_BaseSprite___update__P2083, + "__visible": sprites_BaseSprite___visible__P55090, + "z": sprites_BaseSprite_z__P55091, + "set/z": sprites_BaseSprite_z__P55092, + "__draw": sprites_BaseSprite___draw__P55093, + "__drawCore": sprites_BaseSprite___drawCore__P55094, + "__update": sprites_BaseSprite___update__P55095, }, }); -const Sprite__C2321_VT = mkVTable({ +const Sprite__C55333_VT = mkVTable({ name: "Sprite", numFields: 30, classNo: 23, lastSubtypeNo: 24, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P2376, - "__draw": sprites_BaseSprite___draw__P2081, - "__drawCore": Sprite___drawCore__P2395, - "__update": Sprite___update__P2396, - "setHitbox": Sprite_setHitbox__P2374, - "recalcSize": Sprite_recalcSize__P4830, - "drawSprite": Sprite_drawSprite__P4834, + "__visible": Sprite___visible__P55388, + "__draw": sprites_BaseSprite___draw__P55093, + "__drawCore": Sprite___drawCore__P55407, + "__update": Sprite___update__P55408, + "setHitbox": Sprite_setHitbox__P55386, + "recalcSize": Sprite_recalcSize__P57843, + "drawSprite": Sprite_drawSprite__P57847, }, iface: { "_z": null, @@ -83674,73 +83707,73 @@ const Sprite__C2321_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P2334, - "set/x": Sprite_x__P2335, - "y": Sprite_y__P2336, - "set/y": Sprite_y__P2337, - "vx": Sprite_vx__P2338, - "set/vx": Sprite_vx__P2339, - "vy": Sprite_vy__P2340, - "set/vy": Sprite_vy__P2341, - "ax": Sprite_ax__P2342, - "set/ax": Sprite_ax__P2343, - "ay": Sprite_ay__P2344, - "set/ay": Sprite_ay__P2345, - "fx": Sprite_fx__P2346, - "set/fx": Sprite_fx__P2347, - "fy": Sprite_fy__P2348, - "set/fy": Sprite_fy__P2349, - "sx": Sprite_sx__P2350, - "sy": Sprite_sy__P2352, - "data": Sprite_data__P2356, - "set/data": Sprite_data__P2357, - "image": Sprite_image__P2370, - "setImage": Sprite_setImage__P2371, - "calcDimensionalHash": Sprite_calcDimensionalHash__P2372, - "resetHitbox": Sprite_resetHitbox__P2373, - "setHitbox": Sprite_setHitbox__P2374, - "isStatic": Sprite_isStatic__P2375, - "__visible": Sprite___visible__P2376, - "recalcSize": Sprite_recalcSize__P4830, - "isScaled": Sprite_isScaled__P4831, - "width": Sprite_width__P2377, - "height": Sprite_height__P2378, - "left": Sprite_left__P2379, - "set/left": Sprite_left__P2380, - "right": Sprite_right__P2381, - "set/right": Sprite_right__P2382, - "top": Sprite_top__P2383, - "set/top": Sprite_top__P2384, - "bottom": Sprite_bottom__P2385, - "set/bottom": Sprite_bottom__P2386, - "kind": Sprite_kind__P2387, - "setKind": Sprite_setKind__P2388, - "setPosition": Sprite_setPosition__P2389, - "setVelocity": Sprite_setVelocity__P2390, - "sayText": Sprite_sayText__P2392, - "startEffect": Sprite_startEffect__P2393, - "isOutOfScreen": Sprite_isOutOfScreen__P2394, - "__drawCore": Sprite___drawCore__P2395, - "__update": Sprite___update__P2396, - "setStayInScreen": Sprite_setStayInScreen__P2397, - "setBounceOnWall": Sprite_setBounceOnWall__P2398, - "setFlag": Sprite_setFlag__P2399, - "overlapsWith": Sprite_overlapsWith__P2400, - "clearObstacles": Sprite_clearObstacles__P2405, - "registerObstacle": Sprite_registerObstacle__P2406, - "destroy": Sprite_destroy__P2408, - "_destroyCore": Sprite__destroyCore__P2409, - "toString": Sprite_toString__P2414, - "drawSay": Sprite_drawSay__P4832, - "drawDebug": Sprite_drawDebug__P4833, - "drawSprite": Sprite_drawSprite__P4834, - "z": sprites_BaseSprite_z__P2079, - "set/z": sprites_BaseSprite_z__P2080, - "__draw": sprites_BaseSprite___draw__P2081, + "x": Sprite_x__P55346, + "set/x": Sprite_x__P55347, + "y": Sprite_y__P55348, + "set/y": Sprite_y__P55349, + "vx": Sprite_vx__P55350, + "set/vx": Sprite_vx__P55351, + "vy": Sprite_vy__P55352, + "set/vy": Sprite_vy__P55353, + "ax": Sprite_ax__P55354, + "set/ax": Sprite_ax__P55355, + "ay": Sprite_ay__P55356, + "set/ay": Sprite_ay__P55357, + "fx": Sprite_fx__P55358, + "set/fx": Sprite_fx__P55359, + "fy": Sprite_fy__P55360, + "set/fy": Sprite_fy__P55361, + "sx": Sprite_sx__P55362, + "sy": Sprite_sy__P55364, + "data": Sprite_data__P55368, + "set/data": Sprite_data__P55369, + "image": Sprite_image__P55382, + "setImage": Sprite_setImage__P55383, + "calcDimensionalHash": Sprite_calcDimensionalHash__P55384, + "resetHitbox": Sprite_resetHitbox__P55385, + "setHitbox": Sprite_setHitbox__P55386, + "isStatic": Sprite_isStatic__P55387, + "__visible": Sprite___visible__P55388, + "recalcSize": Sprite_recalcSize__P57843, + "isScaled": Sprite_isScaled__P57844, + "width": Sprite_width__P55389, + "height": Sprite_height__P55390, + "left": Sprite_left__P55391, + "set/left": Sprite_left__P55392, + "right": Sprite_right__P55393, + "set/right": Sprite_right__P55394, + "top": Sprite_top__P55395, + "set/top": Sprite_top__P55396, + "bottom": Sprite_bottom__P55397, + "set/bottom": Sprite_bottom__P55398, + "kind": Sprite_kind__P55399, + "setKind": Sprite_setKind__P55400, + "setPosition": Sprite_setPosition__P55401, + "setVelocity": Sprite_setVelocity__P55402, + "sayText": Sprite_sayText__P55404, + "startEffect": Sprite_startEffect__P55405, + "isOutOfScreen": Sprite_isOutOfScreen__P55406, + "__drawCore": Sprite___drawCore__P55407, + "__update": Sprite___update__P55408, + "setStayInScreen": Sprite_setStayInScreen__P55409, + "setBounceOnWall": Sprite_setBounceOnWall__P55410, + "setFlag": Sprite_setFlag__P55411, + "overlapsWith": Sprite_overlapsWith__P55412, + "clearObstacles": Sprite_clearObstacles__P55417, + "registerObstacle": Sprite_registerObstacle__P55418, + "destroy": Sprite_destroy__P55420, + "_destroyCore": Sprite__destroyCore__P55421, + "toString": Sprite_toString__P55426, + "drawSay": Sprite_drawSay__P57845, + "drawDebug": Sprite_drawDebug__P57846, + "drawSprite": Sprite_drawSprite__P57847, + "z": sprites_BaseSprite_z__P55091, + "set/z": sprites_BaseSprite_z__P55092, + "__draw": sprites_BaseSprite___draw__P55093, }, - toStringMethod: Sprite_toString__P2414, + toStringMethod: Sprite_toString__P55426, }); -const music_Melody__C1626_VT = mkVTable({ +const music_Melody__C54638_VT = mkVTable({ name: "Melody", numFields: 2, classNo: 28, @@ -83753,19 +83786,19 @@ const music_Melody__C1626_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "stopAll": music_Melody_stopAll__P1628, - "stop": music_Melody_stop__P1631, - "registerMelody": music_Melody_registerMelody__P4582, - "unregisterMelody": music_Melody_unregisterMelody__P4583, - "playCore": music_Melody_playCore__P4584, - "loop": music_Melody_loop__P1632, - "play": music_Melody_play__P1633, - "playUntilDone": music_Melody_playUntilDone__P1634, - "toString": music_Melody_toString__P1635, + "stopAll": music_Melody_stopAll__P54640, + "stop": music_Melody_stop__P54643, + "registerMelody": music_Melody_registerMelody__P57595, + "unregisterMelody": music_Melody_unregisterMelody__P57596, + "playCore": music_Melody_playCore__P57597, + "loop": music_Melody_loop__P54644, + "play": music_Melody_play__P54645, + "playUntilDone": music_Melody_playUntilDone__P54646, + "toString": music_Melody_toString__P54647, }, - toStringMethod: music_Melody_toString__P1635, + toStringMethod: music_Melody_toString__P54647, }); -const tiles_TileMap__C2715_VT = mkVTable({ +const tiles_TileMap__C55727_VT = mkVTable({ name: "TileMap", numFields: 5, classNo: 29, @@ -83784,31 +83817,31 @@ const tiles_TileMap__C2715_VT = mkVTable({ "set/renderable": null, "handlerState": null, "set/handlerState": null, - "scale": tiles_TileMap_scale__P2718, - "set/scale": tiles_TileMap_scale__P2719, - "data": tiles_TileMap_data__P2720, - "offsetX": tiles_TileMap_offsetX__P2721, - "offsetY": tiles_TileMap_offsetY__P2722, - "areaWidth": tiles_TileMap_areaWidth__P2723, - "areaHeight": tiles_TileMap_areaHeight__P2724, - "layer": tiles_TileMap_layer__P2725, - "enabled": tiles_TileMap_enabled__P2727, - "setData": tiles_TileMap_setData__P2728, - "getTile": tiles_TileMap_getTile__P2729, - "getTileIndex": tiles_TileMap_getTileIndex__P2730, - "setTileAt": tiles_TileMap_setTileAt__P2731, - "getImageType": tiles_TileMap_getImageType__P2732, - "getTilesByType": tiles_TileMap_getTilesByType__P2734, - "sampleTilesByType": tiles_TileMap_sampleTilesByType__P2735, - "isInvalidIndex": tiles_TileMap_isInvalidIndex__P4950, - "draw": tiles_TileMap_draw__P4951, - "isObstacle": tiles_TileMap_isObstacle__P2736, - "getObstacle": tiles_TileMap_getObstacle__P2737, - "isOnWall": tiles_TileMap_isOnWall__P2738, - "getTileImage": tiles_TileMap_getTileImage__P2739, + "scale": tiles_TileMap_scale__P55730, + "set/scale": tiles_TileMap_scale__P55731, + "data": tiles_TileMap_data__P55732, + "offsetX": tiles_TileMap_offsetX__P55733, + "offsetY": tiles_TileMap_offsetY__P55734, + "areaWidth": tiles_TileMap_areaWidth__P55735, + "areaHeight": tiles_TileMap_areaHeight__P55736, + "layer": tiles_TileMap_layer__P55737, + "enabled": tiles_TileMap_enabled__P55739, + "setData": tiles_TileMap_setData__P55740, + "getTile": tiles_TileMap_getTile__P55741, + "getTileIndex": tiles_TileMap_getTileIndex__P55742, + "setTileAt": tiles_TileMap_setTileAt__P55743, + "getImageType": tiles_TileMap_getImageType__P55744, + "getTilesByType": tiles_TileMap_getTilesByType__P55746, + "sampleTilesByType": tiles_TileMap_sampleTilesByType__P55747, + "isInvalidIndex": tiles_TileMap_isInvalidIndex__P57963, + "draw": tiles_TileMap_draw__P57964, + "isObstacle": tiles_TileMap_isObstacle__P55748, + "getObstacle": tiles_TileMap_getObstacle__P55749, + "isOnWall": tiles_TileMap_isOnWall__P55750, + "getTileImage": tiles_TileMap_getTileImage__P55751, }, }); -const tiles_Location__C2673_VT = mkVTable({ +const tiles_Location__C55685_VT = mkVTable({ name: "Location", numFields: 2, classNo: 30, @@ -83821,18 +83854,18 @@ const tiles_Location__C2673_VT = mkVTable({ "set/_row": null, "_col": null, "set/_col": null, - "tileMap": tiles_Location_tileMap__P2675, - "column": tiles_Location_column__P2676, - "row": tiles_Location_row__P2677, - "x": tiles_Location_x__P2678, - "y": tiles_Location_y__P2679, - "left": tiles_Location_left__P2680, - "top": tiles_Location_top__P2681, - "tileSet": tiles_Location_tileSet__P2684, - "col": tiles_Location_col__P2685, + "tileMap": tiles_Location_tileMap__P55687, + "column": tiles_Location_column__P55688, + "row": tiles_Location_row__P55689, + "x": tiles_Location_x__P55690, + "y": tiles_Location_y__P55691, + "left": tiles_Location_left__P55692, + "top": tiles_Location_top__P55693, + "tileSet": tiles_Location_tileSet__P55696, + "col": tiles_Location_col__P55697, }, }); -const tiles_TileMapData__C2697_VT = mkVTable({ +const tiles_TileMapData__C55709_VT = mkVTable({ name: "TileMapData", numFields: 7, classNo: 31, @@ -83855,19 +83888,19 @@ const tiles_TileMapData__C2697_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P2699, - "height": tiles_TileMapData_height__P2700, - "scale": tiles_TileMapData_scale__P2701, - "set/scale": tiles_TileMapData_scale__P2702, - "getTile": tiles_TileMapData_getTile__P2703, - "setTile": tiles_TileMapData_setTile__P2704, - "getTileset": tiles_TileMapData_getTileset__P2705, - "getTileImage": tiles_TileMapData_getTileImage__P2706, - "isWall": tiles_TileMapData_isWall__P2708, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P2709, + "width": tiles_TileMapData_width__P55711, + "height": tiles_TileMapData_height__P55712, + "scale": tiles_TileMapData_scale__P55713, + "set/scale": tiles_TileMapData_scale__P55714, + "getTile": tiles_TileMapData_getTile__P55715, + "setTile": tiles_TileMapData_setTile__P55716, + "getTileset": tiles_TileMapData_getTileset__P55717, + "getTileImage": tiles_TileMapData_getTileImage__P55718, + "isWall": tiles_TileMapData_isWall__P55720, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P55721, }, }); -const control_EventContext__C395_VT = mkVTable({ +const control_EventContext__C53407_VT = mkVTable({ name: "EventContext", numFields: 10, classNo: 32, @@ -83896,16 +83929,16 @@ const control_EventContext__C395_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P400, - "runCallbacks": control_EventContext_runCallbacks__P4540, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P4541, - "register": control_EventContext_register__P401, - "unregister": control_EventContext_unregister__P402, - "registerFrameHandler": control_EventContext_registerFrameHandler__P403, - "registerHandler": control_EventContext_registerHandler__P405, + "deltaTime": control_EventContext_deltaTime__P53412, + "runCallbacks": control_EventContext_runCallbacks__P57553, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P57554, + "register": control_EventContext_register__P53413, + "unregister": control_EventContext_unregister__P53414, + "registerFrameHandler": control_EventContext_registerFrameHandler__P53415, + "registerHandler": control_EventContext_registerHandler__P53417, }, }); -const control_FrameCallback__C392_VT = mkVTable({ +const control_FrameCallback__C53404_VT = mkVTable({ name: "FrameCallback", numFields: 2, classNo: 33, @@ -83920,7 +83953,7 @@ const control_FrameCallback__C392_VT = mkVTable({ "set/handler": null, }, }); -const control_PollEvent__C4514_VT = mkVTable({ +const control_PollEvent__C57527_VT = mkVTable({ name: "PollEvent", numFields: 6, classNo: 34, @@ -83943,7 +83976,7 @@ const control_PollEvent__C4514_VT = mkVTable({ "set/once": null, }, }); -const control_EventHandler__C4535_VT = mkVTable({ +const control_EventHandler__C57548_VT = mkVTable({ name: "EventHandler", numFields: 4, classNo: 35, @@ -83960,24 +83993,24 @@ const control_EventHandler__C4535_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P4536, - "unregister": control_EventHandler_unregister__P4537, + "register": control_EventHandler_register__P57549, + "unregister": control_EventHandler_unregister__P57550, }, }); -const StatusBarSprite__C4328_VT = mkVTable({ +const StatusBarSprite__C57341_VT = mkVTable({ name: "StatusBarSprite", numFields: 31, classNo: 24, lastSubtypeNo: 24, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P2376, - "__draw": sprites_BaseSprite___draw__P2081, - "__drawCore": Sprite___drawCore__P2395, - "__update": Sprite___update__P2396, - "setHitbox": Sprite_setHitbox__P2374, - "recalcSize": Sprite_recalcSize__P4830, - "drawSprite": Sprite_drawSprite__P4834, + "__visible": Sprite___visible__P55388, + "__draw": sprites_BaseSprite___draw__P55093, + "__drawCore": Sprite___drawCore__P55407, + "__update": Sprite___update__P55408, + "setHitbox": Sprite_setHitbox__P55386, + "recalcSize": Sprite_recalcSize__P57843, + "drawSprite": Sprite_drawSprite__P57847, }, iface: { "_z": null, @@ -84042,78 +84075,78 @@ const StatusBarSprite__C4328_VT = mkVTable({ "set/destroyHandler": null, "_statusBar": null, "set/_statusBar": null, - "value": StatusBarSprite_value__P4330, - "set/value": StatusBarSprite_value__P4331, - "max": StatusBarSprite_max__P4332, - "set/max": StatusBarSprite_max__P4333, - "setColor": StatusBarSprite_setColor__P4336, - "applyChange": StatusBarSprite_applyChange__P7072, - "x": Sprite_x__P2334, - "set/x": Sprite_x__P2335, - "y": Sprite_y__P2336, - "set/y": Sprite_y__P2337, - "vx": Sprite_vx__P2338, - "set/vx": Sprite_vx__P2339, - "vy": Sprite_vy__P2340, - "set/vy": Sprite_vy__P2341, - "ax": Sprite_ax__P2342, - "set/ax": Sprite_ax__P2343, - "ay": Sprite_ay__P2344, - "set/ay": Sprite_ay__P2345, - "fx": Sprite_fx__P2346, - "set/fx": Sprite_fx__P2347, - "fy": Sprite_fy__P2348, - "set/fy": Sprite_fy__P2349, - "sx": Sprite_sx__P2350, - "sy": Sprite_sy__P2352, - "data": Sprite_data__P2356, - "set/data": Sprite_data__P2357, - "image": Sprite_image__P2370, - "setImage": Sprite_setImage__P2371, - "calcDimensionalHash": Sprite_calcDimensionalHash__P2372, - "resetHitbox": Sprite_resetHitbox__P2373, - "setHitbox": Sprite_setHitbox__P2374, - "isStatic": Sprite_isStatic__P2375, - "__visible": Sprite___visible__P2376, - "recalcSize": Sprite_recalcSize__P4830, - "isScaled": Sprite_isScaled__P4831, - "width": Sprite_width__P2377, - "height": Sprite_height__P2378, - "left": Sprite_left__P2379, - "set/left": Sprite_left__P2380, - "right": Sprite_right__P2381, - "set/right": Sprite_right__P2382, - "top": Sprite_top__P2383, - "set/top": Sprite_top__P2384, - "bottom": Sprite_bottom__P2385, - "set/bottom": Sprite_bottom__P2386, - "kind": Sprite_kind__P2387, - "setKind": Sprite_setKind__P2388, - "setPosition": Sprite_setPosition__P2389, - "setVelocity": Sprite_setVelocity__P2390, - "sayText": Sprite_sayText__P2392, - "startEffect": Sprite_startEffect__P2393, - "isOutOfScreen": Sprite_isOutOfScreen__P2394, - "__drawCore": Sprite___drawCore__P2395, - "__update": Sprite___update__P2396, - "setStayInScreen": Sprite_setStayInScreen__P2397, - "setBounceOnWall": Sprite_setBounceOnWall__P2398, - "setFlag": Sprite_setFlag__P2399, - "overlapsWith": Sprite_overlapsWith__P2400, - "clearObstacles": Sprite_clearObstacles__P2405, - "registerObstacle": Sprite_registerObstacle__P2406, - "destroy": Sprite_destroy__P2408, - "_destroyCore": Sprite__destroyCore__P2409, - "toString": Sprite_toString__P2414, - "drawSay": Sprite_drawSay__P4832, - "drawDebug": Sprite_drawDebug__P4833, - "drawSprite": Sprite_drawSprite__P4834, - "z": sprites_BaseSprite_z__P2079, - "set/z": sprites_BaseSprite_z__P2080, - "__draw": sprites_BaseSprite___draw__P2081, + "value": StatusBarSprite_value__P57343, + "set/value": StatusBarSprite_value__P57344, + "max": StatusBarSprite_max__P57345, + "set/max": StatusBarSprite_max__P57346, + "setColor": StatusBarSprite_setColor__P57349, + "applyChange": StatusBarSprite_applyChange__P60085, + "x": Sprite_x__P55346, + "set/x": Sprite_x__P55347, + "y": Sprite_y__P55348, + "set/y": Sprite_y__P55349, + "vx": Sprite_vx__P55350, + "set/vx": Sprite_vx__P55351, + "vy": Sprite_vy__P55352, + "set/vy": Sprite_vy__P55353, + "ax": Sprite_ax__P55354, + "set/ax": Sprite_ax__P55355, + "ay": Sprite_ay__P55356, + "set/ay": Sprite_ay__P55357, + "fx": Sprite_fx__P55358, + "set/fx": Sprite_fx__P55359, + "fy": Sprite_fy__P55360, + "set/fy": Sprite_fy__P55361, + "sx": Sprite_sx__P55362, + "sy": Sprite_sy__P55364, + "data": Sprite_data__P55368, + "set/data": Sprite_data__P55369, + "image": Sprite_image__P55382, + "setImage": Sprite_setImage__P55383, + "calcDimensionalHash": Sprite_calcDimensionalHash__P55384, + "resetHitbox": Sprite_resetHitbox__P55385, + "setHitbox": Sprite_setHitbox__P55386, + "isStatic": Sprite_isStatic__P55387, + "__visible": Sprite___visible__P55388, + "recalcSize": Sprite_recalcSize__P57843, + "isScaled": Sprite_isScaled__P57844, + "width": Sprite_width__P55389, + "height": Sprite_height__P55390, + "left": Sprite_left__P55391, + "set/left": Sprite_left__P55392, + "right": Sprite_right__P55393, + "set/right": Sprite_right__P55394, + "top": Sprite_top__P55395, + "set/top": Sprite_top__P55396, + "bottom": Sprite_bottom__P55397, + "set/bottom": Sprite_bottom__P55398, + "kind": Sprite_kind__P55399, + "setKind": Sprite_setKind__P55400, + "setPosition": Sprite_setPosition__P55401, + "setVelocity": Sprite_setVelocity__P55402, + "sayText": Sprite_sayText__P55404, + "startEffect": Sprite_startEffect__P55405, + "isOutOfScreen": Sprite_isOutOfScreen__P55406, + "__drawCore": Sprite___drawCore__P55407, + "__update": Sprite___update__P55408, + "setStayInScreen": Sprite_setStayInScreen__P55409, + "setBounceOnWall": Sprite_setBounceOnWall__P55410, + "setFlag": Sprite_setFlag__P55411, + "overlapsWith": Sprite_overlapsWith__P55412, + "clearObstacles": Sprite_clearObstacles__P55417, + "registerObstacle": Sprite_registerObstacle__P55418, + "destroy": Sprite_destroy__P55420, + "_destroyCore": Sprite__destroyCore__P55421, + "toString": Sprite_toString__P55426, + "drawSay": Sprite_drawSay__P57845, + "drawDebug": Sprite_drawDebug__P57846, + "drawSprite": Sprite_drawSprite__P57847, + "z": sprites_BaseSprite_z__P55091, + "set/z": sprites_BaseSprite_z__P55092, + "__draw": sprites_BaseSprite___draw__P55093, }, }); -const statusbars_StatusBar__C4345_VT = mkVTable({ +const statusbars_StatusBar__C57358_VT = mkVTable({ name: "StatusBar", numFields: 24, classNo: 36, @@ -84170,22 +84203,22 @@ const statusbars_StatusBar__C4345_VT = mkVTable({ "set/lastUpdate": null, "throttleAmount": null, "set/throttleAmount": null, - "positionNextTo": statusbars_StatusBar_positionNextTo__P4361, - "label": statusbars_StatusBar_label__P4363, - "max": statusbars_StatusBar_max__P4365, - "set/max": statusbars_StatusBar_max__P4366, - "current": statusbars_StatusBar_current__P4367, - "set/current": statusbars_StatusBar_current__P4368, - "changeValue": statusbars_StatusBar_changeValue__P7099, - "image": statusbars_StatusBar_image__P4370, - "set/image": statusbars_StatusBar_image__P4371, - "isVerticalBar": statusbars_StatusBar_isVerticalBar__P7100, - "rebuildImage": statusbars_StatusBar_rebuildImage__P7102, - "updateState": statusbars_StatusBar_updateState__P4372, - "updateDisplay": statusbars_StatusBar_updateDisplay__P4373, + "positionNextTo": statusbars_StatusBar_positionNextTo__P57374, + "label": statusbars_StatusBar_label__P57376, + "max": statusbars_StatusBar_max__P57378, + "set/max": statusbars_StatusBar_max__P57379, + "current": statusbars_StatusBar_current__P57380, + "set/current": statusbars_StatusBar_current__P57381, + "changeValue": statusbars_StatusBar_changeValue__P60112, + "image": statusbars_StatusBar_image__P57383, + "set/image": statusbars_StatusBar_image__P57384, + "isVerticalBar": statusbars_StatusBar_isVerticalBar__P60113, + "rebuildImage": statusbars_StatusBar_rebuildImage__P60115, + "updateState": statusbars_StatusBar_updateState__P57385, + "updateDisplay": statusbars_StatusBar_updateDisplay__P57386, }, }); -const scene_Scene__C2823_VT = mkVTable({ +const scene_Scene__C55835_VT = mkVTable({ name: "Scene", numFields: 25, classNo: 37, @@ -84244,15 +84277,15 @@ const scene_Scene__C2823_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P2847, - "data": scene_Scene_data__P2848, - "millis": scene_Scene_millis__P2849, - "addSprite": scene_Scene_addSprite__P2850, - "destroy": scene_Scene_destroy__P2851, - "render": scene_Scene_render__P2852, + "init": scene_Scene_init__P55859, + "data": scene_Scene_data__P55860, + "millis": scene_Scene_millis__P55861, + "addSprite": scene_Scene_addSprite__P55862, + "destroy": scene_Scene_destroy__P55863, + "render": scene_Scene_render__P55864, }, }); -const game_Hitbox__C2189_VT = mkVTable({ +const game_Hitbox__C55201_VT = mkVTable({ name: "Hitbox", numFields: 6, classNo: 38, @@ -84273,17 +84306,17 @@ const game_Hitbox__C2189_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P2197, - "top": game_Hitbox_top__P2198, - "right": game_Hitbox_right__P2199, - "bottom": game_Hitbox_bottom__P2200, - "isValid": game_Hitbox_isValid__P2201, - "contains": game_Hitbox_contains__P2202, - "updateIfInvalid": game_Hitbox_updateIfInvalid__P2203, - "overlapsWith": game_Hitbox_overlapsWith__P2204, + "left": game_Hitbox_left__P55209, + "top": game_Hitbox_top__P55210, + "right": game_Hitbox_right__P55211, + "bottom": game_Hitbox_bottom__P55212, + "isValid": game_Hitbox_isValid__P55213, + "contains": game_Hitbox_contains__P55214, + "updateIfInvalid": game_Hitbox_updateIfInvalid__P55215, + "overlapsWith": game_Hitbox_overlapsWith__P55216, }, }); -const scene_Camera__C2761_VT = mkVTable({ +const scene_Camera__C55773_VT = mkVTable({ name: "Camera", numFields: 10, classNo: 39, @@ -84312,19 +84345,19 @@ const scene_Camera__C2761_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P2766, - "set/offsetX": scene_Camera_offsetX__P2767, - "offsetY": scene_Camera_offsetY__P2768, - "set/offsetY": scene_Camera_offsetY__P2769, - "x": scene_Camera_x__P2770, - "y": scene_Camera_y__P2771, - "left": scene_Camera_left__P2772, - "top": scene_Camera_top__P2774, - "isUpdated": scene_Camera_isUpdated__P2777, - "update": scene_Camera_update__P2778, + "offsetX": scene_Camera_offsetX__P55778, + "set/offsetX": scene_Camera_offsetX__P55779, + "offsetY": scene_Camera_offsetY__P55780, + "set/offsetY": scene_Camera_offsetY__P55781, + "x": scene_Camera_x__P55782, + "y": scene_Camera_y__P55783, + "left": scene_Camera_left__P55784, + "top": scene_Camera_top__P55786, + "isUpdated": scene_Camera_isUpdated__P55789, + "update": scene_Camera_update__P55790, }, }); -const music_PlayableState__C4640_VT = mkVTable({ +const music_PlayableState__C57653_VT = mkVTable({ name: "PlayableState", numFields: 1, classNo: 40, @@ -84335,10 +84368,10 @@ const music_PlayableState__C4640_VT = mkVTable({ iface: { "looping": null, "set/looping": null, - "stopLooping": music_PlayableState_stopLooping__P4641, + "stopLooping": music_PlayableState_stopLooping__P57654, }, }); -const music_sequencer_Sequencer__C1882_VT = mkVTable({ +const music_sequencer_Sequencer__C54894_VT = mkVTable({ name: "Sequencer", numFields: 5, classNo: 41, @@ -84357,10 +84390,10 @@ const music_sequencer_Sequencer__C1882_VT = mkVTable({ "set/isRunning": null, "song": null, "set/song": null, - "stop": music_sequencer_Sequencer_stop__P1889, + "stop": music_sequencer_Sequencer_stop__P54901, }, }); -const music_MelodyPlayer__C1637_VT = mkVTable({ +const music_MelodyPlayer__C54649_VT = mkVTable({ name: "MelodyPlayer", numFields: 2, classNo: 42, @@ -84373,21 +84406,21 @@ const music_MelodyPlayer__C1637_VT = mkVTable({ "set/melody": null, "onPlayFinished": null, "set/onPlayFinished": null, - "stop": music_MelodyPlayer_stop__P1641, - "queuePlayInstructions": music_MelodyPlayer_queuePlayInstructions__P4586, - "play": music_MelodyPlayer_play__P1642, + "stop": music_MelodyPlayer_stop__P54653, + "queuePlayInstructions": music_MelodyPlayer_queuePlayInstructions__P57599, + "play": music_MelodyPlayer_play__P54654, }, }); -const game_BaseDialog__C2883_VT = mkVTable({ +const game_BaseDialog__C55895_VT = mkVTable({ name: "BaseDialog", numFields: 11, classNo: 43, lastSubtypeNo: 46, maxBgInstances: null, methods: { - "update": game_BaseDialog_update__P2897, - "setText": game_BaseDialog_setText__P2898, - "drawTextCore": game_BaseDialog_drawTextCore__P2899, + "update": game_BaseDialog_update__P55909, + "setText": game_BaseDialog_setText__P55910, + "drawTextCore": game_BaseDialog_drawTextCore__P55911, }, iface: { "image": null, @@ -84412,32 +84445,32 @@ const game_BaseDialog__C2883_VT = mkVTable({ "set/font": null, "textColor": null, "set/textColor": null, - "resize": game_BaseDialog_resize__P2896, - "update": game_BaseDialog_update__P2897, - "setText": game_BaseDialog_setText__P2898, - "drawTextCore": game_BaseDialog_drawTextCore__P2899, - "drawCursorRow": game_BaseDialog_drawCursorRow__P2900, - "drawBorder": game_BaseDialog_drawBorder__P4984, - "fastFill": game_BaseDialog_fastFill__P4985, - "clearInterior": game_BaseDialog_clearInterior__P4986, - "drawPartial": game_BaseDialog_drawPartial__P4987, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P4988, - "rowHeight": game_BaseDialog_rowHeight__P4989, - "textAreaWidth": game_BaseDialog_textAreaWidth__P4990, - "textAreaHeight": game_BaseDialog_textAreaHeight__P4991, - "setFont": game_BaseDialog_setFont__P4992, + "resize": game_BaseDialog_resize__P55908, + "update": game_BaseDialog_update__P55909, + "setText": game_BaseDialog_setText__P55910, + "drawTextCore": game_BaseDialog_drawTextCore__P55911, + "drawCursorRow": game_BaseDialog_drawCursorRow__P55912, + "drawBorder": game_BaseDialog_drawBorder__P57997, + "fastFill": game_BaseDialog_fastFill__P57998, + "clearInterior": game_BaseDialog_clearInterior__P57999, + "drawPartial": game_BaseDialog_drawPartial__P58000, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P58001, + "rowHeight": game_BaseDialog_rowHeight__P58002, + "textAreaWidth": game_BaseDialog_textAreaWidth__P58003, + "textAreaHeight": game_BaseDialog_textAreaHeight__P58004, + "setFont": game_BaseDialog_setFont__P58005, }, }); -const game_Dialog__C2901_VT = mkVTable({ +const game_Dialog__C55913_VT = mkVTable({ name: "Dialog", numFields: 13, classNo: 44, lastSubtypeNo: 44, maxBgInstances: null, methods: { - "update": game_BaseDialog_update__P2897, - "setText": game_Dialog_setText__P2910, - "drawTextCore": game_Dialog_drawTextCore__P2911, + "update": game_BaseDialog_update__P55909, + "setText": game_Dialog_setText__P55922, + "drawTextCore": game_Dialog_drawTextCore__P55923, }, iface: { "image": null, @@ -84466,39 +84499,39 @@ const game_Dialog__C2901_VT = mkVTable({ "set/chunks": null, "chunkIndex": null, "set/chunkIndex": null, - "hasNext": game_Dialog_hasNext__P2905, - "hasPrev": game_Dialog_hasPrev__P2906, - "nextPage": game_Dialog_nextPage__P2907, - "prevPage": game_Dialog_prevPage__P2908, - "chunkText": game_Dialog_chunkText__P2909, - "setText": game_Dialog_setText__P2910, - "drawTextCore": game_Dialog_drawTextCore__P2911, - "resize": game_BaseDialog_resize__P2896, - "update": game_BaseDialog_update__P2897, - "drawCursorRow": game_BaseDialog_drawCursorRow__P2900, - "drawBorder": game_BaseDialog_drawBorder__P4984, - "fastFill": game_BaseDialog_fastFill__P4985, - "clearInterior": game_BaseDialog_clearInterior__P4986, - "drawPartial": game_BaseDialog_drawPartial__P4987, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P4988, - "rowHeight": game_BaseDialog_rowHeight__P4989, - "textAreaWidth": game_BaseDialog_textAreaWidth__P4990, - "textAreaHeight": game_BaseDialog_textAreaHeight__P4991, - "setFont": game_BaseDialog_setFont__P4992, + "hasNext": game_Dialog_hasNext__P55917, + "hasPrev": game_Dialog_hasPrev__P55918, + "nextPage": game_Dialog_nextPage__P55919, + "prevPage": game_Dialog_prevPage__P55920, + "chunkText": game_Dialog_chunkText__P55921, + "setText": game_Dialog_setText__P55922, + "drawTextCore": game_Dialog_drawTextCore__P55923, + "resize": game_BaseDialog_resize__P55908, + "update": game_BaseDialog_update__P55909, + "drawCursorRow": game_BaseDialog_drawCursorRow__P55912, + "drawBorder": game_BaseDialog_drawBorder__P57997, + "fastFill": game_BaseDialog_fastFill__P57998, + "clearInterior": game_BaseDialog_clearInterior__P57999, + "drawPartial": game_BaseDialog_drawPartial__P58000, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P58001, + "rowHeight": game_BaseDialog_rowHeight__P58002, + "textAreaWidth": game_BaseDialog_textAreaWidth__P58003, + "textAreaHeight": game_BaseDialog_textAreaHeight__P58004, + "setFont": game_BaseDialog_setFont__P58005, }, }); -const particles_ParticleSource__C3131_VT = mkVTable({ +const particles_ParticleSource__C56143_VT = mkVTable({ name: "ParticleSource", numFields: 13, classNo: 25, lastSubtypeNo: 26, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P2078, - "__draw": particles_ParticleSource___draw__P3137, - "__drawCore": sprites_BaseSprite___drawCore__P2082, - "__update": sprites_BaseSprite___update__P2083, - "updateParticle": particles_ParticleSource_updateParticle__P5363, + "__visible": sprites_BaseSprite___visible__P55090, + "__draw": particles_ParticleSource___draw__P56149, + "__drawCore": sprites_BaseSprite___drawCore__P55094, + "__update": sprites_BaseSprite___update__P55095, + "updateParticle": particles_ParticleSource_updateParticle__P58376, }, iface: { "_z": null, @@ -84527,50 +84560,50 @@ const particles_ParticleSource__C3131_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P3137, - "_update": particles_ParticleSource__update__P3138, - "_prune": particles_ParticleSource__prune__P3139, - "setAcceleration": particles_ParticleSource_setAcceleration__P3140, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P3142, - "enabled": particles_ParticleSource_enabled__P3143, - "set/enabled": particles_ParticleSource_enabled__P3144, - "destroy": particles_ParticleSource_destroy__P3145, - "clear": particles_ParticleSource_clear__P3146, - "setAnchor": particles_ParticleSource_setAnchor__P3147, - "setRate": particles_ParticleSource_setRate__P3148, - "factory": particles_ParticleSource_factory__P3149, - "setFactory": particles_ParticleSource_setFactory__P3150, - "updateParticle": particles_ParticleSource_updateParticle__P5363, - "drawParticle": particles_ParticleSource_drawParticle__P5364, - "__visible": sprites_BaseSprite___visible__P2078, - "z": sprites_BaseSprite_z__P2079, - "set/z": sprites_BaseSprite_z__P2080, - "__drawCore": sprites_BaseSprite___drawCore__P2082, - "__update": sprites_BaseSprite___update__P2083, + "__draw": particles_ParticleSource___draw__P56149, + "_update": particles_ParticleSource__update__P56150, + "_prune": particles_ParticleSource__prune__P56151, + "setAcceleration": particles_ParticleSource_setAcceleration__P56152, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P56154, + "enabled": particles_ParticleSource_enabled__P56155, + "set/enabled": particles_ParticleSource_enabled__P56156, + "destroy": particles_ParticleSource_destroy__P56157, + "clear": particles_ParticleSource_clear__P56158, + "setAnchor": particles_ParticleSource_setAnchor__P56159, + "setRate": particles_ParticleSource_setRate__P56160, + "factory": particles_ParticleSource_factory__P56161, + "setFactory": particles_ParticleSource_setFactory__P56162, + "updateParticle": particles_ParticleSource_updateParticle__P58376, + "drawParticle": particles_ParticleSource_drawParticle__P58377, + "__visible": sprites_BaseSprite___visible__P55090, + "z": sprites_BaseSprite_z__P55091, + "set/z": sprites_BaseSprite_z__P55092, + "__drawCore": sprites_BaseSprite___drawCore__P55094, + "__update": sprites_BaseSprite___update__P55095, }, }); -const PhysicsEngine__C2491_VT = mkVTable({ +const PhysicsEngine__C55503_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, classNo: 47, lastSubtypeNo: 48, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P2493, - "removeSprite": PhysicsEngine_removeSprite__P2494, - "moveSprite": PhysicsEngine_moveSprite__P2495, - "draw": PhysicsEngine_draw__P2496, - "move": PhysicsEngine_move__P2497, + "addSprite": PhysicsEngine_addSprite__P55505, + "removeSprite": PhysicsEngine_removeSprite__P55506, + "moveSprite": PhysicsEngine_moveSprite__P55507, + "draw": PhysicsEngine_draw__P55508, + "move": PhysicsEngine_move__P55509, }, iface: { - "addSprite": PhysicsEngine_addSprite__P2493, - "removeSprite": PhysicsEngine_removeSprite__P2494, - "moveSprite": PhysicsEngine_moveSprite__P2495, - "draw": PhysicsEngine_draw__P2496, - "move": PhysicsEngine_move__P2497, + "addSprite": PhysicsEngine_addSprite__P55505, + "removeSprite": PhysicsEngine_removeSprite__P55506, + "moveSprite": PhysicsEngine_moveSprite__P55507, + "draw": PhysicsEngine_draw__P55508, + "move": PhysicsEngine_move__P55509, }, }); -const scene_Background__C2649_VT = mkVTable({ +const scene_Background__C55661_VT = mkVTable({ name: "Background", numFields: 4, classNo: 49, @@ -84587,13 +84620,13 @@ const scene_Background__C2649_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "image": scene_Background_image__P2655, - "set/image": scene_Background_image__P2656, - "hasBackgroundImage": scene_Background_hasBackgroundImage__P2657, - "draw": scene_Background_draw__P2658, + "image": scene_Background_image__P55667, + "set/image": scene_Background_image__P55668, + "hasBackgroundImage": scene_Background_hasBackgroundImage__P55669, + "draw": scene_Background_draw__P55670, }, }); -const scene_BackgroundLayer__C2659_VT = mkVTable({ +const scene_BackgroundLayer__C55671_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, classNo: 50, @@ -84614,21 +84647,21 @@ const scene_BackgroundLayer__C2659_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P2667, + "draw": scene_BackgroundLayer_draw__P55679, }, }); -const ArcadePhysicsEngine__C2507_VT = mkVTable({ +const ArcadePhysicsEngine__C55519_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, classNo: 48, lastSubtypeNo: 48, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P2516, - "removeSprite": ArcadePhysicsEngine_removeSprite__P2517, - "moveSprite": ArcadePhysicsEngine_moveSprite__P2521, - "draw": ArcadePhysicsEngine_draw__P2518, - "move": ArcadePhysicsEngine_move__P2519, + "addSprite": ArcadePhysicsEngine_addSprite__P55528, + "removeSprite": ArcadePhysicsEngine_removeSprite__P55529, + "moveSprite": ArcadePhysicsEngine_moveSprite__P55533, + "draw": ArcadePhysicsEngine_draw__P55530, + "move": ArcadePhysicsEngine_move__P55531, }, iface: { "sprites": null, @@ -84643,27 +84676,27 @@ const ArcadePhysicsEngine__C2507_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P2509, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P2510, - "minStep": ArcadePhysicsEngine_minStep__P2511, - "set/minStep": ArcadePhysicsEngine_minStep__P2512, - "maxStep": ArcadePhysicsEngine_maxStep__P2513, - "set/maxStep": ArcadePhysicsEngine_maxStep__P2514, - "addSprite": ArcadePhysicsEngine_addSprite__P2516, - "removeSprite": ArcadePhysicsEngine_removeSprite__P2517, - "draw": ArcadePhysicsEngine_draw__P2518, - "move": ArcadePhysicsEngine_move__P2519, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P4875, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P4876, - "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P4877, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P4878, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P4879, - "moveSprite": ArcadePhysicsEngine_moveSprite__P2521, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P4880, - "constrain": ArcadePhysicsEngine_constrain__P4881, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P55521, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P55522, + "minStep": ArcadePhysicsEngine_minStep__P55523, + "set/minStep": ArcadePhysicsEngine_minStep__P55524, + "maxStep": ArcadePhysicsEngine_maxStep__P55525, + "set/maxStep": ArcadePhysicsEngine_maxStep__P55526, + "addSprite": ArcadePhysicsEngine_addSprite__P55528, + "removeSprite": ArcadePhysicsEngine_removeSprite__P55529, + "draw": ArcadePhysicsEngine_draw__P55530, + "move": ArcadePhysicsEngine_move__P55531, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P57888, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P57889, + "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P57890, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P57891, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P57892, + "moveSprite": ArcadePhysicsEngine_moveSprite__P55533, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P57893, + "constrain": ArcadePhysicsEngine_constrain__P57894, }, }); -const sprites_SpriteMap__C2426_VT = mkVTable({ +const sprites_SpriteMap__C55438_VT = mkVTable({ name: "SpriteMap", numFields: 5, classNo: 51, @@ -84682,29 +84715,29 @@ const sprites_SpriteMap__C2426_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P2428, - "overlaps": sprites_SpriteMap_overlaps__P2429, - "draw": sprites_SpriteMap_draw__P2430, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P2431, - "clear": sprites_SpriteMap_clear__P2432, - "key": sprites_SpriteMap_key__P4838, - "insertAtKey": sprites_SpriteMap_insertAtKey__P4839, - "insertAABB": sprites_SpriteMap_insertAABB__P2433, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P4840, - "toString": sprites_SpriteMap_toString__P2434, + "neighbors": sprites_SpriteMap_neighbors__P55440, + "overlaps": sprites_SpriteMap_overlaps__P55441, + "draw": sprites_SpriteMap_draw__P55442, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P55443, + "clear": sprites_SpriteMap_clear__P55444, + "key": sprites_SpriteMap_key__P57851, + "insertAtKey": sprites_SpriteMap_insertAtKey__P57852, + "insertAABB": sprites_SpriteMap_insertAABB__P55445, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P57853, + "toString": sprites_SpriteMap_toString__P55446, }, - toStringMethod: sprites_SpriteMap_toString__P2434, + toStringMethod: sprites_SpriteMap_toString__P55446, }); -const game_SplashDialog__C2912_VT = mkVTable({ +const game_SplashDialog__C55924_VT = mkVTable({ name: "SplashDialog", numFields: 17, classNo: 45, lastSubtypeNo: 45, maxBgInstances: null, methods: { - "update": game_BaseDialog_update__P2897, - "setText": game_SplashDialog_setText__P2920, - "drawTextCore": game_SplashDialog_drawTextCore__P2922, + "update": game_BaseDialog_update__P55909, + "setText": game_SplashDialog_setText__P55932, + "drawTextCore": game_SplashDialog_drawTextCore__P55934, }, iface: { "image": null, @@ -84741,69 +84774,69 @@ const game_SplashDialog__C2912_VT = mkVTable({ "set/maxOffset": null, "maxSubOffset": null, "set/maxSubOffset": null, - "updateFont": game_SplashDialog_updateFont__P4995, - "setText": game_SplashDialog_setText__P2920, - "setSubtext": game_SplashDialog_setSubtext__P2921, - "drawTextCore": game_SplashDialog_drawTextCore__P2922, - "resize": game_BaseDialog_resize__P2896, - "update": game_BaseDialog_update__P2897, - "drawCursorRow": game_BaseDialog_drawCursorRow__P2900, - "drawBorder": game_BaseDialog_drawBorder__P4984, - "fastFill": game_BaseDialog_fastFill__P4985, - "clearInterior": game_BaseDialog_clearInterior__P4986, - "drawPartial": game_BaseDialog_drawPartial__P4987, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P4988, - "rowHeight": game_BaseDialog_rowHeight__P4989, - "textAreaWidth": game_BaseDialog_textAreaWidth__P4990, - "textAreaHeight": game_BaseDialog_textAreaHeight__P4991, - "setFont": game_BaseDialog_setFont__P4992, + "updateFont": game_SplashDialog_updateFont__P58008, + "setText": game_SplashDialog_setText__P55932, + "setSubtext": game_SplashDialog_setSubtext__P55933, + "drawTextCore": game_SplashDialog_drawTextCore__P55934, + "resize": game_BaseDialog_resize__P55908, + "update": game_BaseDialog_update__P55909, + "drawCursorRow": game_BaseDialog_drawCursorRow__P55912, + "drawBorder": game_BaseDialog_drawBorder__P57997, + "fastFill": game_BaseDialog_fastFill__P57998, + "clearInterior": game_BaseDialog_clearInterior__P57999, + "drawPartial": game_BaseDialog_drawPartial__P58000, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P58001, + "rowHeight": game_BaseDialog_rowHeight__P58002, + "textAreaWidth": game_BaseDialog_textAreaWidth__P58003, + "textAreaHeight": game_BaseDialog_textAreaHeight__P58004, + "setFont": game_BaseDialog_setFont__P58005, }, }); -const music_Playable__C1896_VT = mkVTable({ +const music_Playable__C54908_VT = mkVTable({ name: "Playable", numFields: 1, classNo: 52, lastSubtypeNo: 54, maxBgInstances: null, methods: { - "play": music_Playable_play__P1899, + "play": music_Playable_play__P54911, }, iface: { "stopped": null, "set/stopped": null, - "play": music_Playable_play__P1899, - "loop": music_Playable_loop__P1900, + "play": music_Playable_play__P54911, + "loop": music_Playable_loop__P54912, }, }); -const music_MelodyPlayable__C1901_VT = mkVTable({ +const music_MelodyPlayable__C54913_VT = mkVTable({ name: "MelodyPlayable", numFields: 2, classNo: 53, lastSubtypeNo: 53, maxBgInstances: null, methods: { - "play": music_MelodyPlayable_play__P1903, + "play": music_MelodyPlayable_play__P54915, }, iface: { "stopped": null, "set/stopped": null, "melody": null, "set/melody": null, - "play": music_MelodyPlayable_play__P1903, - "loop": music_Playable_loop__P1900, + "play": music_MelodyPlayable_play__P54915, + "loop": music_Playable_loop__P54912, }, }); -const scene_Renderable__C2780_VT = mkVTable({ +const scene_Renderable__C55792_VT = mkVTable({ name: "Renderable", numFields: 4, classNo: 27, lastSubtypeNo: 27, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P2782, - "__draw": sprites_BaseSprite___draw__P2081, - "__drawCore": scene_Renderable___drawCore__P2783, - "__update": sprites_BaseSprite___update__P2083, + "__visible": scene_Renderable___visible__P55794, + "__draw": sprites_BaseSprite___draw__P55093, + "__drawCore": scene_Renderable___drawCore__P55795, + "__update": sprites_BaseSprite___update__P55095, }, iface: { "_z": null, @@ -84814,38 +84847,38 @@ const scene_Renderable__C2780_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P2782, - "__drawCore": scene_Renderable___drawCore__P2783, - "z": sprites_BaseSprite_z__P2079, - "set/z": sprites_BaseSprite_z__P2080, - "__draw": sprites_BaseSprite___draw__P2081, - "__update": sprites_BaseSprite___update__P2083, + "__visible": scene_Renderable___visible__P55794, + "__drawCore": scene_Renderable___drawCore__P55795, + "z": sprites_BaseSprite_z__P55091, + "set/z": sprites_BaseSprite_z__P55092, + "__draw": sprites_BaseSprite___draw__P55093, + "__update": sprites_BaseSprite___update__P55095, }, }); -const particles_ParticleFactory__C3167_VT = mkVTable({ +const particles_ParticleFactory__C56179_VT = mkVTable({ name: "ParticleFactory", numFields: 0, classNo: 55, lastSubtypeNo: 64, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P3169, - "drawParticle": particles_ParticleFactory_drawParticle__P3170, + "createParticle": particles_ParticleFactory_createParticle__P56181, + "drawParticle": particles_ParticleFactory_drawParticle__P56182, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P3169, - "drawParticle": particles_ParticleFactory_drawParticle__P3170, + "createParticle": particles_ParticleFactory_createParticle__P56181, + "drawParticle": particles_ParticleFactory_drawParticle__P56182, }, }); -const particles_RadialFactory__C3204_VT = mkVTable({ +const particles_RadialFactory__C56216_VT = mkVTable({ name: "RadialFactory", numFields: 6, classNo: 56, lastSubtypeNo: 57, maxBgInstances: null, methods: { - "createParticle": particles_RadialFactory_createParticle__P3206, - "drawParticle": particles_RadialFactory_drawParticle__P3207, + "createParticle": particles_RadialFactory_createParticle__P56218, + "drawParticle": particles_RadialFactory_drawParticle__P56219, }, iface: { "r": null, @@ -84860,20 +84893,20 @@ const particles_RadialFactory__C3204_VT = mkVTable({ "set/galois": null, "colors": null, "set/colors": null, - "createParticle": particles_RadialFactory_createParticle__P3206, - "drawParticle": particles_RadialFactory_drawParticle__P3207, - "setRadius": particles_RadialFactory_setRadius__P3208, + "createParticle": particles_RadialFactory_createParticle__P56218, + "drawParticle": particles_RadialFactory_drawParticle__P56219, + "setRadius": particles_RadialFactory_setRadius__P56220, }, }); -const RingFactory__C8939_VT = mkVTable({ +const RingFactory__C61967_VT = mkVTable({ name: "RingFactory", numFields: 6, classNo: 57, lastSubtypeNo: 57, maxBgInstances: null, methods: { - "createParticle": RingFactory_createParticle__P8941, - "drawParticle": particles_RadialFactory_drawParticle__P3207, + "createParticle": RingFactory_createParticle__P61969, + "drawParticle": particles_RadialFactory_drawParticle__P56219, }, iface: { "r": null, @@ -84888,12 +84921,12 @@ const RingFactory__C8939_VT = mkVTable({ "set/galois": null, "colors": null, "set/colors": null, - "createParticle": RingFactory_createParticle__P8941, - "drawParticle": particles_RadialFactory_drawParticle__P3207, - "setRadius": particles_RadialFactory_setRadius__P3208, + "createParticle": RingFactory_createParticle__P61969, + "drawParticle": particles_RadialFactory_drawParticle__P56219, + "setRadius": particles_RadialFactory_setRadius__P56220, }, }); -const effects_ParticleEffect__C3242_VT = mkVTable({ +const effects_ParticleEffect__C56254_VT = mkVTable({ name: "ParticleEffect", numFields: 3, classNo: 65, @@ -84908,11 +84941,11 @@ const effects_ParticleEffect__C3242_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P3244, - "destroy": effects_ParticleEffect_destroy__P3245, + "start": effects_ParticleEffect_start__P56256, + "destroy": effects_ParticleEffect_destroy__P56257, }, }); -const particles_Particle__C3112_VT = mkVTable({ +const particles_Particle__C56124_VT = mkVTable({ name: "Particle", numFields: 8, classNo: 67, @@ -84939,15 +84972,15 @@ const particles_Particle__C3112_VT = mkVTable({ "set/color": null, }, }); -const particles_SprayFactory__C3171_VT = mkVTable({ +const particles_SprayFactory__C56183_VT = mkVTable({ name: "SprayFactory", numFields: 3, classNo: 58, lastSubtypeNo: 63, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P3173, - "drawParticle": particles_SprayFactory_drawParticle__P3174, + "createParticle": particles_SprayFactory_createParticle__P56185, + "drawParticle": particles_SprayFactory_drawParticle__P56186, }, iface: { "speed": null, @@ -84956,21 +84989,21 @@ const particles_SprayFactory__C3171_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P3173, - "drawParticle": particles_SprayFactory_drawParticle__P3174, - "setSpeed": particles_SprayFactory_setSpeed__P3175, - "setDirection": particles_SprayFactory_setDirection__P3176, + "createParticle": particles_SprayFactory_createParticle__P56185, + "drawParticle": particles_SprayFactory_drawParticle__P56186, + "setSpeed": particles_SprayFactory_setSpeed__P56187, + "setDirection": particles_SprayFactory_setDirection__P56188, }, }); -const particles_AreaFactory__C3177_VT = mkVTable({ +const particles_AreaFactory__C56189_VT = mkVTable({ name: "AreaFactory", numFields: 8, classNo: 59, lastSubtypeNo: 63, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P3183, - "drawParticle": particles_AreaFactory_drawParticle__P3184, + "createParticle": particles_AreaFactory_createParticle__P56195, + "drawParticle": particles_AreaFactory_drawParticle__P56196, }, iface: { "speed": null, @@ -84989,21 +85022,21 @@ const particles_AreaFactory__C3177_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P3183, - "drawParticle": particles_AreaFactory_drawParticle__P3184, - "setSpeed": particles_SprayFactory_setSpeed__P3175, - "setDirection": particles_SprayFactory_setDirection__P3176, + "createParticle": particles_AreaFactory_createParticle__P56195, + "drawParticle": particles_AreaFactory_drawParticle__P56196, + "setSpeed": particles_SprayFactory_setSpeed__P56187, + "setDirection": particles_SprayFactory_setDirection__P56188, }, }); -const particles_AshFactory__C3211_VT = mkVTable({ +const particles_AshFactory__C56223_VT = mkVTable({ name: "AshFactory", numFields: 9, classNo: 60, lastSubtypeNo: 60, maxBgInstances: null, methods: { - "createParticle": particles_AshFactory_createParticle__P3213, - "drawParticle": particles_AshFactory_drawParticle__P3214, + "createParticle": particles_AshFactory_createParticle__P56225, + "drawParticle": particles_AshFactory_drawParticle__P56226, }, iface: { "speed": null, @@ -85024,13 +85057,13 @@ const particles_AshFactory__C3211_VT = mkVTable({ "set/galois": null, "colors": null, "set/colors": null, - "createParticle": particles_AshFactory_createParticle__P3213, - "drawParticle": particles_AshFactory_drawParticle__P3214, - "setSpeed": particles_SprayFactory_setSpeed__P3175, - "setDirection": particles_SprayFactory_setDirection__P3176, + "createParticle": particles_AshFactory_createParticle__P56225, + "drawParticle": particles_AshFactory_drawParticle__P56226, + "setSpeed": particles_SprayFactory_setSpeed__P56187, + "setDirection": particles_SprayFactory_setDirection__P56188, }, }); -const particles_ColorCount__C5400_VT = mkVTable({ +const particles_ColorCount__C58413_VT = mkVTable({ name: "ColorCount", numFields: 2, classNo: 68, @@ -85045,7 +85078,7 @@ const particles_ColorCount__C5400_VT = mkVTable({ "set/count": null, }, }); -const effects_ImageEffect__C3270_VT = mkVTable({ +const effects_ImageEffect__C56282_VT = mkVTable({ name: "ImageEffect", numFields: 4, classNo: 69, @@ -85062,12 +85095,12 @@ const effects_ImageEffect__C3270_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P3272, - "change": effects_ImageEffect_change__P3273, - "startScreenEffect": effects_ImageEffect_startScreenEffect__P3274, + "applyTo": effects_ImageEffect_applyTo__P56284, + "change": effects_ImageEffect_change__P56285, + "startScreenEffect": effects_ImageEffect_startScreenEffect__P56286, }, }); -const sprites_SpriteSet__C2443_VT = mkVTable({ +const sprites_SpriteSet__C55455_VT = mkVTable({ name: "SpriteSet", numFields: 1, classNo: 70, @@ -85078,15 +85111,15 @@ const sprites_SpriteSet__C2443_VT = mkVTable({ iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P2446, - "add": sprites_SpriteSet_add__P2448, - "remove": sprites_SpriteSet_remove__P2450, - "contains": sprites_SpriteSet_contains__P2451, - "toString": sprites_SpriteSet_toString__P2454, + "length": sprites_SpriteSet_length__P55458, + "add": sprites_SpriteSet_add__P55460, + "remove": sprites_SpriteSet_remove__P55462, + "contains": sprites_SpriteSet_contains__P55463, + "toString": sprites_SpriteSet_toString__P55466, }, - toStringMethod: sprites_SpriteSet_toString__P2454, + toStringMethod: sprites_SpriteSet_toString__P55466, }); -const scene_TileOverlapHandler__C2798_VT = mkVTable({ +const scene_TileOverlapHandler__C55810_VT = mkVTable({ name: "TileOverlapHandler", numFields: 3, classNo: 71, @@ -85103,7 +85136,7 @@ const scene_TileOverlapHandler__C2798_VT = mkVTable({ "set/handler": null, }, }); -const info_PlayerInfoImpl__C2575_VT = mkVTable({ +const info_PlayerInfoImpl__C55587_VT = mkVTable({ name: "PlayerInfoImpl", numFields: 8, classNo: 72, @@ -85128,18 +85161,18 @@ const info_PlayerInfoImpl__C2575_VT = mkVTable({ "set/left": null, "up": null, "set/up": null, - "init": info_PlayerInfoImpl_init__P4939, - "getState": info_PlayerInfoImpl_getState__P2584, - "id": info_PlayerInfoImpl_id__P2585, - "score": info_PlayerInfoImpl_score__P2586, - "setScore": info_PlayerInfoImpl_setScore__P2587, - "hasScore": info_PlayerInfoImpl_hasScore__P2589, - "hasLife": info_PlayerInfoImpl_hasLife__P2593, - "onLifeZero": info_PlayerInfoImpl_onLifeZero__P2594, - "raiseLifeZero": info_PlayerInfoImpl_raiseLifeZero__P2596, + "init": info_PlayerInfoImpl_init__P57952, + "getState": info_PlayerInfoImpl_getState__P55596, + "id": info_PlayerInfoImpl_id__P55597, + "score": info_PlayerInfoImpl_score__P55598, + "setScore": info_PlayerInfoImpl_setScore__P55599, + "hasScore": info_PlayerInfoImpl_hasScore__P55601, + "hasLife": info_PlayerInfoImpl_hasLife__P55605, + "onLifeZero": info_PlayerInfoImpl_onLifeZero__P55606, + "raiseLifeZero": info_PlayerInfoImpl_raiseLifeZero__P55608, }, }); -const info_PlayerInfo__C2597_VT = mkVTable({ +const info_PlayerInfo__C55609_VT = mkVTable({ name: "PlayerInfo", numFields: 2, classNo: 73, @@ -85152,22 +85185,22 @@ const info_PlayerInfo__C2597_VT = mkVTable({ "set/_player": null, "impl": null, "set/impl": null, - "init": info_PlayerInfo_init__P4940, - "number": info_PlayerInfo_number__P2600, - "x": info_PlayerInfo_x__P2615, - "set/x": info_PlayerInfo_x__P2616, - "y": info_PlayerInfo_y__P2617, - "set/y": info_PlayerInfo_y__P2618, - "left": info_PlayerInfo_left__P2619, - "set/left": info_PlayerInfo_left__P2620, - "getState": info_PlayerInfo_getState__P2623, - "id": info_PlayerInfo_id__P2624, - "drawPlayer": info_PlayerInfo_drawPlayer__P2635, - "drawScore": info_PlayerInfo_drawScore__P2636, - "drawLives": info_PlayerInfo_drawLives__P2637, + "init": info_PlayerInfo_init__P57953, + "number": info_PlayerInfo_number__P55612, + "x": info_PlayerInfo_x__P55627, + "set/x": info_PlayerInfo_x__P55628, + "y": info_PlayerInfo_y__P55629, + "set/y": info_PlayerInfo_y__P55630, + "left": info_PlayerInfo_left__P55631, + "set/left": info_PlayerInfo_left__P55632, + "getState": info_PlayerInfo_getState__P55635, + "id": info_PlayerInfo_id__P55636, + "drawPlayer": info_PlayerInfo_drawPlayer__P55647, + "drawScore": info_PlayerInfo_drawScore__P55648, + "drawLives": info_PlayerInfo_drawLives__P55649, }, }); -const game_GameOverPlayerScore__C2923_VT = mkVTable({ +const game_GameOverPlayerScore__C55935_VT = mkVTable({ name: "GameOverPlayerScore", numFields: 4, classNo: 74, @@ -85186,16 +85219,16 @@ const game_GameOverPlayerScore__C2923_VT = mkVTable({ "set/winner": null, }, }); -const game_GameOverDialog__C2926_VT = mkVTable({ +const game_GameOverDialog__C55938_VT = mkVTable({ name: "GameOverDialog", numFields: 19, classNo: 46, lastSubtypeNo: 46, maxBgInstances: null, methods: { - "update": game_GameOverDialog_update__P2935, - "setText": game_BaseDialog_setText__P2898, - "drawTextCore": game_GameOverDialog_drawTextCore__P2939, + "update": game_GameOverDialog_update__P55947, + "setText": game_BaseDialog_setText__P55910, + "drawTextCore": game_GameOverDialog_drawTextCore__P55951, }, iface: { "image": null, @@ -85236,33 +85269,33 @@ const game_GameOverDialog__C2926_VT = mkVTable({ "set/bestScore": null, "winnerOverride": null, "set/winnerOverride": null, - "isWinCondition": game_GameOverDialog_isWinCondition__P2927, - "isJudgedGame": game_GameOverDialog_isJudgedGame__P2928, - "hasScores": game_GameOverDialog_hasScores__P2929, - "hasBestScore": game_GameOverDialog_hasBestScore__P2930, - "isNewBestScore": game_GameOverDialog_isNewBestScore__P2931, - "isMultiplayerGame": game_GameOverDialog_isMultiplayerGame__P2932, - "displayCursor": game_GameOverDialog_displayCursor__P2934, - "update": game_GameOverDialog_update__P2935, - "drawMessage": game_GameOverDialog_drawMessage__P2936, - "drawScores": game_GameOverDialog_drawScores__P2937, - "drawBestScore": game_GameOverDialog_drawBestScore__P2938, - "drawTextCore": game_GameOverDialog_drawTextCore__P2939, - "resize": game_BaseDialog_resize__P2896, - "setText": game_BaseDialog_setText__P2898, - "drawCursorRow": game_BaseDialog_drawCursorRow__P2900, - "drawBorder": game_BaseDialog_drawBorder__P4984, - "fastFill": game_BaseDialog_fastFill__P4985, - "clearInterior": game_BaseDialog_clearInterior__P4986, - "drawPartial": game_BaseDialog_drawPartial__P4987, - "cursorRowHeight": game_BaseDialog_cursorRowHeight__P4988, - "rowHeight": game_BaseDialog_rowHeight__P4989, - "textAreaWidth": game_BaseDialog_textAreaWidth__P4990, - "textAreaHeight": game_BaseDialog_textAreaHeight__P4991, - "setFont": game_BaseDialog_setFont__P4992, + "isWinCondition": game_GameOverDialog_isWinCondition__P55939, + "isJudgedGame": game_GameOverDialog_isJudgedGame__P55940, + "hasScores": game_GameOverDialog_hasScores__P55941, + "hasBestScore": game_GameOverDialog_hasBestScore__P55942, + "isNewBestScore": game_GameOverDialog_isNewBestScore__P55943, + "isMultiplayerGame": game_GameOverDialog_isMultiplayerGame__P55944, + "displayCursor": game_GameOverDialog_displayCursor__P55946, + "update": game_GameOverDialog_update__P55947, + "drawMessage": game_GameOverDialog_drawMessage__P55948, + "drawScores": game_GameOverDialog_drawScores__P55949, + "drawBestScore": game_GameOverDialog_drawBestScore__P55950, + "drawTextCore": game_GameOverDialog_drawTextCore__P55951, + "resize": game_BaseDialog_resize__P55908, + "setText": game_BaseDialog_setText__P55910, + "drawCursorRow": game_BaseDialog_drawCursorRow__P55912, + "drawBorder": game_BaseDialog_drawBorder__P57997, + "fastFill": game_BaseDialog_fastFill__P57998, + "clearInterior": game_BaseDialog_clearInterior__P57999, + "drawPartial": game_BaseDialog_drawPartial__P58000, + "cursorRowHeight": game_BaseDialog_cursorRowHeight__P58001, + "rowHeight": game_BaseDialog_rowHeight__P58002, + "textAreaWidth": game_BaseDialog_textAreaWidth__P58003, + "textAreaHeight": game_BaseDialog_textAreaHeight__P58004, + "setFont": game_BaseDialog_setFont__P58005, }, }); -const info_PlayerState__C2533_VT = mkVTable({ +const info_PlayerState__C55545_VT = mkVTable({ name: "PlayerState", numFields: 8, classNo: 75, @@ -85289,7 +85322,7 @@ const info_PlayerState__C2533_VT = mkVTable({ "set/showPlayer": null, }, }); -const info_InfoState__C4884_VT = mkVTable({ +const info_InfoState__C57897_VT = mkVTable({ name: "InfoState", numFields: 10, classNo: 76, @@ -85320,7 +85353,7 @@ const info_InfoState__C4884_VT = mkVTable({ "set/countdownEndHandler": null, }, }); -const JSON_Stringifier__C4532_VT = mkVTable({ +const JSON_Stringifier__C57545_VT = mkVTable({ name: "Stringifier", numFields: 3, classNo: 77, @@ -85335,11 +85368,11 @@ const JSON_Stringifier__C4532_VT = mkVTable({ "set/indentStep": null, "indent": null, "set/indent": null, - "doString": JSON_Stringifier_doString__P4533, - "go": JSON_Stringifier_go__P4534, + "doString": JSON_Stringifier_doString__P57546, + "go": JSON_Stringifier_go__P57547, }, }); -const effects_ScreenEffect__C3246_VT = mkVTable({ +const effects_ScreenEffect__C56258_VT = mkVTable({ name: "ScreenEffect", numFields: 5, classNo: 66, @@ -85358,21 +85391,21 @@ const effects_ScreenEffect__C3246_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "startScreenEffect": effects_ScreenEffect_startScreenEffect__P3248, - "endScreenEffect": effects_ScreenEffect_endScreenEffect__P3249, - "start": effects_ParticleEffect_start__P3244, - "destroy": effects_ParticleEffect_destroy__P3245, + "startScreenEffect": effects_ScreenEffect_startScreenEffect__P56260, + "endScreenEffect": effects_ScreenEffect_endScreenEffect__P56261, + "start": effects_ParticleEffect_start__P56256, + "destroy": effects_ParticleEffect_destroy__P56257, }, }); -const particles_ShapeFactory__C3193_VT = mkVTable({ +const particles_ShapeFactory__C56205_VT = mkVTable({ name: "ShapeFactory", numFields: 11, classNo: 61, lastSubtypeNo: 63, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P3197, - "drawParticle": particles_ShapeFactory_drawParticle__P3196, + "createParticle": particles_ShapeFactory_createParticle__P56209, + "drawParticle": particles_ShapeFactory_drawParticle__P56208, }, iface: { "speed": null, @@ -85397,22 +85430,22 @@ const particles_ShapeFactory__C3193_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P3195, - "drawParticle": particles_ShapeFactory_drawParticle__P3196, - "createParticle": particles_ShapeFactory_createParticle__P3197, - "setSpeed": particles_SprayFactory_setSpeed__P3175, - "setDirection": particles_SprayFactory_setDirection__P3176, + "addShape": particles_ShapeFactory_addShape__P56207, + "drawParticle": particles_ShapeFactory_drawParticle__P56208, + "createParticle": particles_ShapeFactory_createParticle__P56209, + "setSpeed": particles_SprayFactory_setSpeed__P56187, + "setDirection": particles_SprayFactory_setDirection__P56188, }, }); -const SnowFactory__C16741_VT = mkVTable({ +const SnowFactory__C69770_VT = mkVTable({ name: "SnowFactory", numFields: 11, classNo: 62, lastSubtypeNo: 62, maxBgInstances: null, methods: { - "createParticle": SnowFactory_createParticle__P16743, - "drawParticle": particles_ShapeFactory_drawParticle__P3196, + "createParticle": SnowFactory_createParticle__P69772, + "drawParticle": particles_ShapeFactory_drawParticle__P56208, }, iface: { "speed": null, @@ -85437,14 +85470,14 @@ const SnowFactory__C16741_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "createParticle": SnowFactory_createParticle__P16743, - "addShape": particles_ShapeFactory_addShape__P3195, - "drawParticle": particles_ShapeFactory_drawParticle__P3196, - "setSpeed": particles_SprayFactory_setSpeed__P3175, - "setDirection": particles_SprayFactory_setDirection__P3176, + "createParticle": SnowFactory_createParticle__P69772, + "addShape": particles_ShapeFactory_addShape__P56207, + "drawParticle": particles_ShapeFactory_drawParticle__P56208, + "setSpeed": particles_SprayFactory_setSpeed__P56187, + "setDirection": particles_SprayFactory_setDirection__P56188, }, }); -const effects_SceneAnchor__C5406_VT = mkVTable({ +const effects_SceneAnchor__C58419_VT = mkVTable({ name: "SceneAnchor", numFields: 1, classNo: 78, @@ -85455,21 +85488,21 @@ const effects_SceneAnchor__C5406_VT = mkVTable({ iface: { "camera": null, "set/camera": null, - "x": effects_SceneAnchor_x__P5407, - "y": effects_SceneAnchor_y__P5408, - "width": effects_SceneAnchor_width__P5409, - "height": effects_SceneAnchor_height__P5410, + "x": effects_SceneAnchor_x__P58420, + "y": effects_SceneAnchor_y__P58421, + "width": effects_SceneAnchor_width__P58422, + "height": effects_SceneAnchor_height__P58423, }, }); -const particles_ConfettiFactory__C3198_VT = mkVTable({ +const particles_ConfettiFactory__C56210_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, classNo: 63, lastSubtypeNo: 63, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P3197, - "drawParticle": particles_ShapeFactory_drawParticle__P3196, + "createParticle": particles_ShapeFactory_createParticle__P56209, + "drawParticle": particles_ShapeFactory_drawParticle__P56208, }, iface: { "speed": null, @@ -85494,14 +85527,14 @@ const particles_ConfettiFactory__C3198_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P3195, - "drawParticle": particles_ShapeFactory_drawParticle__P3196, - "createParticle": particles_ShapeFactory_createParticle__P3197, - "setSpeed": particles_SprayFactory_setSpeed__P3175, - "setDirection": particles_SprayFactory_setDirection__P3176, + "addShape": particles_ShapeFactory_addShape__P56207, + "drawParticle": particles_ShapeFactory_drawParticle__P56208, + "createParticle": particles_ShapeFactory_createParticle__P56209, + "setSpeed": particles_SprayFactory_setSpeed__P56187, + "setDirection": particles_SprayFactory_setDirection__P56188, }, }); -const scene_OverlapHandler__C2794_VT = mkVTable({ +const scene_OverlapHandler__C55806_VT = mkVTable({ name: "OverlapHandler", numFields: 3, classNo: 79, @@ -85518,14 +85551,14 @@ const scene_OverlapHandler__C2794_VT = mkVTable({ "set/handler": null, }, }); -const animation_SpriteAnimation__C3332_VT = mkVTable({ +const animation_SpriteAnimation__C56344_VT = mkVTable({ name: "SpriteAnimation", numFields: 3, classNo: 80, lastSubtypeNo: 82, maxBgInstances: null, methods: { - "update": animation_SpriteAnimation_update__P3335, + "update": animation_SpriteAnimation_update__P56347, }, iface: { "elapsedTime": null, @@ -85534,18 +85567,18 @@ const animation_SpriteAnimation__C3332_VT = mkVTable({ "set/sprite": null, "loop": null, "set/loop": null, - "init": animation_SpriteAnimation_init__P3334, - "update": animation_SpriteAnimation_update__P3335, + "init": animation_SpriteAnimation_init__P56346, + "update": animation_SpriteAnimation_update__P56347, }, }); -const animation_ImageAnimation__C3336_VT = mkVTable({ +const animation_ImageAnimation__C56348_VT = mkVTable({ name: "ImageAnimation", numFields: 6, classNo: 81, lastSubtypeNo: 81, maxBgInstances: null, methods: { - "update": animation_ImageAnimation_update__P3338, + "update": animation_ImageAnimation_update__P56350, }, iface: { "elapsedTime": null, @@ -85560,18 +85593,18 @@ const animation_ImageAnimation__C3336_VT = mkVTable({ "set/frames": null, "frameInterval": null, "set/frameInterval": null, - "update": animation_ImageAnimation_update__P3338, - "init": animation_SpriteAnimation_init__P3334, + "update": animation_ImageAnimation_update__P56350, + "init": animation_SpriteAnimation_init__P56346, }, }); -const animation_MovementAnimation__C3339_VT = mkVTable({ +const animation_MovementAnimation__C56351_VT = mkVTable({ name: "MovementAnimation", numFields: 7, classNo: 82, lastSubtypeNo: 82, maxBgInstances: null, methods: { - "update": animation_MovementAnimation_update__P3341, + "update": animation_MovementAnimation_update__P56353, }, iface: { "elapsedTime": null, @@ -85588,19 +85621,19 @@ const animation_MovementAnimation__C3339_VT = mkVTable({ "set/path": null, "nodeInterval": null, "set/nodeInterval": null, - "update": animation_MovementAnimation_update__P3341, - "init": animation_SpriteAnimation_init__P3334, + "update": animation_MovementAnimation_update__P56353, + "init": animation_SpriteAnimation_init__P56346, }, }); -const particles_FireFactory__C3200_VT = mkVTable({ +const particles_FireFactory__C56212_VT = mkVTable({ name: "FireFactory", numFields: 3, classNo: 64, lastSubtypeNo: 64, maxBgInstances: null, methods: { - "createParticle": particles_FireFactory_createParticle__P3202, - "drawParticle": particles_FireFactory_drawParticle__P3203, + "createParticle": particles_FireFactory_createParticle__P56214, + "drawParticle": particles_FireFactory_drawParticle__P56215, }, iface: { "galois": null, @@ -85609,22 +85642,22 @@ const particles_FireFactory__C3200_VT = mkVTable({ "set/minRadius": null, "maxRadius": null, "set/maxRadius": null, - "createParticle": particles_FireFactory_createParticle__P3202, - "drawParticle": particles_FireFactory_drawParticle__P3203, + "createParticle": particles_FireFactory_createParticle__P56214, + "drawParticle": particles_FireFactory_drawParticle__P56215, }, }); -const particles_FireSource__C3153_VT = mkVTable({ +const particles_FireSource__C56165_VT = mkVTable({ name: "FireSource", numFields: 14, classNo: 26, lastSubtypeNo: 26, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P2078, - "__draw": particles_ParticleSource___draw__P3137, - "__drawCore": sprites_BaseSprite___drawCore__P2082, - "__update": sprites_BaseSprite___update__P2083, - "updateParticle": particles_FireSource_updateParticle__P3155, + "__visible": sprites_BaseSprite___visible__P55090, + "__draw": particles_ParticleSource___draw__P56149, + "__drawCore": sprites_BaseSprite___drawCore__P55094, + "__update": sprites_BaseSprite___update__P55095, + "updateParticle": particles_FireSource_updateParticle__P56167, }, iface: { "_z": null, @@ -85655,36 +85688,36 @@ const particles_FireSource__C3153_VT = mkVTable({ "set/ay": null, "galois": null, "set/galois": null, - "updateParticle": particles_FireSource_updateParticle__P3155, - "__draw": particles_ParticleSource___draw__P3137, - "_update": particles_ParticleSource__update__P3138, - "_prune": particles_ParticleSource__prune__P3139, - "setAcceleration": particles_ParticleSource_setAcceleration__P3140, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P3142, - "enabled": particles_ParticleSource_enabled__P3143, - "set/enabled": particles_ParticleSource_enabled__P3144, - "destroy": particles_ParticleSource_destroy__P3145, - "clear": particles_ParticleSource_clear__P3146, - "setAnchor": particles_ParticleSource_setAnchor__P3147, - "setRate": particles_ParticleSource_setRate__P3148, - "factory": particles_ParticleSource_factory__P3149, - "setFactory": particles_ParticleSource_setFactory__P3150, - "drawParticle": particles_ParticleSource_drawParticle__P5364, - "__visible": sprites_BaseSprite___visible__P2078, - "z": sprites_BaseSprite_z__P2079, - "set/z": sprites_BaseSprite_z__P2080, - "__drawCore": sprites_BaseSprite___drawCore__P2082, - "__update": sprites_BaseSprite___update__P2083, + "updateParticle": particles_FireSource_updateParticle__P56167, + "__draw": particles_ParticleSource___draw__P56149, + "_update": particles_ParticleSource__update__P56150, + "_prune": particles_ParticleSource__prune__P56151, + "setAcceleration": particles_ParticleSource_setAcceleration__P56152, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P56154, + "enabled": particles_ParticleSource_enabled__P56155, + "set/enabled": particles_ParticleSource_enabled__P56156, + "destroy": particles_ParticleSource_destroy__P56157, + "clear": particles_ParticleSource_clear__P56158, + "setAnchor": particles_ParticleSource_setAnchor__P56159, + "setRate": particles_ParticleSource_setRate__P56160, + "factory": particles_ParticleSource_factory__P56161, + "setFactory": particles_ParticleSource_setFactory__P56162, + "drawParticle": particles_ParticleSource_drawParticle__P58377, + "__visible": sprites_BaseSprite___visible__P55090, + "z": sprites_BaseSprite_z__P55091, + "set/z": sprites_BaseSprite_z__P55092, + "__drawCore": sprites_BaseSprite___drawCore__P55094, + "__update": sprites_BaseSprite___update__P55095, }, }); -const music_SoundEffect__C1765_VT = mkVTable({ +const music_SoundEffect__C54777_VT = mkVTable({ name: "SoundEffect", numFields: 9, classNo: 54, lastSubtypeNo: 54, maxBgInstances: null, methods: { - "play": music_SoundEffect_play__P1776, + "play": music_SoundEffect_play__P54788, }, iface: { "stopped": null, @@ -85705,12 +85738,12 @@ const music_SoundEffect__C1765_VT = mkVTable({ "set/effect": null, "interpolation": null, "set/interpolation": null, - "toBuffer": music_SoundEffect_toBuffer__P1775, - "play": music_SoundEffect_play__P1776, - "loop": music_Playable_loop__P1900, + "toBuffer": music_SoundEffect_toBuffer__P54787, + "play": music_SoundEffect_play__P54788, + "loop": music_Playable_loop__P54912, }, }); -const controller_ControlledSprite__C2111_VT = mkVTable({ +const controller_ControlledSprite__C55123_VT = mkVTable({ name: "ControlledSprite", numFields: 4, classNo: 83, @@ -85729,16 +85762,16 @@ const controller_ControlledSprite__C2111_VT = mkVTable({ "set/vy": null, }, }); -const sprites_BaseSpriteSayRenderer__C2240_VT = mkVTable({ +const sprites_BaseSpriteSayRenderer__C55252_VT = mkVTable({ name: "BaseSpriteSayRenderer", numFields: 3, classNo: 84, lastSubtypeNo: 85, maxBgInstances: null, methods: { - "draw": sprites_BaseSpriteSayRenderer_draw__P2242, - "update": sprites_BaseSpriteSayRenderer_update__P2243, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P2244, + "draw": sprites_BaseSpriteSayRenderer_draw__P55254, + "update": sprites_BaseSpriteSayRenderer_update__P55255, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P55256, }, iface: { "text": null, @@ -85747,21 +85780,21 @@ const sprites_BaseSpriteSayRenderer__C2240_VT = mkVTable({ "set/fgColor": null, "bgColor": null, "set/bgColor": null, - "draw": sprites_BaseSpriteSayRenderer_draw__P2242, - "update": sprites_BaseSpriteSayRenderer_update__P2243, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P2244, + "draw": sprites_BaseSpriteSayRenderer_draw__P55254, + "update": sprites_BaseSpriteSayRenderer_update__P55255, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P55256, }, }); -const sprites_SpriteSayRenderer__C2245_VT = mkVTable({ +const sprites_SpriteSayRenderer__C55257_VT = mkVTable({ name: "SpriteSayRenderer", numFields: 5, classNo: 85, lastSubtypeNo: 85, maxBgInstances: null, methods: { - "draw": sprites_SpriteSayRenderer_draw__P2248, - "update": sprites_BaseSpriteSayRenderer_update__P2243, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P2244, + "draw": sprites_SpriteSayRenderer_draw__P55260, + "update": sprites_BaseSpriteSayRenderer_update__P55255, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P55256, }, iface: { "text": null, @@ -85774,13 +85807,13 @@ const sprites_SpriteSayRenderer__C2245_VT = mkVTable({ "set/renderText": null, "animation": null, "set/animation": null, - "drawSayFrame": sprites_SpriteSayRenderer_drawSayFrame__P2246, - "draw": sprites_SpriteSayRenderer_draw__P2248, - "update": sprites_BaseSpriteSayRenderer_update__P2243, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P2244, + "drawSayFrame": sprites_SpriteSayRenderer_drawSayFrame__P55258, + "draw": sprites_SpriteSayRenderer_draw__P55260, + "update": sprites_BaseSpriteSayRenderer_update__P55255, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P55256, }, }); -const sprites_RenderText__C2207_VT = mkVTable({ +const sprites_RenderText__C55219_VT = mkVTable({ name: "RenderText", numFields: 5, classNo: 86, @@ -85799,21 +85832,21 @@ const sprites_RenderText__C2207_VT = mkVTable({ "set/width": null, "text": null, "set/text": null, - "draw": sprites_RenderText_draw__P2213, - "drawLine": sprites_RenderText_drawLine__P2214, - "drawPartial": sprites_RenderText_drawPartial__P2215, - "drawPartialLine": sprites_RenderText_drawPartialLine__P2216, - "calculatePartialHeight": sprites_RenderText_calculatePartialHeight__P2217, - "lineHeight": sprites_RenderText_lineHeight__P2218, - "setMaxWidth": sprites_RenderText_setMaxWidth__P2219, - "printableCharacters": sprites_RenderText_printableCharacters__P2220, - "lineEnd": sprites_RenderText_lineEnd__P2221, - "lineStart": sprites_RenderText_lineStart__P2222, - "widthOfLine": sprites_RenderText_widthOfLine__P2223, - "widthOfLines": sprites_RenderText_widthOfLines__P2224, + "draw": sprites_RenderText_draw__P55225, + "drawLine": sprites_RenderText_drawLine__P55226, + "drawPartial": sprites_RenderText_drawPartial__P55227, + "drawPartialLine": sprites_RenderText_drawPartialLine__P55228, + "calculatePartialHeight": sprites_RenderText_calculatePartialHeight__P55229, + "lineHeight": sprites_RenderText_lineHeight__P55230, + "setMaxWidth": sprites_RenderText_setMaxWidth__P55231, + "printableCharacters": sprites_RenderText_printableCharacters__P55232, + "lineEnd": sprites_RenderText_lineEnd__P55233, + "lineStart": sprites_RenderText_lineStart__P55234, + "widthOfLine": sprites_RenderText_widthOfLine__P55235, + "widthOfLines": sprites_RenderText_widthOfLines__P55236, }, }); -const sprites_RenderTextAnimation__C2225_VT = mkVTable({ +const sprites_RenderTextAnimation__C55237_VT = mkVTable({ name: "RenderTextAnimation", numFields: 10, classNo: 87, @@ -85842,17 +85875,17 @@ const sprites_RenderTextAnimation__C2225_VT = mkVTable({ "set/text": null, "height": null, "set/height": null, - "start": sprites_RenderTextAnimation_start__P2227, - "numPages": sprites_RenderTextAnimation_numPages__P2228, - "setPauseLength": sprites_RenderTextAnimation_setPauseLength__P2229, - "setTextSpeed": sprites_RenderTextAnimation_setTextSpeed__P2230, - "currentHeight": sprites_RenderTextAnimation_currentHeight__P2231, - "currentWidth": sprites_RenderTextAnimation_currentWidth__P2232, - "currentOffset": sprites_RenderTextAnimation_currentOffset__P2233, - "draw": sprites_RenderTextAnimation_draw__P2238, + "start": sprites_RenderTextAnimation_start__P55239, + "numPages": sprites_RenderTextAnimation_numPages__P55240, + "setPauseLength": sprites_RenderTextAnimation_setPauseLength__P55241, + "setTextSpeed": sprites_RenderTextAnimation_setTextSpeed__P55242, + "currentHeight": sprites_RenderTextAnimation_currentHeight__P55243, + "currentWidth": sprites_RenderTextAnimation_currentWidth__P55244, + "currentOffset": sprites_RenderTextAnimation_currentOffset__P55245, + "draw": sprites_RenderTextAnimation_draw__P55250, }, }); -const controller_ButtonHandler__C2164_VT = mkVTable({ +const controller_ButtonHandler__C55176_VT = mkVTable({ name: "ButtonHandler", numFields: 2, classNo: 88, @@ -85867,7 +85900,7 @@ const controller_ButtonHandler__C2164_VT = mkVTable({ "set/callback": null, }, }); -const controller_ButtonEventHandlerState__C2166_VT = mkVTable({ +const controller_ButtonEventHandlerState__C55178_VT = mkVTable({ name: "ButtonEventHandlerState", numFields: 3, classNo: 89, @@ -85884,7 +85917,7 @@ const controller_ButtonEventHandlerState__C2166_VT = mkVTable({ "set/system": null, }, }); -const statusbars_StatusHandler__C7103_VT = mkVTable({ +const statusbars_StatusHandler__C60116_VT = mkVTable({ name: "StatusHandler", numFields: 5, classNo: 90, @@ -85903,10 +85936,10 @@ const statusbars_StatusHandler__C7103_VT = mkVTable({ "set/percent": null, "handler": null, "set/handler": null, - "conditionMet": statusbars_StatusHandler_conditionMet__P7104, + "conditionMet": statusbars_StatusHandler_conditionMet__P60117, }, }); -const scene_systemMenu_PauseMenu__C3075_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C56087_VT = mkVTable({ name: "PauseMenu", numFields: 7, classNo: 91, @@ -85929,15 +85962,15 @@ const scene_systemMenu_PauseMenu__C3075_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P3077, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P3078, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P3079, - "drawText": scene_systemMenu_PauseMenu_drawText__P3080, - "dispose": scene_systemMenu_PauseMenu_dispose__P3081, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P5278, + "show": scene_systemMenu_PauseMenu_show__P56089, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P56090, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P56091, + "drawText": scene_systemMenu_PauseMenu_drawText__P56092, + "dispose": scene_systemMenu_PauseMenu_dispose__P56093, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P58291, }, }); -const scene_systemMenu_MenuOption__C3067_VT = mkVTable({ +const scene_systemMenu_MenuOption__C56079_VT = mkVTable({ name: "MenuOption", numFields: 8, classNo: 92, @@ -85962,16 +85995,16 @@ const scene_systemMenu_MenuOption__C3067_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P3069, - "position": scene_systemMenu_MenuOption_position__P3070, - "setOffset": scene_systemMenu_MenuOption_setOffset__P3071, - "setTheme": scene_systemMenu_MenuOption_setTheme__P3072, - "setState": scene_systemMenu_MenuOption_setState__P3073, - "dispose": scene_systemMenu_MenuOption_dispose__P3074, - "updateCard": scene_systemMenu_MenuOption_updateCard__P5277, + "show": scene_systemMenu_MenuOption_show__P56081, + "position": scene_systemMenu_MenuOption_position__P56082, + "setOffset": scene_systemMenu_MenuOption_setOffset__P56083, + "setTheme": scene_systemMenu_MenuOption_setTheme__P56084, + "setState": scene_systemMenu_MenuOption_setState__P56085, + "dispose": scene_systemMenu_MenuOption_dispose__P56086, + "updateCard": scene_systemMenu_MenuOption_updateCard__P58290, }, }); -const animation_Path__C3327_VT = mkVTable({ +const animation_Path__C56339_VT = mkVTable({ name: "Path", numFields: 12, classNo: 93, @@ -86004,16 +86037,16 @@ const animation_Path__C3327_VT = mkVTable({ "set/commandIndex": null, "path": null, "set/path": null, - "readNextCommand": animation_Path_readNextCommand__P5444, - "reset": animation_Path_reset__P3330, - "readNextToken": animation_Path_readNextToken__P5445, - "commandToArgCount": animation_Path_commandToArgCount__P5446, - "run": animation_Path_run__P3331, - "runCurrentCommand": animation_Path_runCurrentCommand__P5447, - "ensureControlPoint": animation_Path_ensureControlPoint__P5448, + "readNextCommand": animation_Path_readNextCommand__P58457, + "reset": animation_Path_reset__P56342, + "readNextToken": animation_Path_readNextToken__P58458, + "commandToArgCount": animation_Path_commandToArgCount__P58459, + "run": animation_Path_run__P56343, + "runCurrentCommand": animation_Path_runCurrentCommand__P58460, + "ensureControlPoint": animation_Path_ensureControlPoint__P58461, }, }); -const MovingSprite__C2505_VT = mkVTable({ +const MovingSprite__C55517_VT = mkVTable({ name: "MovingSprite", numFields: 7, classNo: 94, @@ -86038,7 +86071,7 @@ const MovingSprite__C2505_VT = mkVTable({ "set/yStep": null, }, }); -const sprites_StaticObstacle__C2478_VT = mkVTable({ +const sprites_StaticObstacle__C55490_VT = mkVTable({ name: "StaticObstacle", numFields: 5, classNo: 95, @@ -86057,14 +86090,14 @@ const sprites_StaticObstacle__C2478_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P2485, - "y": sprites_StaticObstacle_y__P2486, - "height": sprites_StaticObstacle_height__P2487, - "width": sprites_StaticObstacle_width__P2488, + "x": sprites_StaticObstacle_x__P55497, + "y": sprites_StaticObstacle_y__P55498, + "height": sprites_StaticObstacle_height__P55499, + "width": sprites_StaticObstacle_width__P55500, }, }); -const breakpoints = setupDebugger(1, ["transparency16___4449","tile1___4454","tile2___4451","tile3___4450","tile8___4452","tile4___4453","button___101085","monkey_type___101088","setting_level___101096","fire_plane___101100","setting_plane___101247","monkey___101251","chosen_plane___101257","red_plane___101363","ryanair_plane___101384","vueling_plane___101404","aalines_plane___101424","forest_a___101132","chosen_level___101124","forest_b___101139"]) +const breakpoints = setupDebugger(1, ["transparency16___57462","tile1___57467","tile2___57464","tile3___57463","tile8___57465","tile4___57466","button___97082","monkey_type___97085","setting_level___97093","fire_plane___97097","setting_plane___97244","monkey___97248","chosen_plane___97254","red_plane___97360","ryanair_plane___97381","vueling_plane___97401","aalines_plane___97421","forest_a___97129","chosen_level___97121","forest_b___97136"]) -return _main___P101803 +return _main___P98177 }) diff --git a/assets/version.txt b/assets/version.txt index 0c89fc9..cc868b6 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -4.0.0 \ No newline at end of file +4.0.1 \ No newline at end of file diff --git a/pxt.json b/pxt.json index c269a61..dd9252e 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "Salvem el bosc!", - "version": "4.0.0", + "version": "4.0.1", "description": "", "dependencies": { "device": "*",