diff --git a/assets/js/binary.js b/assets/js/binary.js index 0771b52..683599c 100644 --- a/assets/js/binary.js +++ b/assets/js/binary.js @@ -1,5 +1,5 @@ -// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.12.49/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"0.0.5","target":"arcade","targetVersion":"1.12.49","repo":"rymc88/unit-1-skillmap"} -// total=1248343 new=5.86% cached=88.47% other=5.67% +// meta={"simUrl":"https://trg-arcade.userpxt.io/v1.12.49/---simulator","cdnUrl":"https://pxt.azureedge.net","version":"1.0.0","target":"arcade","targetVersion":"1.12.49","repo":"alex-kulcsar/unit-1-skillmap"} +// total=1255596 new=5.86% cached=88.48% other=5.67% (function (ectx) { 'use strict'; const runtime = ectx.runtime; @@ -429,7 +429,7 @@ const pxsim_pxtrt = pxsim.pxtrt; const pxsim_numops = pxsim.numops; -function _main___P35932(s) { +function _main___P144088(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -439,280 +439,280 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - globals._intervals___22369 = (undefined); - globals._pollEventQueue___22378 = (undefined); - globals.minPriority___18346 = (1); + globals._intervals___130250 = (undefined); + globals._pollEventQueue___130259 = (undefined); + globals.minPriority___126227 = (1); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P22381); - globals.listeners___22382 = (s.tmp_0); - globals.globalVolume___22435 = (null); - globals.playToneID___22442 = (0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C19597_VT); + r0 = pxsim_Array__push(s.tmp_0, listeners_inline__P130262); + globals.listeners___130263 = (s.tmp_0); + globals.globalVolume___130316 = (null); + globals.playToneID___130323 = (0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C127478_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P19600_mk(s); + s.tmp_1 = music_Melody_constructor__P127481_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___19618 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C19597_VT); + globals.wawawawaa___127499 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(music_Melody__C127478_VT); s.tmp_0 = r0; - s.tmp_1 = music_Melody_constructor__P19600_mk(s); + s.tmp_1 = music_Melody_constructor__P127481_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___19621 = (s.tmp_0); - globals.brightness___19922 = (100); + globals.powerUp___127502 = (s.tmp_0); + globals.brightness___127803 = (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", _hex25865); - globals.font8___19946 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex133746); + globals.font8___127827 = (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", _hex25867); - globals.font12___19947 = (s.tmp_0); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex133748); + globals.font12___127828 = (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", _hex27717); - globals.font5___19951 = (s.tmp_0); - globals.__updated___22549 = (false); - r0 = pxsim.control.runInParallel(control___screen_inline__P22552); - r0 = pxsim_pxtcore.setPalette(_hex22563); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "data", _hex135598); + globals.font5___127832 = (s.tmp_0); + globals.__updated___130430 = (false); + r0 = pxsim.control.runInParallel(control___screen_inline__P130433); + r0 = pxsim_pxtcore.setPalette(_hex130444); 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___20003 = (r0); - s.tmp_0 = control___screen_setupUpdate__P19965_mk(s); - s.tmp_0.arg0 = _screen_internal_inline__P22572; + globals.screen___127884 = (r0); + s.tmp_0 = control___screen_setupUpdate__P127846_mk(s); + s.tmp_0.arg0 = _screen_internal_inline__P130453; s.callLocIdx = 6; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.control_EventContext_onStats___18369 = (_screen_internal_inline__P22577); - globals.RUN_KEY___22582 = ("#run"); - globals.SCOPE_KEY___22583 = ("#scope"); - s.tmp_0 = settings_initScopes__P22594_mk(s); + globals.control_EventContext_onStats___126250 = (_screen_internal_inline__P130458); + globals.RUN_KEY___130463 = ("#run"); + globals.SCOPE_KEY___130464 = ("#scope"); + s.tmp_0 = settings_initScopes__P130475_mk(s); s.callLocIdx = 7; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20160_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C128041_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20166_mk(s); + s.tmp_1 = controller_Button_constructor__P128047_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 5; s.tmp_1.arg2 = 4; s.callLocIdx = 8; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.A___20084 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20160_VT); + globals.A___127965 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C128041_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20166_mk(s); + s.tmp_1 = controller_Button_constructor__P128047_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 6; s.tmp_1.arg2 = 5; s.callLocIdx = 9; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - globals.B___20085 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20160_VT); + globals.B___127966 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C128041_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20166_mk(s); + s.tmp_1 = controller_Button_constructor__P128047_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1; s.tmp_1.arg2 = 47; s.callLocIdx = 10; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - globals.left___20086 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20160_VT); + globals.left___127967 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C128041_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20166_mk(s); + s.tmp_1 = controller_Button_constructor__P128047_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = 49; s.callLocIdx = 11; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - globals.up___20087 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20160_VT); + globals.up___127968 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C128041_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20166_mk(s); + s.tmp_1 = controller_Button_constructor__P128047_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = 48; s.callLocIdx = 12; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - globals.right___20088 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20160_VT); + globals.right___127969 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C128041_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20166_mk(s); + s.tmp_1 = controller_Button_constructor__P128047_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = 50; s.callLocIdx = 13; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - globals.down___20089 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20160_VT); + globals.down___127970 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C128041_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20166_mk(s); + s.tmp_1 = controller_Button_constructor__P128047_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 7; s.tmp_1.arg2 = 51; s.callLocIdx = 14; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - globals.menu___20090 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C20105_VT); + globals.menu___127971 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C127986_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P20109_mk(s); + s.tmp_1 = controller_Controller_constructor__P127990_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 2; s.tmp_1.arg2 = undefined; s.callLocIdx = 15; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; - globals.player2___20091 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C20105_VT); + globals.player2___127972 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C127986_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P20109_mk(s); + s.tmp_1 = controller_Controller_constructor__P127990_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; s.callLocIdx = 16; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - globals.player3___20092 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C20105_VT); + globals.player3___127973 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C127986_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Controller_constructor__P20109_mk(s); + s.tmp_1 = controller_Controller_constructor__P127990_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 4; s.tmp_1.arg2 = undefined; s.callLocIdx = 17; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - globals.player4___20093 = (s.tmp_0); - s.tmp_0 = controller__player1__P20099_mk(s); + globals.player4___127974 = (s.tmp_0); + s.tmp_0 = controller__player1__P127980_mk(s); s.callLocIdx = 18; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - globals.player1___20094 = (r0); - s.tmp_0 = game_addScenePopHandler__P20991_mk(s); - s.tmp_0.arg0 = controller_inline__P22622; + globals.player1___127975 = (r0); + s.tmp_0 = game_addScenePopHandler__P128872_mk(s); + s.tmp_0.arg0 = controller_inline__P130503; s.callLocIdx = 23; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = game_addScenePushHandler__P20989_mk(s); - s.tmp_0.arg0 = controller_inline__P22662; + s.tmp_0 = game_addScenePushHandler__P128870_mk(s); + s.tmp_0.arg0 = controller_inline__P130543; s.callLocIdx = 25; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C22686_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_AnyButton__C130567_VT); s.tmp_0 = r0; - s.tmp_1 = controller_Button_constructor__P20166_mk(s); + s.tmp_1 = controller_Button_constructor__P128047_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 0; s.tmp_1.arg2 = -1; s.callLocIdx = 26; s.pc = 18; return s.tmp_1; case 18: r0 = s.retval; - globals.anyButton___20141 = (s.tmp_0); - globals._userEventsEnabled___22700 = (true); - globals.defaultRepeatDelay___22702 = (500); - globals.defaultRepeatInterval___22704 = (30); - s.tmp_0 = SpriteKind_create__P20450_mk(s); + globals.anyButton___128022 = (s.tmp_0); + globals._userEventsEnabled___130581 = (true); + globals.defaultRepeatDelay___130583 = (500); + globals.defaultRepeatInterval___130585 = (30); + s.tmp_0 = SpriteKind_create__P128331_mk(s); s.callLocIdx = 27; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - globals.Player___20451 = (r0); - s.tmp_0 = SpriteKind_create__P20450_mk(s); + globals.Player___128332 = (r0); + s.tmp_0 = SpriteKind_create__P128331_mk(s); s.callLocIdx = 28; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - globals.Food___20453 = (r0); - s.tmp_0 = SpriteKind_create__P20450_mk(s); + globals.Food___128334 = (r0); + s.tmp_0 = SpriteKind_create__P128331_mk(s); s.callLocIdx = 29; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - globals.Enemy___20454 = (r0); + globals.Enemy___128335 = (r0); r0 = (0.1 * 256); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - globals.MIN_MOVE_GAP___20492 = (r0); - globals.infoState___22769 = (undefined); - s.tmp_0 = game_addScenePushHandler__P20989_mk(s); - s.tmp_0.arg0 = info_inline__P22773; + globals.MIN_MOVE_GAP___128373 = (r0); + globals.infoState___130650 = (undefined); + s.tmp_0 = game_addScenePushHandler__P128870_mk(s); + s.tmp_0.arg0 = info_inline__P130654; s.callLocIdx = 31; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.tmp_0 = game_addScenePopHandler__P20991_mk(s); - s.tmp_0.arg0 = info_inline__P22788; + s.tmp_0 = game_addScenePopHandler__P128872_mk(s); + s.tmp_0.arg0 = info_inline__P130669; s.callLocIdx = 35; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; r0 = pxsim_Array__mk(); - globals.scene_Scene_initializers___20836 = (r0); - r0 = pxsim.image.ofBuffer(_hex22878); - globals.img_trophy_sm___22879 = (r0); - r0 = pxsim.image.ofBuffer(_hex22881); - globals.img_trophy_lg___22882 = (r0); - r0 = pxsim.image.ofBuffer(_hex22884); - globals.img_sleepy_sim___22885 = (r0); - globals.debug___20938 = (false); - globals.stats___20939 = (false); - globals.gameOverConfig___20969 = (gameOverConfig_inline__P22897); - s.tmp_0 = scene_systemMenu_initVolume__P23171_mk(s); + globals.scene_Scene_initializers___128717 = (r0); + r0 = pxsim.image.ofBuffer(_hex130759); + globals.img_trophy_sm___130760 = (r0); + r0 = pxsim.image.ofBuffer(_hex130762); + globals.img_trophy_lg___130763 = (r0); + r0 = pxsim.image.ofBuffer(_hex130765); + globals.img_sleepy_sim___130766 = (r0); + globals.debug___128819 = (false); + globals.stats___128820 = (false); + globals.gameOverConfig___128850 = (gameOverConfig_inline__P130778); + s.tmp_0 = scene_systemMenu_initVolume__P131052_mk(s); s.callLocIdx = 37; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_initScreen__P23172_mk(s); + s.tmp_0 = scene_systemMenu_initScreen__P131053_mk(s); s.callLocIdx = 38; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - r0 = pxsim_Array__push(globals.scene_Scene_initializers___20836, scene_systemMenu_register__P21077); - r0 = pxsim.image.ofBuffer(_hex23179); - globals.CARD_NORMAL___21082 = (r0); - r0 = pxsim.image.ofBuffer(_hex23181); - globals.CARD_SELECTED___21083 = (r0); - r0 = pxsim.image.ofBuffer(_hex23183); - globals.CARD_ACTIVE___21084 = (r0); - r0 = pxsim.image.ofBuffer(_hex23185); - globals.VOLUME_UP_ICON___21085 = (r0); - r0 = pxsim.image.ofBuffer(_hex23187); - globals.BRIGHTNESS_DOWN_ICON___21086 = (r0); - r0 = pxsim.image.ofBuffer(_hex23189); - globals.CLOSE_MENU_ICON___21087 = (r0); - r0 = pxsim.image.ofBuffer(_hex23191); - globals.VOLUME_DOWN_ICON___21088 = (r0); - r0 = pxsim.image.ofBuffer(_hex23193); - globals.SLEEP_ICON___21089 = (r0); - r0 = pxsim.image.ofBuffer(_hex23195); - globals.CONSOLE_ICON___21090 = (r0); - r0 = pxsim.image.ofBuffer(_hex23197); - globals.BRIGHTNESS_UP_ICON___21091 = (r0); - r0 = pxsim.image.ofBuffer(_hex23199); - globals.STATS_ICON___21092 = (r0); - globals.consoleColor___23202 = (1); - globals.tabSize___23205 = (8); - globals.consoleFont___23211 = (globals.font5___19951); - r0 = pxsim_ImageMethods.height(globals.screen___20003); + r0 = pxsim_Array__push(globals.scene_Scene_initializers___128717, scene_systemMenu_register__P128958); + r0 = pxsim.image.ofBuffer(_hex131060); + globals.CARD_NORMAL___128963 = (r0); + r0 = pxsim.image.ofBuffer(_hex131062); + globals.CARD_SELECTED___128964 = (r0); + r0 = pxsim.image.ofBuffer(_hex131064); + globals.CARD_ACTIVE___128965 = (r0); + r0 = pxsim.image.ofBuffer(_hex131066); + globals.VOLUME_UP_ICON___128966 = (r0); + r0 = pxsim.image.ofBuffer(_hex131068); + globals.BRIGHTNESS_DOWN_ICON___128967 = (r0); + r0 = pxsim.image.ofBuffer(_hex131070); + globals.CLOSE_MENU_ICON___128968 = (r0); + r0 = pxsim.image.ofBuffer(_hex131072); + globals.VOLUME_DOWN_ICON___128969 = (r0); + r0 = pxsim.image.ofBuffer(_hex131074); + globals.SLEEP_ICON___128970 = (r0); + r0 = pxsim.image.ofBuffer(_hex131076); + globals.CONSOLE_ICON___128971 = (r0); + r0 = pxsim.image.ofBuffer(_hex131078); + globals.BRIGHTNESS_UP_ICON___128972 = (r0); + r0 = pxsim.image.ofBuffer(_hex131080); + globals.STATS_ICON___128973 = (r0); + globals.consoleColor___131083 = (1); + globals.tabSize___131086 = (8); + globals.consoleFont___131092 = (globals.font5___127832); + r0 = pxsim_ImageMethods.height(globals.screen___127884); s.tmp_2 = r0; s.tmp_5 = if_charHeight_1_mk(s); - s.tmp_5.arg0 = globals.consoleFont___23211; + s.tmp_5.arg0 = globals.consoleFont___131092; if (!s.tmp_5.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "charHeight"); } else { @@ -731,13 +731,13 @@ switch (step) { r0 = pxsim.Math_.floor(s.tmp_1); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - globals.consoleLines___23216 = (r0); - r0 = pxsim_ImageMethods.width(globals.screen___20003); + globals.consoleLines___131097 = (r0); + r0 = pxsim_ImageMethods.width(globals.screen___127884); 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___23211; + s.tmp_4.arg0 = globals.consoleFont___131092; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -752,22 +752,22 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_3); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - globals.consoleColumns___23226 = (r0); - s.tmp_0 = console_addListener__P18354_mk(s); - s.tmp_0.arg0 = game_consoleOverlay_listener__P23238; + globals.consoleColumns___131107 = (r0); + s.tmp_0 = console_addListener__P126235_mk(s); + s.tmp_0.arg0 = game_consoleOverlay_listener__P131119; s.callLocIdx = 41; s.pc = 28; return s.tmp_0; case 28: r0 = s.retval; s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = MAX_SOURCES_inline__P31152; + s.tmp_0.argL = MAX_SOURCES_inline__P139033; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 43; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - globals.MAX_SOURCES___23240 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C21162_VT); + globals.MAX_SOURCES___131121 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_SprayFactory__C129043_VT); s.tmp_0 = r0; - s.tmp_1 = particles_SprayFactory_constructor__P21163_mk(s); + s.tmp_1 = particles_SprayFactory_constructor__P129044_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 20; s.tmp_1.arg2 = 0; @@ -775,74 +775,74 @@ switch (step) { s.callLocIdx = 44; s.pc = 30; return s.tmp_1; case 30: r0 = s.retval; - globals.defaultFactory___21142 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C21030_VT); + globals.defaultFactory___129023 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C128911_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P21032_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P128913_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 45; s.pc = 31; return s.tmp_1; case 31: r0 = s.retval; - globals.galois___23260 = (s.tmp_0); - globals.angleSlice___23268 = (0.06283185307179587); - r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C21237_VT); + globals.galois___131141 = (s.tmp_0); + globals.angleSlice___131149 = (0.06283185307179587); + r0 = pxsim_pxtcore_mkClassInstance(effects_ScreenEffect__C129118_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ScreenEffect_constructor__P21238_mk(s); + s.tmp_1 = effects_ScreenEffect_constructor__P129119_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__P30906; + s.tmp_1.arg4 = confetti_inline__P138787; s.callLocIdx = 51; s.pc = 32; return s.tmp_1; case 32: r0 = s.retval; - globals.confetti___21245 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C21261_VT); + globals.confetti___129126 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C129142_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P21262_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P129143_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 100; - s.tmp_1.arg2 = dissolve_inline__P28695; + s.tmp_1.arg2 = dissolve_inline__P136576; s.callLocIdx = 57; s.pc = 33; return s.tmp_1; case 33: r0 = s.retval; - globals.dissolve___21266 = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C21261_VT); + globals.dissolve___129147 = (s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(effects_ImageEffect__C129142_VT); s.tmp_0 = r0; - s.tmp_1 = effects_ImageEffect_constructor__P21262_mk(s); + s.tmp_1 = effects_ImageEffect_constructor__P129143_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 125; - s.tmp_1.arg2 = melt_inline__P30852; + s.tmp_1.arg2 = melt_inline__P138733; s.callLocIdx = 60; s.pc = 34; return s.tmp_1; case 34: r0 = s.retval; - globals.melt___21267 = (s.tmp_0); - s.tmp_0 = game_setWaitAnyButton__P20971_mk(s); - s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P20176; + globals.melt___129148 = (s.tmp_0); + s.tmp_0 = game_setWaitAnyButton__P128852_mk(s); + s.tmp_0.arg0 = controller_pauseUntilAnyButtonIsPressed__P128057; s.callLocIdx = 61; s.pc = 35; return s.tmp_0; case 35: r0 = s.retval; - s.tmp_0 = game_eventContext__P20973_mk(s); + s.tmp_0 = game_eventContext__P128854_mk(s); s.callLocIdx = 62; s.pc = 36; return s.tmp_0; case 36: r0 = s.retval; - s.tmp_0 = SpriteKind_create__P20450_mk(s); + s.tmp_0 = SpriteKind_create__P128331_mk(s); s.callLocIdx = 63; s.pc = 37; return s.tmp_0; case 37: r0 = s.retval; - globals.Text___22303 = (r0); + globals.Text___130184 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -_main___P35932.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/arcade-text/main.ts","functionName":"
","argumentNames":[]} -_main___P35932.continuations = [ ] +_main___P144088.info = {"start":0,"length":0,"line":0,"column":0,"endLine":0,"endColumn":0,"fileName":"pxt_modules/arcade-text/main.ts","functionName":"
","argumentNames":[]} +_main___P144088.continuations = [ ] -function _main___P35932_mk(s) { +function _main___P144088_mk(s) { checkStack(s.depth); return { - parent: s, fn: _main___P35932, depth: s.depth + 1, + parent: s, fn: _main___P144088, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -852,29 +852,29 @@ function _main___P35932_mk(s) { tmp_5: undefined, } } -const _hex25865 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") -const _hex25867 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") -const _hex27717 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") -const _hex22563 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca39af00d003fad32e3d0d59dffa4839f5c406cd1d1d1191919000000") -const _hex22878 = pxsim.BufferMethods.createBufferFromHex("870407000800000000000000404400005055040450555505505501011011000000000000") -const _hex22881 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000050050000000000000550000000005045444404000000455544444400040045555555550404004555555555450500455555555511050045555555150101004555111111000100501511110100000000000550000000000000500500000000000000000000000000000000000000") -const _hex22884 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000006666666666060060ffffff666f660060fffffff6ff660060fff1ff666f660060fff1ff6666660060fffff16666660060fffff16666660060fff1ff6666660060fff1ff66f6660060ffffff6666660060fffffff6666600006666666666060000000000000000000000000000000000") -const _hex23179 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") -const _hex23181 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") -const _hex23183 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") -const _hex23185 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex23187 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex23189 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex23191 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex23193 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex23195 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex23197 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -const _hex23199 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex133746 = pxsim.BufferMethods.createBufferFromHex("2000000000000000210000005e0000002200000e000e0000230028fe28fe280024004c92ff926400250002651248a64026006c92926ca000270000000e000000280000007c82000029000000827c00002a005438103854002b0010107c1010002c000000907000002d001010101010002e000000606000002f000060100806003000003c42423c00310000447e4000003200004462524c00330000424a4e320034003028247e20003500004e4a4a32003600003c4a4a30003700000262120e00380000344a4a34003900000c52523c003a0000006c6c00003b000000967600003c001028284444003d002828282828003e004444282810003f0000025909060040003c425a560800410078141214780042007e4a4a4a34004300003c424224004400007e42423c004500007e4a4a42004600007e0a0a02004700003c425234004800007e08087e00490000427e4200004a002040423e02004b00007e081462004c00007e404040004d007e0418047e004e00007e04087e004f003c4242423c005000007e12120c005100003c5262bc005200007e12126c00530000244a522400540002027e0202005500003e40403e005600001e70701e0057007e2018207e00580042241824420059000608700806005a000062524a46005b00007e424200005c000006081060005d000042427e00005e000804020408005f00808080808000600000000204000061000030484878006200007e4848300063000030484848006400003048487e006500003068585000660000107c12040067000018a4a478006800007e08087000690000487a4000006a000040847d00006b00007e102840006c0000427e4000006d007808300870006e000078080870006f00003048483000700000fc24241800710000182424fc0072000078100810007300005058682800740000083e48200075000038404078007600001860601800770038403040380078000048303048007900005ca0a07c007a000048685848007b000008364100007c000000fe0000007d000041360800007e00000804080400a000000000000000a10000007a000000a200003048fc4800a30090fc92928400a400542844285400a5002a2c782c2a00a6000000ee000000a7000094aaaa5200a800000200020000a9003e414955413eaa0000242a2e0000ab00102854284400ac00001010107000ad00001010101000ae003e415d45413eaf00000202020200b000000814140800b1008888be888800b2000024322c0000b30000222a140000b400000004020000b50000f840207800b6000c1e7e027e00b700000010000000b800000080400000b90000243e200000ba0000242a240000bb00442854281000bc00025f70f84000bd00021f90c8b000be0011557af84000bf000030484d2000c000601916186000c100601816196000c200601a151a6000c300601a151a6100c400601914196000c500601a151a6000c6007c0a7e4a4200c700001ea1611200c800007c55564400c900007c56554400ca00007c56554600cb00007c55544500cc0000457e440000cd0000447e450000ce0000467d460000cf0000457c450000d000087e4a423c00d100007e09127d00d200003845463800d300003846453800d400003846453a00d500003a45463900d600003845443900d700442810284400d80000fc724e3f00d900003c41423c00da00003c42413c00db00003c42413e00dc00003c41403d00dd00040872090400de00007e24241800df00007c025a2400e0000030494a7800e10000304a497800e20000304a497a00e3000032494a7900e40000304a487a00e50000304a4d7a00e600304878685000e7000018a4642400e8000030695a5000e90000306a595000ea0000306a595200eb0000306a585200ec0000497a400000ed0000487a410000ee00004a79420000ef00004a78420000f00000304a4b3d00f100007a090a7100f2000030494a3000f30000304a493000f40000304a493200f5000032494a3100f60000304a483200f700101054101000f800007068583800f900003841427800fa00003842417800fb00003842417a00fc00003842407a00fd0000b84241f800fe0000ff24241800ff00005ca1a07d000001601915196000010100304a4a7a000201611a16196000030100314a4a790004013c0a094abc00050100182464bc000601003846452800070100304a4948000801003846452a00090100304a494a000a010038444528000b010030484a48000c010038454629000d010030494a49000e01007c454639000f0100314a497e001001087e4a423c00110130484c7e04001201007d55554500130100326a5a52001401007d56564500150100316a5a51001601007c55544400170100306a5850001801003f65a521001901001874ac28001a01007c555645001b010030695a51001c010038465536001d0100304a49f2001e010039465635001f0100314a4af100200100384455340021010018a4a578002201001ea1691a0023010018a6a578002401007812117a0025017e080a7102002601047e147e04002701047e0c08700028010002457e450029010002497a41002a0100457d4500002b01004a7a4200002c0100014a7a49002d0100014a7a41002e0100217fa100002f0100247da00000300100447d440000310100487840000032017e0022423e0033013d0040847d0034012040463d0600350100800af90200360100bf440a3100370100bf4814200038010078102848003901007c404241003a0100467d4000003b01003fa06020003c0100a17f2000003d01007c414241003e0100457e4100003f01007e40484000400100427e4008004101107e48404000420100527e4800004301007c0a117c00440100780a097000450100bf42043f00460100bc440438004701007c09127d00480100790a09700049010a06780870004a01003f02847f004b01003c048478004c013945454539004d0100324a4a32004e013946464639004f0100314a4a310050013a4544463900510132494832010052013c427e4a420053013048306850005401007c163548005501007812091000560100bf49093600570100bc480408005801007d1635480059010079120910005a010048565524005b0100505a6928005c010048565526005d0100505a692a005e010012a56912005f010028ac741400600100485556250061010050596a290062010101bf410100630100049f641000640104057e050400650100083d4a2100660102127e120200670100183e5820006801003a414239006901003a414279006a01003d41413d006b01003a42427a006c010039424239006d010039424279006e01003a45453a006f01003a45457a0070013a41403a010071013a41407a01007201001f60a01f007301001c60a03c00740178221122780075013842314238007601081261120800770100b84241fa00780104097009040079010064564d44007a0100486a5948007b010064544d44007c010048685a48007d010064554e45007e010048695a49007f0100087c0204008f01003452523c00920100887e090200a0013c42423c0806a101003048483008af01003e403e0806b001003840781008b501006a5a4a4e00b601005878585800d101003845463900d2010030494a3100e601003845563500e7010030494af100fa0100742a750000fb0100304c4a7d00fc0178147e554400fd0130487a695000fe010078744e3d00ff0100706a59380018020012a569120019020028ac7414001a020101bf4101001b0200049f641000bb0200000c0a0000bc0200000a060000bd020000060a0000c602000201020000c702000102010000c902000202020000d802000102020100d902000002000000da02000205020000db02000040800000dc02000201020100dd02020100020100740300000201000075030000804000007a030000c08000007e03000096760000840300000300000085030200030002008603037c12127c008703000010000000880303007e4a4200890303007e087e008a030300427e42008c03033c42423c008e0303000e700e008f03035c62625c00900302003b400200910378141214780092037e4a4a4a34009303007e0202020094036058465860009503007e4a4a420096030062524a46009703007e08087e0098033c4a4a4a3c00990300427e4200009a03007e081462009b036018061860009c037e0418047e009d03007e04087e009e0300424a4a42009f033c4242423c00a003007e02027e00a103007e12120c00a30300665a424200a40302027e020200a503060870080600a60318247e241800a703422418244200a8030e107e100e00a9035c6202625c00aa0300457c450000ab03040970090400ac030030484a7900ad030030685a5100ae0378100a09f000af03003a41200000b0033a4043403a00b103003048487800b20300fe25251a00b3030c30c0300c00b403344a4a4a3000b503003068585000b603021aa6a24200b7033c080404f800b803003c4a4a3c00b903003840200000ba03007820504800bb03641212227c00bc03fc2020103c00bd03182040201800be03112d2ba94100bf03003048483000c003087808780800c103f82424241800c2031824a4a44800c303304848582800c403000838482800c503384040403800c6031c20f8241800c703c4281028c400c8031c20fc201c00c903304820483000ca03000238422000cb03384240423800cc0330484a493000cd03384042413800ce03304822493000d0033c52525c2000d10310344a3c0800d203067804020400d303120a7c020400d4030d7009040800d5031824ff241800d603384828483800d70348302221d800da031c2221a14200db031824a4a44200dc037e1212020200dd0300fc24240400de033e2010087c00df030c0ac9281800e003700c621c7000e10301092516f800e2039ea0bea07e00e30398a0b8a07800e4030c1214107e00e503001028207800e603be9088887000e70348544e443800e803245252524c00e903285454544800ea0364524c526400eb03086458640800ec03385454542200ed03306848682400ee03184a7e4a1800ef031848ff0a0800f003483020205800f10378a4a4a49800f203304848485000f303006080847d00f4033c4a4a4a3c00f5030030585848000004007c555644000104007c55544500020401013f8579000304007c0605040004043c4a4a422400050400244a522400060400427e420000070400457c45000008042040423e020009047c027e4830000a047e087e4830000b0402027e0a72000c04007c102a45000d047c2112087c000e040c5152523d000f043f20e0203f00100478141214780011047e4a4a4a300012047e4a4a4a34001304007e020202001404c07c427ec0001504007e4a4a4200160476087e087600170424424a4a34001804007e08047e001904007d120a7d001a04007e081462001b04403c02027e001c047e0418047e001d04007e08087e001e043c4242423c001f047e0202027e002004007e12120c002104003c42422400220402027e02020023040e5050503e00240418247e241800250442241824420026043f2020bf600027040e1010107e0028047e407e407e0029043f203fa07f002a04027e484830002b047e4848307e002c04007e484830002d0424424a4a3c002e047e183c423c002f04006c12127e0030043048487840003104003c4a4a3100320400786850200033040078080808003404c0704878c000350430686850000036044830783048003704004058683000380478402010780039047942221279003a040078203048003b044030080878003c047810201078003d047810101078003e043048484830003f047808080878004004fc24242418004104304848485000420408087808080043041ca0a0a07c0044041824ff241800450400483030480046043c2020bc60004704182020207800480478407840780049043c203ca07c004a040878505020004b047850502078004c040078505020004d044858683000004e047830304830004f0450282878000050040030696a500051040032686a50005204023f0a887000530400780a09080054040030685848005504005058682800560400487a4000005704004a784200005804004080847d0059047008785020005a047810785020005b04047e141060005c040078223148005d047841221078005e0418a1a2a279005f043c20e0203c006204027f4a4830006304087e5850200070040e107e100e00710418207820180072043c4a4a4a3c0073043068586830007404001e70180c0075040018603010009004007e020203009104007808080c009204087e0a0a0200930420782808080096043b043f043be0970424183c1824c09a04003f040a31c09b04003c101824c0ae04060870080600af040c10e0100c00b004161870181600b1042c30e0302c00b20421120c1221c0b3040024181824c0ba047e0808087000bb04007e08087000d804003452523c00d904002868583000e20400457d450000e304004a7a420000e8043c4a4a4a3c00e904003058583000ee04003d41413d00ef04003a42427a00d005681020285000d105484848784000d205004830600000d305080808780800d405680808087800d505000008780000d605080818680800d705087808087800d805784050487800d905000008180000da0504040404fc00db05484848483800dc050e4848281800dd05087848487800de05582010487000df05000004fc0000e005004040487800e105000878483800e205487840281800e305041c0404fc00e405485848483800e50504f820140800e605485060685000e705f40424241c00e805080808087000e905785058403800ea05487808087800f005087800087800f105081800087800f205081800081800f305000010080000f405100800100800021e7c5455542800031e007e484930000a1e007c454438000b1e003049487e001e1e007c151404001f1e001079140800401e7e0419047e00411e780832087000561e007c15140800571e00fc25241800601e004854552400611e0050586a28006a1e04047d0404006b1e00083d482000801e7c2112207c00811e384132403800821e7c2012217c00831e384032413800841e7c2110217c00851e384230423800f21e040972080400f31e00b84142f800a3207e0a7a120a00a420a8fcaa828400a720087e2a1c0800ab200098a4a6bf02ac20183c5a5a4200af20627f224438009021103854101000912108047e0408009221101054381000932110207e201000942110381010381095212844fe442800") +const _hex133748 = pxsim.BufferMethods.createBufferFromHex("20000000000000000000000000000000000000000000000000002100000000000006fc0000000000000000000000000000000000220000001c00000000001c0000000000000000000000000000002300a000f807a000f807a00000000000000000000000000000002400000018022404460c8803000000000000000000000000000025003802c4017800200390040803000000000000000000000000260080037804a4041803800340040000000000000000000000002700000000001c00000000000000000000000000000000000000280000000000f8010606010800000000000000000000000000002900000001080606f801000000000000000000000000000000002a00040014000e001400040000000000000000000000000000002b0040004000f8034000400000000000000000000000000000002c000000000000090006000000000000000000000000000000002d000000800080008000000000000000000000000000000000002e000000000000060000000000000000000000000000000000002f00000c800360001c000300000000000000000000000000000030000000f80304040404f80300000000000000000000000000003100000004040404fc07000400040000000000000000000000003200000008060405c4043804000000000000000000000000000033000000080244044404b803000000000000000000000000000034000000800170010801fc070001000000000000000000000000350000023c0424042404c403000000000000000000000000000036000000f0034804440488030000000000000000000000000000370000000400c40734000c00000000000000000000000000000038000000b80344044404b803000000000000000000000000000039000000780284048802f00100000000000000000000000000003a000000000030060000000000000000000000000000000000003b000000000018090006000000000000000000000000000000003c004000a000a000a000100100000000000000000000000000003d002001200120012001200100000000000000000000000000003e0000001001a000a000a00040000000000000000000000000003f000000080084066400180000000000000000000000000000004000f0030c04c20822092409f80900000000000000000000000041000007f8008400f8000007000000000000000000000000000042000000fc0744044404b803000000000000000000000000000043000000f001080204040404080200000000000000000000000044000000fc0704040802f001000000000000000000000000000045000000fc07440444044404000000000000000000000000000046000000fc07440044004400000000000000000000000000000047000000f00108024404c803000000000000000000000000000048000000fc0740004000fc070000000000000000000000000000490000000404fc070404040400000000000000000000000000004a000000000200040004fc0300000000000000000000000000004b000000fc074000f0000c0304040000000000000000000000004c000000fc0700040004000400000000000000000000000000004d000000fc0738007000fc0700000000000000000000000000004e000000fc073800c003fc0700000000000000000000000000004f000000f80304040404f803000000000000000000000000000050000000fc07840084004400780000000000000000000000000051000000fc0102020206fc09000000000000000000000000000052000000fc074400c4013806000000000000000000000000000053000000180224044404880300000000000000000000000000005400000004000400fc070400040000000000000000000000000055000000fc0300040004fc03000000000000000000000000000056000c00f0030004f0030c00000000000000000000000000000057007c008007e001f0010007fc0000000000000000000000000058000404b8034000b80304040000000000000000000000000000590004003800c00730000c0000000000000000000000000000005a0004040407e4041c04040400000000000000000000000000005b0000000000ff0f0108010800000000000000000000000000005c0003001c0060008003000c00000000000000000000000000005d00000001080108ff0f000000000000000000000000000000005e004000380004003800400000000000000000000000000000005f00000800080008000800080000000000000000000000000000600000000000020004000000000000000000000000000000000061000000200390049004e007000000000000000000000000000062000000fc0710041004e003000000000000000000000000000063000000c001200210043004000200000000000000000000000064000000e00310041004fc07000000000000000000000000000065000000e00390049004e0040000000000000000000000000000660000001000f80714001400000000000000000000000000000067000000b806440944093c09040600000000000000000000000068000000fc0710001000e0070000000000000000000000000000690000000000f4070000000000000000000000000000000000006a00000800080008fd07000000000000000000000000000000006b000000fe078000e001100610040000000000000000000000006c0000000000fc030004000400000000000000000000000000006d00f00710001000e0071000e0070000000000000000000000006e000000f00710001000e00700000000000000000000000000006f000000e00310041004e003000000000000000000000000000070000000fc0f04010401f800000000000000000000000000000071000000f80004010401fc0f000000000000000000000000000072000000f00720001000100000000000000000000000000000007300000060029004900420030000000000000000000000000000740000001000fc0310041004000000000000000000000000000075000000f00300040004f007000000000000000000000000000076003000c0030004c003300000000000000000000000000000007700f0000007e003c0010007f000000000000000000000000000780010046003800060031004000000000000000000000000000079000c0870088007f0000c0000000000000000000000000000007a000000000410079004700410040000000000000000000000007b0000004000be070108010800000000000000000000000000007c0000000000ff0f0000000000000000000000000000000000007d00000001080108be07400000000000000000000000000000007e00800040004000800080004000000000000000000000000000") +const _hex135598 = pxsim.BufferMethods.createBufferFromHex("20000000000000002100001700000000220000030003000023000a1f0a1f0a0024000a17151d0a00250013090412190026000a15150a100027000003000000002800000e11000000290000110e0000002a00000a040a00002b0000040e0400002c000010080000002d000004040400002e000008000000002f0010080402010030000e11110e0000310000121f100000320019151512000033000911150b000034000c0a091f080035001715151509003600081416150800370011090503010038000a1515150a00390002150d0502003a00000a000000003b0000100a0000003c0000040a1100003d00000a0a0a00003e0000110a0400003f0002011505020040000e1115090e0041001e05051e000042001f15150a000043000e111111000044001f11110e000045001f151511000046001f050501000047000e1111150c0048001f04041f00004900111f110000004a000911110f01004b001f040a1100004c001f10101000004d001f0204021f004e001f0204081f004f000e11110e000050001f0505020000510006091916000052001f05050a10005300121515090000540001011f01010055000f10100f0000560007081008070057001f0804081f0058001b04041b0000590001021c0201005a001915131100005b00001f111100005c000102040810005d000011111f00005e000002010200005f00101010101000600000010200000061000c12121e100062001f141408000063000c121212000064000814141f000065000e15151200006600041e0501000067000215150f000068001f04041800006900001d000000006a000010100d00006b001f040a1000006c00000f101000006d001e0204021e006e001e02021c00006f000c12120c000070001e0a0a0400007100040a0a1e000072001c0202020000730010140a0200007400000f1414100075000e10101e1000760006081008060077001e1008101e007800120c0c12000079001214080402007a00121a161200007b0000041f1100007c00001f000000007d00111f040000007e00000404080800d3000c1213130c00f3000c12130d000004010e05051e100005010609191f080006010c121313120007010c121313000018010f0b1b19000019010e151d1a000041011f14121000004201100f1412000043011f0205081f0044011e03031c00005a0110140b0302005b0110140b0300007901121a171300007a01121a171300007b01121b171200007c01121b17120000") +const _hex130444 = pxsim.BufferMethods.createBufferFromHex("000000ffffffff2121ff93c4ff8135fff609249ca39af00d003fad32e3d0d59dffa4839f5c406cd1d1d1191919000000") +const _hex130759 = pxsim.BufferMethods.createBufferFromHex("870407000800000000000000404400005055040450555505505501011011000000000000") +const _hex130762 = pxsim.BufferMethods.createBufferFromHex("87041000100000000000000000000000000000000000000000000050050000000000000550000000005045444404000000455544444400040045555555550404004555555555450500455555555511050045555555150101004555111111000100501511110100000000000550000000000000500500000000000000000000000000000000000000") +const _hex130765 = pxsim.BufferMethods.createBufferFromHex("870410001000000000000000000000000000000000000000006666666666060060ffffff666f660060fffffff6ff660060fff1ff666f660060fff1ff6666660060fffff16666660060fffff16666660060fff1ff6666660060fff1ff66f6660060ffffff6666660060fffffff6666600006666666666060000000000000000000000000000000000") +const _hex131060 = pxsim.BufferMethods.createBufferFromHex("8704240024000000001111111111111111111111111111111100000010313333333333333333333333333333130100001113111111111111111111111111111131110000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000311111111111111111111111111111111113000031111111111111111111111111111111111300003111111111111111111111111111111111130000111311111111111111111111111111113111000010313333333333333333333333333333130100000011111111111111111111111111111111000000") +const _hex131062 = pxsim.BufferMethods.createBufferFromHex("8704240024000000002222222222222222222222222222222200000020323333333333333333333333333333230200002223222222222222222222222222222232220000322211111111111111111111111111112223000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003212111111111111111111111111111121230000321211111111111111111111111111112123000032121111111111111111111111111111212300003222111111111111111111111111111122230000222322222222222222222222222222223222000020323333333333333333333333333333230200000022222222222222222222222222222222000000") +const _hex131064 = pxsim.BufferMethods.createBufferFromHex("8704240024000000004444444444444444444444444444444400000040343333333333333333333333333333430400004443444444444444444444444444444434440000344411111111111111111111111111114443000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003414111111111111111111111111111141430000341411111111111111111111111111114143000034141111111111111111111111111111414300003444111111111111111111111111111144430000444344444444444444444444444444443444000040343333333333333333333333333333430400000044444444444444444444444444444444000000") +const _hex131066 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d00000000000000000000000070666607000000000000000000000000006776000000000000000000000000660700007066000000000000000000006766777766760000000000000000000060666666660600000000000000000066006766667600660000000000000000667600000000676600000000000000006766767777676676000000000000000060666666666666060000000000000000006766666666760000000000000000000000676666760000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex131068 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0bb000000000000000000000000b000404500b0000000000000000000005b0b000400540b0000000000000000b0550400000054b5000000000000000000440040bb0040040000000000000000000040d4ddbb0000000000000000000000004055ddbd000000000000000000004b005455d5dd0b400b000000000000005b045411d5dd0b540b000000000000004b005411d5dd0b400b0000000000000000004055ddbd00000000000000000000000040d4ddbb0000000000000000000000440040bb0040040000000000000000b0550400000054b50000000000000000005b04000400540b000000000000000000b000404500b0000000000000000000000000b0bb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex131070 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020020000000000002002000000000000202200000000000022020000000000000022020000000020220000000000000000202200000000220200000000000000000022020000202200000000000000000000202200002202000000000000000000000022022022000000000000000000000000202222020000000000000000000000000022220000000000000000000000000000222200000000000000000000000000202222020000000000000000000000002202202200000000000000000000002022000022020000000000000000000022020000202200000000000000000020220000000022020000000000000000220200000000202200000000000000202200000000000022020000000000002002000000000000200200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex131072 = pxsim.BufferMethods.createBufferFromHex("8704200020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0fcff0f000000000000000000000000bcddddfb000000000000000000000000dcbbbbfd000000000000000000000000ccbbbbfc0000000000000000000000c0bcd1bdfb0f00000000000000000000c01b11ddbb0f00000000000000000000c0bcbbbbcb0f00000000000000000000bc11d1ddddcb000000000000000000c01d11ddddddd10c0000000000000000bcd1cbbcfbcf1dcb00000000000000001ccdccddbdffdfc100000000000000001cccccdbcbffcfc10000000000000000dbcbccccfcffbfcd0000000000000000bbbdccccffcfdbbb0000000000000000b0dbbdbbbbdbbd0b000000000000000000b0cbccccbc0b000000000000000000000000000000000000000000000000000000d007700d0000000000000000000000007066660700000000000000000000000000677600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex131074 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b0cbcc0c0000000000000000000000b0db55d5cd0c00000000000000000000db555555ddcd000000000000000000b055555555d59d0b0000000000000000db55555555d59db900000000000000005b55555555d5ddb900000000000000b05db5cccc5bdddd990b000000000000b055ccccccccdddd9d0b000000000000b0b5ccccccccdbdd9d0b000000000000b0c5ccccccccdcdd9d0b000000000000b0c5ccdccbccdcdd9d0c000000000000b0cdcc5b55ccdcdd9d0c00000000000000ccdc55b5ccdcddc90000000000000000cccc5b55ccdbddc90000000000000000c0ccdccbccdd9d0c000000000000000000ccccccdbddcd00000000000000000000c0dcddddcd0c0000000000000000000000c0cccc0c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex131076 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cc00000000000000b0bbbbbbbbcb00c0cd000000000000001bddddddddbd0c1ccd000000000000b011cbccccccbc0c1ccd000000000000b01d6c666666bc0cbccd000000000000b01d6c616661bc0c1ccd000000000000b01d6c161666bccc1bcd000000000000b01d6c666166bcccbbcd000000000000b01d6c666666bccc1bcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666661bcccbbcd000000000000b01d6c666661bccc1bcd000000000000b01d6c666666bc0c1ccd000000000000b01dcbccccccbc0cbccd000000000000c0b1bbbbbbbbbb0cdccb000000000000c0bbbbbbbbbbcb00dc0c00000000000000cccccccccc0c00cc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex131078 = pxsim.BufferMethods.createBufferFromHex("87042000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004004000000000000000000000000000054450000000000000000000000440b00bbbb00b0440000000000000040550b00000000b0550400000000000040b5000044bb00005b04000000000000b00b0044ddddbb00b00b0000000000000000405d55d5dd0b00000000000000000000d4555555ddbd0000000000000000000054555555d5bd0000000000000000b44055555555d5dd0b4b000000000040b54055555555d5dd0b5b040000000040b54055555555d5dd0b5b040000000000b44055115555d5dd0b4b000000000000000054115555d5bd00000000000000000000d4555555ddbd00000000000000000000405d55d5dd0b0000000000000000b00b0044ddddbb00b00b00000000000040b5000044bb00005b0400000000000040550b00000000b0550400000000000000440b00bbbb00b0440000000000000000000000544500000000000000000000000000004004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") +const _hex131080 = pxsim.BufferMethods.createBufferFromHex("870420002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bbbb00000000000000000000000000b055bb00bbbbbb000000000000000000b0b5bdbcbbbbddcb0000000000000000b0dbcb5b5555bbdd0c00000000000000b0cbdcbdbb5b55dbcd0000000000000000c0dddb11d15bb5bd0c00000000000000bbbd111111b155bb0c00000000000000db1b111111115bb5cb00000000000000db1bb11d1199b9d5cb00000000000000db1b11bb9199b955cb000000000000005b1b11b19b99995bcb000000000000005b1d1111bb99995ccb00000000000000b0b511bbbb99995ccb00000000000000b0d51d919999d95b0b00000000000000005bdb919999c9d50b0000000000000000b0d51b99d9bcb5000000000000000000005bd5bbbc550b00000000000000000000b05b5555bd000000000000000000000000b0bbbb00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000") -function control___screen_inline__P22552(s) { +function control___screen_inline__P130433(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -887,23 +887,23 @@ switch (step) { case 1: r0 = pxsim_numops_toBoolDecr(true); if (!r0) { step = 4; continue; } - globals.__updated___22549 = (false); - s.tmp_0 = pause__P18384_mk(s); + globals.__updated___130430 = (false); + s.tmp_0 = pause__P126265_mk(s); s.tmp_0.arg0 = 200; s.callLocIdx = 2; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals.__updated___22549); + r0 = pxsim_numops_toBoolDecr(globals.__updated___130430); 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__P19964_mk(s); + s.tmp_2 = control___screen_update__P127845_mk(s); s.callLocIdx = 3; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - globals.__updated___22549 = (true); + globals.__updated___130430 = (true); case 2: case 3: { step = 1; continue; } @@ -912,12 +912,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_inline__P22552.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__P130433.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__P22552_mk(s) { +function control___screen_inline__P130433_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_inline__P22552, depth: s.depth + 1, + parent: s, fn: control___screen_inline__P130433, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -928,7 +928,7 @@ function control___screen_inline__P22552_mk(s) { -function _screen_internal_inline__P22572(s) { +function _screen_internal_inline__P130453(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -938,17 +938,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_pxtcore.updateScreen(globals.screen___20003); + r0 = pxsim_pxtcore.updateScreen(globals.screen___127884); r0 = undefined; return leave(s, r0) default: oops() } } } -_screen_internal_inline__P22572.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__P130453.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__P22572_mk(s) { +function _screen_internal_inline__P130453_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P22572, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P130453, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -956,7 +956,7 @@ function _screen_internal_inline__P22572_mk(s) { -function _screen_internal_inline__P22577(s) { +function _screen_internal_inline__P130458(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -975,12 +975,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_inline__P22577.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__P130458.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__P22577_mk(s) { +function _screen_internal_inline__P130458_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_inline__P22577, depth: s.depth + 1, + parent: s, fn: _screen_internal_inline__P130458, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -989,7 +989,7 @@ function _screen_internal_inline__P22577_mk(s) { -function controller_inline__P22622(s) { +function controller_inline__P130503(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -999,16 +999,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.stateWhenPushed___22623 = undefined; - s.i___22629 = undefined; - s.p___22635 = undefined; - s.tmp_0 = game_currentScene__P20970_mk(s); + s.stateWhenPushed___130504 = undefined; + s.i___130510 = undefined; + s.p___130516 = undefined; + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 19; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; r0 = r0.fields["controllerConnectionState"]; - s.stateWhenPushed___22623 = (r0); - r0 = pxsim_numops_toBoolDecr(s.stateWhenPushed___22623); + s.stateWhenPushed___130504 = (r0); + r0 = pxsim_numops_toBoolDecr(s.stateWhenPushed___130504); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -1017,24 +1017,24 @@ switch (step) { { step = 11; continue; } case 1: case 2: - s.i___22629 = (0); + s.i___130510 = (0); case 3: - s.tmp_1 = r0 = s.i___22629; - r0 = pxsim_Array__length(s.stateWhenPushed___22623); + s.tmp_1 = r0 = s.i___130510; + r0 = pxsim_Array__length(s.stateWhenPushed___130504); 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___22620, s.i___22629); - s.p___22635 = (r0); - s.tmp_0 = r0 = s.p___22635; + r0 = pxsim_Array__getAt(globals._players___130501, s.i___130510); + s.p___130516 = (r0); + s.tmp_0 = r0 = s.p___130516; 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___22623, s.i___22629); + r0 = pxsim_Array__getAt(s.stateWhenPushed___130504, s.i___130510); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); s.tmp_4 = r0; @@ -1044,7 +1044,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; - r0 = s.p___22635.fields["_connected"]; + r0 = s.p___130516.fields["_connected"]; s.tmp_10 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_10); s.tmp_9 = r0; @@ -1060,7 +1060,7 @@ switch (step) { s.tmp_11 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_11); if (!r0) { step = 8; continue; } - r0 = s.p___22635.fields["_connected"]; + r0 = s.p___130516.fields["_connected"]; s.tmp_12 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_12); if (!r0) { step = 6; continue; } @@ -1071,13 +1071,13 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_13 = r0; - r0 = s.p___22635.fields["_id"]; + r0 = s.p___130516.fields["_id"]; s.tmp_14 = r0; r0 = pxsim.control.raiseEvent(s.tmp_14, s.tmp_13); case 8: case 9: - r0 = (s.i___22629 + 1); - s.i___22629 = (r0); + r0 = (s.i___130510 + 1); + s.i___130510 = (r0); { step = 3; continue; } case 10: case 11: @@ -1085,12 +1085,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_inline__P22622.info = {"start":344,"length":582,"line":15,"column":28,"endLine":30,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"inline","argumentNames":[]} +controller_inline__P130503.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__P22622_mk(s) { +function controller_inline__P130503_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_inline__P22622, depth: s.depth + 1, + parent: s, fn: controller_inline__P130503, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1107,16 +1107,16 @@ function controller_inline__P22622_mk(s) { tmp_12: undefined, tmp_13: undefined, tmp_14: undefined, - stateWhenPushed___22623: undefined, - i___22629: undefined, - p___22635: undefined, + stateWhenPushed___130504: undefined, + i___130510: undefined, + p___130516: undefined, } } -function controller_inline__P22662(s) { +function controller_inline__P130543(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1126,7 +1126,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___22667 = undefined; + s.i___130548 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -1135,43 +1135,43 @@ switch (step) { r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = (s.tmp_0).fields["controllerConnectionState"] = (s.tmp_1); - s.i___22667 = (0); + s.i___130548 = (0); case 1: - s.tmp_1 = r0 = s.i___22667; - r0 = pxsim_Array__length(globals._players___22620); + s.tmp_1 = r0 = s.i___130548; + r0 = pxsim_Array__length(globals._players___130501); 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___22620, s.i___22667); + r0 = pxsim_Array__getAt(globals._players___130501, s.i___130548); 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___22667; - r0 = pxsim_Array__getAt(globals._players___22620, s.i___22667); + s.tmp_5 = r0 = s.i___130548; + r0 = pxsim_Array__getAt(globals._players___130501, s.i___130548); 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___22667 + 1); - s.i___22667 = (r0); + r0 = (s.i___130548 + 1); + s.i___130548 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -controller_inline__P22662.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__P130543.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__P22662_mk(s) { +function controller_inline__P130543_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_inline__P22662, depth: s.depth + 1, + parent: s, fn: controller_inline__P130543, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1181,7 +1181,7 @@ function controller_inline__P22662_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - i___22667: undefined, + i___130548: undefined, arg0: undefined, } } @@ -1189,7 +1189,7 @@ function controller_inline__P22662_mk(s) { -function info_inline__P22773(s) { +function info_inline__P130654(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1203,36 +1203,36 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.infoState___22769); + r0 = pxsim_numops_toBoolDecr(globals.infoState___130650); if (!r0) { step = 3; continue; } - r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___22771); + r0 = pxsim_numops_toBoolDecr(globals.infoStateStack___130652); 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___22771 = (r0); + globals.infoStateStack___130652 = (r0); case 1: case 2: r0 = pxsim_pxtrt.mkMap(); s.tmp_0 = r0; - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___22769); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "state", globals.infoState___130650); r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "scene", s.arg0); - r0 = pxsim_Array__push(globals.infoStateStack___22771, s.tmp_0); - globals.infoState___22769 = (undefined); + r0 = pxsim_Array__push(globals.infoStateStack___130652, s.tmp_0); + globals.infoState___130650 = (undefined); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -info_inline__P22773.info = {"start":2619,"length":259,"line":94,"column":29,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} +info_inline__P130654.info = {"start":2619,"length":259,"line":94,"column":29,"endLine":103,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":["oldScene"]} -function info_inline__P22773_mk(s) { +function info_inline__P130654_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P22773, depth: s.depth + 1, + parent: s, fn: info_inline__P130654, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1243,7 +1243,7 @@ function info_inline__P22773_mk(s) { -function info_inline__P22788(s) { +function info_inline__P130669(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1253,30 +1253,30 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___22789 = undefined; - s.nextState___22798 = undefined; - s.tmp_0 = game_currentScene__P20970_mk(s); + s.scene___130670 = undefined; + s.nextState___130679 = undefined; + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 32; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___22789 = (r0); - globals.infoState___22769 = (undefined); - s.tmp_0 = r0 = globals.infoStateStack___22771; + s.scene___130670 = (r0); + globals.infoState___130650 = (undefined); + s.tmp_0 = r0 = globals.infoStateStack___130652; 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___22771); + r0 = pxsim_Array__length(globals.infoStateStack___130652); 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___22771); - s.nextState___22798 = (r0); + r0 = pxsim_Array_.pop(globals.infoStateStack___130652); + s.nextState___130679 = (r0); s.tmp_2 = if_scene_1_mk(s); - s.tmp_2.arg0 = s.nextState___22798; + s.tmp_2.arg0 = s.nextState___130679; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "scene"); } else { @@ -1288,12 +1288,12 @@ switch (step) { case 8: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 == s.scene___22789); + r0 = (s.tmp_1 == s.scene___130670); 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___22798; + s.tmp_3.arg0 = s.nextState___130679; if (!s.tmp_3.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_3.arg0, "state"); } else { @@ -1304,10 +1304,10 @@ switch (step) { } case 9: r0 = s.retval; - globals.infoState___22769 = (r0); + globals.infoState___130650 = (r0); { step = 4; continue; } case 3: - r0 = pxsim_Array__push(globals.infoStateStack___22771, s.nextState___22798); + r0 = pxsim_Array__push(globals.infoStateStack___130652, s.nextState___130679); case 4: case 5: case 6: @@ -1315,26 +1315,26 @@ switch (step) { return leave(s, r0) default: oops() } } } -info_inline__P22788.info = {"start":2910,"length":376,"line":105,"column":28,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} +info_inline__P130669.info = {"start":2910,"length":376,"line":105,"column":28,"endLine":116,"endColumn":5,"fileName":"pxt_modules/game/info.ts","functionName":"inline","argumentNames":[]} -function info_inline__P22788_mk(s) { +function info_inline__P130669_mk(s) { checkStack(s.depth); return { - parent: s, fn: info_inline__P22788, depth: s.depth + 1, + parent: s, fn: info_inline__P130669, 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___22789: undefined, - nextState___22798: undefined, + scene___130670: undefined, + nextState___130679: undefined, } } -function gameOverConfig_inline__P22897(s) { +function gameOverConfig_inline__P130778(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1344,32 +1344,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._gameOverConfig___22896); + r0 = pxsim_numops_toBoolDecr(globals._gameOverConfig___130777); 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__C20944_VT); + r0 = pxsim_pxtcore_mkClassInstance(game_GameOverConfig__C128825_VT); s.tmp_2 = r0; - s.tmp_3 = game_GameOverConfig_constructor__P20959_mk(s); + s.tmp_3 = game_GameOverConfig_constructor__P128840_mk(s); s.tmp_3.arg0 = s.tmp_2; s.callLocIdx = 36; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - globals._gameOverConfig___22896 = (s.tmp_2); + globals._gameOverConfig___130777 = (s.tmp_2); case 1: case 2: - r0 = globals._gameOverConfig___22896; + r0 = globals._gameOverConfig___130777; return leave(s, r0) default: oops() } } } -gameOverConfig_inline__P22897.info = {"start":3714,"length":115,"line":107,"column":34,"endLine":110,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"inline","argumentNames":[]} +gameOverConfig_inline__P130778.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__P22897_mk(s) { +function gameOverConfig_inline__P130778_mk(s) { checkStack(s.depth); return { - parent: s, fn: gameOverConfig_inline__P22897, depth: s.depth + 1, + parent: s, fn: gameOverConfig_inline__P130778, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1381,7 +1381,7 @@ function gameOverConfig_inline__P22897_mk(s) { -function game_eventContext__P20973(s) { +function game_eventContext__P128854(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1391,21 +1391,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P22912_mk(s); + s.tmp_0 = game_init__P130793_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 943; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___22904.fields["eventContext"]; + r0 = globals._scene___130785.fields["eventContext"]; return leave(s, r0) default: oops() } } } -game_eventContext__P20973.info = {"start":4442,"length":112,"line":136,"column":4,"endLine":139,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"eventContext","argumentNames":[]} +game_eventContext__P128854.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__P20973_mk(s) { +function game_eventContext__P128854_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_eventContext__P20973, depth: s.depth + 1, + parent: s, fn: game_eventContext__P128854, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -1414,7 +1414,7 @@ function game_eventContext__P20973_mk(s) { -function game_init__P22912(s) { +function game_init__P130793(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1428,7 +1428,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scene___22904); + r0 = pxsim_numops_toBoolDecr(globals._scene___130785); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -1443,24 +1443,24 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C20814_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Scene__C128695_VT); s.tmp_3 = r0; - s.tmp_4 = scene_Scene_constructor__P20837_mk(s); + s.tmp_4 = scene_Scene_constructor__P128718_mk(s); s.tmp_4.arg0 = s.tmp_3; - s.tmp_5 = control_pushEventContext__P18380_mk(s); + s.tmp_5 = control_pushEventContext__P126261_mk(s); s.callLocIdx = 944; s.pc = 6; return s.tmp_5; case 6: r0 = s.retval; s.tmp_4.arg1 = r0; - s.tmp_4.arg2 = globals._scene___22904; + s.tmp_4.arg2 = globals._scene___130785; s.callLocIdx = 945; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; - globals._scene___22904 = (s.tmp_3); + globals._scene___130785 = (s.tmp_3); case 3: case 4: - s.tmp_0 = scene_Scene_init__P20838_mk(s); - s.tmp_0.arg0 = globals._scene___22904; + s.tmp_0 = scene_Scene_init__P128719_mk(s); + s.tmp_0.arg0 = globals._scene___130785; s.callLocIdx = 946; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -1468,12 +1468,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_init__P22912.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__P130793.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__P22912_mk(s) { +function game_init__P130793_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_init__P22912, depth: s.depth + 1, + parent: s, fn: game_init__P130793, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1488,7 +1488,7 @@ function game_init__P22912_mk(s) { -function scene_Scene_init__P20838(s) { +function scene_Scene_init__P128719(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1503,7 +1503,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C20814_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C128695_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -1511,7 +1511,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_1 = power_poke__P19900_mk(s); + s.tmp_1 = power_poke__P127781_mk(s); s.callLocIdx = 907; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -1520,10 +1520,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__P24975); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P132856); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P18374_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P126255_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 8; @@ -1531,18 +1531,18 @@ switch (step) { s.callLocIdx = 910; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P18374_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P126255_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 13; - s.tmp_0.arg2 = controller__moveSprites__P20104; + s.tmp_0.arg2 = controller__moveSprites__P127985; s.callLocIdx = 911; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P24999); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P132880); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P18374_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P126255_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 15; @@ -1550,10 +1550,10 @@ switch (step) { s.callLocIdx = 913; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P25012); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P132893); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P18374_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P126255_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 55; @@ -1561,10 +1561,10 @@ switch (step) { s.callLocIdx = 917; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P25033); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P132914); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P18374_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P126255_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 90; @@ -1572,10 +1572,10 @@ switch (step) { s.callLocIdx = 919; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P25041); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P132922); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_EventContext_registerFrameHandler__P18374_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P126255_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 150; @@ -1583,27 +1583,27 @@ switch (step) { s.callLocIdx = 923; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - s.tmp_0 = control_EventContext_registerFrameHandler__P18374_mk(s); + s.tmp_0 = control_EventContext_registerFrameHandler__P126255_mk(s); r0 = s.arg0.fields["eventContext"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 200; - s.tmp_0.arg2 = control___screen_update__P19964; + s.tmp_0.arg2 = control___screen_update__P127845; s.callLocIdx = 924; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = multiplayer_initServer__P21359_mk(s); + s.tmp_0 = multiplayer_initServer__P129240_mk(s); s.callLocIdx = 925; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = multiplayer_initPlayerConnectionListeners__P21360_mk(s); + s.tmp_0 = multiplayer_initPlayerConnectionListeners__P129241_mk(s); s.callLocIdx = 926; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P25072); + r0 = pxsim_pxtcore_mkAction(1, scene_Scene_init_inline__P132953); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayForEach__P18080_mk(s); - s.tmp_1.arg0 = globals.scene_Scene_initializers___20836; + s.tmp_1 = helpers_arrayForEach__P125961_mk(s); + s.tmp_1.arg0 = globals.scene_Scene_initializers___128717; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 928; s.pc = 14; return s.tmp_1; case 14: @@ -1613,12 +1613,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init__P20838.info = {"start":4432,"length":2572,"line":127,"column":8,"endLine":187,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"init","argumentNames":["this"]} +scene_Scene_init__P128719.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__P20838_mk(s) { +function scene_Scene_init__P128719_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init__P20838, depth: s.depth + 1, + parent: s, fn: scene_Scene_init__P128719, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1629,7 +1629,7 @@ function scene_Scene_init__P20838_mk(s) { -function scene_Scene_init_inline__P24975(s) { +function scene_Scene_init_inline__P132856(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1648,7 +1648,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__P20136_mk(s); + s.tmp_0 = controller___update__P128017_mk(s); r0 = s.caps[0].fields["eventContext"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["deltaTimeMillis"]; @@ -1662,12 +1662,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P24975.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__P132856.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__P24975_mk(s) { +function scene_Scene_init_inline__P132856_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P24975, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P132856, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1679,7 +1679,7 @@ function scene_Scene_init_inline__P24975_mk(s) { -function scene_Scene_init_inline__P24999(s) { +function scene_Scene_init_inline__P132880(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1689,7 +1689,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = PhysicsEngine__C20482_v4_2_mk(s); + s.tmp_0 = PhysicsEngine__C128363_v4_2_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; r0 = s.caps[0].fields["eventContext"]; @@ -1698,7 +1698,7 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); s.tmp_0.arg1 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20482_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C128363_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: @@ -1707,12 +1707,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P24999.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__P132880.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__P24999_mk(s) { +function scene_Scene_init_inline__P132880_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P24999, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P132880, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1723,7 +1723,7 @@ function scene_Scene_init_inline__P24999_mk(s) { -function scene_Scene_init_inline__P25012(s) { +function scene_Scene_init_inline__P132893(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1733,39 +1733,39 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dt___25013 = undefined; - s.s___25021 = undefined; - s.unnamed178___U2 = undefined; - s.unnamed179___U3 = undefined; + s.dt___132894 = undefined; + s.s___132902 = undefined; + s.unnamed730___U2 = undefined; + s.unnamed731___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___25013 = (r0); - s.tmp_0 = scene_Camera_update__P20769_mk(s); + s.dt___132894 = (r0); + s.tmp_0 = scene_Camera_update__P128650_mk(s); r0 = s.caps[0].fields["camera"]; s.tmp_0.arg0 = r0; s.callLocIdx = 915; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.s___25021 = (undefined); + s.s___132902 = (undefined); r0 = s.caps[0].fields["allSprites"]; - s.unnamed178___U2 = (r0); - s.unnamed179___U3 = (0); + s.unnamed730___U2 = (r0); + s.unnamed731___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed179___U3; - r0 = pxsim_Array__length(s.unnamed178___U2); + s.tmp_0 = r0 = s.unnamed731___U3; + r0 = pxsim_Array__length(s.unnamed730___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed178___U2, s.unnamed179___U3); - s.s___25021 = (r0); + r0 = pxsim_Array__getAt(s.unnamed730___U2, s.unnamed731___U3); + s.s___132902 = (r0); s.tmp_2 = if___update_3_mk(s); - s.tmp_2.arg0 = s.s___25021; + s.tmp_2.arg0 = s.s___132902; r0 = s.caps[0].fields["camera"]; s.tmp_2.arg1 = r0; - s.tmp_2.arg2 = s.dt___25013; + s.tmp_2.arg2 = s.dt___132894; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "__update"), 3); s.callLocIdx = 916; s.pc = 4; return s.tmp_2; @@ -1777,36 +1777,36 @@ switch (step) { } case 4: r0 = s.retval; - r0 = (s.unnamed179___U3 + 1); - s.unnamed179___U3 = (r0); + r0 = (s.unnamed731___U3 + 1); + s.unnamed731___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed178___U2 = (undefined); + s.unnamed730___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P25012.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__P132893.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__P25012_mk(s) { +function scene_Scene_init_inline__P132893_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P25012, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P132893, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dt___25013: undefined, - s___25021: undefined, - unnamed178___U2: undefined, - unnamed179___U3: undefined, + dt___132894: undefined, + s___132902: undefined, + unnamed730___U2: undefined, + unnamed731___U3: undefined, } } -function scene_Scene_init_inline__P25033(s) { +function scene_Scene_init_inline__P132914(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1816,7 +1816,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_Scene_render__P20843_mk(s); + s.tmp_0 = scene_Scene_render__P128724_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 918; s.pc = 1; return s.tmp_0; case 1: @@ -1825,12 +1825,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P25033.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__P132914.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__P25033_mk(s) { +function scene_Scene_init_inline__P132914_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P25033, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P132914, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -1839,7 +1839,7 @@ function scene_Scene_init_inline__P25033_mk(s) { -function scene_Scene_init_inline__P25041(s) { +function scene_Scene_init_inline__P132922(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1849,26 +1849,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = r0 = globals.stats___20939; + s.tmp_0 = r0 = globals.stats___128820; 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___18369; + r0 = globals.control_EventContext_onStats___126250; 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___18369; - if ((globals.control_EventContext_lastStats___18368) && (globals.control_EventContext_lastStats___18368).vtable) { + s.tmp_2.argL = globals.control_EventContext_onStats___126250; + if ((globals.control_EventContext_lastStats___126249) && (globals.control_EventContext_lastStats___126249).vtable) { setupResume(s, 8); - pxsim_String__stringConv(globals.control_EventContext_lastStats___18368); + pxsim_String__stringConv(globals.control_EventContext_lastStats___126249); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___18368) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___126249) + ""; } case 8: r0 = s.retval; s.tmp_3 = r0; @@ -1904,23 +1904,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_numops_toBoolDecr(globals.debug___20938); + r0 = pxsim_numops_toBoolDecr(globals.debug___128819); if (!r0) { step = 5; continue; } - s.tmp_0 = PhysicsEngine__C20482_v3_1_mk(s); + s.tmp_0 = PhysicsEngine__C128363_v3_1_mk(s); r0 = s.caps[0].fields["physicsEngine"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20482_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C128363_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__P21098_mk(s); + s.tmp_0 = game_consoleOverlay_draw__P128979_mk(s); s.callLocIdx = 921; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = power_checkDeepSleep__P19901_mk(s); + s.tmp_0 = power_checkDeepSleep__P127782_mk(s); s.callLocIdx = 922; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -1928,12 +1928,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P25041.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__P132922.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__P25041_mk(s) { +function scene_Scene_init_inline__P132922_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P25041, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P132922, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -1950,7 +1950,7 @@ function scene_Scene_init_inline__P25041_mk(s) { -function scene_Scene_init_inline__P25072(s) { +function scene_Scene_init_inline__P132953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -1975,12 +1975,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_init_inline__P25072.info = {"start":6980,"length":12,"line":186,"column":39,"endLine":186,"endColumn":51,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["f"]} +scene_Scene_init_inline__P132953.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__P25072_mk(s) { +function scene_Scene_init_inline__P132953_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_init_inline__P25072, depth: s.depth + 1, + parent: s, fn: scene_Scene_init_inline__P132953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -1990,7 +1990,7 @@ function scene_Scene_init_inline__P25072_mk(s) { -function multiplayer_initPlayerConnectionListeners__P21360(s) { +function multiplayer_initPlayerConnectionListeners__P129241(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2000,43 +2000,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___25092 = undefined; - s.p___25092 = (1); + s.p___132973 = undefined; + s.p___132973 = (1); case 1: - r0 = (s.p___25092 <= 4); + r0 = (s.p___132973 <= 4); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = multiplayer_registerPlayerConnectionListeners__P23360_mk(s); - s.tmp_1.arg0 = s.p___25092; + s.tmp_1 = multiplayer_registerPlayerConnectionListeners__P131241_mk(s); + s.tmp_1.arg0 = s.p___132973; s.callLocIdx = 1278; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.p___25092 + 1); - s.p___25092 = (r0); + r0 = (s.p___132973 + 1); + s.p___132973 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_initPlayerConnectionListeners__P21360.info = {"start":1324,"length":154,"line":39,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initPlayerConnectionListeners","argumentNames":[]} +multiplayer_initPlayerConnectionListeners__P129241.info = {"start":1324,"length":154,"line":39,"column":4,"endLine":43,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initPlayerConnectionListeners","argumentNames":[]} -function multiplayer_initPlayerConnectionListeners__P21360_mk(s) { +function multiplayer_initPlayerConnectionListeners__P129241_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initPlayerConnectionListeners__P21360, depth: s.depth + 1, + parent: s, fn: multiplayer_initPlayerConnectionListeners__P129241, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - p___25092: undefined, + p___132973: undefined, } } -function multiplayer_registerPlayerConnectionListeners__P23360(s) { +function multiplayer_registerPlayerConnectionListeners__P131241(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2050,10 +2050,10 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P25104); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P132985); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_onEvent__P18362_mk(s); + s.tmp_1 = control_onEvent__P126243_mk(s); s.tmp_1.arg0 = 3241; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.tmp_0; @@ -2061,10 +2061,10 @@ switch (step) { s.callLocIdx = 1280; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P25110); + r0 = pxsim_pxtcore_mkAction(1, multiplayer_registerPlayerConnectionListeners_inline__P132991); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = control_onEvent__P18362_mk(s); + s.tmp_1 = control_onEvent__P126243_mk(s); s.tmp_1.arg0 = 3242; s.tmp_1.arg1 = s.arg0; s.tmp_1.arg2 = s.tmp_0; @@ -2076,12 +2076,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners__P23360.info = {"start":1484,"length":415,"line":45,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"registerPlayerConnectionListeners","argumentNames":["playerNumber"]} +multiplayer_registerPlayerConnectionListeners__P131241.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__P23360_mk(s) { +function multiplayer_registerPlayerConnectionListeners__P131241_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners__P23360, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners__P131241, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2092,7 +2092,7 @@ function multiplayer_registerPlayerConnectionListeners__P23360_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P25104(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P132985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2102,7 +2102,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P23361_mk(s); + s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P131242_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.callLocIdx = 1279; s.pc = 1; return s.tmp_0; @@ -2112,12 +2112,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners_inline__P25104.info = {"start":1656,"length":55,"line":49,"column":12,"endLine":49,"endColumn":67,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_registerPlayerConnectionListeners_inline__P132985.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__P25104_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P132985_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P25104, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P132985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -2126,7 +2126,7 @@ function multiplayer_registerPlayerConnectionListeners_inline__P25104_mk(s) { -function multiplayer_registerPlayerConnectionListeners_inline__P25110(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P132991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2136,7 +2136,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P23361_mk(s); + s.tmp_0 = multiplayer_receiveConnectionChangedEvent__P131242_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.callLocIdx = 1281; s.pc = 1; return s.tmp_0; @@ -2146,12 +2146,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_registerPlayerConnectionListeners_inline__P25110.info = {"start":1826,"length":56,"line":54,"column":12,"endLine":54,"endColumn":68,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_registerPlayerConnectionListeners_inline__P132991.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__P25110_mk(s) { +function multiplayer_registerPlayerConnectionListeners_inline__P132991_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P25110, depth: s.depth + 1, + parent: s, fn: multiplayer_registerPlayerConnectionListeners_inline__P132991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -2160,7 +2160,7 @@ function multiplayer_registerPlayerConnectionListeners_inline__P25110_mk(s) { -function multiplayer_receiveConnectionChangedEvent__P23361(s) { +function multiplayer_receiveConnectionChangedEvent__P131242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2170,7 +2170,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.c___25115 = undefined; + s.c___132996 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2188,21 +2188,21 @@ switch (step) { r0 = s.tmp_0; { step = 5; continue; } case 1: - s.c___25115 = (globals.player1___20094); + s.c___132996 = (globals.player1___127975); { step = 5; continue; } case 2: - s.c___25115 = (globals.player2___20091); + s.c___132996 = (globals.player2___127972); { step = 5; continue; } case 3: - s.c___25115 = (globals.player3___20092); + s.c___132996 = (globals.player3___127973); { step = 5; continue; } case 4: - s.c___25115 = (globals.player4___20093); + s.c___132996 = (globals.player4___127974); case 5: - r0 = pxsim_numops_toBoolDecr(s.c___25115); + r0 = pxsim_numops_toBoolDecr(s.c___132996); if (!r0) { step = 6; continue; } - s.tmp_0 = controller_Controller_connected__P20127_mk(s); - s.tmp_0.arg0 = s.c___25115; + s.tmp_0 = controller_Controller_connected__P128008_mk(s); + s.tmp_0.arg0 = s.c___132996; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1283; s.pc = 8; return s.tmp_0; case 8: @@ -2213,15 +2213,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_receiveConnectionChangedEvent__P23361.info = {"start":1905,"length":552,"line":58,"column":4,"endLine":76,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"receiveConnectionChangedEvent","argumentNames":["playerNumber","connected"]} +multiplayer_receiveConnectionChangedEvent__P131242.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__P23361_mk(s) { +function multiplayer_receiveConnectionChangedEvent__P131242_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_receiveConnectionChangedEvent__P23361, depth: s.depth + 1, + parent: s, fn: multiplayer_receiveConnectionChangedEvent__P131242, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - c___25115: undefined, + c___132996: undefined, arg0: undefined, arg1: undefined, } } @@ -2230,7 +2230,7 @@ function multiplayer_receiveConnectionChangedEvent__P23361_mk(s) { -function controller_Controller_connected__P20127(s) { +function controller_Controller_connected__P128008(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2246,7 +2246,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20105_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C127986_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; s.tmp_1 = r0; r0 = (s.arg1 != s.tmp_1); @@ -2274,12 +2274,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_connected__P20127.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__P128008.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__P20127_mk(s) { +function controller_Controller_connected__P128008_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P20127, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P128008, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2292,7 +2292,7 @@ function controller_Controller_connected__P20127_mk(s) { -function controller__player1__P20099(s) { +function controller__player1__P127980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2302,7 +2302,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals._players___22620); + r0 = pxsim_numops_toBoolDecr(globals._players___130501); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -2311,7 +2311,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array__getAt(globals._players___22620, 0); + r0 = pxsim_Array__getAt(globals._players___130501, 0); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -2321,18 +2321,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__C20105_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Controller__C127986_VT); s.tmp_5 = r0; r0 = pxsim_Array__mk(); s.tmp_6 = r0; - r0 = pxsim_Array__push(s.tmp_6, globals.left___20086); - r0 = pxsim_Array__push(s.tmp_6, globals.up___20087); - r0 = pxsim_Array__push(s.tmp_6, globals.right___20088); - r0 = pxsim_Array__push(s.tmp_6, globals.down___20089); - r0 = pxsim_Array__push(s.tmp_6, globals.A___20084); - r0 = pxsim_Array__push(s.tmp_6, globals.B___20085); - r0 = pxsim_Array__push(s.tmp_6, globals.menu___20090); - s.tmp_7 = controller_Controller_constructor__P20109_mk(s); + r0 = pxsim_Array__push(s.tmp_6, globals.left___127967); + r0 = pxsim_Array__push(s.tmp_6, globals.up___127968); + r0 = pxsim_Array__push(s.tmp_6, globals.right___127969); + r0 = pxsim_Array__push(s.tmp_6, globals.down___127970); + r0 = pxsim_Array__push(s.tmp_6, globals.A___127965); + r0 = pxsim_Array__push(s.tmp_6, globals.B___127966); + r0 = pxsim_Array__push(s.tmp_6, globals.menu___127971); + s.tmp_7 = controller_Controller_constructor__P127990_mk(s); s.tmp_7.arg0 = s.tmp_5; s.tmp_7.arg1 = 1; s.tmp_7.arg2 = s.tmp_6; @@ -2341,16 +2341,16 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = pxsim_Array__getAt(globals._players___22620, 0); + r0 = pxsim_Array__getAt(globals._players___130501, 0); return leave(s, r0) default: oops() } } } -controller__player1__P20099.info = {"start":1381,"length":258,"line":47,"column":4,"endLine":51,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_player1","argumentNames":[]} +controller__player1__P127980.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__P20099_mk(s) { +function controller__player1__P127980_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__player1__P20099, depth: s.depth + 1, + parent: s, fn: controller__player1__P127980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2366,7 +2366,7 @@ function controller__player1__P20099_mk(s) { -function controller_Controller_constructor__P20109(s) { +function controller_Controller_constructor__P127990(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2376,9 +2376,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.leftId___25171 = undefined; - s.i___25179 = undefined; - s.i___25197 = undefined; + s.leftId___133052 = undefined; + s.i___133060 = undefined; + s.i___133078 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2386,7 +2386,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20105_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C127986_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim.control.allocateNotifyEvent(); s.tmp_1 = r0; @@ -2410,18 +2410,18 @@ switch (step) { r0 = (s.tmp_1 * 7); s.tmp_0 = r0; r0 = (1 + s.tmp_0); - s.leftId___25171 = (r0); - s.i___25179 = (0); + s.leftId___133052 = (r0); + s.i___133060 = (0); case 2: - r0 = (s.i___25179 < 7); + r0 = (s.i___133060 < 7); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C20160_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_Button__C128041_VT); s.tmp_1 = r0; - s.tmp_2 = controller_Button_constructor__P20166_mk(s); + s.tmp_2 = controller_Button_constructor__P128047_mk(s); s.tmp_2.arg0 = s.tmp_1; - r0 = (s.leftId___25171 + s.i___25179); + r0 = (s.leftId___133052 + s.i___133060); s.tmp_2.arg1 = r0; s.tmp_2.arg2 = -1; s.callLocIdx = 157; s.pc = 7; return s.tmp_2; @@ -2430,14 +2430,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___25179 + 1); - s.i___25179 = (r0); + r0 = (s.i___133060 + 1); + s.i___133060 = (r0); { step = 2; continue; } case 3: case 4: - s.i___25197 = (0); + s.i___133078 = (0); case 5: - s.tmp_1 = r0 = s.i___25197; + s.tmp_1 = r0 = s.i___133078; r0 = s.arg0.fields["buttons"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -2448,14 +2448,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___25197); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___133078); s.tmp_4 = r0; r0 = (s.tmp_4).fields["_owner"] = (s.arg0); - r0 = (s.i___25197 + 1); - s.i___25197 = (r0); + r0 = (s.i___133078 + 1); + s.i___133078 = (r0); { step = 5; continue; } case 6: - s.tmp_0 = controller_addController__P22684_mk(s); + s.tmp_0 = controller_addController__P130565_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 158; s.pc = 8; return s.tmp_0; case 8: @@ -2464,12 +2464,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_constructor__P20109.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__P127990.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__P20109_mk(s) { +function controller_Controller_constructor__P127990_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_constructor__P20109, depth: s.depth + 1, + parent: s, fn: controller_Controller_constructor__P127990, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2477,9 +2477,9 @@ function controller_Controller_constructor__P20109_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - leftId___25171: undefined, - i___25179: undefined, - i___25197: undefined, + leftId___133052: undefined, + i___133060: undefined, + i___133078: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2489,7 +2489,7 @@ function controller_Controller_constructor__P20109_mk(s) { -function controller_addController__P22684(s) { +function controller_addController__P130565(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2503,17 +2503,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._players___22620); + r0 = pxsim_numops_toBoolDecr(globals._players___130501); 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___22620 = (r0); + globals._players___130501 = (r0); case 1: case 2: - s.tmp_0 = r0 = globals._players___22620; + s.tmp_0 = r0 = globals._players___130501; r0 = s.arg0.fields["playerIndex"]; s.tmp_2 = r0; r0 = (s.tmp_2 - 1); @@ -2523,12 +2523,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_addController__P22684.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__P130565.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__P22684_mk(s) { +function controller_addController__P130565_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_addController__P22684, depth: s.depth + 1, + parent: s, fn: controller_addController__P130565, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2540,7 +2540,7 @@ function controller_addController__P22684_mk(s) { -function control_onEvent__P18362(s) { +function control_onEvent__P126243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2550,7 +2550,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___25270 = undefined; + s.ctx___133151 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2558,12 +2558,12 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - s.tmp_0 = control_eventContext__P18379_mk(s); + s.tmp_0 = control_eventContext__P126260_mk(s); s.callLocIdx = 39; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.ctx___25270 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___25270); + s.ctx___133151 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___133151); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -2572,8 +2572,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__P18376_mk(s); - s.tmp_0.arg0 = s.ctx___25270; + s.tmp_0 = control_EventContext_registerHandler__P126257_mk(s); + s.tmp_0.arg0 = s.ctx___133151; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg2; @@ -2586,16 +2586,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_onEvent__P18362.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__P126243.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__P18362_mk(s) { +function control_onEvent__P126243_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_onEvent__P18362, depth: s.depth + 1, + parent: s, fn: control_onEvent__P126243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___25270: undefined, + ctx___133151: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2606,7 +2606,7 @@ function control_onEvent__P18362_mk(s) { -function control_eventContext__P18379(s) { +function control_eventContext__P126260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2616,10 +2616,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___22404); + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___130285); if (!r0) { step = 1; continue; } - s.tmp_0 = r0 = globals.eventContexts___22404; - r0 = pxsim_Array__length(globals.eventContexts___22404); + s.tmp_0 = r0 = globals.eventContexts___130285; + r0 = pxsim_Array__length(globals.eventContexts___130285); s.tmp_2 = r0; r0 = (s.tmp_2 - 1); s.tmp_1 = r0; @@ -2634,12 +2634,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_eventContext__P18379.info = {"start":7094,"length":136,"line":213,"column":4,"endLine":215,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"eventContext","argumentNames":[]} +control_eventContext__P126260.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__P18379_mk(s) { +function control_eventContext__P126260_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_eventContext__P18379, depth: s.depth + 1, + parent: s, fn: control_eventContext__P126260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2651,7 +2651,7 @@ function control_eventContext__P18379_mk(s) { -function control_EventContext_registerHandler__P18376(s) { +function control_EventContext_registerHandler__P126257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2661,10 +2661,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___25293 = undefined; - s.unnamed152___U1 = undefined; - s.unnamed153___U2 = undefined; - s.hn___25316 = undefined; + s.h___133174 = undefined; + s.unnamed704___U1 = undefined; + s.unnamed705___U2 = undefined; + s.hn___133197 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -2674,20 +2674,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18366_VT)) failedCast(r0); - s.h___25293 = (undefined); + if (!checkSubtype(r0, control_EventContext__C126247_VT)) failedCast(r0); + s.h___133174 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed152___U1 = (r0); - s.unnamed153___U2 = (0); + s.unnamed704___U1 = (r0); + s.unnamed705___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed153___U2; - r0 = pxsim_Array__length(s.unnamed152___U1); + s.tmp_0 = r0 = s.unnamed705___U2; + r0 = pxsim_Array__length(s.unnamed704___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed152___U1, s.unnamed153___U2); - s.h___25293 = (r0); - r0 = s.h___25293.fields["src"]; + r0 = pxsim_Array__getAt(s.unnamed704___U1, s.unnamed705___U2); + s.h___133174 = (r0); + r0 = s.h___133174.fields["src"]; s.tmp_3 = r0; r0 = (s.tmp_3 == s.arg1); s.tmp_2 = r0; @@ -2696,7 +2696,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = s.h___25293.fields["value"]; + r0 = s.h___133174.fields["value"]; s.tmp_4 = r0; r0 = (s.tmp_4 == s.arg2); case 3: @@ -2704,19 +2704,19 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 4; continue; } - r0 = (s.h___25293).fields["flags"] = (s.arg4); - r0 = (s.h___25293).fields["handler"] = (s.arg3); + r0 = (s.h___133174).fields["flags"] = (s.arg4); + r0 = (s.h___133174).fields["handler"] = (s.arg3); { step = 7; continue; } case 4: case 5: - r0 = (s.unnamed153___U2 + 1); - s.unnamed153___U2 = (r0); + r0 = (s.unnamed705___U2 + 1); + s.unnamed705___U2 = (r0); { step = 1; continue; } case 6: - s.unnamed152___U1 = (undefined); - r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C22396_VT); + s.unnamed704___U1 = (undefined); + r0 = pxsim_pxtcore_mkClassInstance(control_EventHandler__C130277_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventHandler_constructor__P22399_mk(s); + s.tmp_1 = control_EventHandler_constructor__P130280_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -2725,12 +2725,12 @@ switch (step) { s.callLocIdx = 51; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - s.hn___25316 = (s.tmp_0); + s.hn___133197 = (s.tmp_0); r0 = s.arg0.fields["handlers"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.hn___25316); - s.tmp_0 = control_EventHandler_register__P22397_mk(s); - s.tmp_0.arg0 = s.hn___25316; + r0 = pxsim_Array__push(s.tmp_0, s.hn___133197); + s.tmp_0 = control_EventHandler_register__P130278_mk(s); + s.tmp_0.arg0 = s.hn___133197; s.callLocIdx = 52; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; @@ -2739,12 +2739,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerHandler__P18376.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__P126257.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__P18376_mk(s) { +function control_EventContext_registerHandler__P126257_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerHandler__P18376, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerHandler__P126257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2752,10 +2752,10 @@ function control_EventContext_registerHandler__P18376_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - h___25293: undefined, - unnamed152___U1: undefined, - unnamed153___U2: undefined, - hn___25316: undefined, + h___133174: undefined, + unnamed704___U1: undefined, + unnamed705___U2: undefined, + hn___133197: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -2767,7 +2767,7 @@ function control_EventContext_registerHandler__P18376_mk(s) { -function control_EventHandler_constructor__P22399(s) { +function control_EventHandler_constructor__P130280(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2786,7 +2786,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C22396_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C130277_VT)) failedCast(r0); r0 = (s.arg0).fields["src"] = (s.arg1); r0 = (s.arg0).fields["value"] = (s.arg2); r0 = (s.arg0).fields["handler"] = (s.arg3); @@ -2795,12 +2795,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_constructor__P22399.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__P130280.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__P22399_mk(s) { +function control_EventHandler_constructor__P130280_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_constructor__P22399, depth: s.depth + 1, + parent: s, fn: control_EventHandler_constructor__P130280, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -2813,7 +2813,7 @@ function control_EventHandler_constructor__P22399_mk(s) { -function control_EventHandler_register__P22397(s) { +function control_EventHandler_register__P130278(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2828,8 +2828,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C22396_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P25337); + if (!checkSubtype(r0, control_EventHandler__C130277_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkAction(1, control_EventHandler_register_inline__P133218); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["src"]; @@ -2843,12 +2843,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register__P22397.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__P130278.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__P22397_mk(s) { +function control_EventHandler_register__P130278_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register__P22397, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register__P130278, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2861,7 +2861,7 @@ function control_EventHandler_register__P22397_mk(s) { -function control_EventHandler_register_inline__P25337(s) { +function control_EventHandler_register_inline__P133218(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2894,12 +2894,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventHandler_register_inline__P25337.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__P133218.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__P25337_mk(s) { +function control_EventHandler_register_inline__P133218_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_register_inline__P25337, depth: s.depth + 1, + parent: s, fn: control_EventHandler_register_inline__P133218, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2909,7 +2909,7 @@ function control_EventHandler_register_inline__P25337_mk(s) { -function multiplayer_initServer__P21359(s) { +function multiplayer_initServer__P129240(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2925,14 +2925,14 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = control_EventContext_registerFrameHandler__P18374_mk(s); - s.tmp_3 = game_eventContext__P20973_mk(s); + s.tmp_2 = control_EventContext_registerFrameHandler__P126255_mk(s); + s.tmp_3 = game_eventContext__P128854_mk(s); s.callLocIdx = 1276; 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__P25356; + s.tmp_2.arg2 = multiplayer_initServer_inline__P133237; s.callLocIdx = 1277; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; @@ -2942,12 +2942,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -multiplayer_initServer__P21359.info = {"start":1011,"length":307,"line":29,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"initServer","argumentNames":[]} +multiplayer_initServer__P129240.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__P21359_mk(s) { +function multiplayer_initServer__P129240_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initServer__P21359, depth: s.depth + 1, + parent: s, fn: multiplayer_initServer__P129240, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -2959,7 +2959,7 @@ function multiplayer_initServer__P21359_mk(s) { -function multiplayer_initServer_inline__P25356(s) { +function multiplayer_initServer_inline__P133237(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -2975,19 +2975,19 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - r0 = pxsim.multiplayer.postImage(globals.screen___20003); + r0 = pxsim.multiplayer.postImage(globals.screen___127884); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -multiplayer_initServer_inline__P25356.info = {"start":1175,"length":126,"line":31,"column":93,"endLine":35,"endColumn":13,"fileName":"pxt_modules/game/multiplayer.ts","functionName":"inline","argumentNames":[]} +multiplayer_initServer_inline__P133237.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__P25356_mk(s) { +function multiplayer_initServer_inline__P133237_mk(s) { checkStack(s.depth); return { - parent: s, fn: multiplayer_initServer_inline__P25356, depth: s.depth + 1, + parent: s, fn: multiplayer_initServer_inline__P133237, 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 multiplayer_initServer_inline__P25356_mk(s) { -function game_consoleOverlay_draw__P21098(s) { +function game_consoleOverlay_draw__P128979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3007,16 +3007,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.height___25409 = undefined; - s.top___25414 = undefined; - s.i___25420 = undefined; - s.t___25433 = undefined; - s.tOff___25440 = undefined; - s.tab___25442 = undefined; - s.unnamed182___U6 = undefined; - s.unnamed183___U7 = undefined; - s.padding___25444 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___23203); + s.height___133290 = undefined; + s.top___133295 = undefined; + s.i___133301 = undefined; + s.t___133314 = undefined; + s.tOff___133321 = undefined; + s.tab___133323 = undefined; + s.unnamed734___U6 = undefined; + s.unnamed735___U7 = undefined; + s.padding___133325 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___131084); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -3025,7 +3025,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(globals.instance___23157); + r0 = pxsim_numops_toBoolDecr(globals.instance___131038); s.tmp_4 = r0; r0 = pxsim_Boolean__bang(s.tmp_4); s.tmp_3 = r0; @@ -3041,7 +3041,7 @@ switch (step) { case 3: case 4: s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = globals.consoleFont___23211; + s.tmp_7.arg0 = globals.consoleFont___131092; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -3054,10 +3054,10 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_6 + 2); - s.height___25409 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___20939); + s.height___133290 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___128820); if (!r0) { step = 5; continue; } - r0 = s.height___25409; + r0 = s.height___133290; { step = 6; continue; } case 5: r0 = 0; @@ -3065,17 +3065,17 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (2 + s.tmp_0); - s.top___25414 = (r0); - s.i___25420 = (0); + s.top___133295 = (r0); + s.i___133301 = (0); case 7: - s.tmp_1 = r0 = s.i___25420; - r0 = pxsim_Array__length(globals.consoleStrings___23203); + s.tmp_1 = r0 = s.i___133301; + r0 = pxsim_Array__length(globals.consoleStrings___131084); 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___23203, s.i___25420); + r0 = pxsim_Array__getAt(globals.consoleStrings___131084, s.i___133301); s.tmp_5 = r0; r0 = pxsim_String_.indexOf(s.tmp_5, "\t", undefined); s.tmp_4 = r0; @@ -3083,43 +3083,43 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 10; continue; } - s.tmp_6 = helpers_stringSplit__P18093_mk(s); - r0 = pxsim_Array__getAt(globals.consoleStrings___23203, s.i___25420); + s.tmp_6 = helpers_stringSplit__P125974_mk(s); + r0 = pxsim_Array__getAt(globals.consoleStrings___131084, s.i___133301); s.tmp_6.arg0 = r0; s.tmp_6.arg1 = "\t"; s.tmp_6.arg2 = undefined; s.callLocIdx = 1131; s.pc = 15; return s.tmp_6; case 15: r0 = s.retval; - s.t___25433 = (r0); - s.tOff___25440 = (0); - s.tab___25442 = (undefined); - s.unnamed182___U6 = (s.t___25433); - s.unnamed183___U7 = (0); + s.t___133314 = (r0); + s.tOff___133321 = (0); + s.tab___133323 = (undefined); + s.unnamed734___U6 = (s.t___133314); + s.unnamed735___U7 = (0); case 8: - s.tmp_0 = r0 = s.unnamed183___U7; - r0 = pxsim_Array__length(s.unnamed182___U6); + s.tmp_0 = r0 = s.unnamed735___U7; + r0 = pxsim_Array__length(s.unnamed734___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 9; continue; } - r0 = pxsim_Array__getAt(s.unnamed182___U6, s.unnamed183___U7); - s.tab___25442 = (r0); - s.tmp_2 = r0 = globals.tabSize___23205; - s.tmp_5 = r0 = s.tOff___25440; - r0 = pxsim_String_.length(s.tab___25442); + r0 = pxsim_Array__getAt(s.unnamed734___U6, s.unnamed735___U7); + s.tab___133323 = (r0); + s.tmp_2 = r0 = globals.tabSize___131086; + s.tmp_5 = r0 = s.tOff___133321; + r0 = pxsim_String_.length(s.tab___133323); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; - r0 = (s.tmp_4 % globals.tabSize___23205); + r0 = (s.tmp_4 % globals.tabSize___131086); s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.padding___25444 = (r0); - s.tmp_0 = helpers_imagePrint__P19961_mk(s); - s.tmp_0.arg0 = globals.screen___20003; - s.tmp_0.arg1 = s.tab___25442; - s.tmp_2 = r0 = s.tOff___25440; + s.padding___133325 = (r0); + s.tmp_0 = helpers_imagePrint__P127842_mk(s); + s.tmp_0.arg0 = globals.screen___127884; + s.tmp_0.arg1 = s.tab___133323; + s.tmp_2 = r0 = s.tOff___133321; s.tmp_4 = if_charWidth_1_mk(s); - s.tmp_4.arg0 = globals.consoleFont___23211; + s.tmp_4.arg0 = globals.consoleFont___131092; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "charWidth"); } else { @@ -3135,50 +3135,50 @@ switch (step) { s.tmp_1 = r0; r0 = (4 + s.tmp_1); s.tmp_0.arg2 = r0; - s.tmp_5 = r0 = s.top___25414; - r0 = (s.i___25420 * s.height___25409); + s.tmp_5 = r0 = s.top___133295; + r0 = (s.i___133301 * s.height___133290); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___23202; - s.tmp_0.arg5 = globals.consoleFont___23211; + s.tmp_0.arg4 = globals.consoleColor___131083; + s.tmp_0.arg5 = globals.consoleFont___131092; s.tmp_0.arg6 = undefined; s.callLocIdx = 1133; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.tmp_0 = r0 = s.tOff___25440; - r0 = pxsim_String_.length(s.tab___25442); + s.tmp_0 = r0 = s.tOff___133321; + r0 = pxsim_String_.length(s.tab___133323); s.tmp_2 = r0; - r0 = (s.tmp_2 + s.padding___25444); + r0 = (s.tmp_2 + s.padding___133325); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.tOff___25440 = (r0); - r0 = (s.unnamed183___U7 + 1); - s.unnamed183___U7 = (r0); + s.tOff___133321 = (r0); + r0 = (s.unnamed735___U7 + 1); + s.unnamed735___U7 = (r0); { step = 8; continue; } case 9: - s.unnamed182___U6 = (undefined); + s.unnamed734___U6 = (undefined); { step = 11; continue; } case 10: - s.tmp_0 = helpers_imagePrint__P19961_mk(s); - s.tmp_0.arg0 = globals.screen___20003; - r0 = pxsim_Array__getAt(globals.consoleStrings___23203, s.i___25420); + s.tmp_0 = helpers_imagePrint__P127842_mk(s); + s.tmp_0.arg0 = globals.screen___127884; + r0 = pxsim_Array__getAt(globals.consoleStrings___131084, s.i___133301); s.tmp_0.arg1 = r0; s.tmp_0.arg2 = 4; - s.tmp_1 = r0 = s.top___25414; - r0 = (s.i___25420 * s.height___25409); + s.tmp_1 = r0 = s.top___133295; + r0 = (s.i___133301 * s.height___133290); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.tmp_0.arg3 = r0; - s.tmp_0.arg4 = globals.consoleColor___23202; - s.tmp_0.arg5 = globals.consoleFont___23211; + s.tmp_0.arg4 = globals.consoleColor___131083; + s.tmp_0.arg5 = globals.consoleFont___131092; s.tmp_0.arg6 = undefined; s.callLocIdx = 1134; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; case 11: - r0 = (s.i___25420 + 1); - s.i___25420 = (r0); + r0 = (s.i___133301 + 1); + s.i___133301 = (r0); { step = 7; continue; } case 12: case 13: @@ -3186,12 +3186,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_draw__P21098.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__P128979.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__P21098_mk(s) { +function game_consoleOverlay_draw__P128979_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_draw__P21098, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_draw__P128979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3201,22 +3201,22 @@ function game_consoleOverlay_draw__P21098_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - height___25409: undefined, - top___25414: undefined, - i___25420: undefined, - t___25433: undefined, - tOff___25440: undefined, - tab___25442: undefined, - unnamed182___U6: undefined, - unnamed183___U7: undefined, - padding___25444: undefined, + height___133290: undefined, + top___133295: undefined, + i___133301: undefined, + t___133314: undefined, + tOff___133321: undefined, + tab___133323: undefined, + unnamed734___U6: undefined, + unnamed735___U7: undefined, + padding___133325: undefined, } } -function scene_systemMenu_isVisible__P21079(s) { +function scene_systemMenu_isVisible__P128960(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3226,7 +3226,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___23157); + r0 = pxsim_numops_toBoolDecr(globals.instance___131038); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -3236,12 +3236,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_isVisible__P21079.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__P128960.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__P21079_mk(s) { +function scene_systemMenu_isVisible__P128960_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_isVisible__P21079, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_isVisible__P128960, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3252,7 +3252,7 @@ function scene_systemMenu_isVisible__P21079_mk(s) { -function helpers_imagePrint__P19961(s) { +function helpers_imagePrint__P127842(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3262,31 +3262,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x0___25516 = undefined; - s.cp___25518 = undefined; - s.mult___25519 = undefined; - s.dataW___25524 = undefined; - s.dataH___25530 = undefined; - s.byteHeight___25536 = undefined; - s.charSize___25542 = undefined; - s.dataSize___25546 = undefined; - s.fontdata___25550 = undefined; - s.lastchar___25553 = undefined; - s.imgBuf___25560 = undefined; - s.xOffset___25584 = undefined; - s.yOffset___25585 = undefined; - s.ch___25600 = undefined; - s.l___25619 = undefined; - s.r___25620 = undefined; - s.off___25622 = undefined; - s.guess___25623 = undefined; - s.m___25642 = undefined; - s.v___25651 = undefined; - s.i___25707 = undefined; - s.j___25712 = undefined; - s.mask___25713 = undefined; - s.c___25714 = undefined; - s.n___25731 = undefined; + s.x0___133397 = undefined; + s.cp___133399 = undefined; + s.mult___133400 = undefined; + s.dataW___133405 = undefined; + s.dataH___133411 = undefined; + s.byteHeight___133417 = undefined; + s.charSize___133423 = undefined; + s.dataSize___133427 = undefined; + s.fontdata___133431 = undefined; + s.lastchar___133434 = undefined; + s.imgBuf___133441 = undefined; + s.xOffset___133465 = undefined; + s.yOffset___133466 = undefined; + s.ch___133481 = undefined; + s.l___133500 = undefined; + s.r___133501 = undefined; + s.off___133503 = undefined; + s.guess___133504 = undefined; + s.m___133523 = undefined; + s.v___133532 = undefined; + s.i___133588 = undefined; + s.j___133593 = undefined; + s.mask___133594 = undefined; + s.c___133595 = undefined; + s.n___133612 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -3307,7 +3307,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P19948_mk(s); + s.tmp_2 = image_getFontForText__P127829_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 97; s.pc = 39; return s.tmp_2; case 39: @@ -3324,8 +3324,8 @@ switch (step) { s.arg4 = (1); case 3: case 4: - s.x0___25516 = (s.arg2); - s.cp___25518 = (0); + s.x0___133397 = (s.arg2); + s.cp___133399 = (0); s.tmp_1 = if_multiplier_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -3359,7 +3359,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_3 = r0; - s.mult___25519 = (s.tmp_3); + s.mult___133400 = (s.tmp_3); s.tmp_1 = if_charWidth_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -3373,8 +3373,8 @@ switch (step) { case 42: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___25519); - s.dataW___25524 = (r0); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___133400); + s.dataW___133405 = (r0); s.tmp_1 = if_charHeight_1_mk(s); s.tmp_1.arg0 = s.arg5; if (!s.tmp_1.arg0.vtable.iface) { @@ -3388,16 +3388,16 @@ switch (step) { case 43: r0 = s.retval; s.tmp_0 = r0; - r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___25519); - s.dataH___25530 = (r0); - r0 = (s.dataH___25530 + 7); + r0 = pxsim.Math_.idiv(s.tmp_0, s.mult___133400); + s.dataH___133411 = (r0); + r0 = (s.dataH___133411 + 7); s.tmp_0 = r0; r0 = (s.tmp_0 >> 3); - s.byteHeight___25536 = (r0); - r0 = (s.byteHeight___25536 * s.dataW___25524); - s.charSize___25542 = (r0); - r0 = (2 + s.charSize___25542); - s.dataSize___25546 = (r0); + s.byteHeight___133417 = (r0); + r0 = (s.byteHeight___133417 * s.dataW___133405); + s.charSize___133423 = (r0); + r0 = (2 + s.charSize___133423); + s.dataSize___133427 = (r0); s.tmp_0 = if_data_1_mk(s); s.tmp_0.arg0 = s.arg5; if (!s.tmp_0.arg0.vtable.iface) { @@ -3410,44 +3410,44 @@ switch (step) { } case 44: r0 = s.retval; - s.fontdata___25550 = (r0); - r0 = pxsim.BufferMethods.length(s.fontdata___25550); + s.fontdata___133431 = (r0); + r0 = pxsim.BufferMethods.length(s.fontdata___133431); s.tmp_1 = r0; - r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___25546); + r0 = pxsim.Math_.idiv(s.tmp_1, s.dataSize___133427); s.tmp_0 = r0; r0 = (s.tmp_0 - 1); - s.lastchar___25553 = (r0); - r0 = (s.mult___25519 == 1); + s.lastchar___133434 = (r0); + r0 = (s.mult___133400 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (8 + s.charSize___25542); + r0 = (8 + s.charSize___133423); s.tmp_1 = r0; r0 = pxsim.control.createBuffer(s.tmp_1); - s.imgBuf___25560 = (r0); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___25560, 0, 135); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___25560, 1, 1); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___25560, 2, s.dataW___25524); - r0 = pxsim.BufferMethods.setByte(s.imgBuf___25560, 4, s.dataH___25530); + s.imgBuf___133441 = (r0); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___133441, 0, 135); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___133441, 1, 1); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___133441, 2, s.dataW___133405); + r0 = pxsim.BufferMethods.setByte(s.imgBuf___133441, 4, s.dataH___133411); case 7: case 8: case 9: - s.tmp_1 = r0 = s.cp___25518; + s.tmp_1 = r0 = s.cp___133399; 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___25584 = (0); - s.yOffset___25585 = (0); + s.xOffset___133465 = (0); + s.yOffset___133466 = (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___25518; + s.tmp_1 = r0 = s.cp___133399; r0 = pxsim_Array__length(s.arg6); s.tmp_2 = r0; r0 = (s.tmp_1 < s.tmp_2); @@ -3457,7 +3457,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } s.tmp_4 = if_xOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___25518); + r0 = pxsim_Array__getAt(s.arg6, s.cp___133399); s.tmp_4.arg0 = r0; if (!s.tmp_4.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_4.arg0, "xOffset"); @@ -3469,9 +3469,9 @@ switch (step) { } case 45: r0 = s.retval; - s.xOffset___25584 = (r0); + s.xOffset___133465 = (r0); s.tmp_0 = if_yOffset_1_mk(s); - r0 = pxsim_Array__getAt(s.arg6, s.cp___25518); + r0 = pxsim_Array__getAt(s.arg6, s.cp___133399); s.tmp_0.arg0 = r0; if (!s.tmp_0.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_0.arg0, "yOffset"); @@ -3483,15 +3483,15 @@ switch (step) { } case 46: r0 = s.retval; - s.yOffset___25585 = (r0); + s.yOffset___133466 = (r0); case 12: case 13: - s.tmp_0 = r0 = s.cp___25518; + s.tmp_0 = r0 = s.cp___133399; r0 = (s.tmp_0 + 1); - s.cp___25518 = (r0); + s.cp___133399 = (r0); r0 = pxsim_String_.charCodeAt(s.arg1, s.tmp_0); - s.ch___25600 = (r0); - r0 = (s.ch___25600 == 10); + s.ch___133481 = (r0); + r0 = (s.ch___133481 == 10); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } @@ -3513,89 +3513,89 @@ switch (step) { s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); s.arg3 = (r0); - s.arg2 = (s.x0___25516); + s.arg2 = (s.x0___133397); case 14: case 15: - r0 = (s.ch___25600 < 32); + r0 = (s.ch___133481 < 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___25619 = (0); - s.r___25620 = (s.lastchar___25553); - s.off___25622 = (0); - r0 = (s.ch___25600 - 32); + s.l___133500 = (0); + s.r___133501 = (s.lastchar___133434); + s.off___133503 = (0); + r0 = (s.ch___133481 - 32); s.tmp_0 = r0; - r0 = (s.tmp_0 * s.dataSize___25546); - s.guess___25623 = (r0); - r0 = pxsim.BufferMethods.getNumber(s.fontdata___25550, 4, s.guess___25623); + r0 = (s.tmp_0 * s.dataSize___133427); + s.guess___133504 = (r0); + r0 = pxsim.BufferMethods.getNumber(s.fontdata___133431, 4, s.guess___133504); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.ch___25600); + r0 = (s.tmp_1 == s.ch___133481); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 18; continue; } - s.off___25622 = (s.guess___25623); + s.off___133503 = (s.guess___133504); { step = 25; continue; } case 18: case 19: - r0 = (s.l___25619 <= s.r___25620); + r0 = (s.l___133500 <= s.r___133501); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 24; continue; } - s.tmp_1 = r0 = s.l___25619; - r0 = (s.r___25620 - s.l___25619); + s.tmp_1 = r0 = s.l___133500; + r0 = (s.r___133501 - s.l___133500); s.tmp_3 = r0; r0 = (s.tmp_3 >> 1); s.tmp_2 = r0; r0 = (s.tmp_1 + s.tmp_2); - s.m___25642 = (r0); - s.tmp_0 = r0 = s.fontdata___25550; - r0 = (s.m___25642 * s.dataSize___25546); + s.m___133523 = (r0); + s.tmp_0 = r0 = s.fontdata___133431; + r0 = (s.m___133523 * s.dataSize___133427); s.tmp_1 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_0, 4, s.tmp_1); - s.v___25651 = (r0); - r0 = (s.v___25651 == s.ch___25600); + s.v___133532 = (r0); + r0 = (s.v___133532 == s.ch___133481); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.m___25642 * s.dataSize___25546); - s.off___25622 = (r0); + r0 = (s.m___133523 * s.dataSize___133427); + s.off___133503 = (r0); { step = 24; continue; } case 20: case 21: - r0 = (s.v___25651 < s.ch___25600); + r0 = (s.v___133532 < s.ch___133481); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.m___25642 + 1); - s.l___25619 = (r0); + r0 = (s.m___133523 + 1); + s.l___133500 = (r0); { step = 23; continue; } case 22: - r0 = (s.m___25642 - 1); - s.r___25620 = (r0); + r0 = (s.m___133523 - 1); + s.r___133501 = (r0); case 23: { step = 19; continue; } case 24: case 25: - r0 = (s.mult___25519 == 1); + r0 = (s.mult___133400 == 1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 26; continue; } - s.tmp_1 = r0 = s.imgBuf___25560; - s.tmp_3 = r0 = s.fontdata___25550; - r0 = (s.off___25622 + 2); + s.tmp_1 = r0 = s.imgBuf___133441; + s.tmp_3 = r0 = s.fontdata___133431; + r0 = (s.off___133503 + 2); s.tmp_4 = r0; - r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___25542); + r0 = pxsim.BufferMethods.slice(s.tmp_3, s.tmp_4, s.charSize___133423); s.tmp_2 = r0; r0 = pxsim.BufferMethods.write(s.tmp_1, 8, s.tmp_2); - s.tmp_0 = helpers_imageDrawIcon__P19926_mk(s); + s.tmp_0 = helpers_imageDrawIcon__P127807_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.imgBuf___25560; - r0 = (s.arg2 + s.xOffset___25584); + s.tmp_0.arg1 = s.imgBuf___133441; + r0 = (s.arg2 + s.xOffset___133465); s.tmp_0.arg2 = r0; - r0 = (s.arg3 + s.yOffset___25585); + r0 = (s.arg3 + s.yOffset___133466); s.tmp_0.arg3 = r0; s.tmp_0.arg4 = s.arg4; s.callLocIdx = 106; s.pc = 48; return s.tmp_0; @@ -3619,88 +3619,88 @@ switch (step) { s.arg2 = (r0); { step = 37; continue; } case 26: - r0 = (s.off___25622 + 2); - s.off___25622 = (r0); - s.i___25707 = (0); + r0 = (s.off___133503 + 2); + s.off___133503 = (r0); + s.i___133588 = (0); case 27: - r0 = (s.i___25707 < s.dataW___25524); + r0 = (s.i___133588 < s.dataW___133405); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 36; continue; } - s.j___25712 = (0); - s.mask___25713 = (1); - s.tmp_0 = r0 = s.off___25622; + s.j___133593 = (0); + s.mask___133594 = (1); + s.tmp_0 = r0 = s.off___133503; r0 = (s.tmp_0 + 1); - s.off___25622 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___25550, s.tmp_0); - s.c___25714 = (r0); + s.off___133503 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___133431, s.tmp_0); + s.c___133595 = (r0); case 28: - r0 = (s.j___25712 < s.dataH___25530); + r0 = (s.j___133593 < s.dataH___133411); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 35; continue; } - r0 = (s.mask___25713 == 256); + r0 = (s.mask___133594 == 256); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 29; continue; } - s.tmp_2 = r0 = s.off___25622; + s.tmp_2 = r0 = s.off___133503; r0 = (s.tmp_2 + 1); - s.off___25622 = (r0); - r0 = pxsim.BufferMethods.getByte(s.fontdata___25550, s.tmp_2); - s.c___25714 = (r0); - s.mask___25713 = (1); + s.off___133503 = (r0); + r0 = pxsim.BufferMethods.getByte(s.fontdata___133431, s.tmp_2); + s.c___133595 = (r0); + s.mask___133594 = (1); case 29: case 30: - s.n___25731 = (0); + s.n___133612 = (0); case 31: - r0 = (s.c___25714 & s.mask___25713); + r0 = (s.c___133595 & s.mask___133594); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 32; continue; } - r0 = (s.n___25731 + 1); - s.n___25731 = (r0); - r0 = (s.mask___25713 << 1); - s.mask___25713 = (r0); + r0 = (s.n___133612 + 1); + s.n___133612 = (r0); + r0 = (s.mask___133594 << 1); + s.mask___133594 = (r0); { step = 31; continue; } case 32: - r0 = pxsim_numops_toBoolDecr(s.n___25731); + r0 = pxsim_numops_toBoolDecr(s.n___133612); if (!r0) { step = 33; continue; } - s.tmp_0 = helpers_imageFillRect__P19927_mk(s); + s.tmp_0 = helpers_imageFillRect__P127808_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg2; - r0 = (s.xOffset___25584 * s.mult___25519); + r0 = (s.xOffset___133465 * s.mult___133400); 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___25712 + s.yOffset___25585); + r0 = (s.j___133593 + s.yOffset___133466); s.tmp_5 = r0; - r0 = (s.tmp_5 * s.mult___25519); + r0 = (s.tmp_5 * s.mult___133400); s.tmp_4 = r0; r0 = (s.tmp_3 + s.tmp_4); s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.mult___25519; - r0 = (s.mult___25519 * s.n___25731); + s.tmp_0.arg3 = s.mult___133400; + r0 = (s.mult___133400 * s.n___133612); s.tmp_0.arg4 = r0; s.tmp_0.arg5 = s.arg4; s.callLocIdx = 108; s.pc = 50; return s.tmp_0; case 50: r0 = s.retval; - r0 = (s.j___25712 + s.n___25731); - s.j___25712 = (r0); + r0 = (s.j___133593 + s.n___133612); + s.j___133593 = (r0); { step = 34; continue; } case 33: - r0 = (s.mask___25713 << 1); - s.mask___25713 = (r0); - r0 = (s.j___25712 + 1); - s.j___25712 = (r0); + r0 = (s.mask___133594 << 1); + s.mask___133594 = (r0); + r0 = (s.j___133593 + 1); + s.j___133593 = (r0); case 34: { step = 28; continue; } case 35: - r0 = (s.arg2 + s.mult___25519); + r0 = (s.arg2 + s.mult___133400); s.arg2 = (r0); - r0 = (s.i___25707 + 1); - s.i___25707 = (r0); + r0 = (s.i___133588 + 1); + s.i___133588 = (r0); { step = 27; continue; } case 36: case 37: @@ -3710,12 +3710,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrint__P19961.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__P127842.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__P19961_mk(s) { +function helpers_imagePrint__P127842_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrint__P19961, depth: s.depth + 1, + parent: s, fn: helpers_imagePrint__P127842, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3723,31 +3723,31 @@ function helpers_imagePrint__P19961_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - x0___25516: undefined, - cp___25518: undefined, - mult___25519: undefined, - dataW___25524: undefined, - dataH___25530: undefined, - byteHeight___25536: undefined, - charSize___25542: undefined, - dataSize___25546: undefined, - fontdata___25550: undefined, - lastchar___25553: undefined, - imgBuf___25560: undefined, - xOffset___25584: undefined, - yOffset___25585: undefined, - ch___25600: undefined, - l___25619: undefined, - r___25620: undefined, - off___25622: undefined, - guess___25623: undefined, - m___25642: undefined, - v___25651: undefined, - i___25707: undefined, - j___25712: undefined, - mask___25713: undefined, - c___25714: undefined, - n___25731: undefined, + x0___133397: undefined, + cp___133399: undefined, + mult___133400: undefined, + dataW___133405: undefined, + dataH___133411: undefined, + byteHeight___133417: undefined, + charSize___133423: undefined, + dataSize___133427: undefined, + fontdata___133431: undefined, + lastchar___133434: undefined, + imgBuf___133441: undefined, + xOffset___133465: undefined, + yOffset___133466: undefined, + ch___133481: undefined, + l___133500: undefined, + r___133501: undefined, + off___133503: undefined, + guess___133504: undefined, + m___133523: undefined, + v___133532: undefined, + i___133588: undefined, + j___133593: undefined, + mask___133594: undefined, + c___133595: undefined, + n___133612: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -3761,7 +3761,7 @@ function helpers_imagePrint__P19961_mk(s) { -function image_getFontForText__P19948(s) { +function image_getFontForText__P127829(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3771,52 +3771,52 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___25848 = undefined; + s.i___133729 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.i___25848 = (0); + s.i___133729 = (0); case 1: - s.tmp_1 = r0 = s.i___25848; + s.tmp_1 = r0 = s.i___133729; 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___25848); + r0 = pxsim_String_.charCodeAt(s.arg0, s.i___133729); 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___19947; + r0 = globals.font12___127828; { step = 5; continue; } case 2: case 3: - r0 = (s.i___25848 + 1); - s.i___25848 = (r0); + r0 = (s.i___133729 + 1); + s.i___133729 = (r0); { step = 1; continue; } case 4: - r0 = globals.font8___19946; + r0 = globals.font8___127827; case 5: return leave(s, r0) default: oops() } } } -image_getFontForText__P19948.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__P127829.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__P19948_mk(s) { +function image_getFontForText__P127829_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_getFontForText__P19948, depth: s.depth + 1, + parent: s, fn: image_getFontForText__P127829, 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___25848: undefined, + i___133729: undefined, arg0: undefined, } } @@ -3824,7 +3824,7 @@ function image_getFontForText__P19948_mk(s) { -function helpers_imageFillRect__P19927(s) { +function helpers_imageFillRect__P127808(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3844,14 +3844,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P22541_mk(s); + s.tmp_2 = helpers_pack__P130422_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 79; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P22541_mk(s); + s.tmp_4 = helpers_pack__P130422_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 80; s.pc = 2; return s.tmp_4; @@ -3863,12 +3863,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageFillRect__P19927.info = {"start":5454,"length":159,"line":176,"column":4,"endLine":178,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageFillRect__P127808.info = {"start":5454,"length":159,"line":176,"column":4,"endLine":178,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageFillRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageFillRect__P19927_mk(s) { +function helpers_imageFillRect__P127808_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageFillRect__P19927, depth: s.depth + 1, + parent: s, fn: helpers_imageFillRect__P127808, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3887,7 +3887,7 @@ function helpers_imageFillRect__P19927_mk(s) { -function helpers_pack__P22541(s) { +function helpers_pack__P130422(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3902,7 +3902,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_2 = Math_clamp__P18098_mk(s); + s.tmp_2 = Math_clamp__P125979_mk(s); s.tmp_2.arg0 = -30000; s.tmp_2.arg1 = 30000; r0 = (s.arg0 | 0); @@ -3913,7 +3913,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 & 65535); s.tmp_0 = r0; - s.tmp_5 = Math_clamp__P18098_mk(s); + s.tmp_5 = Math_clamp__P125979_mk(s); s.tmp_5.arg0 = -30000; s.tmp_5.arg1 = 30000; r0 = (s.arg1 | 0); @@ -3928,12 +3928,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_pack__P22541.info = {"start":4278,"length":145,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} +helpers_pack__P130422.info = {"start":4278,"length":145,"line":148,"column":4,"endLine":150,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"pack","argumentNames":["x","y"]} -function helpers_pack__P22541_mk(s) { +function helpers_pack__P130422_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_pack__P22541, depth: s.depth + 1, + parent: s, fn: helpers_pack__P130422, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3949,7 +3949,7 @@ function helpers_pack__P22541_mk(s) { -function Math_clamp__P18098(s) { +function Math_clamp__P125979(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -3965,9 +3965,9 @@ switch (step) { s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tmp_0 = Math_min__P18102_mk(s); + s.tmp_0 = Math_min__P125983_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_1 = Math_max__P18101_mk(s); + s.tmp_1 = Math_max__P125982_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg2; s.callLocIdx = 14; s.pc = 2; return s.tmp_1; @@ -3980,12 +3980,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_clamp__P18098.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__P125979.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__P18098_mk(s) { +function Math_clamp__P125979_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_clamp__P18098, depth: s.depth + 1, + parent: s, fn: Math_clamp__P125979, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -3998,7 +3998,7 @@ function Math_clamp__P18098_mk(s) { -function Math_min__P18102(s) { +function Math_min__P125983(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4026,12 +4026,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_min__P18102.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__P125983.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__P18102_mk(s) { +function Math_min__P125983_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_min__P18102, depth: s.depth + 1, + parent: s, fn: Math_min__P125983, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4042,7 +4042,7 @@ function Math_min__P18102_mk(s) { -function Math_max__P18101(s) { +function Math_max__P125982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4070,12 +4070,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_max__P18101.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__P125982.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__P18101_mk(s) { +function Math_max__P125982_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_max__P18101, depth: s.depth + 1, + parent: s, fn: Math_max__P125982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -4086,7 +4086,7 @@ function Math_max__P18101_mk(s) { -function helpers_imageDrawIcon__P19926(s) { +function helpers_imageDrawIcon__P127807(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4106,7 +4106,7 @@ switch (step) { } s.tmp_0 = r0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = helpers_pack__P22541_mk(s); + s.tmp_3 = helpers_pack__P130422_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg3; s.callLocIdx = 78; s.pc = 1; return s.tmp_3; @@ -4118,12 +4118,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawIcon__P19926.info = {"start":5304,"length":145,"line":173,"column":4,"endLine":175,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} +helpers_imageDrawIcon__P127807.info = {"start":5304,"length":145,"line":173,"column":4,"endLine":175,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawIcon","argumentNames":["img","icon","x","y","c"]} -function helpers_imageDrawIcon__P19926_mk(s) { +function helpers_imageDrawIcon__P127807_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawIcon__P19926, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawIcon__P127807, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4140,7 +4140,7 @@ function helpers_imageDrawIcon__P19926_mk(s) { -function helpers_stringSplit__P18093(s) { +function helpers_stringSplit__P125974(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4150,15 +4150,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___25871 = undefined; - s.lim___25873 = undefined; - s.s___25889 = undefined; - s.p___25892 = undefined; - s.R___25893 = undefined; - s.z___25907 = undefined; - s.T___25920 = undefined; - s.q___25921 = undefined; - s.e___25927 = undefined; + s.A___133752 = undefined; + s.lim___133754 = undefined; + s.s___133770 = undefined; + s.p___133773 = undefined; + s.R___133774 = undefined; + s.z___133788 = undefined; + s.T___133801 = undefined; + s.q___133802 = undefined; + s.e___133808 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4166,36 +4166,36 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.A___25871 = (r0); - s.lim___25873 = (0); + s.A___133752 = (r0); + s.lim___133754 = (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___25873 = (r0); + s.lim___133754 = (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___25873 = (0); + s.lim___133754 = (0); { step = 3; continue; } case 2: r0 = (s.arg2 | 0); - s.lim___25873 = (r0); + s.lim___133754 = (r0); case 3: case 4: r0 = pxsim_String_.length(s.arg0); - s.s___25889 = (r0); - s.p___25892 = (0); - s.R___25893 = (s.arg1); - r0 = (s.lim___25873 == 0); + s.s___133770 = (r0); + s.p___133773 = (0); + s.R___133774 = (s.arg1); + r0 = (s.lim___133754 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.A___25871; + r0 = s.A___133752; { step = 21; continue; } case 5: case 6: @@ -4203,123 +4203,123 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array_.setAt(s.A___25871, 0, s.arg0); - r0 = s.A___25871; + r0 = pxsim_Array_.setAt(s.A___133752, 0, s.arg0); + r0 = s.A___133752; { step = 21; continue; } case 7: case 8: - r0 = (s.s___25889 == 0); + r0 = (s.s___133770 == 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.tmp_1 = helpers_splitMatch__P22327_mk(s); + s.tmp_1 = helpers_splitMatch__P130208_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = 0; - s.tmp_1.arg2 = s.R___25893; + s.tmp_1.arg2 = s.R___133774; s.callLocIdx = 10; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - s.z___25907 = (r0); - r0 = (s.z___25907 > -1); + s.z___133788 = (r0); + r0 = (s.z___133788 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - r0 = s.A___25871; + r0 = s.A___133752; { step = 21; continue; } case 9: case 10: - r0 = pxsim_Array_.setAt(s.A___25871, 0, s.arg0); - r0 = s.A___25871; + r0 = pxsim_Array_.setAt(s.A___133752, 0, s.arg0); + r0 = s.A___133752; { step = 21; continue; } case 11: case 12: - s.q___25921 = (s.p___25892); + s.q___133802 = (s.p___133773); case 13: - r0 = (s.q___25921 != s.s___25889); + r0 = (s.q___133802 != s.s___133770); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - s.tmp_1 = helpers_splitMatch__P22327_mk(s); + s.tmp_1 = helpers_splitMatch__P130208_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.q___25921; - s.tmp_1.arg2 = s.R___25893; + s.tmp_1.arg1 = s.q___133802; + s.tmp_1.arg2 = s.R___133774; s.callLocIdx = 11; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - s.e___25927 = (r0); - r0 = (s.e___25927 < 0); + s.e___133808 = (r0); + r0 = (s.e___133808 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.q___25921 + 1); - s.q___25921 = (r0); + r0 = (s.q___133802 + 1); + s.q___133802 = (r0); { step = 19; continue; } case 14: - r0 = (s.e___25927 == s.p___25892); + r0 = (s.e___133808 == s.p___133773); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - r0 = (s.q___25921 + 1); - s.q___25921 = (r0); + r0 = (s.q___133802 + 1); + s.q___133802 = (r0); { step = 18; continue; } case 15: - s.tmp_0 = helpers_stringSlice__P18090_mk(s); + s.tmp_0 = helpers_stringSlice__P125971_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___25892; - s.tmp_0.arg2 = s.q___25921; + s.tmp_0.arg1 = s.p___133773; + s.tmp_0.arg2 = s.q___133802; s.callLocIdx = 12; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.T___25920 = (r0); - r0 = pxsim_Array__push(s.A___25871, s.T___25920); - r0 = pxsim_Array__length(s.A___25871); + s.T___133801 = (r0); + r0 = pxsim_Array__push(s.A___133752, s.T___133801); + r0 = pxsim_Array__length(s.A___133752); s.tmp_1 = r0; - r0 = (s.tmp_1 == s.lim___25873); + r0 = (s.tmp_1 == s.lim___133754); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 16; continue; } - r0 = s.A___25871; + r0 = s.A___133752; { step = 21; continue; } case 16: case 17: - s.p___25892 = (s.e___25927); - s.q___25921 = (s.p___25892); + s.p___133773 = (s.e___133808); + s.q___133802 = (s.p___133773); case 18: case 19: { step = 13; continue; } case 20: - s.tmp_0 = helpers_stringSlice__P18090_mk(s); + s.tmp_0 = helpers_stringSlice__P125971_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.p___25892; - s.tmp_0.arg2 = s.q___25921; + s.tmp_0.arg1 = s.p___133773; + s.tmp_0.arg2 = s.q___133802; s.callLocIdx = 13; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.T___25920 = (r0); - r0 = pxsim_Array__push(s.A___25871, s.T___25920); - r0 = s.A___25871; + s.T___133801 = (r0); + r0 = pxsim_Array__push(s.A___133752, s.T___133801); + r0 = s.A___133752; case 21: return leave(s, r0) default: oops() } } } -helpers_stringSplit__P18093.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__P125974.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__P18093_mk(s) { +function helpers_stringSplit__P125974_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSplit__P18093, depth: s.depth + 1, + parent: s, fn: helpers_stringSplit__P125974, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - A___25871: undefined, - lim___25873: undefined, - s___25889: undefined, - p___25892: undefined, - R___25893: undefined, - z___25907: undefined, - T___25920: undefined, - q___25921: undefined, - e___25927: undefined, + A___133752: undefined, + lim___133754: undefined, + s___133770: undefined, + p___133773: undefined, + R___133774: undefined, + z___133788: undefined, + T___133801: undefined, + q___133802: undefined, + e___133808: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4329,7 +4329,7 @@ function helpers_stringSplit__P18093_mk(s) { -function helpers_splitMatch__P22327(s) { +function helpers_splitMatch__P130208(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4339,9 +4339,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___26007 = undefined; - s.s___26010 = undefined; - s.i___26020 = undefined; + s.r___133888 = undefined; + s.s___133891 = undefined; + s.i___133901 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4349,12 +4349,12 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg2); - s.r___26007 = (r0); + s.r___133888 = (r0); r0 = pxsim_String_.length(s.arg0); - s.s___26010 = (r0); - r0 = (s.arg1 + s.r___26007); + s.s___133891 = (r0); + r0 = (s.arg1 + s.r___133888); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.s___26010); + r0 = (s.tmp_1 > s.s___133891); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -4362,18 +4362,18 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.i___26020 = (0); + s.i___133901 = (0); case 3: - r0 = (s.i___26020 < s.r___26007); + r0 = (s.i___133901 < s.r___133888); 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___26020); + r0 = (s.arg1 + s.i___133901); 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___26020); + r0 = pxsim_String_.charAt(s.arg2, s.i___133901); s.tmp_5 = r0; r0 = (s.tmp_2 != s.tmp_5); s.tmp_1 = r0; @@ -4383,21 +4383,21 @@ switch (step) { { step = 7; continue; } case 4: case 5: - r0 = (s.i___26020 + 1); - s.i___26020 = (r0); + r0 = (s.i___133901 + 1); + s.i___133901 = (r0); { step = 3; continue; } case 6: - r0 = (s.arg1 + s.r___26007); + r0 = (s.arg1 + s.r___133888); case 7: return leave(s, r0) default: oops() } } } -helpers_splitMatch__P22327.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__P130208.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__P22327_mk(s) { +function helpers_splitMatch__P130208_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_splitMatch__P22327, depth: s.depth + 1, + parent: s, fn: helpers_splitMatch__P130208, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4405,9 +4405,9 @@ function helpers_splitMatch__P22327_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - r___26007: undefined, - s___26010: undefined, - i___26020: undefined, + r___133888: undefined, + s___133891: undefined, + i___133901: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4417,7 +4417,7 @@ function helpers_splitMatch__P22327_mk(s) { -function helpers_stringSlice__P18090(s) { +function helpers_stringSlice__P125971(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4427,7 +4427,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___25972 = undefined; + s.len___133853 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4435,13 +4435,13 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_String_.length(s.arg0); - s.len___25972 = (r0); + s.len___133853 = (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__P18101_mk(s); - r0 = (s.len___25972 + s.arg1); + s.tmp_1 = Math_max__P125982_mk(s); + r0 = (s.len___133853 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 9; s.pc = 9; return s.tmp_1; @@ -4454,7 +4454,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.arg2 = (s.len___25972); + s.arg2 = (s.len___133853); { step = 6; continue; } case 3: r0 = (s.arg2 === null); @@ -4469,7 +4469,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - r0 = (s.len___25972 + s.arg2); + r0 = (s.len___133853 + s.arg2); s.arg2 = (r0); case 7: case 8: @@ -4481,17 +4481,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_stringSlice__P18090.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__P125971.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__P18090_mk(s) { +function helpers_stringSlice__P125971_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_stringSlice__P18090, depth: s.depth + 1, + parent: s, fn: helpers_stringSlice__P125971, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___25972: undefined, + len___133853: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -4501,7 +4501,7 @@ function helpers_stringSlice__P18090_mk(s) { -function scene_Scene_render__P20843(s) { +function scene_Scene_render__P128724(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4511,15 +4511,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___26104 = undefined; - s.unnamed180___U1 = undefined; - s.unnamed181___U2 = undefined; + s.s___133985 = undefined; + s.unnamed732___U1 = undefined; + s.unnamed733___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C20814_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C128695_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -4550,7 +4550,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 5; continue; } - s.tmp_3 = scene_Scene_render__P20843_mk(s); + s.tmp_3 = scene_Scene_render__P128724_mk(s); r0 = s.arg0.fields["previousScene"]; s.tmp_3.arg0 = r0; s.callLocIdx = 930; s.pc = 12; return s.tmp_3; @@ -4558,7 +4558,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = scene_Background_draw__P20649_mk(s); + s.tmp_0 = scene_Background_draw__P128530_mk(s); r0 = s.arg0.fields["background"]; s.tmp_0.arg0 = r0; s.callLocIdx = 931; s.pc = 13; return s.tmp_0; @@ -4571,10 +4571,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_2 = helpers_arraySort__P18076_mk(s); + s.tmp_2 = helpers_arraySort__P125957_mk(s); r0 = s.arg0.fields["allSprites"]; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = scene_Scene_render_inline__P26081; + s.tmp_2.arg1 = scene_Scene_render_inline__P133962; s.callLocIdx = 936; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; @@ -4586,20 +4586,20 @@ switch (step) { r0 = (s.tmp_0).fields["flags"] = (s.tmp_1); case 7: case 8: - s.s___26104 = (undefined); + s.s___133985 = (undefined); r0 = s.arg0.fields["allSprites"]; - s.unnamed180___U1 = (r0); - s.unnamed181___U2 = (0); + s.unnamed732___U1 = (r0); + s.unnamed733___U2 = (0); case 9: - s.tmp_0 = r0 = s.unnamed181___U2; - r0 = pxsim_Array__length(s.unnamed180___U1); + s.tmp_0 = r0 = s.unnamed733___U2; + r0 = pxsim_Array__length(s.unnamed732___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed180___U1, s.unnamed181___U2); - s.s___26104 = (r0); + r0 = pxsim_Array__getAt(s.unnamed732___U1, s.unnamed733___U2); + s.s___133985 = (r0); s.tmp_2 = if___draw_2_mk(s); - s.tmp_2.arg0 = s.s___26104; + s.tmp_2.arg0 = s.s___133985; r0 = s.arg0.fields["camera"]; s.tmp_2.arg1 = r0; if (!s.tmp_2.arg0.vtable.iface) { @@ -4613,11 +4613,11 @@ switch (step) { } case 15: r0 = s.retval; - r0 = (s.unnamed181___U2 + 1); - s.unnamed181___U2 = (r0); + r0 = (s.unnamed733___U2 + 1); + s.unnamed733___U2 = (r0); { step = 9; continue; } case 10: - s.unnamed180___U1 = (undefined); + s.unnamed732___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["flags"]; s.tmp_2 = r0; @@ -4629,21 +4629,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render__P20843.info = {"start":8203,"length":917,"line":228,"column":8,"endLine":252,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"render","argumentNames":["this"]} +scene_Scene_render__P128724.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__P20843_mk(s) { +function scene_Scene_render__P128724_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render__P20843, depth: s.depth + 1, + parent: s, fn: scene_Scene_render__P128724, 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___26104: undefined, - unnamed180___U1: undefined, - unnamed181___U2: undefined, + s___133985: undefined, + unnamed732___U1: undefined, + unnamed733___U2: undefined, arg0: undefined, } } @@ -4651,7 +4651,7 @@ function scene_Scene_render__P20843_mk(s) { -function scene_Scene_render_inline__P26081(s) { +function scene_Scene_render_inline__P133962(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4733,12 +4733,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_render_inline__P26081.info = {"start":8781,"length":52,"line":242,"column":37,"endLine":242,"endColumn":89,"fileName":"pxt_modules/game/scene.ts","functionName":"inline","argumentNames":["a","b"]} +scene_Scene_render_inline__P133962.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__P26081_mk(s) { +function scene_Scene_render_inline__P133962_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_render_inline__P26081, depth: s.depth + 1, + parent: s, fn: scene_Scene_render_inline__P133962, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4758,7 +4758,7 @@ function scene_Scene_render_inline__P26081_mk(s) { -function scene_Background_draw__P20649(s) { +function scene_Background_draw__P128530(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4773,27 +4773,27 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C20640_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C128521_VT)) failedCast(r0); r0 = s.arg0.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.fill(globals.screen___20003, s.tmp_0); + r0 = pxsim_ImageMethods.fill(globals.screen___127884, 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___20003, s.tmp_1, 0, 0); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___127884, 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__P26252); + r0 = pxsim_pxtcore_mkAction(1, scene_Background_draw_inline__P134133); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P18080_mk(s); + s.tmp_2 = helpers_arrayForEach__P125961_mk(s); r0 = s.arg0.fields["_layers"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.tmp_1; @@ -4806,12 +4806,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw__P20649.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__P128530.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__P20649_mk(s) { +function scene_Background_draw__P128530_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw__P20649, depth: s.depth + 1, + parent: s, fn: scene_Background_draw__P128530, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -4823,7 +4823,7 @@ function scene_Background_draw__P20649_mk(s) { -function scene_Background_draw_inline__P26252(s) { +function scene_Background_draw_inline__P134133(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4833,8 +4833,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___26254 = undefined; - s.oy___26265 = undefined; + s.ox___134135 = undefined; + s.oy___134146 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -4849,7 +4849,7 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.ox___26254 = (r0); + s.ox___134135 = (r0); r0 = s.caps[0].fields["camera"]; r0 = r0.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -4860,11 +4860,11 @@ switch (step) { r0 = (s.tmp_1 / s.tmp_2); s.tmp_0 = r0; r0 = pxsim.Math_.round(s.tmp_0); - s.oy___26265 = (r0); - s.tmp_0 = scene_BackgroundLayer_draw__P20658_mk(s); + s.oy___134146 = (r0); + s.tmp_0 = scene_BackgroundLayer_draw__P128539_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ox___26254; - s.tmp_0.arg2 = s.oy___26265; + s.tmp_0.arg1 = s.ox___134135; + s.tmp_0.arg2 = s.oy___134146; s.callLocIdx = 792; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -4872,19 +4872,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_draw_inline__P26252.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__P134133.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__P26252_mk(s) { +function scene_Background_draw_inline__P134133_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_draw_inline__P26252, depth: s.depth + 1, + parent: s, fn: scene_Background_draw_inline__P134133, 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___26254: undefined, - oy___26265: undefined, + ox___134135: undefined, + oy___134146: undefined, arg0: undefined, } } @@ -4892,7 +4892,7 @@ function scene_Background_draw_inline__P26252_mk(s) { -function scene_BackgroundLayer_draw__P20658(s) { +function scene_BackgroundLayer_draw__P128539(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -4902,19 +4902,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___26283 = undefined; - s.h___26286 = undefined; - s.pw___26289 = undefined; - s.ph___26293 = undefined; - s.rx___26302 = undefined; - s.ry___26305 = undefined; - s.y___26374 = undefined; - s.py___26375 = undefined; - s.dh___26384 = undefined; - s.x___26392 = undefined; - s.rxl___26393 = undefined; - s.px___26399 = undefined; - s.dw___26403 = undefined; + s.w___134164 = undefined; + s.h___134167 = undefined; + s.pw___134170 = undefined; + s.ph___134174 = undefined; + s.rx___134183 = undefined; + s.ry___134186 = undefined; + s.y___134255 = undefined; + s.py___134256 = undefined; + s.dh___134265 = undefined; + s.x___134273 = undefined; + s.rxl___134274 = undefined; + s.px___134280 = undefined; + s.dw___134284 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -4922,20 +4922,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C20650_VT)) failedCast(r0); - r0 = pxsim_ImageMethods.width(globals.screen___20003); - s.w___26283 = (r0); - r0 = pxsim_ImageMethods.height(globals.screen___20003); - s.h___26286 = (r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C128531_VT)) failedCast(r0); + r0 = pxsim_ImageMethods.width(globals.screen___127884); + s.w___134164 = (r0); + r0 = pxsim_ImageMethods.height(globals.screen___127884); + s.h___134167 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.width(s.tmp_0); - s.pw___26289 = (r0); + s.pw___134170 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; r0 = pxsim_ImageMethods.height(s.tmp_0); - s.ph___26293 = (r0); - r0 = pxsim_numops_toBoolDecr(s.pw___26289); + s.ph___134174 = (r0); + r0 = pxsim_numops_toBoolDecr(s.pw___134170); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -4944,7 +4944,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_numops_toBoolDecr(s.ph___26293); + r0 = pxsim_numops_toBoolDecr(s.ph___134174); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); case 2: @@ -4956,9 +4956,9 @@ switch (step) { case 3: case 4: r0 = (0 - s.arg1); - s.rx___26302 = (r0); + s.rx___134183 = (r0); r0 = (0 - s.arg2); - s.ry___26305 = (r0); + s.ry___134186 = (r0); r0 = s.arg0.fields["alignX"]; s.tmp_0 = r0; r0 = pxsim_pxtcore.switch_eq(2, s.tmp_0); @@ -4968,20 +4968,20 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 5: - s.tmp_1 = r0 = s.rx___26302; - r0 = (s.w___26283 + s.pw___26289); + s.tmp_1 = r0 = s.rx___134183; + r0 = (s.w___134164 + s.pw___134170); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.rx___26302 = (r0); + s.rx___134183 = (r0); { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.rx___26302; - r0 = (s.w___26283 + s.pw___26289); + s.tmp_0 = r0 = s.rx___134183; + r0 = (s.w___134164 + s.pw___134170); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.rx___26302 = (r0); + s.rx___134183 = (r0); case 7: r0 = s.arg0.fields["alignY"]; s.tmp_0 = r0; @@ -4992,120 +4992,120 @@ switch (step) { r0 = s.tmp_0; { step = 10; continue; } case 8: - s.tmp_1 = r0 = s.ry___26305; - r0 = (s.h___26286 + s.ph___26293); + s.tmp_1 = r0 = s.ry___134186; + r0 = (s.h___134167 + s.ph___134174); s.tmp_2 = r0; r0 = (s.tmp_1 - s.tmp_2); - s.ry___26305 = (r0); + s.ry___134186 = (r0); { step = 10; continue; } case 9: - s.tmp_0 = r0 = s.ry___26305; - r0 = (s.h___26286 + s.ph___26293); + s.tmp_0 = r0 = s.ry___134186; + r0 = (s.h___134167 + s.ph___134174); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.ry___26305 = (r0); + s.ry___134186 = (r0); case 10: - r0 = (s.rx___26302 % s.w___26283); - s.rx___26302 = (r0); - r0 = (s.rx___26302 < 0); + r0 = (s.rx___134183 % s.w___134164); + s.rx___134183 = (r0); + r0 = (s.rx___134183 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - r0 = (s.rx___26302 + s.w___26283); - s.rx___26302 = (r0); + r0 = (s.rx___134183 + s.w___134164); + s.rx___134183 = (r0); case 11: case 12: - r0 = (s.ry___26305 % s.h___26286); - s.ry___26305 = (r0); - r0 = (s.ry___26305 < 0); + r0 = (s.ry___134186 % s.h___134167); + s.ry___134186 = (r0); + r0 = (s.ry___134186 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (s.ry___26305 + s.h___26286); - s.ry___26305 = (r0); + r0 = (s.ry___134186 + s.h___134167); + s.ry___134186 = (r0); case 13: case 14: - r0 = pxsim.Math_.floor(s.rx___26302); - s.rx___26302 = (r0); - r0 = pxsim.Math_.floor(s.ry___26305); - s.ry___26305 = (r0); - s.y___26374 = (0); - s.py___26375 = (0); + r0 = pxsim.Math_.floor(s.rx___134183); + s.rx___134183 = (r0); + r0 = pxsim.Math_.floor(s.ry___134186); + s.ry___134186 = (r0); + s.y___134255 = (0); + s.py___134256 = (0); case 15: - r0 = (s.y___26374 < s.h___26286); + r0 = (s.y___134255 < s.h___134167); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } - r0 = (s.y___26374 % s.ph___26293); - s.py___26375 = (r0); - s.tmp_0 = Math_min__P18102_mk(s); - r0 = (s.ph___26293 - s.py___26375); + r0 = (s.y___134255 % s.ph___134174); + s.py___134256 = (r0); + s.tmp_0 = Math_min__P125983_mk(s); + r0 = (s.ph___134174 - s.py___134256); s.tmp_0.arg0 = r0; - r0 = (s.h___26286 - s.ry___26305); + r0 = (s.h___134167 - s.ry___134186); s.tmp_0.arg1 = r0; s.callLocIdx = 795; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.dh___26384 = (r0); - s.x___26392 = (0); - s.rxl___26393 = (s.rx___26302); + s.dh___134265 = (r0); + s.x___134273 = (0); + s.rxl___134274 = (s.rx___134183); case 16: - r0 = (s.x___26392 < s.w___26283); + r0 = (s.x___134273 < s.w___134164); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 19; continue; } - r0 = (s.x___26392 % s.pw___26289); - s.px___26399 = (r0); - s.tmp_0 = Math_min__P18102_mk(s); - r0 = (s.pw___26289 - s.px___26399); + r0 = (s.x___134273 % s.pw___134170); + s.px___134280 = (r0); + s.tmp_0 = Math_min__P125983_mk(s); + r0 = (s.pw___134170 - s.px___134280); s.tmp_0.arg0 = r0; - r0 = (s.w___26283 - s.rxl___26393); + r0 = (s.w___134164 - s.rxl___134274); s.tmp_0.arg1 = r0; s.callLocIdx = 796; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.dw___26403 = (r0); + s.dw___134284 = (r0); r0 = s.arg0.fields["img"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.drawImage(globals.screen___20003, s.tmp_0, s.rxl___26393, s.ry___26305); - r0 = (s.rxl___26393 + s.dw___26403); + r0 = pxsim_ImageMethods.drawImage(globals.screen___127884, s.tmp_0, s.rxl___134274, s.ry___134186); + r0 = (s.rxl___134274 + s.dw___134284); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.w___26283); - s.rxl___26393 = (r0); + r0 = (s.tmp_0 % s.w___134164); + s.rxl___134274 = (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___26403; + r0 = s.dw___134284; { step = 18; continue; } case 17: - r0 = s.w___26283; + r0 = s.w___134164; case 18: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.x___26392 + s.tmp_1); - s.x___26392 = (r0); + r0 = (s.x___134273 + s.tmp_1); + s.x___134273 = (r0); { step = 16; continue; } case 19: - r0 = (s.ry___26305 + s.dh___26384); + r0 = (s.ry___134186 + s.dh___134265); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.h___26286); - s.ry___26305 = (r0); + r0 = (s.tmp_0 % s.h___134167); + s.ry___134186 = (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___26384; + r0 = s.dh___134265; { step = 21; continue; } case 20: - r0 = s.h___26286; + r0 = s.h___134167; case 21: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.y___26374 + s.tmp_1); - s.y___26374 = (r0); + r0 = (s.y___134255 + s.tmp_1); + s.y___134255 = (r0); { step = 15; continue; } case 22: case 23: @@ -5113,30 +5113,30 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_draw__P20658.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__P128539.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__P20658_mk(s) { +function scene_BackgroundLayer_draw__P128539_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_draw__P20658, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_draw__P128539, 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___26283: undefined, - h___26286: undefined, - pw___26289: undefined, - ph___26293: undefined, - rx___26302: undefined, - ry___26305: undefined, - y___26374: undefined, - py___26375: undefined, - dh___26384: undefined, - x___26392: undefined, - rxl___26393: undefined, - px___26399: undefined, - dw___26403: undefined, + w___134164: undefined, + h___134167: undefined, + pw___134170: undefined, + ph___134174: undefined, + rx___134183: undefined, + ry___134186: undefined, + y___134255: undefined, + py___134256: undefined, + dh___134265: undefined, + x___134273: undefined, + rxl___134274: undefined, + px___134280: undefined, + dw___134284: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5146,7 +5146,7 @@ function scene_BackgroundLayer_draw__P20658_mk(s) { -function helpers_arraySort__P18076(s) { +function helpers_arraySort__P125957(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5178,10 +5178,10 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.arg1 = (helpers_arraySort_inline__P26126); + s.arg1 = (helpers_arraySort_inline__P134007); case 3: case 4: - s.tmp_0 = helpers_sortHelper__P22325_mk(s); + s.tmp_0 = helpers_sortHelper__P130206_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 2; s.pc = 5; return s.tmp_0; @@ -5190,12 +5190,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort__P18076.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__P125957.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__P18076_mk(s) { +function helpers_arraySort__P125957_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort__P18076, depth: s.depth + 1, + parent: s, fn: helpers_arraySort__P125957, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5209,7 +5209,7 @@ function helpers_arraySort__P18076_mk(s) { -function helpers_arraySort_inline__P26126(s) { +function helpers_arraySort_inline__P134007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5219,26 +5219,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.aIsUndef___26129 = undefined; - s.bIsUndef___26133 = undefined; - s.aIsNull___26144 = undefined; - s.bIsNull___26148 = undefined; + s.aIsUndef___134010 = undefined; + s.bIsUndef___134014 = undefined; + s.aIsNull___134025 = undefined; + s.bIsNull___134029 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = (s.arg0 === undefined); - s.aIsUndef___26129 = (r0); + s.aIsUndef___134010 = (r0); r0 = (s.arg1 === undefined); - s.bIsUndef___26133 = (r0); - s.tmp_0 = r0 = s.aIsUndef___26129; + s.bIsUndef___134014 = (r0); + s.tmp_0 = r0 = s.aIsUndef___134010; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.bIsUndef___26133; + r0 = s.bIsUndef___134014; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -5248,13 +5248,13 @@ switch (step) { { step = 17; continue; } { step = 8; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(s.aIsUndef___26129); + r0 = pxsim_numops_toBoolDecr(s.aIsUndef___134010); if (!r0) { step = 4; continue; } r0 = 1; { step = 17; continue; } { step = 7; continue; } case 4: - r0 = pxsim_numops_toBoolDecr(s.bIsUndef___26133); + r0 = pxsim_numops_toBoolDecr(s.bIsUndef___134014); if (!r0) { step = 5; continue; } r0 = -1; { step = 17; continue; } @@ -5263,16 +5263,16 @@ switch (step) { case 7: case 8: r0 = (s.arg0 === null); - s.aIsNull___26144 = (r0); + s.aIsNull___134025 = (r0); r0 = (s.arg1 === null); - s.bIsNull___26148 = (r0); - s.tmp_0 = r0 = s.aIsNull___26144; + s.bIsNull___134029 = (r0); + s.tmp_0 = r0 = s.aIsNull___134025; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 9; continue; } r0 = s.tmp_0; { step = 10; continue; } case 9: - r0 = s.bIsNull___26148; + r0 = s.bIsNull___134029; case 10: // jmp value (already in r0) s.tmp_1 = r0; @@ -5282,13 +5282,13 @@ switch (step) { { step = 17; continue; } { step = 16; continue; } case 11: - r0 = pxsim_numops_toBoolDecr(s.aIsNull___26144); + r0 = pxsim_numops_toBoolDecr(s.aIsNull___134025); if (!r0) { step = 12; continue; } r0 = 1; { step = 17; continue; } { step = 15; continue; } case 12: - r0 = pxsim_numops_toBoolDecr(s.bIsNull___26148); + r0 = pxsim_numops_toBoolDecr(s.bIsNull___134029); if (!r0) { step = 13; continue; } r0 = -1; { step = 17; continue; } @@ -5327,12 +5327,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySort_inline__P26126.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__P134007.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__P26126_mk(s) { +function helpers_arraySort_inline__P134007_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySort_inline__P26126, depth: s.depth + 1, + parent: s, fn: helpers_arraySort_inline__P134007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5342,10 +5342,10 @@ function helpers_arraySort_inline__P26126_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - aIsUndef___26129: undefined, - bIsUndef___26133: undefined, - aIsNull___26144: undefined, - bIsNull___26148: undefined, + aIsUndef___134010: undefined, + bIsUndef___134014: undefined, + aIsNull___134025: undefined, + bIsNull___134029: undefined, arg0: undefined, arg1: undefined, } } @@ -5354,7 +5354,7 @@ function helpers_arraySort_inline__P26126_mk(s) { -function helpers_sortHelper__P22325(s) { +function helpers_sortHelper__P130206(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5364,9 +5364,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___26183 = undefined; - s.i___26186 = undefined; - s.j___26192 = undefined; + s.len___134064 = undefined; + s.i___134067 = undefined; + s.j___134073 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5394,28 +5394,28 @@ switch (step) { case 3: case 4: r0 = pxsim_Array__length(s.arg0); - s.len___26183 = (r0); - s.i___26186 = (0); + s.len___134064 = (r0); + s.i___134067 = (0); case 5: - s.tmp_1 = r0 = s.i___26186; - r0 = (s.len___26183 - 1); + s.tmp_1 = r0 = s.i___134067; + r0 = (s.len___134064 - 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___26186 + 1); - s.j___26192 = (r0); + r0 = (s.i___134067 + 1); + s.j___134073 = (r0); case 6: - r0 = (s.j___26192 < s.len___26183); + r0 = (s.j___134073 < s.len___134064); 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___26186); + r0 = pxsim_Array__getAt(s.arg0, s.i___134067); s.tmp_3.arg0 = r0; - r0 = pxsim_Array__getAt(s.arg0, s.j___26192); + r0 = pxsim_Array__getAt(s.arg0, s.j___134073); s.tmp_3.arg1 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 0; s.pc = 12; return s.tmp_3; @@ -5426,21 +5426,21 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.tmp_4 = helpers_swap__P22324_mk(s); + s.tmp_4 = helpers_swap__P130205_mk(s); s.tmp_4.arg0 = s.arg0; - s.tmp_4.arg1 = s.i___26186; - s.tmp_4.arg2 = s.j___26192; + s.tmp_4.arg1 = s.i___134067; + s.tmp_4.arg2 = s.j___134073; s.callLocIdx = 1; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; case 7: case 8: - r0 = (s.j___26192 + 1); - s.j___26192 = (r0); + r0 = (s.j___134073 + 1); + s.j___134073 = (r0); { step = 6; continue; } case 9: - r0 = (s.i___26186 + 1); - s.i___26186 = (r0); + r0 = (s.i___134067 + 1); + s.i___134067 = (r0); { step = 5; continue; } case 10: r0 = s.arg0; @@ -5448,21 +5448,21 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_sortHelper__P22325.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__P130206.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__P22325_mk(s) { +function helpers_sortHelper__P130206_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_sortHelper__P22325, depth: s.depth + 1, + parent: s, fn: helpers_sortHelper__P130206, 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___26183: undefined, - i___26186: undefined, - j___26192: undefined, + len___134064: undefined, + i___134067: undefined, + j___134073: undefined, arg0: undefined, arg1: undefined, } } @@ -5471,7 +5471,7 @@ function helpers_sortHelper__P22325_mk(s) { -function helpers_swap__P22324(s) { +function helpers_swap__P130205(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5481,7 +5481,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.temp___26221 = undefined; + s.temp___134102 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -5489,28 +5489,28 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__getAt(s.arg0, s.arg1); - s.temp___26221 = (r0); + s.temp___134102 = (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___26221); + r0 = pxsim_Array_.setAt(s.arg0, s.arg2, s.temp___134102); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_swap__P22324.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__P130205.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__P22324_mk(s) { +function helpers_swap__P130205_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_swap__P22324, depth: s.depth + 1, + parent: s, fn: helpers_swap__P130205, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - temp___26221: undefined, + temp___134102: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -5520,7 +5520,7 @@ function helpers_swap__P22324_mk(s) { -function scene_Camera_update__P20769(s) { +function scene_Camera_update__P128650(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5530,24 +5530,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.elapsed___26490 = undefined; - s.percentComplete___26504 = undefined; - s.damp___26511 = undefined; - s.f___26520 = undefined; - s.x___26526 = undefined; - s.y___26533 = undefined; + s.elapsed___134371 = undefined; + s.percentComplete___134385 = undefined; + s.damp___134392 = undefined; + s.f___134401 = undefined; + s.x___134407 = undefined; + s.y___134414 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20752_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C128633_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__P20325_mk(s); + s.tmp_3 = Sprite_x__P128206_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_3.arg0 = r0; s.callLocIdx = 891; s.pc = 9; return s.tmp_3; @@ -5556,7 +5556,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__P20327_mk(s); + s.tmp_2 = Sprite_y__P128208_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; s.callLocIdx = 892; s.pc = 10; return s.tmp_2; @@ -5564,16 +5564,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__P20758_mk(s); + s.tmp_0 = scene_Camera_offsetX__P128639_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_x__P20325_mk(s); + s.tmp_2 = Sprite_x__P128206_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; s.callLocIdx = 893; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20003); + r0 = pxsim_ImageMethods.width(globals.screen___127884); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; @@ -5582,16 +5582,16 @@ switch (step) { s.callLocIdx = 894; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = scene_Camera_offsetY__P20760_mk(s); + s.tmp_0 = scene_Camera_offsetY__P128641_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_2 = Sprite_y__P20327_mk(s); + s.tmp_2 = Sprite_y__P128208_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_2.arg0 = r0; s.callLocIdx = 895; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20003); + r0 = pxsim_ImageMethods.height(globals.screen___127884); s.tmp_4 = r0; r0 = (s.tmp_4 >> 1); s.tmp_3 = r0; @@ -5621,10 +5621,10 @@ switch (step) { r0 = s.arg0.fields["shakeStartTime"]; s.tmp_3 = r0; r0 = (s.tmp_2 - s.tmp_3); - s.elapsed___26490 = (r0); + s.elapsed___134371 = (r0); r0 = s.arg0.fields["shakeDuration"]; s.tmp_1 = r0; - r0 = (s.elapsed___26490 >= s.tmp_1); + r0 = (s.elapsed___134371 >= s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } @@ -5633,49 +5633,49 @@ switch (step) { case 3: r0 = s.arg0.fields["shakeDuration"]; s.tmp_0 = r0; - r0 = (s.elapsed___26490 / s.tmp_0); - s.percentComplete___26504 = (r0); - s.damp___26511 = (1); - r0 = (s.percentComplete___26504 >= 0.75); + r0 = (s.elapsed___134371 / s.tmp_0); + s.percentComplete___134385 = (r0); + s.damp___134392 = (1); + r0 = (s.percentComplete___134385 >= 0.75); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_1 = Math_max__P18101_mk(s); + s.tmp_1 = Math_max__P125982_mk(s); s.tmp_1.arg0 = 0; - r0 = (1 - s.percentComplete___26504); + r0 = (1 - s.percentComplete___134385); s.tmp_1.arg1 = r0; s.callLocIdx = 899; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.damp___26511 = (r0); + s.damp___134392 = (r0); case 4: case 5: r0 = s.arg0.fields["shakeAmplitude"]; s.tmp_0 = r0; - r0 = (s.tmp_0 * s.damp___26511); - s.f___26520 = (r0); + r0 = (s.tmp_0 * s.damp___134392); + s.f___134401 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___26520); + r0 = (s.tmp_1 * s.f___134401); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.x___26526 = (r0); + s.x___134407 = (r0); r0 = pxsim.Math_.random(); s.tmp_1 = r0; - r0 = (s.tmp_1 * s.f___26520); + r0 = (s.tmp_1 * s.f___134401); s.tmp_0 = r0; r0 = (s.tmp_0 >> 0); - s.y___26533 = (r0); + s.y___134414 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["drawOffsetX"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.x___26526); + r0 = (s.tmp_2 + s.x___134407); 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___26533); + r0 = (s.tmp_2 + s.y___134414); s.tmp_1 = r0; r0 = (s.tmp_0).fields["drawOffsetY"] = (s.tmp_1); case 6: @@ -5685,24 +5685,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_update__P20769.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__P128650.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__P20769_mk(s) { +function scene_Camera_update__P128650_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_update__P20769, depth: s.depth + 1, + parent: s, fn: scene_Camera_update__P128650, 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___26490: undefined, - percentComplete___26504: undefined, - damp___26511: undefined, - f___26520: undefined, - x___26526: undefined, - y___26533: undefined, + elapsed___134371: undefined, + percentComplete___134385: undefined, + damp___134392: undefined, + f___134401: undefined, + x___134407: undefined, + y___134414: undefined, arg0: undefined, } } @@ -5710,7 +5710,7 @@ function scene_Camera_update__P20769_mk(s) { -function scene_Camera_offsetY__P20760(s) { +function scene_Camera_offsetY__P128641(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5720,27 +5720,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___26552 = undefined; + s.scene___134433 = 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__C20752_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P20970_mk(s); + if (!checkSubtype(r0, scene_Camera__C128633_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 882; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___26552 = (r0); - r0 = s.scene___26552.fields["tileMap"]; + s.scene___134433 = (r0); + r0 = s.scene___134433.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___26552.fields["tileMap"]; + r0 = s.scene___134433.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -5757,8 +5757,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__P20713_mk(s); - r0 = s.scene___26552.fields["tileMap"]; + s.tmp_10 = tiles_TileMap_offsetY__P128594_mk(s); + r0 = s.scene___134433.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; s.callLocIdx = 884; s.pc = 6; return s.tmp_10; @@ -5779,12 +5779,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetY__P20760.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__P128641.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__P20760_mk(s) { +function scene_Camera_offsetY__P128641_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P20760, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P128641, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5797,7 +5797,7 @@ function scene_Camera_offsetY__P20760_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___26552: undefined, + scene___134433: undefined, arg0: undefined, arg1: undefined, } } @@ -5806,7 +5806,7 @@ function scene_Camera_offsetY__P20760_mk(s) { -function tiles_TileMap_enabled__P20718(s) { +function tiles_TileMap_enabled__P128599(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5821,7 +5821,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); @@ -5834,13 +5834,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_enabled__P20718.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__P20718.isGetter = true; +tiles_TileMap_enabled__P128599.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__P128599.isGetter = true; -function tiles_TileMap_enabled__P20718_mk(s) { +function tiles_TileMap_enabled__P128599_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_enabled__P20718, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_enabled__P128599, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5853,7 +5853,7 @@ function tiles_TileMap_enabled__P20718_mk(s) { -function tiles_TileMap_offsetY__P20713(s) { +function tiles_TileMap_offsetY__P128594(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5869,17 +5869,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P18098_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P125979_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P18101_mk(s); - s.tmp_3 = tiles_TileMap_areaHeight__P20715_mk(s); + s.tmp_1 = Math_max__P125982_mk(s); + s.tmp_3 = tiles_TileMap_areaHeight__P128596_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 821; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20003); + r0 = pxsim_ImageMethods.height(globals.screen___127884); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -5895,12 +5895,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetY__P20713.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__P128594.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__P20713_mk(s) { +function tiles_TileMap_offsetY__P128594_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetY__P20713, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetY__P128594, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5915,7 +5915,7 @@ function tiles_TileMap_offsetY__P20713_mk(s) { -function tiles_TileMap_areaHeight__P20715(s) { +function tiles_TileMap_areaHeight__P128596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5930,7 +5930,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -5952,12 +5952,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaHeight__P20715.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__P128596.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__P20715_mk(s) { +function tiles_TileMap_areaHeight__P128596_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaHeight__P20715, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaHeight__P128596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -5971,7 +5971,7 @@ function tiles_TileMap_areaHeight__P20715_mk(s) { -function tiles_TileMap_scale__P20709(s) { +function tiles_TileMap_scale__P128590(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -5986,18 +5986,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_scale__P20709.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__P20709.isGetter = true; +tiles_TileMap_scale__P128590.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__P128590.isGetter = true; -function tiles_TileMap_scale__P20709_mk(s) { +function tiles_TileMap_scale__P128590_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P20709, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P128590, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6006,7 +6006,7 @@ function tiles_TileMap_scale__P20709_mk(s) { -function tiles_TileMapData_height__P20691(s) { +function tiles_TileMapData_height__P128572(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6021,18 +6021,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20688_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C128569_VT)) failedCast(r0); r0 = s.arg0.fields["_height"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_height__P20691.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__P20691.isGetter = true; +tiles_TileMapData_height__P128572.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__P128572.isGetter = true; -function tiles_TileMapData_height__P20691_mk(s) { +function tiles_TileMapData_height__P128572_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_height__P20691, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_height__P128572, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6041,7 +6041,7 @@ function tiles_TileMapData_height__P20691_mk(s) { -function scene_Camera_offsetY__P20759(s) { +function scene_Camera_offsetY__P128640(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6056,18 +6056,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20752_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C128633_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetY__P20759.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__P20759.isGetter = true; +scene_Camera_offsetY__P128640.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__P128640.isGetter = true; -function scene_Camera_offsetY__P20759_mk(s) { +function scene_Camera_offsetY__P128640_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetY__P20759, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetY__P128640, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6076,7 +6076,7 @@ function scene_Camera_offsetY__P20759_mk(s) { -function scene_Camera_offsetX__P20758(s) { +function scene_Camera_offsetX__P128639(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6086,27 +6086,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___26612 = undefined; + s.scene___134493 = 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__C20752_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P20970_mk(s); + if (!checkSubtype(r0, scene_Camera__C128633_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 879; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.scene___26612 = (r0); - r0 = s.scene___26612.fields["tileMap"]; + s.scene___134493 = (r0); + r0 = s.scene___134493.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___26612.fields["tileMap"]; + r0 = s.scene___134493.fields["tileMap"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_map"]; s.tmp_5 = r0; @@ -6123,8 +6123,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__P20712_mk(s); - r0 = s.scene___26612.fields["tileMap"]; + s.tmp_10 = tiles_TileMap_offsetX__P128593_mk(s); + r0 = s.scene___134493.fields["tileMap"]; s.tmp_10.arg0 = r0; s.tmp_10.arg1 = s.arg1; s.callLocIdx = 881; s.pc = 6; return s.tmp_10; @@ -6145,12 +6145,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_offsetX__P20758.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__P128639.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__P20758_mk(s) { +function scene_Camera_offsetX__P128639_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P20758, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P128639, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6163,7 +6163,7 @@ function scene_Camera_offsetX__P20758_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - scene___26612: undefined, + scene___134493: undefined, arg0: undefined, arg1: undefined, } } @@ -6172,7 +6172,7 @@ function scene_Camera_offsetX__P20758_mk(s) { -function tiles_TileMap_offsetX__P20712(s) { +function tiles_TileMap_offsetX__P128593(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6188,17 +6188,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P18098_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P125979_mk(s); s.tmp_0.arg0 = 0; - s.tmp_1 = Math_max__P18101_mk(s); - s.tmp_3 = tiles_TileMap_areaWidth__P20714_mk(s); + s.tmp_1 = Math_max__P125982_mk(s); + s.tmp_3 = tiles_TileMap_areaWidth__P128595_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 818; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20003); + r0 = pxsim_ImageMethods.width(globals.screen___127884); s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1.arg0 = r0; @@ -6214,12 +6214,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_offsetX__P20712.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__P128593.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__P20712_mk(s) { +function tiles_TileMap_offsetX__P128593_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_offsetX__P20712, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_offsetX__P128593, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6234,7 +6234,7 @@ function tiles_TileMap_offsetX__P20712_mk(s) { -function tiles_TileMap_areaWidth__P20714(s) { +function tiles_TileMap_areaWidth__P128595(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6249,7 +6249,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -6271,12 +6271,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_areaWidth__P20714.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__P128595.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__P20714_mk(s) { +function tiles_TileMap_areaWidth__P128595_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_areaWidth__P20714, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_areaWidth__P128595, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6290,7 +6290,7 @@ function tiles_TileMap_areaWidth__P20714_mk(s) { -function tiles_TileMapData_width__P20690(s) { +function tiles_TileMapData_width__P128571(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6305,18 +6305,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20688_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C128569_VT)) failedCast(r0); r0 = s.arg0.fields["_width"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_width__P20690.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__P20690.isGetter = true; +tiles_TileMapData_width__P128571.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__P128571.isGetter = true; -function tiles_TileMapData_width__P20690_mk(s) { +function tiles_TileMapData_width__P128571_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_width__P20690, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_width__P128571, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6325,7 +6325,7 @@ function tiles_TileMapData_width__P20690_mk(s) { -function scene_Camera_offsetX__P20757(s) { +function scene_Camera_offsetX__P128638(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6340,18 +6340,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20752_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C128633_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_offsetX__P20757.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__P20757.isGetter = true; +scene_Camera_offsetX__P128638.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__P128638.isGetter = true; -function scene_Camera_offsetX__P20757_mk(s) { +function scene_Camera_offsetX__P128638_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_offsetX__P20757, depth: s.depth + 1, + parent: s, fn: scene_Camera_offsetX__P128638, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6360,7 +6360,7 @@ function scene_Camera_offsetX__P20757_mk(s) { -function Sprite_y__P20327(s) { +function Sprite_y__P128208(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6375,7 +6375,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = s.arg0.fields["_y"]; s.tmp_1 = r0; r0 = s.arg0.fields["_height"]; @@ -6390,13 +6390,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_y__P20327.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__P20327.isGetter = true; +Sprite_y__P128208.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__P128208.isGetter = true; -function Sprite_y__P20327_mk(s) { +function Sprite_y__P128208_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P20327, depth: s.depth + 1, + parent: s, fn: Sprite_y__P128208, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6410,7 +6410,7 @@ function Sprite_y__P20327_mk(s) { -function Fx_toFloat__P18144(s) { +function Fx_toFloat__P126025(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6428,12 +6428,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toFloat__P18144.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__P126025.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__P18144_mk(s) { +function Fx_toFloat__P126025_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toFloat__P18144, depth: s.depth + 1, + parent: s, fn: Fx_toFloat__P126025, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6442,7 +6442,7 @@ function Fx_toFloat__P18144_mk(s) { -function Fx_div__P18133(s) { +function Fx_div__P126014(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6463,12 +6463,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_div__P18133.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__P126014.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__P18133_mk(s) { +function Fx_div__P126014_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_div__P18133, depth: s.depth + 1, + parent: s, fn: Fx_div__P126014, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6479,7 +6479,7 @@ function Fx_div__P18133_mk(s) { -function Fx_add__P18128(s) { +function Fx_add__P126009(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6498,12 +6498,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_add__P18128.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__P126009.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__P18128_mk(s) { +function Fx_add__P126009_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_add__P18128, depth: s.depth + 1, + parent: s, fn: Fx_add__P126009, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -6513,7 +6513,7 @@ function Fx_add__P18128_mk(s) { -function Sprite_x__P20325(s) { +function Sprite_x__P128206(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6528,7 +6528,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = s.arg0.fields["_x"]; s.tmp_1 = r0; r0 = s.arg0.fields["_width"]; @@ -6543,13 +6543,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_x__P20325.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__P20325.isGetter = true; +Sprite_x__P128206.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__P128206.isGetter = true; -function Sprite_x__P20325_mk(s) { +function Sprite_x__P128206_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P20325, depth: s.depth + 1, + parent: s, fn: Sprite_x__P128206, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6563,7 +6563,7 @@ function Sprite_x__P20325_mk(s) { -function PhysicsEngine_move__P20488(s) { +function PhysicsEngine_move__P128369(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6579,17 +6579,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C20482_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C128363_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_move__P20488.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__P128369.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__P20488_mk(s) { +function PhysicsEngine_move__P128369_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_move__P20488, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_move__P128369, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -6599,7 +6599,7 @@ function PhysicsEngine_move__P20488_mk(s) { -function PhysicsEngine_draw__P20487(s) { +function PhysicsEngine_draw__P128368(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6614,17 +6614,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C20482_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C128363_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_draw__P20487.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__P128368.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__P20487_mk(s) { +function PhysicsEngine_draw__P128368_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_draw__P20487, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_draw__P128368, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -6633,7 +6633,7 @@ function PhysicsEngine_draw__P20487_mk(s) { -function controller___update__P20136(s) { +function controller___update__P128017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6643,7 +6643,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtms___26944 = undefined; + s.dtms___134825 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -6651,12 +6651,12 @@ switch (step) { r0 = (s.arg0 * 1000); s.tmp_0 = r0; r0 = (s.tmp_0 | 0); - s.dtms___26944 = (r0); - r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P26951); + s.dtms___134825 = (r0); + r0 = pxsim_pxtcore_mkAction(1, controller___update_inline__P134832); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___26944); - s.tmp_1 = helpers_arrayForEach__P18080_mk(s); - s.tmp_2 = controller_players__P20100_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.dtms___134825); + s.tmp_1 = helpers_arrayForEach__P125961_mk(s); + s.tmp_2 = controller_players__P127981_mk(s); s.callLocIdx = 193; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -6669,17 +6669,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update__P20136.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__P128017.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__P20136_mk(s) { +function controller___update__P128017_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update__P20136, depth: s.depth + 1, + parent: s, fn: controller___update__P128017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - dtms___26944: undefined, + dtms___134825: undefined, arg0: undefined, } } @@ -6687,7 +6687,7 @@ function controller___update__P20136_mk(s) { -function controller___update_inline__P26951(s) { +function controller___update_inline__P134832(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6701,7 +6701,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___update__P20134_mk(s); + s.tmp_0 = controller_Controller___update__P128015_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.caps[0]; s.callLocIdx = 194; s.pc = 1; return s.tmp_0; @@ -6711,12 +6711,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller___update_inline__P26951.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__P134832.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__P26951_mk(s) { +function controller___update_inline__P134832_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller___update_inline__P26951, depth: s.depth + 1, + parent: s, fn: controller___update_inline__P134832, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6726,7 +6726,7 @@ function controller___update_inline__P26951_mk(s) { -function controller_Controller___update__P20134(s) { +function controller_Controller___update__P128015(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6742,7 +6742,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20105_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C127986_VT)) failedCast(r0); r0 = pxsim_pxtrt.mklocRef(); s.tmp_0 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.arg1); @@ -6753,10 +6753,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__P26964); + r0 = pxsim_pxtcore_mkAction(1, controller_Controller___update_inline__P134845); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayForEach__P18080_mk(s); + s.tmp_1 = helpers_arrayForEach__P125961_mk(s); r0 = s.arg0.fields["buttons"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; @@ -6767,12 +6767,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update__P20134.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__P128015.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__P20134_mk(s) { +function controller_Controller___update__P128015_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update__P20134, depth: s.depth + 1, + parent: s, fn: controller_Controller___update__P128015, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6786,7 +6786,7 @@ function controller_Controller___update__P20134_mk(s) { -function controller_Controller___update_inline__P26964(s) { +function controller_Controller___update_inline__P134845(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6800,7 +6800,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Button___update__P20174_mk(s); + s.tmp_0 = controller_Button___update__P128055_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_0.arg1 = r0; @@ -6811,12 +6811,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___update_inline__P26964.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__P134845.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__P26964_mk(s) { +function controller_Controller___update_inline__P134845_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___update_inline__P26964, depth: s.depth + 1, + parent: s, fn: controller_Controller___update_inline__P134845, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6826,7 +6826,7 @@ function controller_Controller___update_inline__P26964_mk(s) { -function controller_Button___update__P20174(s) { +function controller_Button___update__P128055(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6836,16 +6836,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___26980 = undefined; - s.interval___26989 = undefined; - s.count___27002 = undefined; + s.delay___134861 = undefined; + s.interval___134870 = undefined; + s.count___134883 = 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__C20160_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C128041_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -6869,31 +6869,31 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = globals.defaultRepeatDelay___22702; + r0 = globals.defaultRepeatDelay___130583; { step = 4; continue; } case 3: r0 = s.arg0.fields["repeatDelay"]; case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.delay___26980 = (s.tmp_2); + s.delay___134861 = (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___22704; + r0 = globals.defaultRepeatInterval___130585; { step = 6; continue; } case 5: r0 = s.arg0.fields["repeatInterval"]; case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.interval___26989 = (s.tmp_2); + s.interval___134870 = (s.tmp_2); r0 = s.arg0.fields["_pressedElasped"]; s.tmp_1 = r0; - r0 = (s.tmp_1 < s.delay___26980); + r0 = (s.tmp_1 < s.delay___134861); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } @@ -6902,26 +6902,26 @@ switch (step) { case 8: r0 = s.arg0.fields["_pressedElasped"]; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.delay___26980); + r0 = (s.tmp_5 - s.delay___134861); s.tmp_4 = r0; - r0 = (s.tmp_4 - s.interval___26989); + r0 = (s.tmp_4 - s.interval___134870); s.tmp_3 = r0; - r0 = (s.tmp_3 / s.interval___26989); + r0 = (s.tmp_3 / s.interval___134870); s.tmp_2 = r0; r0 = pxsim.Math_.floor(s.tmp_2); - s.count___27002 = (r0); + s.count___134883 = (r0); r0 = s.arg0.fields["_repeatCount"]; s.tmp_1 = r0; - r0 = (s.count___27002 != s.tmp_1); + r0 = (s.count___134883 != 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__P22691_mk(s); + s.tmp_2 = controller_Button_raiseButtonRepeat__P130572_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 207; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; - r0 = (s.arg0).fields["_repeatCount"] = (s.count___27002); + r0 = (s.arg0).fields["_repeatCount"] = (s.count___134883); case 9: case 10: case 11: @@ -6929,12 +6929,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button___update__P20174.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__P128055.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__P20174_mk(s) { +function controller_Button___update__P128055_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button___update__P20174, depth: s.depth + 1, + parent: s, fn: controller_Button___update__P128055, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -6942,9 +6942,9 @@ function controller_Button___update__P20174_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - delay___26980: undefined, - interval___26989: undefined, - count___27002: undefined, + delay___134861: undefined, + interval___134870: undefined, + count___134883: undefined, arg0: undefined, arg1: undefined, } } @@ -6953,7 +6953,7 @@ function controller_Button___update__P20174_mk(s) { -function controller_Button_raiseButtonRepeat__P22691(s) { +function controller_Button_raiseButtonRepeat__P130572(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -6968,8 +6968,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20160_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___22700); + if (!checkSubtype(r0, controller_Button__C128041_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___130581); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -6984,12 +6984,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonRepeat__P22691.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__P130572.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__P22691_mk(s) { +function controller_Button_raiseButtonRepeat__P130572_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonRepeat__P22691, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonRepeat__P130572, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -6999,7 +6999,7 @@ function controller_Button_raiseButtonRepeat__P22691_mk(s) { -function controller_players__P20100(s) { +function controller_players__P127981(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7009,25 +7009,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller__player1__P20099_mk(s); + s.tmp_0 = controller__player1__P127980_mk(s); s.callLocIdx = 152; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = helpers_arrayFilter__P18081_mk(s); - s.tmp_0.arg0 = globals._players___22620; - s.tmp_0.arg1 = controller_players_inline__P26934; + s.tmp_0 = helpers_arrayFilter__P125962_mk(s); + s.tmp_0.arg0 = globals._players___130501; + s.tmp_0.arg1 = controller_players_inline__P134815; s.callLocIdx = 153; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; return leave(s, r0) default: oops() } } } -controller_players__P20100.info = {"start":1645,"length":144,"line":53,"column":4,"endLine":56,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"players","argumentNames":[]} +controller_players__P127981.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__P20100_mk(s) { +function controller_players__P127981_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players__P20100, depth: s.depth + 1, + parent: s, fn: controller_players__P127981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -7036,7 +7036,7 @@ function controller_players__P20100_mk(s) { -function controller_players_inline__P26934(s) { +function controller_players_inline__P134815(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7060,12 +7060,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_players_inline__P26934.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__P134815.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__P26934_mk(s) { +function controller_players_inline__P134815_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_players_inline__P26934, depth: s.depth + 1, + parent: s, fn: controller_players_inline__P134815, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7077,7 +7077,7 @@ function controller_players_inline__P26934_mk(s) { -function helpers_arrayFilter__P18081(s) { +function helpers_arrayFilter__P125962(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7087,31 +7087,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___26853 = undefined; - s.len___26855 = undefined; - s.i___26858 = undefined; - s.v___26863 = undefined; + s.res___134734 = undefined; + s.len___134736 = undefined; + s.i___134739 = undefined; + s.v___134744 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___26853 = (r0); + s.res___134734 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___26855 = (r0); - s.i___26858 = (0); + s.len___134736 = (r0); + s.i___134739 = (0); case 1: - r0 = (s.i___26858 < s.len___26855); + r0 = (s.i___134739 < s.len___134736); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.arg0, s.i___26858); - s.v___26863 = (r0); + r0 = pxsim_Array__getAt(s.arg0, s.i___134739); + s.v___134744 = (r0); s.tmp_1 = lambda_3_mk(s); s.tmp_1.argL = s.arg1; - s.tmp_1.arg0 = s.v___26863; - s.tmp_1.arg1 = s.i___26858; + s.tmp_1.arg0 = s.v___134744; + s.tmp_1.arg1 = s.i___134739; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 6; s.pc = 5; return s.tmp_1; case 5: @@ -7119,30 +7119,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___26853, s.v___26863); + r0 = pxsim_Array__push(s.res___134734, s.v___134744); case 2: case 3: - r0 = (s.i___26858 + 1); - s.i___26858 = (r0); + r0 = (s.i___134739 + 1); + s.i___134739 = (r0); { step = 1; continue; } case 4: - r0 = s.res___26853; + r0 = s.res___134734; return leave(s, r0) default: oops() } } } -helpers_arrayFilter__P18081.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__P125962.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__P18081_mk(s) { +function helpers_arrayFilter__P125962_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayFilter__P18081, depth: s.depth + 1, + parent: s, fn: helpers_arrayFilter__P125962, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - res___26853: undefined, - len___26855: undefined, - i___26858: undefined, - v___26863: undefined, + res___134734: undefined, + len___134736: undefined, + i___134739: undefined, + v___134744: undefined, arg0: undefined, arg1: undefined, } } @@ -7151,7 +7151,7 @@ function helpers_arrayFilter__P18081_mk(s) { -function controller__moveSprites__P20104(s) { +function controller__moveSprites__P127985(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7161,13 +7161,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = helpers_arrayForEach__P18080_mk(s); - s.tmp_1 = controller_players__P20100_mk(s); + s.tmp_0 = helpers_arrayForEach__P125961_mk(s); + s.tmp_1 = controller_players__P127981_mk(s); s.callLocIdx = 154; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = controller__moveSprites_inline__P26703; + s.tmp_0.arg1 = controller__moveSprites_inline__P134584; s.callLocIdx = 156; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -7175,12 +7175,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites__P20104.info = {"start":2005,"length":180,"line":67,"column":4,"endLine":71,"endColumn":5,"fileName":"pxt_modules/game/controller.ts","functionName":"_moveSprites","argumentNames":[]} +controller__moveSprites__P127985.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__P20104_mk(s) { +function controller__moveSprites__P127985_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites__P20104, depth: s.depth + 1, + parent: s, fn: controller__moveSprites__P127985, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7190,7 +7190,7 @@ function controller__moveSprites__P20104_mk(s) { -function controller__moveSprites_inline__P26703(s) { +function controller__moveSprites_inline__P134584(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7204,7 +7204,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = controller_Controller___preUpdate__P20133_mk(s); + s.tmp_0 = controller_Controller___preUpdate__P128014_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 155; s.pc = 1; return s.tmp_0; case 1: @@ -7213,12 +7213,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller__moveSprites_inline__P26703.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__P134584.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__P26703_mk(s) { +function controller__moveSprites_inline__P134584_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__moveSprites_inline__P26703, depth: s.depth + 1, + parent: s, fn: controller__moveSprites_inline__P134584, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -7228,7 +7228,7 @@ function controller__moveSprites_inline__P26703_mk(s) { -function controller_Controller___preUpdate__P20133(s) { +function controller_Controller___preUpdate__P128014(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7238,20 +7238,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.deadSprites___26710 = undefined; - s.svx___26711 = undefined; - s.svy___26712 = undefined; - s.svxInCricle___26747 = undefined; - s.svyInCircle___26749 = undefined; - s.sq___26751 = undefined; - s.scale___26766 = undefined; + s.deadSprites___134591 = undefined; + s.svx___134592 = undefined; + s.svy___134593 = undefined; + s.svxInCricle___134628 = undefined; + s.svyInCircle___134630 = undefined; + s.sq___134632 = undefined; + s.scale___134647 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20105_VT)) failedCast(r0); - s.tmp_3 = controller_Controller__controlledSprites__P20110_mk(s); + if (!checkSubtype(r0, controller_Controller__C127986_VT)) failedCast(r0); + s.tmp_3 = controller_Controller__controlledSprites__P127991_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 166; s.pc = 18; return s.tmp_3; case 18: @@ -7267,21 +7267,21 @@ switch (step) { case 1: case 2: r0 = pxsim_pxtrt.mklocRef(); - s.deadSprites___26710 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.deadSprites___26710, false); + s.deadSprites___134591 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.deadSprites___134591, false); r0 = pxsim_pxtrt.mklocRef(); - s.svx___26711 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svx___26711, 0); + s.svx___134592 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svx___134592, 0); r0 = pxsim_pxtrt.mklocRef(); - s.svy___26712 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.svy___26712, 0); + s.svy___134593 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.svy___134593, 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___26711; - s.tmp_5 = controller_Button_pressureLevel__P20172_mk(s); - s.tmp_6 = controller_Controller_right__P20115_mk(s); + s.tmp_1 = r0 = s.svx___134592; + s.tmp_5 = controller_Button_pressureLevel__P128053_mk(s); + s.tmp_6 = controller_Controller_right__P127996_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 167; s.pc = 20; return s.tmp_6; case 20: @@ -7291,8 +7291,8 @@ switch (step) { case 19: r0 = s.retval; s.tmp_4 = r0; - s.tmp_8 = controller_Button_pressureLevel__P20172_mk(s); - s.tmp_9 = controller_Controller_left__P20114_mk(s); + s.tmp_8 = controller_Button_pressureLevel__P128053_mk(s); + s.tmp_9 = controller_Controller_left__P127995_mk(s); s.tmp_9.arg0 = s.arg0; s.callLocIdx = 169; s.pc = 22; return s.tmp_9; case 22: @@ -7307,9 +7307,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___26712; - s.tmp_4 = controller_Button_pressureLevel__P20172_mk(s); - s.tmp_5 = controller_Controller_down__P20117_mk(s); + s.tmp_0 = r0 = s.svy___134593; + s.tmp_4 = controller_Button_pressureLevel__P128053_mk(s); + s.tmp_5 = controller_Controller_down__P127998_mk(s); s.tmp_5.arg0 = s.arg0; s.callLocIdx = 171; s.pc = 24; return s.tmp_5; case 24: @@ -7319,8 +7319,8 @@ switch (step) { case 23: r0 = s.retval; s.tmp_3 = r0; - s.tmp_7 = controller_Button_pressureLevel__P20172_mk(s); - s.tmp_8 = controller_Controller_up__P20116_mk(s); + s.tmp_7 = controller_Button_pressureLevel__P128053_mk(s); + s.tmp_8 = controller_Controller_up__P127997_mk(s); s.tmp_8.arg0 = s.arg0; s.callLocIdx = 173; s.pc = 26; return s.tmp_8; case 26: @@ -7337,14 +7337,14 @@ switch (step) { r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); { step = 12; continue; } case 3: - s.tmp_1 = controller_Button__C20160_v0_1_mk(s); - s.tmp_2 = controller_Controller_right__P20115_mk(s); + s.tmp_1 = controller_Button__C128041_v0_1_mk(s); + s.tmp_2 = controller_Controller_right__P127996_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 175; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; s.tmp_1.arg0 = r0; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C20160_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C128041_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: @@ -7359,14 +7359,14 @@ switch (step) { case 5: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C20160_v0_1_mk(s); - s.tmp_6 = controller_Controller_left__P20114_mk(s); + s.tmp_5 = controller_Button__C128041_v0_1_mk(s); + s.tmp_6 = controller_Controller_left__P127995_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 176; s.pc = 30; return s.tmp_6; case 30: r0 = s.retval; s.tmp_5.arg0 = r0; - if (!checkSubtype(s.tmp_5.arg0, controller_Button__C20160_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C128041_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: @@ -7381,18 +7381,18 @@ switch (step) { case 7: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svx___26711; + s.tmp_8 = r0 = s.svx___134592; 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__C20160_v0_1_mk(s); - s.tmp_2 = controller_Controller_down__P20117_mk(s); + s.tmp_1 = controller_Button__C128041_v0_1_mk(s); + s.tmp_2 = controller_Controller_down__P127998_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 177; s.pc = 32; return s.tmp_2; case 32: r0 = s.retval; s.tmp_1.arg0 = r0; - if (!checkSubtype(s.tmp_1.arg0, controller_Button__C20160_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, controller_Button__C128041_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: @@ -7407,14 +7407,14 @@ switch (step) { case 9: // jmp value (already in r0) s.tmp_3 = r0; - s.tmp_5 = controller_Button__C20160_v0_1_mk(s); - s.tmp_6 = controller_Controller_up__P20116_mk(s); + s.tmp_5 = controller_Button__C128041_v0_1_mk(s); + s.tmp_6 = controller_Controller_up__P127997_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 178; s.pc = 34; return s.tmp_6; case 34: r0 = s.retval; s.tmp_5.arg0 = r0; - if (!checkSubtype(s.tmp_5.arg0, controller_Button__C20160_VT)) failedCast(s.tmp_5.arg0); + if (!checkSubtype(s.tmp_5.arg0, controller_Button__C128041_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: @@ -7429,57 +7429,57 @@ switch (step) { case 11: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.svy___26712; + s.tmp_8 = r0 = s.svy___134593; 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___26747 = (r0); - s.tmp_0 = r0 = s.svxInCricle___26747; - r0 = pxsim_pxtrt_ldlocRef(s.svx___26711); + s.svxInCricle___134628 = (r0); + s.tmp_0 = r0 = s.svxInCricle___134628; + r0 = pxsim_pxtrt_ldlocRef(s.svx___134592); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); r0 = pxsim_pxtrt.mklocRef(); - s.svyInCircle___26749 = (r0); - s.tmp_0 = r0 = s.svyInCircle___26749; - r0 = pxsim_pxtrt_ldlocRef(s.svy___26712); + s.svyInCircle___134630 = (r0); + s.tmp_0 = r0 = s.svyInCircle___134630; + r0 = pxsim_pxtrt_ldlocRef(s.svy___134593); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = pxsim_pxtrt_ldlocRef(s.svx___26711); + r0 = pxsim_pxtrt_ldlocRef(s.svx___134592); s.tmp_1 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svx___26711); + r0 = pxsim_pxtrt_ldlocRef(s.svx___134592); s.tmp_2 = r0; r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___26712); + r0 = pxsim_pxtrt_ldlocRef(s.svy___134593); s.tmp_4 = r0; - r0 = pxsim_pxtrt_ldlocRef(s.svy___26712); + r0 = pxsim_pxtrt_ldlocRef(s.svy___134593); s.tmp_5 = r0; r0 = (s.tmp_4 * s.tmp_5); s.tmp_3 = r0; r0 = (s.tmp_0 + s.tmp_3); - s.sq___26751 = (r0); - r0 = (s.sq___26751 > 65536); + s.sq___134632 = (r0); + r0 = (s.sq___134632 > 65536); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = (65536 / s.sq___26751); + r0 = (65536 / s.sq___134632); s.tmp_1 = r0; r0 = pxsim.Math_.sqrt(s.tmp_1); - s.scale___26766 = (r0); - s.tmp_0 = r0 = s.svxInCricle___26747; - s.tmp_3 = r0 = s.scale___26766; - r0 = pxsim_pxtrt_ldlocRef(s.svx___26711); + s.scale___134647 = (r0); + s.tmp_0 = r0 = s.svxInCricle___134628; + s.tmp_3 = r0 = s.scale___134647; + r0 = pxsim_pxtrt_ldlocRef(s.svx___134592); 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___26749; - s.tmp_3 = r0 = s.scale___26766; - r0 = pxsim_pxtrt_ldlocRef(s.svy___26712); + s.tmp_0 = r0 = s.svyInCircle___134630; + s.tmp_3 = r0 = s.scale___134647; + r0 = pxsim_pxtrt_ldlocRef(s.svy___134593); s.tmp_4 = r0; r0 = (s.tmp_3 * s.tmp_4); s.tmp_2 = r0; @@ -7488,15 +7488,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__P26784); - s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___26710); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___26711); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___26712); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___26747); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___26749); - s.tmp_1 = helpers_arrayForEach__P18080_mk(s); - s.tmp_2 = controller_Controller__controlledSprites__P20110_mk(s); + r0 = pxsim_pxtcore_mkAction(5, controller_Controller___preUpdate_inline__P134665); + s.tmp_0 = r0; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.deadSprites___134591); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.svx___134592); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.svy___134593); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 3, s.svxInCricle___134628); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 4, s.svyInCircle___134630); + s.tmp_1 = helpers_arrayForEach__P125961_mk(s); + s.tmp_2 = controller_Controller__controlledSprites__P127991_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 179; s.pc = 36; return s.tmp_2; case 36: @@ -7506,20 +7506,20 @@ switch (step) { s.callLocIdx = 187; s.pc = 35; return s.tmp_1; case 35: r0 = s.retval; - r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___26710); + r0 = pxsim_pxtrt_ldlocRef(s.deadSprites___134591); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 15; continue; } - s.tmp_1 = controller_Controller__controlledSprites__P20111_mk(s); + s.tmp_1 = controller_Controller__controlledSprites__P127992_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = helpers_arrayFilter__P18081_mk(s); - s.tmp_3 = controller_Controller__controlledSprites__P20110_mk(s); + s.tmp_2 = helpers_arrayFilter__P125962_mk(s); + s.tmp_3 = controller_Controller__controlledSprites__P127991_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 188; s.pc = 39; return s.tmp_3; case 39: r0 = s.retval; s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = controller_Controller___preUpdate_inline__P26841; + s.tmp_2.arg1 = controller_Controller___preUpdate_inline__P134722; s.callLocIdx = 189; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -7534,12 +7534,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate__P20133.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__P128014.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__P20133_mk(s) { +function controller_Controller___preUpdate__P128014_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate__P20133, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate__P128014, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7551,13 +7551,13 @@ function controller_Controller___preUpdate__P20133_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - deadSprites___26710: undefined, - svx___26711: undefined, - svy___26712: undefined, - svxInCricle___26747: undefined, - svyInCircle___26749: undefined, - sq___26751: undefined, - scale___26766: undefined, + deadSprites___134591: undefined, + svx___134592: undefined, + svy___134593: undefined, + svxInCricle___134628: undefined, + svyInCircle___134630: undefined, + sq___134632: undefined, + scale___134647: undefined, arg0: undefined, } } @@ -7565,7 +7565,7 @@ function controller_Controller___preUpdate__P20133_mk(s) { -function controller_Controller___preUpdate_inline__P26784(s) { +function controller_Controller___preUpdate_inline__P134665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7575,9 +7575,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___26787 = undefined; - s.vx___26788 = undefined; - s.vy___26789 = undefined; + s.s___134668 = undefined; + s.vx___134669 = undefined; + s.vy___134670 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -7595,7 +7595,7 @@ switch (step) { } case 22: r0 = s.retval; - s.s___26787 = (r0); + s.s___134668 = (r0); s.tmp_2 = if_vx_1_mk(s); s.tmp_2.arg0 = s.tmp_1; if (!s.tmp_2.arg0.vtable.iface) { @@ -7608,7 +7608,7 @@ switch (step) { } case 23: r0 = s.retval; - s.vx___26788 = (r0); + s.vx___134669 = (r0); s.tmp_3 = if_vy_1_mk(s); s.tmp_3.arg0 = s.tmp_1; if (!s.tmp_3.arg0.vtable.iface) { @@ -7621,8 +7621,8 @@ switch (step) { } case 24: r0 = s.retval; - s.vy___26789 = (r0); - r0 = s.s___26787.fields["flags"]; + s.vy___134670 = (r0); + r0 = s.s___134668.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); s.tmp_0 = r0; @@ -7636,14 +7636,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___26788); + r0 = pxsim_numops_toBoolDecr(s.vx___134669); if (!r0) { step = 3; continue; } - r0 = (s.s___26787).fields["_vx"] = (0); + r0 = (s.s___134668).fields["_vx"] = (0); case 3: case 4: - r0 = pxsim_numops_toBoolDecr(s.vy___26789); + r0 = pxsim_numops_toBoolDecr(s.vy___134670); if (!r0) { step = 5; continue; } - r0 = (s.s___26787).fields["_vy"] = (0); + r0 = (s.s___134668).fields["_vy"] = (0); case 5: case 6: case 7: @@ -7661,48 +7661,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___26788; + s.tmp_2 = r0 = s.vx___134669; r0 = pxsim_numops_toBool(s.tmp_2); if (r0) { step = 11; continue; } r0 = s.tmp_2; { step = 12; continue; } case 11: - r0 = s.vy___26789; + r0 = s.vy___134670; 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___26787; + s.tmp_4 = r0 = s.s___134668; r0 = pxsim_pxtrt_ldlocRef(s.caps[3]); s.tmp_6 = r0; - r0 = pxsim.Math_.imul(s.tmp_6, s.vx___26788); + r0 = pxsim.Math_.imul(s.tmp_6, s.vx___134669); s.tmp_5 = r0; r0 = (s.tmp_4).fields["_vx"] = (s.tmp_5); - s.tmp_0 = r0 = s.s___26787; + s.tmp_0 = r0 = s.s___134668; r0 = pxsim_pxtrt_ldlocRef(s.caps[4]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___26789); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___134670); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); { step = 18; continue; } case 13: - r0 = pxsim_numops_toBoolDecr(s.vx___26788); + r0 = pxsim_numops_toBoolDecr(s.vx___134669); if (!r0) { step = 14; continue; } - s.tmp_0 = r0 = s.s___26787; + s.tmp_0 = r0 = s.s___134668; r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vx___26788); + r0 = pxsim.Math_.imul(s.tmp_2, s.vx___134669); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vx"] = (s.tmp_1); { step = 17; continue; } case 14: - r0 = pxsim_numops_toBoolDecr(s.vy___26789); + r0 = pxsim_numops_toBoolDecr(s.vy___134670); if (!r0) { step = 15; continue; } - s.tmp_0 = r0 = s.s___26787; + s.tmp_0 = r0 = s.s___134668; r0 = pxsim_pxtrt_ldlocRef(s.caps[2]); s.tmp_2 = r0; - r0 = pxsim.Math_.imul(s.tmp_2, s.vy___26789); + r0 = pxsim.Math_.imul(s.tmp_2, s.vy___134670); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_vy"] = (s.tmp_1); case 15: @@ -7719,12 +7719,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P26784.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__P134665.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__P26784_mk(s) { +function controller_Controller___preUpdate_inline__P134665_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P26784, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P134665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7733,9 +7733,9 @@ function controller_Controller___preUpdate_inline__P26784_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - s___26787: undefined, - vx___26788: undefined, - vy___26789: undefined, + s___134668: undefined, + vx___134669: undefined, + vy___134670: undefined, arg0: undefined, } } @@ -7743,7 +7743,7 @@ function controller_Controller___preUpdate_inline__P26784_mk(s) { -function controller_Controller___preUpdate_inline__P26841(s) { +function controller_Controller___preUpdate_inline__P134722(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7768,12 +7768,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller___preUpdate_inline__P26841.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__P134722.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__P26841_mk(s) { +function controller_Controller___preUpdate_inline__P134722_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller___preUpdate_inline__P26841, depth: s.depth + 1, + parent: s, fn: controller_Controller___preUpdate_inline__P134722, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7785,7 +7785,7 @@ function controller_Controller___preUpdate_inline__P26841_mk(s) { -function controller_Button_pressureLevel__P20172(s) { +function controller_Button_pressureLevel__P128053(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7800,16 +7800,16 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20160_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C128041_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__C20160_v0_1_mk(s); + s.tmp_3 = controller_Button__C128041_v0_1_mk(s); s.tmp_3.arg0 = s.arg0; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C20160_VT)) failedCast(s.tmp_3.arg0); + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C128041_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: @@ -7838,12 +7838,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_pressureLevel__P20172.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__P128053.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__P20172_mk(s) { +function controller_Button_pressureLevel__P128053_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_pressureLevel__P20172, depth: s.depth + 1, + parent: s, fn: controller_Button_pressureLevel__P128053, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7858,7 +7858,7 @@ function controller_Button_pressureLevel__P20172_mk(s) { -function controller_Button_isPressed__P20171(s) { +function controller_Button_isPressed__P128052(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7873,17 +7873,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20160_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C128041_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; return leave(s, r0) default: oops() } } } -controller_Button_isPressed__P20171.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__P128052.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__P20171_mk(s) { +function controller_Button_isPressed__P128052_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_isPressed__P20171, depth: s.depth + 1, + parent: s, fn: controller_Button_isPressed__P128052, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -7892,7 +7892,7 @@ function controller_Button_isPressed__P20171_mk(s) { -function controller_Controller_down__P20117(s) { +function controller_Controller_down__P127998(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7907,7 +7907,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20105_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C127986_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (4 - 1); @@ -7916,13 +7916,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_down__P20117.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__P20117.isGetter = true; +controller_Controller_down__P127998.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__P127998.isGetter = true; -function controller_Controller_down__P20117_mk(s) { +function controller_Controller_down__P127998_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_down__P20117, depth: s.depth + 1, + parent: s, fn: controller_Controller_down__P127998, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7933,7 +7933,7 @@ function controller_Controller_down__P20117_mk(s) { -function controller_Controller_button__P22685(s) { +function controller_Controller_button__P130566(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7949,7 +7949,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20105_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C127986_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (s.arg1 - 1); @@ -7958,12 +7958,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller_button__P22685.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__P130566.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__P22685_mk(s) { +function controller_Controller_button__P130566_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_button__P22685, depth: s.depth + 1, + parent: s, fn: controller_Controller_button__P130566, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -7975,7 +7975,7 @@ function controller_Controller_button__P22685_mk(s) { -function controller_Controller_up__P20116(s) { +function controller_Controller_up__P127997(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -7990,7 +7990,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20105_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C127986_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (2 - 1); @@ -7999,13 +7999,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_up__P20116.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__P20116.isGetter = true; +controller_Controller_up__P127997.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__P127997.isGetter = true; -function controller_Controller_up__P20116_mk(s) { +function controller_Controller_up__P127997_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_up__P20116, depth: s.depth + 1, + parent: s, fn: controller_Controller_up__P127997, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8016,7 +8016,7 @@ function controller_Controller_up__P20116_mk(s) { -function controller_Controller_right__P20115(s) { +function controller_Controller_right__P127996(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8031,7 +8031,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20105_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C127986_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (3 - 1); @@ -8040,13 +8040,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_right__P20115.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__P20115.isGetter = true; +controller_Controller_right__P127996.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__P127996.isGetter = true; -function controller_Controller_right__P20115_mk(s) { +function controller_Controller_right__P127996_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_right__P20115, depth: s.depth + 1, + parent: s, fn: controller_Controller_right__P127996, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8057,7 +8057,7 @@ function controller_Controller_right__P20115_mk(s) { -function controller_Controller_left__P20114(s) { +function controller_Controller_left__P127995(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8072,7 +8072,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20105_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C127986_VT)) failedCast(r0); r0 = s.arg0.fields["buttons"]; s.tmp_0 = r0; r0 = (1 - 1); @@ -8081,13 +8081,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_left__P20114.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__P20114.isGetter = true; +controller_Controller_left__P127995.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__P127995.isGetter = true; -function controller_Controller_left__P20114_mk(s) { +function controller_Controller_left__P127995_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_left__P20114, depth: s.depth + 1, + parent: s, fn: controller_Controller_left__P127995, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8098,7 +8098,7 @@ function controller_Controller_left__P20114_mk(s) { -function controller_Controller__controlledSprites__P20111(s) { +function controller_Controller__controlledSprites__P127992(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8114,8 +8114,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20105_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P20970_mk(s); + if (!checkSubtype(r0, controller_Controller__C127986_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P128851_mk(s); s.callLocIdx = 160; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -8128,12 +8128,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P20111.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__P127992.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__P20111_mk(s) { +function controller_Controller__controlledSprites__P127992_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P20111, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P127992, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8146,7 +8146,7 @@ function controller_Controller__controlledSprites__P20111_mk(s) { -function controller_Controller__controlledSprites__P20110(s) { +function controller_Controller__controlledSprites__P127991(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8161,8 +8161,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20105_VT)) failedCast(r0); - s.tmp_1 = game_currentScene__P20970_mk(s); + if (!checkSubtype(r0, controller_Controller__C127986_VT)) failedCast(r0); + s.tmp_1 = game_currentScene__P128851_mk(s); s.callLocIdx = 159; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; @@ -8174,13 +8174,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -controller_Controller__controlledSprites__P20110.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__P20110.isGetter = true; +controller_Controller__controlledSprites__P127991.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__P127991.isGetter = true; -function controller_Controller__controlledSprites__P20110_mk(s) { +function controller_Controller__controlledSprites__P127991_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller__controlledSprites__P20110, depth: s.depth + 1, + parent: s, fn: controller_Controller__controlledSprites__P127991, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8192,7 +8192,7 @@ function controller_Controller__controlledSprites__P20110_mk(s) { -function Fx_imul__P18132(s) { +function Fx_imul__P126013(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8211,12 +8211,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_imul__P18132.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__P126013.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__P18132_mk(s) { +function Fx_imul__P126013_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_imul__P18132, depth: s.depth + 1, + parent: s, fn: Fx_imul__P126013, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -8226,7 +8226,7 @@ function Fx_imul__P18132_mk(s) { -function power_checkDeepSleep__P19901(s) { +function power_checkDeepSleep__P127782(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8236,13 +8236,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___25364 = undefined; - s.to___25367 = undefined; - s.tmp_0 = power_init__P22529_mk(s); + s.p___133245 = undefined; + s.to___133248 = undefined; + s.tmp_0 = power_init__P130410_mk(s); s.callLocIdx = 75; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = r0 = globals._poked___22527; + s.tmp_0 = r0 = globals._poked___130408; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -8252,8 +8252,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - s.p___25364 = (s.tmp_1); - s.tmp_0 = r0 = globals._timeout___22528; + s.p___133245 = (s.tmp_1); + s.tmp_0 = r0 = globals._timeout___130409; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 3; continue; } r0 = s.tmp_0; @@ -8263,8 +8263,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.to___25367 = (s.tmp_1); - r0 = (s.to___25367 > 0); + s.to___133248 = (s.tmp_1); + r0 = (s.to___133248 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 5; continue; } @@ -8273,9 +8273,9 @@ switch (step) { case 5: r0 = pxsim.control.millis(); s.tmp_2 = r0; - r0 = (s.tmp_2 - s.p___25364); + r0 = (s.tmp_2 - s.p___133245); s.tmp_1 = r0; - r0 = (s.tmp_1 > s.to___25367); + r0 = (s.tmp_1 > s.to___133248); case 6: // jmp value (already in r0) s.tmp_3 = r0; @@ -8301,12 +8301,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_checkDeepSleep__P19901.info = {"start":1087,"length":298,"line":36,"column":4,"endLine":46,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"checkDeepSleep","argumentNames":[]} +power_checkDeepSleep__P127782.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__P19901_mk(s) { +function power_checkDeepSleep__P127782_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_checkDeepSleep__P19901, depth: s.depth + 1, + parent: s, fn: power_checkDeepSleep__P127782, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8315,15 +8315,15 @@ function power_checkDeepSleep__P19901_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - p___25364: undefined, - to___25367: undefined, + p___133245: undefined, + to___133248: undefined, } } -function power_init__P22529(s) { +function power_init__P130410(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8333,7 +8333,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals._timeout___22528 !== undefined); + r0 = (globals._timeout___130409 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -8343,21 +8343,21 @@ switch (step) { r0 = pxsim_pxtcore.getConfig(212, -1); s.tmp_1 = r0; r0 = (s.tmp_1 * 1000); - globals._timeout___22528 = (r0); - r0 = (globals._timeout___22528 > 0); + globals._timeout___130409 = (r0); + r0 = (globals._timeout___130409 > 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___22528 < 300000); + r0 = (globals._timeout___130409 < 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___22528 = (300000); + globals._timeout___130409 = (300000); case 5: case 6: case 7: @@ -8365,12 +8365,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -power_init__P22529.info = {"start":1610,"length":376,"line":57,"column":4,"endLine":66,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"init","argumentNames":[]} +power_init__P130410.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__P22529_mk(s) { +function power_init__P130410_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_init__P22529, depth: s.depth + 1, + parent: s, fn: power_init__P130410, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8380,7 +8380,7 @@ function power_init__P22529_mk(s) { -function power_poke__P19900(s) { +function power_poke__P127781(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8390,22 +8390,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = power_init__P22529_mk(s); + s.tmp_0 = power_init__P130410_mk(s); s.callLocIdx = 74; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = pxsim.control.millis(); - globals._poked___22527 = (r0); + globals._poked___130408 = (r0); r0 = undefined; return leave(s, r0) default: oops() } } } -power_poke__P19900.info = {"start":795,"length":81,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/power/power.ts","functionName":"poke","argumentNames":[]} +power_poke__P127781.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__P19900_mk(s) { +function power_poke__P127781_mk(s) { checkStack(s.depth); return { - parent: s, fn: power_poke__P19900, depth: s.depth + 1, + parent: s, fn: power_poke__P127781, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -8414,7 +8414,7 @@ function power_poke__P19900_mk(s) { -function control_EventContext_registerFrameHandler__P18374(s) { +function control_EventContext_registerFrameHandler__P126255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8424,8 +8424,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.fn___27046 = undefined; - s.i___27055 = undefined; + s.fn___134927 = undefined; + s.i___134936 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -8433,7 +8433,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18366_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C126247_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -8446,20 +8446,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__P22402_mk(s); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P130283_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 50; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C18363_VT); - s.fn___27046 = (r0); - r0 = (s.fn___27046).fields["order"] = (s.arg1); - r0 = (s.fn___27046).fields["handler"] = (s.arg2); - s.i___27055 = (0); + r0 = pxsim_pxtcore_mkClassInstance(control_FrameCallback__C126244_VT); + s.fn___134927 = (r0); + r0 = (s.fn___134927).fields["order"] = (s.arg1); + r0 = (s.fn___134927).fields["handler"] = (s.arg2); + s.i___134936 = (0); case 3: - s.tmp_1 = r0 = s.i___27055; + s.tmp_1 = r0 = s.i___134936; r0 = s.arg0.fields["frameCallbacks"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -8470,7 +8470,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___27055); + r0 = pxsim_Array__getAt(s.tmp_6, s.i___134936); r0 = r0.fields["order"]; s.tmp_5 = r0; r0 = (s.tmp_5 > s.arg1); @@ -8479,29 +8479,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___27055, s.fn___27046); - r0 = s.fn___27046; + r0 = pxsim_Array_.insertAt(s.tmp_7, s.i___134936, s.fn___134927); + r0 = s.fn___134927; { step = 7; continue; } case 4: case 5: - r0 = (s.i___27055 + 1); - s.i___27055 = (r0); + r0 = (s.i___134936 + 1); + s.i___134936 = (r0); { step = 3; continue; } case 6: r0 = s.arg0.fields["frameCallbacks"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.fn___27046); - r0 = s.fn___27046; + r0 = pxsim_Array__push(s.tmp_0, s.fn___134927); + r0 = s.fn___134927; case 7: return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameHandler__P18374.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__P126255.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__P18374_mk(s) { +function control_EventContext_registerFrameHandler__P126255_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameHandler__P18374, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameHandler__P126255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8511,8 +8511,8 @@ function control_EventContext_registerFrameHandler__P18374_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - fn___27046: undefined, - i___27055: undefined, + fn___134927: undefined, + i___134936: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -8522,7 +8522,7 @@ function control_EventContext_registerFrameHandler__P18374_mk(s) { -function control_EventContext_registerFrameCallbacks__P22402(s) { +function control_EventContext_registerFrameCallbacks__P130283(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8532,13 +8532,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.worker___27089 = undefined; + s.worker___134970 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18366_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C126247_VT)) failedCast(r0); r0 = s.arg0.fields["frameCallbacks"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -8551,28 +8551,28 @@ switch (step) { case 1: case 2: r0 = s.arg0.fields["frameWorker"]; - s.worker___27089 = (r0); - r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P27095); + s.worker___134970 = (r0); + r0 = pxsim_pxtcore_mkAction(2, control_EventContext_registerFrameCallbacks_inline__P134976); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___27089); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.worker___134970); r0 = pxsim.control.runInParallel(s.tmp_0); case 3: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks__P22402.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__P130283.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__P22402_mk(s) { +function control_EventContext_registerFrameCallbacks__P130283_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks__P22402, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks__P130283, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - worker___27089: undefined, + worker___134970: undefined, arg0: undefined, } } @@ -8580,7 +8580,7 @@ function control_EventContext_registerFrameCallbacks__P22402_mk(s) { -function control_EventContext_registerFrameCallbacks_inline__P27095(s) { +function control_EventContext_registerFrameCallbacks_inline__P134976(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8590,15 +8590,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.delay___27125 = undefined; + s.delay___135006 = 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__P27101); + r0 = pxsim_pxtcore_mkAction(1, control_EventContext_registerFrameCallbacks_inline__P134982); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.caps[0]); - s.tmp_2 = pauseUntil__P18338_mk(s); + s.tmp_2 = pauseUntil__P126219_mk(s); s.tmp_2.arg0 = s.tmp_1; s.tmp_2.arg1 = undefined; s.callLocIdx = 44; s.pc = 5; return s.tmp_2; @@ -8621,14 +8621,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__P22401_mk(s); + s.tmp_2 = control_EventContext_runCallbacks__P130282_mk(s); s.tmp_2.arg0 = s.caps[0]; s.callLocIdx = 45; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; - s.delay___27125 = (r0); - s.tmp_0 = pause__P18384_mk(s); - s.tmp_0.arg0 = s.delay___27125; + s.delay___135006 = (r0); + s.tmp_0 = pause__P126265_mk(s); + s.tmp_0.arg0 = s.delay___135006; s.callLocIdx = 46; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -8639,24 +8639,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P27095.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__P134976.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__P27095_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P134976_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P27095, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P134976, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - delay___27125: undefined, + delay___135006: undefined, } } -function control_EventContext_registerFrameCallbacks_inline__P27101(s) { +function control_EventContext_registerFrameCallbacks_inline__P134982(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8674,12 +8674,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_registerFrameCallbacks_inline__P27101.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__P134982.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__P27101_mk(s) { +function control_EventContext_registerFrameCallbacks_inline__P134982_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P27101, depth: s.depth + 1, + parent: s, fn: control_EventContext_registerFrameCallbacks_inline__P134982, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8689,7 +8689,7 @@ function control_EventContext_registerFrameCallbacks_inline__P27101_mk(s) { -function control_EventContext_runCallbacks__P22401(s) { +function control_EventContext_runCallbacks__P130282(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -8699,44 +8699,44 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.loopStart___27134 = undefined; - s.f___27147 = undefined; - s.unnamed146___U2 = undefined; - s.unnamed147___U3 = undefined; - s.now___27152 = undefined; - s.runtime___27155 = undefined; - s.realTimeInSample___27174 = undefined; - s.fps___27183 = undefined; - s.delay___27252 = undefined; + s.loopStart___135015 = undefined; + s.f___135028 = undefined; + s.unnamed698___U2 = undefined; + s.unnamed699___U3 = undefined; + s.now___135033 = undefined; + s.runtime___135036 = undefined; + s.realTimeInSample___135055 = undefined; + s.fps___135064 = undefined; + s.delay___135133 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18366_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C126247_VT)) failedCast(r0); r0 = pxsim.control.millis(); - s.loopStart___27134 = (r0); + s.loopStart___135015 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["prevTimeMillis"]; s.tmp_2 = r0; - r0 = (s.loopStart___27134 - s.tmp_2); + r0 = (s.loopStart___135015 - s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["deltaTimeMillis"] = (s.tmp_1); - r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___27134); - s.f___27147 = (undefined); + r0 = (s.arg0).fields["prevTimeMillis"] = (s.loopStart___135015); + s.f___135028 = (undefined); r0 = s.arg0.fields["frameCallbacks"]; - s.unnamed146___U2 = (r0); - s.unnamed147___U3 = (0); + s.unnamed698___U2 = (r0); + s.unnamed699___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed147___U3; - r0 = pxsim_Array__length(s.unnamed146___U2); + s.tmp_0 = r0 = s.unnamed699___U3; + r0 = pxsim_Array__length(s.unnamed698___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed146___U2, s.unnamed147___U3); - s.f___27147 = (r0); + r0 = pxsim_Array__getAt(s.unnamed698___U2, s.unnamed699___U3); + s.f___135028 = (r0); s.tmp_2 = if_handler_1_mk(s); - s.tmp_2.arg0 = s.f___27147; + s.tmp_2.arg0 = s.f___135028; if (!s.tmp_2.arg0.vtable.iface) { setupLambda(s.tmp_2, pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "handler"), 1); s.callLocIdx = 42; s.pc = 11; return s.tmp_2; @@ -8748,19 +8748,19 @@ switch (step) { } case 11: r0 = s.retval; - r0 = (s.unnamed147___U3 + 1); - s.unnamed147___U3 = (r0); + r0 = (s.unnamed699___U3 + 1); + s.unnamed699___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed146___U2 = (undefined); + s.unnamed698___U2 = (undefined); r0 = pxsim.control.millis(); - s.now___27152 = (r0); - r0 = (s.now___27152 - s.loopStart___27134); - s.runtime___27155 = (r0); + s.now___135033 = (r0); + r0 = (s.now___135033 - s.loopStart___135015); + s.runtime___135036 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timeInSample"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.runtime___27155); + r0 = (s.tmp_2 + s.runtime___135036); s.tmp_1 = r0; r0 = (s.tmp_0).fields["timeInSample"] = (s.tmp_1); s.tmp_0 = r0 = s.arg0; @@ -8788,9 +8788,9 @@ switch (step) { if (!r0) { step = 9; continue; } r0 = s.arg0.fields["lastPerfDump"]; s.tmp_4 = r0; - r0 = (s.now___27152 - s.tmp_4); - s.realTimeInSample___27174 = (r0); - r0 = (s.arg0).fields["lastPerfDump"] = (s.now___27152); + r0 = (s.now___135033 - s.tmp_4); + s.realTimeInSample___135055 = (r0); + r0 = (s.arg0).fields["lastPerfDump"] = (s.now___135033); r0 = s.arg0.fields["framesInSample"]; s.tmp_0 = r0; r0 = s.arg0.fields["timeInSample"]; @@ -8798,8 +8798,8 @@ switch (step) { r0 = (s.tmp_2 / 1000); s.tmp_1 = r0; r0 = (s.tmp_0 / s.tmp_1); - s.fps___27183 = (r0); - r0 = pxsim.Math_.round(s.fps___27183); + s.fps___135064 = (r0); + r0 = pxsim.Math_.round(s.fps___135064); s.tmp_1 = r0; if ((s.tmp_1) && (s.tmp_1).vtable) { setupResume(s, 12); @@ -8811,21 +8811,21 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat("fps:", s.tmp_0); - globals.control_EventContext_lastStats___18368 = (r0); - r0 = (s.fps___27183 < 99); + globals.control_EventContext_lastStats___126249 = (r0); + r0 = (s.fps___135064 < 99); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - if ((globals.control_EventContext_lastStats___18368) && (globals.control_EventContext_lastStats___18368).vtable) { + if ((globals.control_EventContext_lastStats___126249) && (globals.control_EventContext_lastStats___126249).vtable) { setupResume(s, 13); - pxsim_String__stringConv(globals.control_EventContext_lastStats___18368); + pxsim_String__stringConv(globals.control_EventContext_lastStats___126249); checkResumeConsumed(); return; - } else { s.retval = (globals.control_EventContext_lastStats___18368) + ""; } + } else { s.retval = (globals.control_EventContext_lastStats___126249) + ""; } case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.fps___27183 * 10); + r0 = (s.fps___135064 * 10); s.tmp_7 = r0; r0 = pxsim.Math_.round(s.tmp_7); s.tmp_6 = r0; @@ -8852,7 +8852,7 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_1, s.tmp_2); - globals.control_EventContext_lastStats___18368 = (r0); + globals.control_EventContext_lastStats___126249 = (r0); case 5: case 6: r0 = pxsim.control.profilingEnabled(); @@ -8861,7 +8861,7 @@ switch (step) { if (!r0) { step = 7; continue; } r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; - r0 = (s.fps___27183 * 100); + r0 = (s.fps___135064 * 100); s.tmp_12 = r0; r0 = (s.tmp_12 | 0); s.tmp_11 = r0; @@ -8908,12 +8908,12 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, "ms/"); s.tmp_3 = r0; - if ((s.realTimeInSample___27174) && (s.realTimeInSample___27174).vtable) { + if ((s.realTimeInSample___135055) && (s.realTimeInSample___135055).vtable) { setupResume(s, 19); - pxsim_String__stringConv(s.realTimeInSample___27174); + pxsim_String__stringConv(s.realTimeInSample___135055); checkResumeConsumed(); return; - } else { s.retval = (s.realTimeInSample___27174) + ""; } + } else { s.retval = (s.realTimeInSample___135055) + ""; } case 19: r0 = s.retval; s.tmp_17 = r0; @@ -8930,24 +8930,24 @@ switch (step) { r0 = (s.arg0).fields["framesInSample"] = (0); case 9: case 10: - s.tmp_0 = Math_max__P18101_mk(s); + s.tmp_0 = Math_max__P125982_mk(s); s.tmp_0.arg0 = 1; - r0 = (20 - s.runtime___27155); + r0 = (20 - s.runtime___135036); s.tmp_0.arg1 = r0; s.callLocIdx = 43; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; - s.delay___27252 = (r0); - r0 = s.delay___27252; + s.delay___135133 = (r0); + r0 = s.delay___135133; return leave(s, r0) default: oops() } } } -control_EventContext_runCallbacks__P22401.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__P130282.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__P22401_mk(s) { +function control_EventContext_runCallbacks__P130282_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_runCallbacks__P22401, depth: s.depth + 1, + parent: s, fn: control_EventContext_runCallbacks__P130282, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -8967,15 +8967,15 @@ function control_EventContext_runCallbacks__P22401_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - loopStart___27134: undefined, - f___27147: undefined, - unnamed146___U2: undefined, - unnamed147___U3: undefined, - now___27152: undefined, - runtime___27155: undefined, - realTimeInSample___27174: undefined, - fps___27183: undefined, - delay___27252: undefined, + loopStart___135015: undefined, + f___135028: undefined, + unnamed698___U2: undefined, + unnamed699___U3: undefined, + now___135033: undefined, + runtime___135036: undefined, + realTimeInSample___135055: undefined, + fps___135064: undefined, + delay___135133: undefined, arg0: undefined, } } @@ -8983,7 +8983,7 @@ function control_EventContext_runCallbacks__P22401_mk(s) { -function pauseUntil__P18338(s) { +function pauseUntil__P126219(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9030,7 +9030,7 @@ switch (step) { s.arg1 = (0); case 5: case 6: - s.tmp_0 = control___queuePollEvent__P18337_mk(s); + s.tmp_0 = control___queuePollEvent__P126218_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = undefined; @@ -9042,12 +9042,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pauseUntil__P18338.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__P126219.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__P18338_mk(s) { +function pauseUntil__P126219_mk(s) { checkStack(s.depth); return { - parent: s, fn: pauseUntil__P18338, depth: s.depth + 1, + parent: s, fn: pauseUntil__P126219, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9063,7 +9063,7 @@ function pauseUntil__P18338_mk(s) { -function control___queuePollEvent__P18337(s) { +function control___queuePollEvent__P126218(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9073,16 +9073,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ev___27274 = undefined; + s.ev___135155 = 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__C22375_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_PollEvent__C130256_VT); s.tmp_0 = r0; - s.tmp_1 = control_PollEvent_constructor__P22376_mk(s); + s.tmp_1 = control_PollEvent_constructor__P130257_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 1023; r0 = pxsim.control.allocateNotifyEvent(); @@ -9098,8 +9098,8 @@ switch (step) { s.callLocIdx = 27; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - s.ev___27274 = (s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___22378); + s.ev___135155 = (s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals._pollEventQueue___130259); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -9107,19 +9107,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___27274); - globals._pollEventQueue___22378 = (s.tmp_2); - r0 = pxsim.control.runInParallel(control_pollEvents__P22379); + r0 = pxsim_Array__push(s.tmp_2, s.ev___135155); + globals._pollEventQueue___130259 = (s.tmp_2); + r0 = pxsim.control.runInParallel(control_pollEvents__P130260); { step = 2; continue; } case 1: - r0 = pxsim_Array__push(globals._pollEventQueue___22378, s.ev___27274); + r0 = pxsim_Array__push(globals._pollEventQueue___130259, s.ev___135155); case 2: r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 3; continue; } - s.tmp_0 = control_onEvent__P18362_mk(s); - r0 = s.ev___27274.fields["eid"]; + s.tmp_0 = control_onEvent__P126243_mk(s); + r0 = s.ev___135155.fields["eid"]; s.tmp_0.arg0 = r0; - r0 = s.ev___27274.fields["vid"]; + r0 = s.ev___135155.fields["vid"]; s.tmp_0.arg1 = r0; s.tmp_0.arg2 = s.arg2; s.tmp_0.arg3 = 16; @@ -9128,9 +9128,9 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = s.ev___27274.fields["eid"]; + r0 = s.ev___135155.fields["eid"]; s.tmp_0 = r0; - r0 = s.ev___27274.fields["vid"]; + r0 = s.ev___135155.fields["vid"]; s.tmp_1 = r0; setupResume(s, 7); pxsim.control.waitForEvent(s.tmp_0, s.tmp_1); @@ -9143,17 +9143,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___queuePollEvent__P18337.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__P126218.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__P18337_mk(s) { +function control___queuePollEvent__P126218_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___queuePollEvent__P18337, depth: s.depth + 1, + parent: s, fn: control___queuePollEvent__P126218, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ev___27274: undefined, + ev___135155: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9163,7 +9163,7 @@ function control___queuePollEvent__P18337_mk(s) { -function control_pollEvents__P22379(s) { +function control_pollEvents__P130260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9173,31 +9173,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.now___27317 = undefined; - s.i___27320 = undefined; - s.ev___27326 = undefined; + s.now___135198 = undefined; + s.i___135201 = undefined; + s.ev___135207 = undefined; case 1: - r0 = pxsim_Array__length(globals._pollEventQueue___22378); + r0 = pxsim_Array__length(globals._pollEventQueue___130259); 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___27317 = (r0); - s.i___27320 = (0); + s.now___135198 = (r0); + s.i___135201 = (0); case 2: - s.tmp_1 = r0 = s.i___27320; - r0 = pxsim_Array__length(globals._pollEventQueue___22378); + s.tmp_1 = r0 = s.i___135201; + r0 = pxsim_Array__length(globals._pollEventQueue___130259); 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___22378, s.i___27320); - s.ev___27326 = (r0); + r0 = pxsim_Array__getAt(globals._pollEventQueue___130259, s.i___135201); + s.ev___135207 = (r0); s.tmp_1 = if_condition_1_mk(s); - s.tmp_1.arg0 = s.ev___27326; + s.tmp_1.arg0 = s.ev___135207; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "condition"), 1); s.callLocIdx = 24; s.pc = 13; return s.tmp_1; @@ -9215,7 +9215,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 3: - r0 = s.ev___27326.fields["timeOut"]; + r0 = s.ev___135207.fields["timeOut"]; s.tmp_3 = r0; r0 = (s.tmp_3 > 0); s.tmp_2 = r0; @@ -9224,11 +9224,11 @@ switch (step) { r0 = s.tmp_2; { step = 5; continue; } case 4: - r0 = s.ev___27326.fields["start"]; + r0 = s.ev___135207.fields["start"]; s.tmp_5 = r0; - r0 = (s.now___27317 - s.tmp_5); + r0 = (s.now___135198 - s.tmp_5); s.tmp_4 = r0; - r0 = s.ev___27326.fields["timeOut"]; + r0 = s.ev___135207.fields["timeOut"]; s.tmp_6 = r0; r0 = (s.tmp_4 > s.tmp_6); case 5: @@ -9240,50 +9240,50 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - r0 = s.ev___27326.fields["eid"]; + r0 = s.ev___135207.fields["eid"]; s.tmp_9 = r0; - r0 = s.ev___27326.fields["vid"]; + r0 = s.ev___135207.fields["vid"]; s.tmp_10 = r0; r0 = pxsim.control.raiseEvent(s.tmp_9, s.tmp_10); - r0 = s.ev___27326.fields["once"]; + r0 = s.ev___135207.fields["once"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = helpers_arraySplice__P18071_mk(s); - s.tmp_1.arg0 = globals._pollEventQueue___22378; - s.tmp_1.arg1 = s.i___27320; + s.tmp_1 = helpers_arraySplice__P125952_mk(s); + s.tmp_1.arg0 = globals._pollEventQueue___130259; + s.tmp_1.arg1 = s.i___135201; s.tmp_1.arg2 = 1; s.callLocIdx = 25; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; - r0 = (s.i___27320 - 1); - s.i___27320 = (r0); + r0 = (s.i___135201 - 1); + s.i___135201 = (r0); case 7: case 8: case 9: case 10: - r0 = (s.i___27320 + 1); - s.i___27320 = (r0); + r0 = (s.i___135201 + 1); + s.i___135201 = (r0); { step = 2; continue; } case 11: - s.tmp_0 = pause__P18384_mk(s); + s.tmp_0 = pause__P126265_mk(s); s.tmp_0.arg0 = 50; s.callLocIdx = 26; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; { step = 1; continue; } case 12: - globals._pollEventQueue___22378 = (undefined); + globals._pollEventQueue___130259 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -control_pollEvents__P22379.info = {"start":618,"length":638,"line":20,"column":4,"endLine":37,"endColumn":5,"fileName":"pxt_modules/base/poll.ts","functionName":"pollEvents","argumentNames":[]} +control_pollEvents__P130260.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__P22379_mk(s) { +function control_pollEvents__P130260_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pollEvents__P22379, depth: s.depth + 1, + parent: s, fn: control_pollEvents__P130260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9296,16 +9296,16 @@ function control_pollEvents__P22379_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - now___27317: undefined, - i___27320: undefined, - ev___27326: undefined, + now___135198: undefined, + i___135201: undefined, + ev___135207: undefined, } } -function helpers_arraySplice__P18071(s) { +function helpers_arraySplice__P125952(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9315,7 +9315,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___27374 = undefined; + s.i___135255 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -9329,15 +9329,15 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.i___27374 = (0); + s.i___135255 = (0); case 3: - r0 = (s.i___27374 < s.arg2); + r0 = (s.i___135255 < 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___27374 + 1); - s.i___27374 = (r0); + r0 = (s.i___135255 + 1); + s.i___135255 = (r0); { step = 3; continue; } case 4: case 5: @@ -9345,15 +9345,15 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySplice__P18071.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__P125952.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__P18071_mk(s) { +function helpers_arraySplice__P125952_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySplice__P18071, depth: s.depth + 1, + parent: s, fn: helpers_arraySplice__P125952, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - i___27374: undefined, + i___135255: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -9363,7 +9363,7 @@ function helpers_arraySplice__P18071_mk(s) { -function control_PollEvent_constructor__P22376(s) { +function control_PollEvent_constructor__P130257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9384,7 +9384,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_PollEvent__C22375_VT)) failedCast(r0); + if (!checkSubtype(r0, control_PollEvent__C130256_VT)) failedCast(r0); r0 = (s.arg0).fields["eid"] = (s.arg1); r0 = (s.arg0).fields["vid"] = (s.arg2); r0 = (s.arg0).fields["start"] = (s.arg3); @@ -9395,12 +9395,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_PollEvent_constructor__P22376.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__P130257.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__P22376_mk(s) { +function control_PollEvent_constructor__P130257_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_PollEvent_constructor__P22376, depth: s.depth + 1, + parent: s, fn: control_PollEvent_constructor__P130257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -9415,7 +9415,7 @@ function control_PollEvent_constructor__P22376_mk(s) { -function control_EventContext_deltaTime__P18371(s) { +function control_EventContext_deltaTime__P126252(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9430,20 +9430,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18366_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C126247_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__P18371.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__P18371.isGetter = true; +control_EventContext_deltaTime__P126252.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__P126252.isGetter = true; -function control_EventContext_deltaTime__P18371_mk(s) { +function control_EventContext_deltaTime__P126252_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_deltaTime__P18371, depth: s.depth + 1, + parent: s, fn: control_EventContext_deltaTime__P126252, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9453,7 +9453,7 @@ function control_EventContext_deltaTime__P18371_mk(s) { -function helpers_arrayForEach__P18080(s) { +function helpers_arrayForEach__P125961(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9463,49 +9463,49 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___25077 = undefined; - s.i___25080 = undefined; + s.len___132958 = undefined; + s.i___132961 = 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___25077 = (r0); - s.i___25080 = (0); + s.len___132958 = (r0); + s.i___132961 = (0); case 1: - r0 = (s.i___25080 < s.len___25077); + r0 = (s.i___132961 < s.len___132958); 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___25080); + r0 = pxsim_Array__getAt(s.arg0, s.i___132961); s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___25080; + s.tmp_1.arg1 = s.i___132961; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 5; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - r0 = (s.i___25080 + 1); - s.i___25080 = (r0); + r0 = (s.i___132961 + 1); + s.i___132961 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_arrayForEach__P18080.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__P125961.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__P18080_mk(s) { +function helpers_arrayForEach__P125961_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayForEach__P18080, depth: s.depth + 1, + parent: s, fn: helpers_arrayForEach__P125961, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___25077: undefined, - i___25080: undefined, + len___132958: undefined, + i___132961: undefined, arg0: undefined, arg1: undefined, } } @@ -9514,7 +9514,7 @@ function helpers_arrayForEach__P18080_mk(s) { -function scene_Scene_constructor__P20837(s) { +function scene_Scene_constructor__P128718(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9531,13 +9531,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C20814_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C128695_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__C20498_VT); + r0 = pxsim_pxtcore_mkClassInstance(ArcadePhysicsEngine__C128379_VT); s.tmp_0 = r0; - s.tmp_1 = ArcadePhysicsEngine_constructor__P20499_mk(s); + s.tmp_1 = ArcadePhysicsEngine_constructor__P128380_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = 500; s.tmp_1.arg2 = 2; @@ -9546,17 +9546,17 @@ switch (step) { case 1: r0 = s.retval; r0 = (s.arg0).fields["physicsEngine"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C20752_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Camera__C128633_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Camera_constructor__P20756_mk(s); + s.tmp_1 = scene_Camera_constructor__P128637_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 905; 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__C20640_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Background__C128521_VT); s.tmp_0 = r0; - s.tmp_1 = scene_Background_constructor__P20644_mk(s); + s.tmp_1 = scene_Background_constructor__P128525_mk(s); s.tmp_1.arg0 = s.tmp_0; r0 = s.arg0.fields["camera"]; s.tmp_1.arg1 = r0; @@ -9617,12 +9617,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_constructor__P20837.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__P128718.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__P20837_mk(s) { +function scene_Scene_constructor__P128718_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_constructor__P20837, depth: s.depth + 1, + parent: s, fn: scene_Scene_constructor__P128718, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9635,7 +9635,7 @@ function scene_Scene_constructor__P20837_mk(s) { -function scene_Camera_constructor__P20756(s) { +function scene_Camera_constructor__P128637(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9650,7 +9650,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20752_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C128633_VT)) failedCast(r0); r0 = (s.arg0).fields["_offsetX"] = (0); r0 = (s.arg0).fields["_offsetY"] = (0); r0 = (s.arg0).fields["drawOffsetX"] = (0); @@ -9659,12 +9659,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_constructor__P20756.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__P128637.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__P20756_mk(s) { +function scene_Camera_constructor__P128637_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_constructor__P20756, depth: s.depth + 1, + parent: s, fn: scene_Camera_constructor__P128637, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -9673,7 +9673,7 @@ function scene_Camera_constructor__P20756_mk(s) { -function scene_Background_constructor__P20644(s) { +function scene_Background_constructor__P128525(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9689,7 +9689,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Background__C20640_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Background__C128521_VT)) failedCast(r0); r0 = (s.arg0).fields["color"] = (0); r0 = (s.arg0).fields["camera"] = (s.arg1); s.tmp_0 = r0 = s.arg0; @@ -9700,12 +9700,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Background_constructor__P20644.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__P128525.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__P20644_mk(s) { +function scene_Background_constructor__P128525_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Background_constructor__P20644, depth: s.depth + 1, + parent: s, fn: scene_Background_constructor__P128525, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9717,7 +9717,7 @@ function scene_Background_constructor__P20644_mk(s) { -function ArcadePhysicsEngine_constructor__P20499(s) { +function ArcadePhysicsEngine_constructor__P128380(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9735,33 +9735,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_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__C20417_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteMap__C128298_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_SpriteMap_constructor__P20418_mk(s); + s.tmp_1 = sprites_SpriteMap_constructor__P128299_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 525; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; r0 = (s.arg0).fields["map"] = (s.tmp_0); - s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P20501_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxSpeed__P128382_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 526; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_maxStep__P20505_mk(s); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P128386_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 527; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = ArcadePhysicsEngine_minStep__P20503_mk(s); + s.tmp_0 = ArcadePhysicsEngine_minStep__P128384_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 528; s.pc = 4; return s.tmp_0; @@ -9771,12 +9771,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constructor__P20499.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__P128380.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__P20499_mk(s) { +function ArcadePhysicsEngine_constructor__P128380_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constructor__P20499, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constructor__P128380, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9790,7 +9790,7 @@ function ArcadePhysicsEngine_constructor__P20499_mk(s) { -function ArcadePhysicsEngine_maxStep__P20505(s) { +function ArcadePhysicsEngine_maxStep__P128386(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9806,7 +9806,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -9817,12 +9817,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P20505.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__P128386.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__P20505_mk(s) { +function ArcadePhysicsEngine_maxStep__P128386_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P20505, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P128386, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9835,7 +9835,7 @@ function ArcadePhysicsEngine_maxStep__P20505_mk(s) { -function ArcadePhysicsEngine_maxStep__P20504(s) { +function ArcadePhysicsEngine_maxStep__P128385(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9850,7 +9850,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); r0 = s.arg0.fields["maxSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -9859,13 +9859,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxStep__P20504.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__P20504.isGetter = true; +ArcadePhysicsEngine_maxStep__P128385.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__P128385.isGetter = true; -function ArcadePhysicsEngine_maxStep__P20504_mk(s) { +function ArcadePhysicsEngine_maxStep__P128385_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxStep__P20504, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxStep__P128385, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9876,7 +9876,7 @@ function ArcadePhysicsEngine_maxStep__P20504_mk(s) { -function Fx_toInt__P18143(s) { +function Fx_toInt__P126024(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9896,12 +9896,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toInt__P18143.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__P126024.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__P18143_mk(s) { +function Fx_toInt__P126024_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toInt__P18143, depth: s.depth + 1, + parent: s, fn: Fx_toInt__P126024, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -9911,7 +9911,7 @@ function Fx_toInt__P18143_mk(s) { -function ArcadePhysicsEngine_minStep__P20503(s) { +function ArcadePhysicsEngine_minStep__P128384(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9927,7 +9927,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -9938,12 +9938,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P20503.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__P128384.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__P20503_mk(s) { +function ArcadePhysicsEngine_minStep__P128384_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P20503, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P128384, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9956,7 +9956,7 @@ function ArcadePhysicsEngine_minStep__P20503_mk(s) { -function ArcadePhysicsEngine_minStep__P20502(s) { +function ArcadePhysicsEngine_minStep__P128383(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -9971,7 +9971,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); r0 = s.arg0.fields["minSingleStep"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -9980,13 +9980,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_minStep__P20502.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__P20502.isGetter = true; +ArcadePhysicsEngine_minStep__P128383.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__P128383.isGetter = true; -function ArcadePhysicsEngine_minStep__P20502_mk(s) { +function ArcadePhysicsEngine_minStep__P128383_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_minStep__P20502, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_minStep__P128383, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -9997,7 +9997,7 @@ function ArcadePhysicsEngine_minStep__P20502_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P20501(s) { +function ArcadePhysicsEngine_maxSpeed__P128382(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10013,7 +10013,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -10030,12 +10030,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P20501.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__P128382.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__P20501_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P128382_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P20501, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P128382, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10048,7 +10048,7 @@ function ArcadePhysicsEngine_maxSpeed__P20501_mk(s) { -function Fx_neg__P18126(s) { +function Fx_neg__P126007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10066,12 +10066,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_neg__P18126.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__P126007.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__P18126_mk(s) { +function Fx_neg__P126007_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_neg__P18126, depth: s.depth + 1, + parent: s, fn: Fx_neg__P126007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10080,7 +10080,7 @@ function Fx_neg__P18126_mk(s) { -function ArcadePhysicsEngine_maxSpeed__P20500(s) { +function ArcadePhysicsEngine_maxSpeed__P128381(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10095,7 +10095,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); r0 = s.arg0.fields["maxVelocity"]; s.tmp_0 = r0; r0 = (s.tmp_0 + 128); @@ -10104,13 +10104,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -ArcadePhysicsEngine_maxSpeed__P20500.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__P20500.isGetter = true; +ArcadePhysicsEngine_maxSpeed__P128381.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__P128381.isGetter = true; -function ArcadePhysicsEngine_maxSpeed__P20500_mk(s) { +function ArcadePhysicsEngine_maxSpeed__P128381_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_maxSpeed__P20500, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_maxSpeed__P128381, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10121,7 +10121,7 @@ function ArcadePhysicsEngine_maxSpeed__P20500_mk(s) { -function PhysicsEngine_constructor__P20483(s) { +function PhysicsEngine_constructor__P128364(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10136,17 +10136,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C20482_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C128363_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_constructor__P20483.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__P128364.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__P20483_mk(s) { +function PhysicsEngine_constructor__P128364_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_constructor__P20483, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_constructor__P128364, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10155,7 +10155,7 @@ function PhysicsEngine_constructor__P20483_mk(s) { -function sprites_SpriteMap_constructor__P20418(s) { +function sprites_SpriteMap_constructor__P128299(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10170,7 +10170,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20417_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C128298_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -10179,12 +10179,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_constructor__P20418.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__P128299.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__P20418_mk(s) { +function sprites_SpriteMap_constructor__P128299_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_constructor__P20418, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_constructor__P128299, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10195,7 +10195,7 @@ function sprites_SpriteMap_constructor__P20418_mk(s) { -function control_pushEventContext__P18380(s) { +function control_pushEventContext__P126261(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10205,63 +10205,63 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___27419 = undefined; - s.n___27425 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___22404); + s.ctx___135300 = undefined; + s.n___135306 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___130285); 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___22404 = (r0); + globals.eventContexts___130285 = (r0); case 1: case 2: - s.tmp_0 = control_eventContext__P18379_mk(s); + s.tmp_0 = control_eventContext__P126260_mk(s); s.callLocIdx = 53; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.ctx___27419 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___27419); + s.ctx___135300 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___135300); if (!r0) { step = 3; continue; } - s.tmp_0 = control_EventContext_unregister__P18373_mk(s); - s.tmp_0.arg0 = s.ctx___27419; + s.tmp_0 = control_EventContext_unregister__P126254_mk(s); + s.tmp_0.arg0 = s.ctx___135300; s.callLocIdx = 54; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C18366_VT); + r0 = pxsim_pxtcore_mkClassInstance(control_EventContext__C126247_VT); s.tmp_0 = r0; - s.tmp_1 = control_EventContext_constructor__P18370_mk(s); + s.tmp_1 = control_EventContext_constructor__P126251_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 55; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; - s.n___27425 = (s.tmp_0); - r0 = pxsim_Array__push(globals.eventContexts___22404, s.n___27425); - r0 = s.n___27425; + s.n___135306 = (s.tmp_0); + r0 = pxsim_Array__push(globals.eventContexts___130285, s.n___135306); + r0 = s.n___135306; return leave(s, r0) default: oops() } } } -control_pushEventContext__P18380.info = {"start":7310,"length":340,"line":220,"column":4,"endLine":231,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"pushEventContext","argumentNames":[]} +control_pushEventContext__P126261.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__P18380_mk(s) { +function control_pushEventContext__P126261_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_pushEventContext__P18380, depth: s.depth + 1, + parent: s, fn: control_pushEventContext__P126261, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - ctx___27419: undefined, - n___27425: undefined, + ctx___135300: undefined, + n___135306: undefined, } } -function control_EventContext_unregister__P18373(s) { +function control_EventContext_unregister__P126254(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10271,37 +10271,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___27454 = undefined; - s.unnamed150___U1 = undefined; - s.unnamed151___U2 = undefined; + s.h___135335 = undefined; + s.unnamed702___U1 = undefined; + s.unnamed703___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18366_VT)) failedCast(r0); - s.h___27454 = (undefined); + if (!checkSubtype(r0, control_EventContext__C126247_VT)) failedCast(r0); + s.h___135335 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed150___U1 = (r0); - s.unnamed151___U2 = (0); + s.unnamed702___U1 = (r0); + s.unnamed703___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed151___U2; - r0 = pxsim_Array__length(s.unnamed150___U1); + s.tmp_0 = r0 = s.unnamed703___U2; + r0 = pxsim_Array__length(s.unnamed702___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed150___U1, s.unnamed151___U2); - s.h___27454 = (r0); - s.tmp_2 = control_EventHandler_unregister__P22398_mk(s); - s.tmp_2.arg0 = s.h___27454; + r0 = pxsim_Array__getAt(s.unnamed702___U1, s.unnamed703___U2); + s.h___135335 = (r0); + s.tmp_2 = control_EventHandler_unregister__P130279_mk(s); + s.tmp_2.arg0 = s.h___135335; s.callLocIdx = 49; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed151___U2 + 1); - s.unnamed151___U2 = (r0); + r0 = (s.unnamed703___U2 + 1); + s.unnamed703___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed150___U1 = (undefined); + s.unnamed702___U1 = (undefined); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["frameWorker"]; s.tmp_2 = r0; @@ -10312,19 +10312,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_unregister__P18373.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__P126254.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__P18373_mk(s) { +function control_EventContext_unregister__P126254_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_unregister__P18373, depth: s.depth + 1, + parent: s, fn: control_EventContext_unregister__P126254, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___27454: undefined, - unnamed150___U1: undefined, - unnamed151___U2: undefined, + h___135335: undefined, + unnamed702___U1: undefined, + unnamed703___U2: undefined, arg0: undefined, } } @@ -10332,7 +10332,7 @@ function control_EventContext_unregister__P18373_mk(s) { -function control_EventHandler_unregister__P22398(s) { +function control_EventHandler_unregister__P130279(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10347,24 +10347,24 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventHandler__C22396_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventHandler__C130277_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__P22400, s.tmp_2); + r0 = pxsim.control.internalOnEvent(s.tmp_0, s.tmp_1, control_doNothing__P130281, s.tmp_2); r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventHandler_unregister__P22398.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__P130279.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__P22398_mk(s) { +function control_EventHandler_unregister__P130279_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventHandler_unregister__P22398, depth: s.depth + 1, + parent: s, fn: control_EventHandler_unregister__P130279, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10376,7 +10376,7 @@ function control_EventHandler_unregister__P22398_mk(s) { -function control_doNothing__P22400(s) { +function control_doNothing__P130281(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10390,12 +10390,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_doNothing__P22400.info = {"start":1254,"length":24,"line":41,"column":4,"endLine":41,"endColumn":28,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"doNothing","argumentNames":[]} +control_doNothing__P130281.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__P22400_mk(s) { +function control_doNothing__P130281_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_doNothing__P22400, depth: s.depth + 1, + parent: s, fn: control_doNothing__P130281, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -10403,7 +10403,7 @@ function control_doNothing__P22400_mk(s) { -function control_EventContext_constructor__P18370(s) { +function control_EventContext_constructor__P126251(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10418,7 +10418,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18366_VT)) failedCast(r0); + if (!checkSubtype(r0, control_EventContext__C126247_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -10428,26 +10428,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___18368); + r0 = pxsim_numops_toBoolDecr(globals.control_EventContext_lastStats___126249); 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___18368 = (r0); + globals.control_EventContext_lastStats___126249 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -control_EventContext_constructor__P18370.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__P126251.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__P18370_mk(s) { +function control_EventContext_constructor__P126251_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_constructor__P18370, depth: s.depth + 1, + parent: s, fn: control_EventContext_constructor__P126251, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10458,7 +10458,7 @@ function control_EventContext_constructor__P18370_mk(s) { -function controller_pauseUntilAnyButtonIsPressed__P20176(s) { +function controller_pauseUntilAnyButtonIsPressed__P128057(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10478,12 +10478,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_pauseUntilAnyButtonIsPressed__P20176.info = {"start":9968,"length":96,"line":287,"column":4,"endLine":289,"endColumn":5,"fileName":"pxt_modules/game/controllerbutton.ts","functionName":"pauseUntilAnyButtonIsPressed","argumentNames":[]} +controller_pauseUntilAnyButtonIsPressed__P128057.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__P20176_mk(s) { +function controller_pauseUntilAnyButtonIsPressed__P128057_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P20176, depth: s.depth + 1, + parent: s, fn: controller_pauseUntilAnyButtonIsPressed__P128057, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -10491,7 +10491,7 @@ function controller_pauseUntilAnyButtonIsPressed__P20176_mk(s) { -function game_setWaitAnyButton__P20971(s) { +function game_setWaitAnyButton__P128852(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10505,17 +10505,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__waitAnyButton___22908 = (s.arg0); + globals.__waitAnyButton___130789 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -game_setWaitAnyButton__P20971.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__P128852.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__P20971_mk(s) { +function game_setWaitAnyButton__P128852_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_setWaitAnyButton__P20971, depth: s.depth + 1, + parent: s, fn: game_setWaitAnyButton__P128852, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -10524,7 +10524,7 @@ function game_setWaitAnyButton__P20971_mk(s) { -function Math_FastRandom_constructor__P21032(s) { +function Math_FastRandom_constructor__P128913(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10540,7 +10540,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C21030_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C128911_VT)) failedCast(r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -10555,12 +10555,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_constructor__P21032.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__P128913.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__P21032_mk(s) { +function Math_FastRandom_constructor__P128913_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_constructor__P21032, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_constructor__P128913, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -10571,7 +10571,7 @@ function Math_FastRandom_constructor__P21032_mk(s) { -function game_consoleOverlay_listener__P23238(s) { +function game_consoleOverlay_listener__P131119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10586,7 +10586,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___23203); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___131084); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -10606,9 +10606,9 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_4 = helpers_arrayForEach__P18080_mk(s); - s.tmp_5 = helpers_arrayFilter__P18081_mk(s); - s.tmp_6 = helpers_stringSplit__P18093_mk(s); + s.tmp_4 = helpers_arrayForEach__P125961_mk(s); + s.tmp_5 = helpers_arrayFilter__P125962_mk(s); + s.tmp_6 = helpers_stringSplit__P125974_mk(s); s.tmp_6.arg0 = s.arg1; s.tmp_6.arg1 = "\n"; s.tmp_6.arg2 = undefined; @@ -10616,27 +10616,27 @@ switch (step) { case 10: r0 = s.retval; s.tmp_5.arg0 = r0; - s.tmp_5.arg1 = forEach_inline__P27657; + s.tmp_5.arg1 = forEach_inline__P135538; s.callLocIdx = 1125; 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__P27662; + s.tmp_4.arg1 = game_consoleOverlay_listener_inline__P135543; s.callLocIdx = 1127; s.pc = 8; return s.tmp_4; case 8: r0 = s.retval; - r0 = pxsim_Array__length(globals.consoleStrings___23203); + r0 = pxsim_Array__length(globals.consoleStrings___131084); s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.consoleLines___23216); + r0 = (s.tmp_1 > globals.consoleLines___131097); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = helpers_arraySplice__P18071_mk(s); - s.tmp_2.arg0 = globals.consoleStrings___23203; + s.tmp_2 = helpers_arraySplice__P125952_mk(s); + s.tmp_2.arg0 = globals.consoleStrings___131084; s.tmp_2.arg1 = 0; - r0 = pxsim_Array__length(globals.consoleStrings___23203); + r0 = pxsim_Array__length(globals.consoleStrings___131084); s.tmp_3 = r0; - r0 = (s.tmp_3 - globals.consoleLines___23216); + r0 = (s.tmp_3 - globals.consoleLines___131097); s.tmp_2.arg2 = r0; s.callLocIdx = 1128; s.pc = 11; return s.tmp_2; case 11: @@ -10648,12 +10648,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener__P23238.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__P131119.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__P23238_mk(s) { +function game_consoleOverlay_listener__P131119_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener__P23238, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener__P131119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10670,7 +10670,7 @@ function game_consoleOverlay_listener__P23238_mk(s) { -function forEach_inline__P27657(s) { +function forEach_inline__P135538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10694,12 +10694,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P27657.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__P135538.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__P27657_mk(s) { +function forEach_inline__P135538_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P27657, depth: s.depth + 1, + parent: s, fn: forEach_inline__P135538, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10711,7 +10711,7 @@ function forEach_inline__P27657_mk(s) { -function game_consoleOverlay_listener_inline__P27662(s) { +function game_consoleOverlay_listener_inline__P135543(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10721,45 +10721,45 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.j___27664 = undefined; + s.j___135545 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.j___27664 = (0); + s.j___135545 = (0); case 1: - s.tmp_1 = r0 = s.j___27664; + s.tmp_1 = r0 = s.j___135545; 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___23203; - s.tmp_5 = helpers_stringSlice__P18090_mk(s); + s.tmp_3 = r0 = globals.consoleStrings___131084; + s.tmp_5 = helpers_stringSlice__P125971_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_5.arg1 = s.j___27664; - r0 = (s.j___27664 + globals.consoleColumns___23226); + s.tmp_5.arg1 = s.j___135545; + r0 = (s.j___135545 + globals.consoleColumns___131107); s.tmp_5.arg2 = r0; s.callLocIdx = 1126; 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___27664 + globals.consoleColumns___23226); - s.j___27664 = (r0); + r0 = (s.j___135545 + globals.consoleColumns___131107); + s.j___135545 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_listener_inline__P27662.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__P135543.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__P27662_mk(s) { +function game_consoleOverlay_listener_inline__P135543_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_listener_inline__P27662, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_listener_inline__P135543, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10767,7 +10767,7 @@ function game_consoleOverlay_listener_inline__P27662_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - j___27664: undefined, + j___135545: undefined, arg0: undefined, } } @@ -10775,7 +10775,7 @@ function game_consoleOverlay_listener_inline__P27662_mk(s) { -function console_addListener__P18354(s) { +function console_addListener__P126235(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10798,7 +10798,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = pxsim_Array_.indexOf(globals.listeners___22382, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals.listeners___130263, s.arg0, undefined); s.tmp_2 = r0; r0 = (s.tmp_2 > -1); case 2: @@ -10809,18 +10809,18 @@ switch (step) { { step = 5; continue; } case 3: case 4: - r0 = pxsim_Array__push(globals.listeners___22382, s.arg0); + r0 = pxsim_Array__push(globals.listeners___130263, s.arg0); case 5: r0 = undefined; return leave(s, r0) default: oops() } } } -console_addListener__P18354.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__P126235.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__P18354_mk(s) { +function console_addListener__P126235_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_addListener__P18354, depth: s.depth + 1, + parent: s, fn: console_addListener__P126235, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10833,7 +10833,7 @@ function console_addListener__P18354_mk(s) { -function listeners_inline__P22381(s) { +function listeners_inline__P130262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10853,12 +10853,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -listeners_inline__P22381.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__P130262.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__P22381_mk(s) { +function listeners_inline__P130262_mk(s) { checkStack(s.depth); return { - parent: s, fn: listeners_inline__P22381, depth: s.depth + 1, + parent: s, fn: listeners_inline__P130262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -10868,7 +10868,7 @@ function listeners_inline__P22381_mk(s) { -function scene_systemMenu_register__P21077(s) { +function scene_systemMenu_register__P128958(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10878,15 +10878,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___23157); + r0 = pxsim_numops_toBoolDecr(globals.instance___131038); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = controller_Button_onEvent__P20167_mk(s); - s.tmp_0.arg0 = globals.menu___20090; + s.tmp_0 = controller_Button_onEvent__P128048_mk(s); + s.tmp_0.arg0 = globals.menu___127971; s.tmp_0.arg1 = 2049; - s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P21078; + s.tmp_0.arg2 = scene_systemMenu_showSystemMenu__P128959; s.callLocIdx = 1111; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -10895,12 +10895,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_register__P21077.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__P128958.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__P21077_mk(s) { +function scene_systemMenu_register__P128958_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_register__P21077, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_register__P128958, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -10909,7 +10909,7 @@ function scene_systemMenu_register__P21077_mk(s) { -function scene_systemMenu_showSystemMenu__P21078(s) { +function scene_systemMenu_showSystemMenu__P128959(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10919,27 +10919,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___23157); + r0 = pxsim_numops_toBoolDecr(globals.instance___131038); if (!r0) { step = 1; continue; } { step = 3; continue; } case 1: case 2: - s.tmp_0 = game_pushScene__P20974_mk(s); + s.tmp_0 = game_pushScene__P128855_mk(s); s.callLocIdx = 1112; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C21066_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_PauseMenu__C128947_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P21067_mk(s); + s.tmp_1 = scene_systemMenu_PauseMenu_constructor__P128948_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P21074; + s.tmp_1.arg1 = scene_systemMenu_buildOptionList__P128955; s.tmp_1.arg2 = undefined; s.callLocIdx = 1113; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - globals.instance___23157 = (s.tmp_0); - s.tmp_0 = scene_systemMenu_PauseMenu_show__P21068_mk(s); - s.tmp_0.arg0 = globals.instance___23157; + globals.instance___131038 = (s.tmp_0); + s.tmp_0 = scene_systemMenu_PauseMenu_show__P128949_mk(s); + s.tmp_0.arg0 = globals.instance___131038; s.callLocIdx = 1114; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -10948,12 +10948,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_showSystemMenu__P21078.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__P128959.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__P21078_mk(s) { +function scene_systemMenu_showSystemMenu__P128959_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_showSystemMenu__P21078, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_showSystemMenu__P128959, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -10963,7 +10963,7 @@ function scene_systemMenu_showSystemMenu__P21078_mk(s) { -function scene_systemMenu_buildOptionList__P21074(s) { +function scene_systemMenu_buildOptionList__P128955(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -10973,136 +10973,136 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.options___29699 = undefined; + s.options___137580 = undefined; r0 = pxsim_Array__mk(); - s.options___29699 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21058_VT); + s.options___137580 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C128939_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21059_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P128940_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___21088; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P29707; - s.tmp_1.arg3 = scene_systemMenu_volumeDown__P23163; + s.tmp_1.arg1 = globals.VOLUME_DOWN_ICON___128969; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P137588; + s.tmp_1.arg3 = scene_systemMenu_volumeDown__P131044; s.callLocIdx = 1094; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; - r0 = pxsim_Array__push(s.options___29699, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21058_VT); + r0 = pxsim_Array__push(s.options___137580, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C128939_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21059_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P128940_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.VOLUME_UP_ICON___21085; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P29721; - s.tmp_1.arg3 = scene_systemMenu_volumeUp__P23162; + s.tmp_1.arg1 = globals.VOLUME_UP_ICON___128966; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P137602; + s.tmp_1.arg3 = scene_systemMenu_volumeUp__P131043; s.callLocIdx = 1096; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - r0 = pxsim_Array__push(s.options___29699, s.tmp_0); + r0 = pxsim_Array__push(s.options___137580, 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__C21058_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C128939_VT); s.tmp_1 = r0; - s.tmp_2 = scene_systemMenu_MenuOption_constructor__P21059_mk(s); + s.tmp_2 = scene_systemMenu_MenuOption_constructor__P128940_mk(s); s.tmp_2.arg0 = s.tmp_1; - s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___21086; - s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P29736; - s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P23165; + s.tmp_2.arg1 = globals.BRIGHTNESS_DOWN_ICON___128967; + s.tmp_2.arg2 = scene_systemMenu_buildOptionList_inline__P137617; + s.tmp_2.arg3 = scene_systemMenu_brightnessDown__P131046; s.callLocIdx = 1099; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; - r0 = pxsim_Array__push(s.options___29699, s.tmp_1); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21058_VT); + r0 = pxsim_Array__push(s.options___137580, s.tmp_1); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C128939_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21059_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P128940_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___21091; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P29751; - s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P23164; + s.tmp_1.arg1 = globals.BRIGHTNESS_UP_ICON___128972; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P137632; + s.tmp_1.arg3 = scene_systemMenu_brightnessUp__P131045; s.callLocIdx = 1101; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; - r0 = pxsim_Array__push(s.options___29699, s.tmp_0); + r0 = pxsim_Array__push(s.options___137580, s.tmp_0); case 1: case 2: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21058_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C128939_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21059_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P128940_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.STATS_ICON___21092; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P29766; - s.tmp_1.arg3 = scene_systemMenu_toggleStats__P23167; + s.tmp_1.arg1 = globals.STATS_ICON___128973; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P137647; + s.tmp_1.arg3 = scene_systemMenu_toggleStats__P131048; s.callLocIdx = 1102; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = pxsim_Array__push(s.options___29699, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21058_VT); + r0 = pxsim_Array__push(s.options___137580, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C128939_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21059_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P128940_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CONSOLE_ICON___21090; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P29775; - s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P23168; + s.tmp_1.arg1 = globals.CONSOLE_ICON___128971; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P137656; + s.tmp_1.arg3 = scene_systemMenu_toggleConsole__P131049; s.callLocIdx = 1104; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; - r0 = pxsim_Array__push(s.options___29699, s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21058_VT); + r0 = pxsim_Array__push(s.options___137580, s.tmp_0); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C128939_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21059_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P128940_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.SLEEP_ICON___21089; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P29784; - s.tmp_1.arg3 = scene_systemMenu_sleep__P23169; + s.tmp_1.arg1 = globals.SLEEP_ICON___128970; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P137665; + s.tmp_1.arg3 = scene_systemMenu_sleep__P131050; s.callLocIdx = 1105; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; - r0 = pxsim_Array__push(s.options___29699, s.tmp_0); - r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___23158); + r0 = pxsim_Array__push(s.options___137580, s.tmp_0); + r0 = pxsim_numops_toBoolDecr(globals.customMenuOptions___131039); if (!r0) { step = 3; continue; } - s.tmp_0 = helpers_arrayConcat__P18084_mk(s); - s.tmp_0.arg0 = s.options___29699; - s.tmp_0.arg1 = globals.customMenuOptions___23158; + s.tmp_0 = helpers_arrayConcat__P125965_mk(s); + s.tmp_0.arg0 = s.options___137580; + s.tmp_0.arg1 = globals.customMenuOptions___131039; s.callLocIdx = 1106; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.options___29699 = (r0); + s.options___137580 = (r0); case 3: case 4: - r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C21058_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_systemMenu_MenuOption__C128939_VT); s.tmp_0 = r0; - s.tmp_1 = scene_systemMenu_MenuOption_constructor__P21059_mk(s); + s.tmp_1 = scene_systemMenu_MenuOption_constructor__P128940_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___21087; - s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P29797; - s.tmp_1.arg3 = scene_systemMenu_closeMenu__P21073; + s.tmp_1.arg1 = globals.CLOSE_MENU_ICON___128968; + s.tmp_1.arg2 = scene_systemMenu_buildOptionList_inline__P137678; + s.tmp_1.arg3 = scene_systemMenu_closeMenu__P128954; s.callLocIdx = 1107; s.pc = 13; return s.tmp_1; case 13: r0 = s.retval; - r0 = pxsim_Array__push(s.options___29699, s.tmp_0); - r0 = s.options___29699; + r0 = pxsim_Array__push(s.options___137580, s.tmp_0); + r0 = s.options___137580; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList__P21074.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__P128955.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__P21074_mk(s) { +function scene_systemMenu_buildOptionList__P128955_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList__P21074, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList__P128955, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - options___29699: undefined, + options___137580: undefined, } } -function scene_systemMenu_buildOptionList_inline__P29707(s) { +function scene_systemMenu_buildOptionList_inline__P137588(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11112,7 +11112,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P19592_mk(s); + s.tmp_3 = music_volume__P127473_mk(s); s.callLocIdx = 1093; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -11132,12 +11132,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P29707.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__P137588.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__P29707_mk(s) { +function scene_systemMenu_buildOptionList_inline__P137588_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P29707, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P137588, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11149,7 +11149,7 @@ function scene_systemMenu_buildOptionList_inline__P29707_mk(s) { -function scene_systemMenu_buildOptionList_inline__P29721(s) { +function scene_systemMenu_buildOptionList_inline__P137602(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11159,7 +11159,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_3 = music_volume__P19592_mk(s); + s.tmp_3 = music_volume__P127473_mk(s); s.callLocIdx = 1095; s.pc = 1; return s.tmp_3; case 1: r0 = s.retval; @@ -11179,12 +11179,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P29721.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__P137602.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__P29721_mk(s) { +function scene_systemMenu_buildOptionList_inline__P137602_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P29721, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P137602, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11196,7 +11196,7 @@ function scene_systemMenu_buildOptionList_inline__P29721_mk(s) { -function scene_systemMenu_buildOptionList_inline__P29736(s) { +function scene_systemMenu_buildOptionList_inline__P137617(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11206,7 +11206,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___19922; + r0 = globals.brightness___127803; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -11223,12 +11223,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P29736.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__P137617.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__P29736_mk(s) { +function scene_systemMenu_buildOptionList_inline__P137617_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P29736, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P137617, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11239,7 +11239,7 @@ function scene_systemMenu_buildOptionList_inline__P29736_mk(s) { -function scene_systemMenu_buildOptionList_inline__P29751(s) { +function scene_systemMenu_buildOptionList_inline__P137632(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11249,7 +11249,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = globals.brightness___19922; + r0 = globals.brightness___127803; s.tmp_2 = r0; if ((s.tmp_2) && (s.tmp_2).vtable) { setupResume(s, 1); @@ -11266,12 +11266,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P29751.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__P137632.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__P29751_mk(s) { +function scene_systemMenu_buildOptionList_inline__P137632_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P29751, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P137632, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11282,7 +11282,7 @@ function scene_systemMenu_buildOptionList_inline__P29751_mk(s) { -function scene_systemMenu_buildOptionList_inline__P29766(s) { +function scene_systemMenu_buildOptionList_inline__P137647(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11292,7 +11292,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___20939); + r0 = pxsim_numops_toBoolDecr(globals.stats___128820); if (!r0) { step = 1; continue; } r0 = "HIDE STATS"; { step = 2; continue; } @@ -11305,12 +11305,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P29766.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__P137647.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__P29766_mk(s) { +function scene_systemMenu_buildOptionList_inline__P137647_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P29766, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P137647, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -11319,7 +11319,7 @@ function scene_systemMenu_buildOptionList_inline__P29766_mk(s) { -function scene_systemMenu_buildOptionList_inline__P29775(s) { +function scene_systemMenu_buildOptionList_inline__P137656(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11329,7 +11329,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___23203); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___131084); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -11350,12 +11350,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P29775.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__P137656.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__P29775_mk(s) { +function scene_systemMenu_buildOptionList_inline__P137656_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P29775, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P137656, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11368,7 +11368,7 @@ function scene_systemMenu_buildOptionList_inline__P29775_mk(s) { -function scene_systemMenu_buildOptionList_inline__P29784(s) { +function scene_systemMenu_buildOptionList_inline__P137665(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11382,12 +11382,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P29784.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__P137665.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__P29784_mk(s) { +function scene_systemMenu_buildOptionList_inline__P137665_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P29784, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P137665, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11395,7 +11395,7 @@ function scene_systemMenu_buildOptionList_inline__P29784_mk(s) { -function scene_systemMenu_buildOptionList_inline__P29797(s) { +function scene_systemMenu_buildOptionList_inline__P137678(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11409,12 +11409,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_buildOptionList_inline__P29797.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__P137678.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__P29797_mk(s) { +function scene_systemMenu_buildOptionList_inline__P137678_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildOptionList_inline__P29797, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildOptionList_inline__P137678, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11422,7 +11422,7 @@ function scene_systemMenu_buildOptionList_inline__P29797_mk(s) { -function scene_systemMenu_setScreenBrightnessSupported__P23170(s) { +function scene_systemMenu_setScreenBrightnessSupported__P131051(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11436,12 +11436,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightnessSupported__P23170.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__P131051.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__P23170_mk(s) { +function scene_systemMenu_setScreenBrightnessSupported__P131051_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P23170, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightnessSupported__P131051, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11449,7 +11449,7 @@ function scene_systemMenu_setScreenBrightnessSupported__P23170_mk(s) { -function scene_systemMenu_sleep__P23169(s) { +function scene_systemMenu_sleep__P131050(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11464,12 +11464,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_sleep__P23169.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__P131050.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__P23169_mk(s) { +function scene_systemMenu_sleep__P131050_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_sleep__P23169, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_sleep__P131050, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -11477,7 +11477,7 @@ function scene_systemMenu_sleep__P23169_mk(s) { -function scene_systemMenu_toggleConsole__P23168(s) { +function scene_systemMenu_toggleConsole__P131049(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11487,7 +11487,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___23203); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___131084); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); s.tmp_2 = r0; @@ -11497,7 +11497,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = game_consoleOverlay_setVisible__P21097_mk(s); + s.tmp_4 = game_consoleOverlay_setVisible__P128978_mk(s); s.tmp_4.arg0 = false; s.tmp_4.arg1 = undefined; s.callLocIdx = 1087; s.pc = 3; return s.tmp_4; @@ -11505,13 +11505,13 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - s.tmp_0 = game_consoleOverlay_setVisible__P21097_mk(s); + s.tmp_0 = game_consoleOverlay_setVisible__P128978_mk(s); s.tmp_0.arg0 = true; s.tmp_0.arg1 = undefined; s.callLocIdx = 1088; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = console_log__P18351_mk(s); + s.tmp_0 = console_log__P126232_mk(s); s.tmp_0.arg0 = "console"; s.callLocIdx = 1089; s.pc = 5; return s.tmp_0; case 5: @@ -11521,12 +11521,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleConsole__P23168.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__P131049.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__P23168_mk(s) { +function scene_systemMenu_toggleConsole__P131049_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleConsole__P23168, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleConsole__P131049, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11539,7 +11539,7 @@ function scene_systemMenu_toggleConsole__P23168_mk(s) { -function game_consoleOverlay_setVisible__P21097(s) { +function game_consoleOverlay_setVisible__P128978(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11555,7 +11555,7 @@ switch (step) { s.lambdaArgs = null; } s.tmp_1 = r0 = s.arg0; - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___23203); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___131084); s.tmp_5 = r0; r0 = pxsim_Boolean__bang(s.tmp_5); s.tmp_4 = r0; @@ -11576,26 +11576,26 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_6 = r0; - globals.consoleStrings___23203 = (s.tmp_6); + globals.consoleStrings___131084 = (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___23202 = (s.arg1); + globals.consoleColor___131083 = (s.arg1); case 5: case 6: r0 = undefined; return leave(s, r0) default: oops() } } } -game_consoleOverlay_setVisible__P21097.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__P128978.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__P21097_mk(s) { +function game_consoleOverlay_setVisible__P128978_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_setVisible__P21097, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_setVisible__P128978, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11612,7 +11612,7 @@ function game_consoleOverlay_setVisible__P21097_mk(s) { -function console_log__P18351(s) { +function console_log__P126232(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11626,7 +11626,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = console_add__P18347_mk(s); + s.tmp_0 = console_add__P126228_mk(s); s.tmp_0.arg0 = 1; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 33; s.pc = 1; return s.tmp_0; @@ -11636,12 +11636,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_log__P18351.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__P126232.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__P18351_mk(s) { +function console_log__P126232_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_log__P18351, depth: s.depth + 1, + parent: s, fn: console_log__P126232, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -11651,7 +11651,7 @@ function console_log__P18351_mk(s) { -function console_add__P18347(s) { +function console_add__P126228(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11661,58 +11661,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.text___29836 = undefined; - s.i___29845 = undefined; + s.text___137717 = undefined; + s.i___137726 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = (s.arg0 < globals.minPriority___18346); + r0 = (s.arg0 < globals.minPriority___126227); 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__P18353_mk(s); + s.tmp_1 = console_inspect__P126234_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 20; s.callLocIdx = 31; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; - s.text___29836 = (r0); - if ((s.text___29836) && (s.text___29836).vtable) { + s.text___137717 = (r0); + if ((s.text___137717) && (s.text___137717).vtable) { setupResume(s, 7); - pxsim_String__stringConv(s.text___29836); + pxsim_String__stringConv(s.text___137717); checkResumeConsumed(); return; - } else { s.retval = (s.text___29836) + ""; } + } else { s.retval = (s.text___137717) + ""; } case 7: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_String__concat(s.tmp_0, "\n"); - s.text___29836 = (r0); - s.i___29845 = (0); + s.text___137717 = (r0); + s.i___137726 = (0); case 3: - s.tmp_1 = r0 = s.i___29845; - r0 = pxsim_Array__length(globals.listeners___22382); + s.tmp_1 = r0 = s.i___137726; + r0 = pxsim_Array__length(globals.listeners___130263); 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___22382, s.i___29845); + r0 = pxsim_Array__getAt(globals.listeners___130263, s.i___137726); s.tmp_3.argL = r0; s.tmp_3.arg0 = s.arg0; - s.tmp_3.arg1 = s.text___29836; + s.tmp_3.arg1 = s.text___137717; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 32; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___29845 + 1); - s.i___29845 = (r0); + r0 = (s.i___137726 + 1); + s.i___137726 = (r0); { step = 3; continue; } case 4: case 5: @@ -11720,19 +11720,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_add__P18347.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__P126228.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__P18347_mk(s) { +function console_add__P126228_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_add__P18347, depth: s.depth + 1, + parent: s, fn: console_add__P126228, 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___29836: undefined, - i___29845: undefined, + text___137717: undefined, + i___137726: undefined, arg0: undefined, arg1: undefined, } } @@ -11741,7 +11741,7 @@ function console_add__P18347_mk(s) { -function console_inspect__P18353(s) { +function console_inspect__P126234(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -11751,10 +11751,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.asArr___29876 = undefined; - s.asString___29894 = undefined; - s.keys___29906 = undefined; - s.snipped___29910 = undefined; + s.asArr___137757 = undefined; + s.asString___137775 = undefined; + s.keys___137787 = undefined; + s.snipped___137791 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -11795,15 +11795,15 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 5; continue; } - s.asArr___29876 = (s.arg0); - r0 = pxsim_Array__length(s.asArr___29876); + s.asArr___137757 = (s.arg0); + r0 = pxsim_Array__length(s.asArr___137757); 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__P18074_mk(s); - s.tmp_2.arg0 = s.asArr___29876; + s.tmp_2 = helpers_arrayJoin__P125955_mk(s); + s.tmp_2.arg0 = s.asArr___137757; s.tmp_2.arg1 = ","; s.callLocIdx = 34; s.pc = 19; return s.tmp_2; case 19: @@ -11813,9 +11813,9 @@ switch (step) { case 3: r0 = pxsim_String_.mkEmpty(); s.tmp_4 = r0; - s.tmp_7 = helpers_arrayJoin__P18074_mk(s); - s.tmp_8 = helpers_arraySlice__P18086_mk(s); - s.tmp_8.arg0 = s.asArr___29876; + s.tmp_7 = helpers_arrayJoin__P125955_mk(s); + s.tmp_8 = helpers_arraySlice__P125967_mk(s); + s.tmp_8.arg0 = s.asArr___137757; s.tmp_8.arg1 = 0; s.tmp_8.arg2 = s.arg1; s.callLocIdx = 35; s.pc = 21; return s.tmp_8; @@ -11855,46 +11855,46 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); s.tmp_10 = r0; r0 = pxsim_String__concat(s.tmp_9, s.tmp_10); - s.asString___29894 = (r0); - r0 = (s.asString___29894 != "[object Object]"); + s.asString___137775 = (r0); + r0 = (s.asString___137775 != "[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___29894 != "[Object]"); + r0 = (s.asString___137775 != "[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___29894; + r0 = s.asString___137775; { step = 17; continue; } case 8: case 9: r0 = pxsim_pxtrt.keysOf(s.arg0); - s.keys___29906 = (r0); - r0 = pxsim_Array__length(s.keys___29906); + s.keys___137787 = (r0); + r0 = pxsim_Array__length(s.keys___137787); s.tmp_0 = r0; r0 = (s.tmp_0 > s.arg1); - s.snipped___29910 = (r0); - r0 = pxsim_numops_toBoolDecr(s.snipped___29910); + s.snipped___137791 = (r0); + r0 = pxsim_numops_toBoolDecr(s.snipped___137791); if (!r0) { step = 10; continue; } - s.tmp_0 = helpers_arraySlice__P18086_mk(s); - s.tmp_0.arg0 = s.keys___29906; + s.tmp_0 = helpers_arraySlice__P125967_mk(s); + s.tmp_0.arg0 = s.keys___137787; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = s.arg1; s.callLocIdx = 37; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.keys___29906 = (r0); + s.keys___137787 = (r0); case 10: case 11: - r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P29927); + r0 = pxsim_pxtcore_mkAction(1, console_inspect_inline__P137808); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_numops_toBoolDecr(s.snipped___29910); + r0 = pxsim_numops_toBoolDecr(s.snipped___137791); if (!r0) { step = 12; continue; } r0 = "\n ..."; { step = 13; continue; } @@ -11903,8 +11903,8 @@ switch (step) { case 13: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_7 = helpers_arrayReduce__P18083_mk(s); - s.tmp_7.arg0 = s.keys___29906; + s.tmp_7 = helpers_arrayReduce__P125964_mk(s); + s.tmp_7.arg0 = s.keys___137787; s.tmp_7.arg1 = s.tmp_0; r0 = pxsim_String_.mkEmpty(); s.tmp_7.arg2 = r0; @@ -11953,12 +11953,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect__P18353.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__P126234.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__P18353_mk(s) { +function console_inspect__P126234_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect__P18353, depth: s.depth + 1, + parent: s, fn: console_inspect__P126234, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -11971,10 +11971,10 @@ function console_inspect__P18353_mk(s) { tmp_8: undefined, tmp_9: undefined, tmp_10: undefined, - asArr___29876: undefined, - asString___29894: undefined, - keys___29906: undefined, - snipped___29910: undefined, + asArr___137757: undefined, + asString___137775: undefined, + keys___137787: undefined, + snipped___137791: undefined, arg0: undefined, arg1: undefined, } } @@ -11983,7 +11983,7 @@ function console_inspect__P18353_mk(s) { -function console_inspect_inline__P29927(s) { +function console_inspect_inline__P137808(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12046,12 +12046,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -console_inspect_inline__P29927.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__P137808.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__P29927_mk(s) { +function console_inspect_inline__P137808_mk(s) { checkStack(s.depth); return { - parent: s, fn: console_inspect_inline__P29927, depth: s.depth + 1, + parent: s, fn: console_inspect_inline__P137808, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12069,7 +12069,7 @@ function console_inspect_inline__P29927_mk(s) { -function helpers_arraySlice__P18086(s) { +function helpers_arraySlice__P125967(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12079,9 +12079,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___28431 = undefined; - s.len___28433 = undefined; - s.i___28467 = undefined; + s.res___136312 = undefined; + s.len___136314 = undefined; + s.i___136348 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12089,9 +12089,9 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___28431 = (r0); + s.res___136312 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___28433 = (r0); + s.len___136314 = (r0); r0 = (s.arg1 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -12103,8 +12103,8 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_max__P18101_mk(s); - r0 = (s.len___28433 + s.arg1); + s.tmp_1 = Math_max__P125982_mk(s); + r0 = (s.len___136314 + s.arg1); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 0; s.callLocIdx = 8; s.pc = 16; return s.tmp_1; @@ -12114,11 +12114,11 @@ switch (step) { case 2: case 3: case 4: - r0 = (s.arg1 > s.len___28433); + r0 = (s.arg1 > s.len___136314); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = s.res___28431; + r0 = s.res___136312; { step = 15; continue; } case 5: case 6: @@ -12126,57 +12126,57 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 7; continue; } - s.arg2 = (s.len___28433); + s.arg2 = (s.len___136314); { 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___28433 + s.arg2); + r0 = (s.len___136314 + s.arg2); s.arg2 = (r0); case 8: case 9: case 10: - r0 = (s.arg2 > s.len___28433); + r0 = (s.arg2 > s.len___136314); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.arg2 = (s.len___28433); + s.arg2 = (s.len___136314); case 11: case 12: - s.i___28467 = (s.arg1); + s.i___136348 = (s.arg1); case 13: - r0 = (s.i___28467 < s.arg2); + r0 = (s.i___136348 < s.arg2); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_1 = r0 = s.res___28431; - r0 = pxsim_Array__getAt(s.arg0, s.i___28467); + s.tmp_1 = r0 = s.res___136312; + r0 = pxsim_Array__getAt(s.arg0, s.i___136348); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___28467 + 1); - s.i___28467 = (r0); + r0 = (s.i___136348 + 1); + s.i___136348 = (r0); { step = 13; continue; } case 14: - r0 = s.res___28431; + r0 = s.res___136312; case 15: return leave(s, r0) default: oops() } } } -helpers_arraySlice__P18086.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__P125967.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__P18086_mk(s) { +function helpers_arraySlice__P125967_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySlice__P18086, depth: s.depth + 1, + parent: s, fn: helpers_arraySlice__P125967, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - res___28431: undefined, - len___28433: undefined, - i___28467: undefined, + res___136312: undefined, + len___136314: undefined, + i___136348: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -12186,7 +12186,7 @@ function helpers_arraySlice__P18086_mk(s) { -function helpers_arrayReduce__P18083(s) { +function helpers_arrayReduce__P125964(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12196,8 +12196,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___29954 = undefined; - s.i___29957 = undefined; + s.len___137835 = undefined; + s.i___137838 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12205,43 +12205,43 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim_Array__length(s.arg0); - s.len___29954 = (r0); - s.i___29957 = (0); + s.len___137835 = (r0); + s.i___137838 = (0); case 1: - r0 = (s.i___29957 < s.len___29954); + r0 = (s.i___137838 < s.len___137835); 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___29957); + r0 = pxsim_Array__getAt(s.arg0, s.i___137838); s.tmp_1.arg1 = r0; - s.tmp_1.arg2 = s.i___29957; + s.tmp_1.arg2 = s.i___137838; setupLambda(s.tmp_1, s.tmp_1.argL); s.callLocIdx = 7; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.arg2 = (r0); - r0 = (s.i___29957 + 1); - s.i___29957 = (r0); + r0 = (s.i___137838 + 1); + s.i___137838 = (r0); { step = 1; continue; } case 2: r0 = s.arg2; return leave(s, r0) default: oops() } } } -helpers_arrayReduce__P18083.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__P125964.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__P18083_mk(s) { +function helpers_arrayReduce__P125964_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayReduce__P18083, depth: s.depth + 1, + parent: s, fn: helpers_arrayReduce__P125964, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - len___29954: undefined, - i___29957: undefined, + len___137835: undefined, + i___137838: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -12251,7 +12251,7 @@ function helpers_arrayReduce__P18083_mk(s) { -function helpers_arrayJoin__P18074(s) { +function helpers_arrayJoin__P125955(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12261,9 +12261,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.r___29982 = undefined; - s.len___29983 = undefined; - s.i___29986 = undefined; + s.r___137863 = undefined; + s.len___137864 = undefined; + s.i___137867 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -12286,16 +12286,16 @@ switch (step) { case 3: case 4: r0 = pxsim_String_.mkEmpty(); - s.r___29982 = (r0); + s.r___137863 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___29983 = (r0); - s.i___29986 = (0); + s.len___137864 = (r0); + s.i___137867 = (0); case 5: - r0 = (s.i___29986 < s.len___29983); + r0 = (s.i___137867 < s.len___137864); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.i___29986 > 0); + r0 = (s.i___137867 > 0); s.tmp_1 = r0; r0 = pxsim_numops_toBool(s.tmp_1); if (r0) { step = 6; continue; } @@ -12308,12 +12308,12 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 8; continue; } - if ((s.r___29982) && (s.r___29982).vtable) { + if ((s.r___137863) && (s.r___137863).vtable) { setupResume(s, 15); - pxsim_String__stringConv(s.r___29982); + pxsim_String__stringConv(s.r___137863); checkResumeConsumed(); return; - } else { s.retval = (s.r___29982) + ""; } + } else { s.retval = (s.r___137863) + ""; } case 15: r0 = s.retval; s.tmp_3 = r0; @@ -12327,10 +12327,10 @@ switch (step) { r0 = s.retval; s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_3, s.tmp_4); - s.r___29982 = (r0); + s.r___137863 = (r0); case 8: case 9: - r0 = pxsim_Array__getAt(s.arg0, s.i___29986); + r0 = pxsim_Array__getAt(s.arg0, s.i___137867); s.tmp_1 = r0; r0 = (s.tmp_1 === undefined); s.tmp_0 = r0; @@ -12339,7 +12339,7 @@ switch (step) { r0 = s.tmp_0; { step = 11; continue; } case 10: - r0 = pxsim_Array__getAt(s.arg0, s.i___29986); + r0 = pxsim_Array__getAt(s.arg0, s.i___137867); s.tmp_2 = r0; r0 = (s.tmp_2 === null); case 11: @@ -12350,16 +12350,16 @@ switch (step) { r0 = pxsim_String_.mkEmpty(); { step = 13; continue; } case 12: - r0 = pxsim_Array__getAt(s.arg0, s.i___29986); + r0 = pxsim_Array__getAt(s.arg0, s.i___137867); case 13: // jmp value (already in r0) s.tmp_4 = r0; - if ((s.r___29982) && (s.r___29982).vtable) { + if ((s.r___137863) && (s.r___137863).vtable) { setupResume(s, 17); - pxsim_String__stringConv(s.r___29982); + pxsim_String__stringConv(s.r___137863); checkResumeConsumed(); return; - } else { s.retval = (s.r___29982) + ""; } + } else { s.retval = (s.r___137863) + ""; } case 17: r0 = s.retval; s.tmp_5 = r0; @@ -12373,21 +12373,21 @@ switch (step) { r0 = s.retval; s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_5, s.tmp_6); - s.r___29982 = (r0); - r0 = (s.i___29986 + 1); - s.i___29986 = (r0); + s.r___137863 = (r0); + r0 = (s.i___137867 + 1); + s.i___137867 = (r0); { step = 5; continue; } case 14: - r0 = s.r___29982; + r0 = s.r___137863; return leave(s, r0) default: oops() } } } -helpers_arrayJoin__P18074.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__P125955.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__P18074_mk(s) { +function helpers_arrayJoin__P125955_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayJoin__P18074, depth: s.depth + 1, + parent: s, fn: helpers_arrayJoin__P125955, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12396,9 +12396,9 @@ function helpers_arrayJoin__P18074_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - r___29982: undefined, - len___29983: undefined, - i___29986: undefined, + r___137863: undefined, + len___137864: undefined, + i___137867: undefined, arg0: undefined, arg1: undefined, } } @@ -12407,7 +12407,7 @@ function helpers_arrayJoin__P18074_mk(s) { -function scene_systemMenu_toggleStats__P23167(s) { +function scene_systemMenu_toggleStats__P131048(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12417,11 +12417,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.stats___20939); + r0 = pxsim_numops_toBoolDecr(globals.stats___128820); s.tmp_0 = r0; r0 = pxsim_Boolean__bang(s.tmp_0); - globals.stats___20939 = (r0); - r0 = pxsim_numops_toBoolDecr(globals.stats___20939); + globals.stats___128820 = (r0); + r0 = pxsim_numops_toBoolDecr(globals.stats___128820); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -12430,14 +12430,14 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = globals.control_EventContext_onStats___18369; + r0 = globals.control_EventContext_onStats___126250; 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___18369; + s.tmp_3.argL = globals.control_EventContext_onStats___126250; r0 = pxsim_String_.mkEmpty(); s.tmp_3.arg0 = r0; setupLambda(s.tmp_3, s.tmp_3.argL); @@ -12450,12 +12450,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_toggleStats__P23167.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__P131048.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__P23167_mk(s) { +function scene_systemMenu_toggleStats__P131048_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_toggleStats__P23167, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_toggleStats__P131048, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12467,7 +12467,7 @@ function scene_systemMenu_toggleStats__P23167_mk(s) { -function scene_systemMenu_brightnessDown__P23165(s) { +function scene_systemMenu_brightnessDown__P131046(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12477,8 +12477,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P23166_mk(s); - r0 = globals.brightness___19922; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P131047_mk(s); + r0 = globals.brightness___127803; s.tmp_1 = r0; r0 = (s.tmp_1 - 5); s.tmp_0.arg0 = r0; @@ -12489,12 +12489,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessDown__P23165.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__P131046.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__P23165_mk(s) { +function scene_systemMenu_brightnessDown__P131046_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessDown__P23165, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessDown__P131046, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12504,7 +12504,7 @@ function scene_systemMenu_brightnessDown__P23165_mk(s) { -function scene_systemMenu_setScreenBrightness__P23166(s) { +function scene_systemMenu_setScreenBrightness__P131047(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12518,15 +12518,15 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_setScreenBrightness__P19936_mk(s); - s.tmp_0.arg0 = globals.screen___20003; + s.tmp_0 = helpers_setScreenBrightness__P127817_mk(s); + s.tmp_0.arg0 = globals.screen___127884; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1082; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P20034_mk(s); + s.tmp_0 = settings_writeNumber__P127915_mk(s); s.tmp_0.arg0 = "#brightness"; - r0 = globals.brightness___19922; + r0 = globals.brightness___127803; s.tmp_0.arg1 = r0; s.callLocIdx = 1084; s.pc = 2; return s.tmp_0; case 2: @@ -12535,12 +12535,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setScreenBrightness__P23166.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__P131047.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__P23166_mk(s) { +function scene_systemMenu_setScreenBrightness__P131047_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setScreenBrightness__P23166, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setScreenBrightness__P131047, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12550,7 +12550,7 @@ function scene_systemMenu_setScreenBrightness__P23166_mk(s) { -function settings_writeNumber__P20034(s) { +function settings_writeNumber__P127915(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12568,9 +12568,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__P20031_mk(s); + s.tmp_1 = settings_writeBuffer__P127912_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = msgpack_packNumberArray__P18155_mk(s); + s.tmp_2 = msgpack_packNumberArray__P126036_mk(s); s.tmp_2.arg0 = s.tmp_0; s.callLocIdx = 124; s.pc = 2; return s.tmp_2; case 2: @@ -12583,12 +12583,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeNumber__P20034.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__P127915.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__P20034_mk(s) { +function settings_writeNumber__P127915_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeNumber__P20034, depth: s.depth + 1, + parent: s, fn: settings_writeNumber__P127915, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12601,7 +12601,7 @@ function settings_writeNumber__P20034_mk(s) { -function settings_writeBuffer__P20031(s) { +function settings_writeBuffer__P127912(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12628,12 +12628,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeBuffer__P20031.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__P127912.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__P20031_mk(s) { +function settings_writeBuffer__P127912_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeBuffer__P20031, depth: s.depth + 1, + parent: s, fn: settings_writeBuffer__P127912, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12644,7 +12644,7 @@ function settings_writeBuffer__P20031_mk(s) { -function msgpack_packNumberArray__P18155(s) { +function msgpack_packNumberArray__P126036(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12654,100 +12654,100 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.off___30072 = undefined; - s.n___30074 = undefined; - s.unnamed142___U2 = undefined; - s.unnamed143___U3 = undefined; - s.buf___30084 = undefined; - s.n___30090 = undefined; - s.unnamed144___U6 = undefined; - s.unnamed145___U7 = undefined; + s.off___137953 = undefined; + s.n___137955 = undefined; + s.unnamed694___U2 = undefined; + s.unnamed695___U3 = undefined; + s.buf___137965 = undefined; + s.n___137971 = undefined; + s.unnamed696___U6 = undefined; + s.unnamed697___U7 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.off___30072 = (0); - s.n___30074 = (undefined); - s.unnamed142___U2 = (s.arg0); - s.unnamed143___U3 = (0); + s.off___137953 = (0); + s.n___137955 = (undefined); + s.unnamed694___U2 = (s.arg0); + s.unnamed695___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed143___U3; - r0 = pxsim_Array__length(s.unnamed142___U2); + s.tmp_0 = r0 = s.unnamed695___U3; + r0 = pxsim_Array__length(s.unnamed694___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed142___U2, s.unnamed143___U3); - s.n___30074 = (r0); - s.tmp_2 = r0 = s.off___30072; - s.tmp_4 = msgpack_packNumberCore__P22341_mk(s); + r0 = pxsim_Array__getAt(s.unnamed694___U2, s.unnamed695___U3); + s.n___137955 = (r0); + s.tmp_2 = r0 = s.off___137953; + s.tmp_4 = msgpack_packNumberCore__P130222_mk(s); s.tmp_4.arg0 = null; - s.tmp_4.arg1 = s.off___30072; - s.tmp_4.arg2 = s.n___30074; + s.tmp_4.arg1 = s.off___137953; + s.tmp_4.arg2 = s.n___137955; s.callLocIdx = 21; s.pc = 5; return s.tmp_4; case 5: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___30072 = (r0); - r0 = (s.unnamed143___U3 + 1); - s.unnamed143___U3 = (r0); + s.off___137953 = (r0); + r0 = (s.unnamed695___U3 + 1); + s.unnamed695___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed142___U2 = (undefined); - r0 = pxsim.control.createBuffer(s.off___30072); - s.buf___30084 = (r0); - s.off___30072 = (0); - s.n___30090 = (undefined); - s.unnamed144___U6 = (s.arg0); - s.unnamed145___U7 = (0); + s.unnamed694___U2 = (undefined); + r0 = pxsim.control.createBuffer(s.off___137953); + s.buf___137965 = (r0); + s.off___137953 = (0); + s.n___137971 = (undefined); + s.unnamed696___U6 = (s.arg0); + s.unnamed697___U7 = (0); case 3: - s.tmp_0 = r0 = s.unnamed145___U7; - r0 = pxsim_Array__length(s.unnamed144___U6); + s.tmp_0 = r0 = s.unnamed697___U7; + r0 = pxsim_Array__length(s.unnamed696___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed144___U6, s.unnamed145___U7); - s.n___30090 = (r0); - s.tmp_2 = r0 = s.off___30072; - s.tmp_4 = msgpack_packNumberCore__P22341_mk(s); - s.tmp_4.arg0 = s.buf___30084; - s.tmp_4.arg1 = s.off___30072; - s.tmp_4.arg2 = s.n___30090; + r0 = pxsim_Array__getAt(s.unnamed696___U6, s.unnamed697___U7); + s.n___137971 = (r0); + s.tmp_2 = r0 = s.off___137953; + s.tmp_4 = msgpack_packNumberCore__P130222_mk(s); + s.tmp_4.arg0 = s.buf___137965; + s.tmp_4.arg1 = s.off___137953; + s.tmp_4.arg2 = s.n___137971; s.callLocIdx = 22; s.pc = 6; return s.tmp_4; case 6: r0 = s.retval; s.tmp_3 = r0; r0 = (s.tmp_2 + s.tmp_3); - s.off___30072 = (r0); - r0 = (s.unnamed145___U7 + 1); - s.unnamed145___U7 = (r0); + s.off___137953 = (r0); + r0 = (s.unnamed697___U7 + 1); + s.unnamed697___U7 = (r0); { step = 3; continue; } case 4: - s.unnamed144___U6 = (undefined); - r0 = s.buf___30084; + s.unnamed696___U6 = (undefined); + r0 = s.buf___137965; return leave(s, r0) default: oops() } } } -msgpack_packNumberArray__P18155.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__P126036.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__P18155_mk(s) { +function msgpack_packNumberArray__P126036_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberArray__P18155, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberArray__P126036, 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___30072: undefined, - n___30074: undefined, - unnamed142___U2: undefined, - unnamed143___U3: undefined, - buf___30084: undefined, - n___30090: undefined, - unnamed144___U6: undefined, - unnamed145___U7: undefined, + off___137953: undefined, + n___137955: undefined, + unnamed694___U2: undefined, + unnamed695___U3: undefined, + buf___137965: undefined, + n___137971: undefined, + unnamed696___U6: undefined, + unnamed697___U7: undefined, arg0: undefined, } } @@ -12755,7 +12755,7 @@ function msgpack_packNumberArray__P18155_mk(s) { -function msgpack_packNumberCore__P22341(s) { +function msgpack_packNumberCore__P130222(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12765,15 +12765,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tag___30104 = undefined; - s.fmt___30147 = undefined; + s.tag___137985 = undefined; + s.fmt___138028 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.arg2 = (s.lambdaArgs[2]); s.lambdaArgs = null; } - s.tag___30104 = (203); + s.tag___137985 = (203); s.tmp_1 = r0 = s.arg2; r0 = (s.arg2 << 0); s.tmp_2 = r0; @@ -12823,17 +12823,17 @@ switch (step) { s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 8; continue; } - s.tag___30104 = (204); + s.tag___137985 = (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___30104 = (205); + s.tag___137985 = (205); { step = 10; continue; } case 9: - s.tag___30104 = (206); + s.tag___137985 = (206); case 10: case 11: { step = 17; continue; } @@ -12842,41 +12842,41 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - s.tag___30104 = (208); + s.tag___137985 = (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___30104 = (209); + s.tag___137985 = (209); { step = 15; continue; } case 14: - s.tag___30104 = (210); + s.tag___137985 = (210); case 15: case 16: case 17: case 18: case 19: case 20: - s.tmp_0 = msgpack_tagFormat__P22340_mk(s); - s.tmp_0.arg0 = s.tag___30104; + s.tmp_0 = msgpack_tagFormat__P130221_mk(s); + s.tmp_0.arg0 = s.tag___137985; s.callLocIdx = 17; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.fmt___30147 = (r0); + s.fmt___138028 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); if (!r0) { step = 21; continue; } - r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___30104); + r0 = pxsim.BufferMethods.setByte(s.arg0, s.arg1, s.tag___137985); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.fmt___30147; + s.tmp_1 = r0 = s.fmt___138028; 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__P18146_mk(s); - s.tmp_1.arg0 = s.fmt___30147; + s.tmp_1 = pins_sizeOf__P126027_mk(s); + s.tmp_1.arg0 = s.fmt___138028; s.callLocIdx = 18; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -12886,12 +12886,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_packNumberCore__P22341.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__P130222.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__P22341_mk(s) { +function msgpack_packNumberCore__P130222_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_packNumberCore__P22341, depth: s.depth + 1, + parent: s, fn: msgpack_packNumberCore__P130222, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -12901,8 +12901,8 @@ function msgpack_packNumberCore__P22341_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - tag___30104: undefined, - fmt___30147: undefined, + tag___137985: undefined, + fmt___138028: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -12912,7 +12912,7 @@ function msgpack_packNumberCore__P22341_mk(s) { -function msgpack_tagFormat__P22340(s) { +function msgpack_tagFormat__P130221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -12972,12 +12972,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -msgpack_tagFormat__P22340.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__P130221.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__P22340_mk(s) { +function msgpack_tagFormat__P130221_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_tagFormat__P22340, depth: s.depth + 1, + parent: s, fn: msgpack_tagFormat__P130221, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -12987,7 +12987,7 @@ function msgpack_tagFormat__P22340_mk(s) { -function pins_sizeOf__P18146(s) { +function pins_sizeOf__P126027(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13001,7 +13001,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Buffer_sizeOfNumberFormat__P18186_mk(s); + s.tmp_0 = Buffer_sizeOfNumberFormat__P126067_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 16; s.pc = 1; return s.tmp_0; case 1: @@ -13009,12 +13009,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pins_sizeOf__P18146.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__P126027.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__P18146_mk(s) { +function pins_sizeOf__P126027_mk(s) { checkStack(s.depth); return { - parent: s, fn: pins_sizeOf__P18146, depth: s.depth + 1, + parent: s, fn: pins_sizeOf__P126027, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13024,7 +13024,7 @@ function pins_sizeOf__P18146_mk(s) { -function Buffer_sizeOfNumberFormat__P18186(s) { +function Buffer_sizeOfNumberFormat__P126067(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13103,12 +13103,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Buffer_sizeOfNumberFormat__P18186.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__P126067.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__P18186_mk(s) { +function Buffer_sizeOfNumberFormat__P126067_mk(s) { checkStack(s.depth); return { - parent: s, fn: Buffer_sizeOfNumberFormat__P18186, depth: s.depth + 1, + parent: s, fn: Buffer_sizeOfNumberFormat__P126067, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13118,7 +13118,7 @@ function Buffer_sizeOfNumberFormat__P18186_mk(s) { -function helpers_setScreenBrightness__P19936(s) { +function helpers_setScreenBrightness__P127817(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13133,7 +13133,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P18098_mk(s); + s.tmp_0 = Math_clamp__P125979_mk(s); s.tmp_0.arg0 = 10; s.tmp_0.arg1 = 100; r0 = (s.arg1 | 0); @@ -13142,18 +13142,18 @@ switch (step) { case 1: r0 = s.retval; s.arg1 = (r0); - globals.brightness___19922 = (s.arg1); - r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___19922); + globals.brightness___127803 = (s.arg1); + r0 = pxsim_pxtcore.setScreenBrightness(globals.brightness___127803); r0 = undefined; return leave(s, r0) default: oops() } } } -helpers_setScreenBrightness__P19936.info = {"start":8945,"length":210,"line":282,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} +helpers_setScreenBrightness__P127817.info = {"start":8945,"length":210,"line":282,"column":4,"endLine":286,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"setScreenBrightness","argumentNames":["img","b"]} -function helpers_setScreenBrightness__P19936_mk(s) { +function helpers_setScreenBrightness__P127817_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_setScreenBrightness__P19936, depth: s.depth + 1, + parent: s, fn: helpers_setScreenBrightness__P127817, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13164,7 +13164,7 @@ function helpers_setScreenBrightness__P19936_mk(s) { -function scene_systemMenu_brightnessUp__P23164(s) { +function scene_systemMenu_brightnessUp__P131045(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13174,8 +13174,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_setScreenBrightness__P23166_mk(s); - r0 = globals.brightness___19922; + s.tmp_0 = scene_systemMenu_setScreenBrightness__P131047_mk(s); + r0 = globals.brightness___127803; s.tmp_1 = r0; r0 = (s.tmp_1 + 5); s.tmp_0.arg0 = r0; @@ -13186,12 +13186,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_brightnessUp__P23164.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__P131045.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__P23164_mk(s) { +function scene_systemMenu_brightnessUp__P131045_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_brightnessUp__P23164, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_brightnessUp__P131045, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13201,7 +13201,7 @@ function scene_systemMenu_brightnessUp__P23164_mk(s) { -function scene_systemMenu_volumeDown__P23163(s) { +function scene_systemMenu_volumeDown__P131044(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13211,29 +13211,29 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___30420 = undefined; - s.remainder___30423 = undefined; - s.newVolume___30426 = undefined; - s.tmp_0 = music_volume__P19592_mk(s); + s.v___138301 = undefined; + s.remainder___138304 = undefined; + s.newVolume___138307 = undefined; + s.tmp_0 = music_volume__P127473_mk(s); s.callLocIdx = 1076; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.v___30420 = (r0); - r0 = (s.v___30420 % 32); - s.remainder___30423 = (r0); - r0 = pxsim_numops_toBoolDecr(s.remainder___30423); + s.v___138301 = (r0); + r0 = (s.v___138301 % 32); + s.remainder___138304 = (r0); + r0 = pxsim_numops_toBoolDecr(s.remainder___138304); if (!r0) { step = 1; continue; } - r0 = s.remainder___30423; + r0 = s.remainder___138304; { step = 2; continue; } case 1: r0 = 32; case 2: // jmp value (already in r0) s.tmp_0 = r0; - r0 = (s.v___30420 - s.tmp_0); - s.newVolume___30426 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P23161_mk(s); - s.tmp_0.arg0 = s.newVolume___30426; + r0 = (s.v___138301 - s.tmp_0); + s.newVolume___138307 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P131042_mk(s); + s.tmp_0.arg0 = s.newVolume___138307; s.callLocIdx = 1077; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -13241,24 +13241,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeDown__P23163.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__P131044.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__P23163_mk(s) { +function scene_systemMenu_volumeDown__P131044_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeDown__P23163, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeDown__P131044, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___30420: undefined, - remainder___30423: undefined, - newVolume___30426: undefined, + v___138301: undefined, + remainder___138304: undefined, + newVolume___138307: undefined, } } -function scene_systemMenu_setVolume__P23161(s) { +function scene_systemMenu_setVolume__P131042(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13272,18 +13272,18 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = music_setVolume__P19591_mk(s); + s.tmp_0 = music_setVolume__P127472_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1071; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = music_playTone__P19593_mk(s); + s.tmp_0 = music_playTone__P127474_mk(s); s.tmp_0.arg0 = 440; s.tmp_0.arg1 = 500; s.callLocIdx = 1072; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = settings_writeNumber__P20034_mk(s); + s.tmp_0 = settings_writeNumber__P127915_mk(s); s.tmp_0.arg0 = "#volume"; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 1073; s.pc = 3; return s.tmp_0; @@ -13293,12 +13293,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_setVolume__P23161.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__P131042.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__P23161_mk(s) { +function scene_systemMenu_setVolume__P131042_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_setVolume__P23161, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_setVolume__P131042, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13308,7 +13308,7 @@ function scene_systemMenu_setVolume__P23161_mk(s) { -function music_playTone__P19593(s) { +function music_playTone__P127474(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13318,7 +13318,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.id___30261 = undefined; + s.id___138142 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13343,7 +13343,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_2 = music_playNoteCore__P22440_mk(s); + s.tmp_2 = music_playNoteCore__P130321_mk(s); s.tmp_2.arg0 = 0; s.tmp_2.arg1 = s.arg0; r0 = pxsim_pxtrt_ldlocRef(s.arg1); @@ -13351,7 +13351,7 @@ switch (step) { s.callLocIdx = 64; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - s.tmp_0 = pause__P18384_mk(s); + s.tmp_0 = pause__P126265_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.arg1); s.tmp_0.arg0 = r0; s.callLocIdx = 65; s.pc = 6; return s.tmp_0; @@ -13359,13 +13359,13 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - r0 = (globals.playToneID___22442 + 1); + r0 = (globals.playToneID___130323 + 1); s.tmp_0 = r0; - globals.playToneID___22442 = (r0); - s.id___30261 = (s.tmp_0); - r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P30267); + globals.playToneID___130323 = (r0); + s.id___138142 = (s.tmp_0); + r0 = pxsim_pxtcore_mkAction(3, music_playTone_inline__P138148); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___30261); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.id___138142); 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); @@ -13374,17 +13374,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone__P19593.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__P127474.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__P19593_mk(s) { +function music_playTone__P127474_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone__P19593, depth: s.depth + 1, + parent: s, fn: music_playTone__P127474, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - id___30261: undefined, + id___138142: undefined, arg0: undefined, arg1: undefined, } } @@ -13393,7 +13393,7 @@ function music_playTone__P19593_mk(s) { -function music_playTone_inline__P30267(s) { +function music_playTone_inline__P138148(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13403,14 +13403,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pos___30268 = undefined; - s.now___30278 = undefined; - s.d___30281 = undefined; - s.t___30285 = undefined; + s.pos___138149 = undefined; + s.now___138159 = undefined; + s.d___138162 = undefined; + s.t___138166 = undefined; r0 = pxsim.control.millis(); - s.pos___30268 = (r0); + s.pos___138149 = (r0); case 1: - r0 = (s.caps[0] == globals.playToneID___22442); + r0 = (s.caps[0] == globals.playToneID___130323); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 2; continue; } @@ -13426,30 +13426,30 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 6; continue; } r0 = pxsim.control.millis(); - s.now___30278 = (r0); - r0 = (s.pos___30268 - s.now___30278); - s.d___30281 = (r0); - s.tmp_0 = Math_min__P18102_mk(s); + s.now___138159 = (r0); + r0 = (s.pos___138149 - s.now___138159); + s.d___138162 = (r0); + s.tmp_0 = Math_min__P125983_mk(s); r0 = pxsim_pxtrt_ldlocRef(s.caps[1]); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = 500; s.callLocIdx = 66; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.t___30285 = (r0); + s.t___138166 = (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___30285); + r0 = (s.tmp_2 - s.t___138166); s.tmp_1 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_0, s.tmp_1); - r0 = (s.pos___30268 + s.t___30285); - s.pos___30268 = (r0); - s.tmp_0 = music_playNoteCore__P22440_mk(s); - r0 = (s.d___30281 - 1); + r0 = (s.pos___138149 + s.t___138166); + s.pos___138149 = (r0); + s.tmp_0 = music_playNoteCore__P130321_mk(s); + r0 = (s.d___138162 - 1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.caps[2]; - s.tmp_0.arg2 = s.t___30285; + s.tmp_0.arg2 = s.t___138166; s.callLocIdx = 67; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; @@ -13459,16 +13459,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_2 = pause__P18384_mk(s); - r0 = (s.d___30281 + s.t___30285); + s.tmp_2 = pause__P126265_mk(s); + r0 = (s.d___138162 + s.t___138166); s.tmp_2.arg0 = r0; s.callLocIdx = 68; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; { step = 5; continue; } case 4: - s.tmp_0 = pause__P18384_mk(s); - r0 = (s.d___30281 + s.t___30285); + s.tmp_0 = pause__P126265_mk(s); + r0 = (s.d___138162 + s.t___138166); s.tmp_1 = r0; r0 = (s.tmp_1 - 100); s.tmp_0.arg0 = r0; @@ -13482,27 +13482,27 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_playTone_inline__P30267.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__P138148.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__P30267_mk(s) { +function music_playTone_inline__P138148_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playTone_inline__P30267, depth: s.depth + 1, + parent: s, fn: music_playTone_inline__P138148, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - pos___30268: undefined, - now___30278: undefined, - d___30281: undefined, - t___30285: undefined, + pos___138149: undefined, + now___138159: undefined, + d___138162: undefined, + t___138166: undefined, } } -function music_playNoteCore__P22440(s) { +function music_playNoteCore__P130321(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13512,7 +13512,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___30315 = undefined; + s.buf___138196 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -13520,16 +13520,16 @@ switch (step) { s.lambdaArgs = null; } r0 = pxsim.control.createBuffer(12); - s.buf___30315 = (r0); - s.tmp_0 = music_addNote__P19607_mk(s); - s.tmp_0.arg0 = s.buf___30315; + s.buf___138196 = (r0); + s.tmp_0 = music_addNote__P127488_mk(s); + s.tmp_0.arg0 = s.buf___138196; 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__P19592_mk(s); + s.tmp_1 = music_volume__P127473_mk(s); s.callLocIdx = 62; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; @@ -13538,21 +13538,21 @@ switch (step) { s.callLocIdx = 63; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___30315); + r0 = pxsim.music.queuePlayInstructions(s.arg0, s.buf___138196); r0 = undefined; return leave(s, r0) default: oops() } } } -music_playNoteCore__P22440.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__P130321.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__P22440_mk(s) { +function music_playNoteCore__P130321_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_playNoteCore__P22440, depth: s.depth + 1, + parent: s, fn: music_playNoteCore__P130321, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___30315: undefined, + buf___138196: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -13562,7 +13562,7 @@ function music_playNoteCore__P22440_mk(s) { -function music_addNote__P19607(s) { +function music_addNote__P127488(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13630,12 +13630,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_addNote__P19607.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__P127488.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__P19607_mk(s) { +function music_addNote__P127488_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_addNote__P19607, depth: s.depth + 1, + parent: s, fn: music_addNote__P127488, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13656,7 +13656,7 @@ function music_addNote__P19607_mk(s) { -function music_setVolume__P19591(s) { +function music_setVolume__P127472(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13670,7 +13670,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Math_clamp__P18098_mk(s); + s.tmp_0 = Math_clamp__P125979_mk(s); s.tmp_0.arg0 = 0; s.tmp_0.arg1 = 255; r0 = (s.arg0 | 0); @@ -13678,8 +13678,8 @@ switch (step) { s.callLocIdx = 59; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.globalVolume___22435 = (r0); - r0 = (globals.globalVolume___22435 > 0); + globals.globalVolume___130316 = (r0); + r0 = (globals.globalVolume___130316 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -13695,12 +13695,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_setVolume__P19591.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__P127472.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__P19591_mk(s) { +function music_setVolume__P127472_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_setVolume__P19591, depth: s.depth + 1, + parent: s, fn: music_setVolume__P127472, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13711,7 +13711,7 @@ function music_setVolume__P19591_mk(s) { -function music_enableAmp__P22438(s) { +function music_enableAmp__P130319(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13729,12 +13729,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_enableAmp__P22438.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__P130319.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__P22438_mk(s) { +function music_enableAmp__P130319_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_enableAmp__P22438, depth: s.depth + 1, + parent: s, fn: music_enableAmp__P130319, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -13743,7 +13743,7 @@ function music_enableAmp__P22438_mk(s) { -function scene_systemMenu_volumeUp__P23162(s) { +function scene_systemMenu_volumeUp__P131043(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13753,22 +13753,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.v___30229 = undefined; - s.remainder___30232 = undefined; - s.newVolume___30235 = undefined; - s.tmp_0 = music_volume__P19592_mk(s); + s.v___138110 = undefined; + s.remainder___138113 = undefined; + s.newVolume___138116 = undefined; + s.tmp_0 = music_volume__P127473_mk(s); s.callLocIdx = 1074; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.v___30229 = (r0); - r0 = (s.v___30229 % 32); - s.remainder___30232 = (r0); - r0 = (s.v___30229 + 32); + s.v___138110 = (r0); + r0 = (s.v___138110 % 32); + s.remainder___138113 = (r0); + r0 = (s.v___138110 + 32); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.remainder___30232); - s.newVolume___30235 = (r0); - s.tmp_0 = scene_systemMenu_setVolume__P23161_mk(s); - s.tmp_0.arg0 = s.newVolume___30235; + r0 = (s.tmp_0 - s.remainder___138113); + s.newVolume___138116 = (r0); + s.tmp_0 = scene_systemMenu_setVolume__P131042_mk(s); + s.tmp_0.arg0 = s.newVolume___138116; s.callLocIdx = 1075; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -13776,24 +13776,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_volumeUp__P23162.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__P131043.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__P23162_mk(s) { +function scene_systemMenu_volumeUp__P131043_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_volumeUp__P23162, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_volumeUp__P131043, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - v___30229: undefined, - remainder___30232: undefined, - newVolume___30235: undefined, + v___138110: undefined, + remainder___138113: undefined, + newVolume___138116: undefined, } } -function game_consoleOverlay_isVisible__P21095(s) { +function game_consoleOverlay_isVisible__P128976(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13803,7 +13803,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___23203); + r0 = pxsim_numops_toBoolDecr(globals.consoleStrings___131084); s.tmp_2 = r0; r0 = pxsim_Boolean__bang(s.tmp_2); s.tmp_1 = r0; @@ -13813,12 +13813,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_consoleOverlay_isVisible__P21095.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__P128976.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__P21095_mk(s) { +function game_consoleOverlay_isVisible__P128976_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_consoleOverlay_isVisible__P21095, depth: s.depth + 1, + parent: s, fn: game_consoleOverlay_isVisible__P128976, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13829,7 +13829,7 @@ function game_consoleOverlay_isVisible__P21095_mk(s) { -function scene_systemMenu_closeMenu__P21073(s) { +function scene_systemMenu_closeMenu__P128954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13839,20 +13839,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.instance___23157); + r0 = pxsim_numops_toBoolDecr(globals.instance___131038); if (!r0) { step = 1; continue; } - s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P21072_mk(s); - s.tmp_0.arg0 = globals.instance___23157; + s.tmp_0 = scene_systemMenu_PauseMenu_dispose__P128953_mk(s); + s.tmp_0.arg0 = globals.instance___131038; s.callLocIdx = 1090; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - globals.instance___23157 = (undefined); - s.tmp_0 = controller__setUserEventsEnabled__P20177_mk(s); + globals.instance___131038 = (undefined); + s.tmp_0 = controller__setUserEventsEnabled__P128058_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 1091; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = game_popScene__P20975_mk(s); + s.tmp_0 = game_popScene__P128856_mk(s); s.callLocIdx = 1092; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -13862,12 +13862,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_closeMenu__P21073.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__P128954.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__P21073_mk(s) { +function scene_systemMenu_closeMenu__P128954_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_closeMenu__P21073, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_closeMenu__P128954, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -13876,7 +13876,7 @@ function scene_systemMenu_closeMenu__P21073_mk(s) { -function scene_systemMenu_PauseMenu_dispose__P21072(s) { +function scene_systemMenu_PauseMenu_dispose__P128953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13891,15 +13891,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21066_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C128947_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__P18080_mk(s); + s.tmp_1 = helpers_arrayForEach__P125961_mk(s); r0 = s.arg0.fields["options"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P28550; + s.tmp_1.arg1 = scene_systemMenu_PauseMenu_dispose_inline__P136431; s.callLocIdx = 1067; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -13910,12 +13910,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose__P21072.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__P128953.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__P21072_mk(s) { +function scene_systemMenu_PauseMenu_dispose__P128953_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose__P21072, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose__P128953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -13926,7 +13926,7 @@ function scene_systemMenu_PauseMenu_dispose__P21072_mk(s) { -function scene_systemMenu_PauseMenu_dispose_inline__P28550(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P136431(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13940,7 +13940,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = scene_systemMenu_MenuOption_dispose__P21065_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_dispose__P128946_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1066; s.pc = 1; return s.tmp_0; case 1: @@ -13949,12 +13949,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_dispose_inline__P28550.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__P136431.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__P28550_mk(s) { +function scene_systemMenu_PauseMenu_dispose_inline__P136431_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P28550, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_dispose_inline__P136431, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -13964,7 +13964,7 @@ function scene_systemMenu_PauseMenu_dispose_inline__P28550_mk(s) { -function scene_systemMenu_MenuOption_dispose__P21065(s) { +function scene_systemMenu_MenuOption_dispose__P128946(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -13979,12 +13979,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21058_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C128939_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__P20399_mk(s); + s.tmp_1 = Sprite_destroy__P128280_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = undefined; @@ -13992,7 +13992,7 @@ switch (step) { s.callLocIdx = 986; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.tmp_0 = Sprite_destroy__P20399_mk(s); + s.tmp_0 = Sprite_destroy__P128280_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; @@ -14008,12 +14008,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_dispose__P21065.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__P128946.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__P21065_mk(s) { +function scene_systemMenu_MenuOption_dispose__P128946_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_dispose__P21065, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_dispose__P128946, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14024,7 +14024,7 @@ function scene_systemMenu_MenuOption_dispose__P21065_mk(s) { -function Sprite_destroy__P20399(s) { +function Sprite_destroy__P128280(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14041,7 +14041,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 2); @@ -14059,7 +14059,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__P21236_mk(s); + s.tmp_0 = effects_ParticleEffect_destroy__P129117_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg2; @@ -14069,7 +14069,7 @@ switch (step) { r0 = s.retval; { step = 4; continue; } case 3: - s.tmp_0 = Sprite__destroyCore__P20400_mk(s); + s.tmp_0 = Sprite__destroyCore__P128281_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 432; s.pc = 7; return s.tmp_0; case 7: @@ -14080,12 +14080,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_destroy__P20399.info = {"start":26493,"length":293,"line":859,"column":4,"endLine":868,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} +Sprite_destroy__P128280.info = {"start":26493,"length":293,"line":859,"column":4,"endLine":868,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"destroy","argumentNames":["this","effect","duration"]} -function Sprite_destroy__P20399_mk(s) { +function Sprite_destroy__P128280_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_destroy__P20399, depth: s.depth + 1, + parent: s, fn: Sprite_destroy__P128280, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14101,7 +14101,7 @@ function Sprite_destroy__P20399_mk(s) { -function effects_ParticleEffect_destroy__P21236(s) { +function effects_ParticleEffect_destroy__P129117(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14119,15 +14119,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C21233_VT)) failedCast(r0); - s.tmp_0 = Sprite_setFlag__P20390_mk(s); + if (!checkSubtype(r0, effects_ParticleEffect__C129114_VT)) failedCast(r0); + s.tmp_0 = Sprite_setFlag__P128271_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 7168; s.tmp_0.arg2 = true; s.callLocIdx = 1251; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = effects_ParticleEffect_start__P21235_mk(s); + s.tmp_0 = effects_ParticleEffect_start__P129116_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -14159,8 +14159,8 @@ switch (step) { // jmp value (already in r0) s.tmp_1 = r0; r0 = (s.arg1).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = effects_ImageEffect_applyTo__P21263_mk(s); - s.tmp_0.arg0 = globals.dissolve___21266; + s.tmp_0 = effects_ImageEffect_applyTo__P129144_mk(s); + s.tmp_0.arg0 = globals.dissolve___129147; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1253; s.pc = 5; return s.tmp_0; case 5: @@ -14169,12 +14169,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_destroy__P21236.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__P129117.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__P21236_mk(s) { +function effects_ParticleEffect_destroy__P129117_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_destroy__P21236, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_destroy__P129117, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14192,7 +14192,7 @@ function effects_ParticleEffect_destroy__P21236_mk(s) { -function dissolve_inline__P28695(s) { +function dissolve_inline__P136576(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14202,11 +14202,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___28698 = undefined; - s.x___28709 = undefined; - s.y___28715 = undefined; - s.w___28721 = undefined; - s.h___28725 = undefined; + s.i___136579 = undefined; + s.x___136590 = undefined; + s.y___136596 = undefined; + s.w___136602 = undefined; + s.h___136606 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -14219,13 +14219,13 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.i___28698 = (r0); + s.i___136579 = (r0); case 1: - r0 = (s.i___28698 > 0); + r0 = (s.i___136579 > 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P21034_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P128915_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -14233,8 +14233,8 @@ switch (step) { s.callLocIdx = 52; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___28709 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P21034_mk(s); + s.x___136590 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P128915_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -14242,56 +14242,56 @@ switch (step) { s.callLocIdx = 53; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___28715 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P21034_mk(s); + s.y___136596 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P128915_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 54; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.w___28721 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P21034_mk(s); + s.w___136602 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P128915_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 1; s.tmp_0.arg2 = 3; s.callLocIdx = 55; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.h___28725 = (r0); - s.tmp_0 = helpers_imageDrawRect__P19930_mk(s); + s.h___136606 = (r0); + s.tmp_0 = helpers_imageDrawRect__P127811_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.x___28709; - s.tmp_0.arg2 = s.y___28715; - s.tmp_0.arg3 = s.w___28721; - s.tmp_0.arg4 = s.h___28725; + s.tmp_0.arg1 = s.x___136590; + s.tmp_0.arg2 = s.y___136596; + s.tmp_0.arg3 = s.w___136602; + s.tmp_0.arg4 = s.h___136606; s.tmp_0.arg5 = 0; s.callLocIdx = 56; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = (s.i___28698 - 1); - s.i___28698 = (r0); + r0 = (s.i___136579 - 1); + s.i___136579 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -dissolve_inline__P28695.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__P136576.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__P28695_mk(s) { +function dissolve_inline__P136576_mk(s) { checkStack(s.depth); return { - parent: s, fn: dissolve_inline__P28695, depth: s.depth + 1, + parent: s, fn: dissolve_inline__P136576, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - i___28698: undefined, - x___28709: undefined, - y___28715: undefined, - w___28721: undefined, - h___28725: undefined, + i___136579: undefined, + x___136590: undefined, + y___136596: undefined, + w___136602: undefined, + h___136606: undefined, arg0: undefined, arg1: undefined, } } @@ -14300,7 +14300,7 @@ function dissolve_inline__P28695_mk(s) { -function helpers_imageDrawRect__P19930(s) { +function helpers_imageDrawRect__P127811(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14339,7 +14339,7 @@ switch (step) { s.arg3 = (r0); r0 = (s.arg4 - 1); s.arg4 = (r0); - s.tmp_0 = helpers_imageDrawLine__P19929_mk(s); + s.tmp_0 = helpers_imageDrawLine__P127810_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -14350,7 +14350,7 @@ switch (step) { s.callLocIdx = 83; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P19929_mk(s); + s.tmp_0 = helpers_imageDrawLine__P127810_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -14361,7 +14361,7 @@ switch (step) { s.callLocIdx = 84; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P19929_mk(s); + s.tmp_0 = helpers_imageDrawLine__P127810_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -14374,7 +14374,7 @@ switch (step) { s.callLocIdx = 85; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = helpers_imageDrawLine__P19929_mk(s); + s.tmp_0 = helpers_imageDrawLine__P127810_mk(s); s.tmp_0.arg0 = s.arg0; r0 = (s.arg1 + s.arg3); s.tmp_0.arg1 = r0; @@ -14392,12 +14392,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawRect__P19930.info = {"start":5945,"length":370,"line":185,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawRect__P127811.info = {"start":5945,"length":370,"line":185,"column":4,"endLine":193,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawRect","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawRect__P19930_mk(s) { +function helpers_imageDrawRect__P127811_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawRect__P19930, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawRect__P127811, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14413,7 +14413,7 @@ function helpers_imageDrawRect__P19930_mk(s) { -function helpers_imageDrawLine__P19929(s) { +function helpers_imageDrawLine__P127810(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14433,14 +14433,14 @@ switch (step) { s.lambdaArgs = null; } s.tmp_0 = r0 = s.arg0; - s.tmp_2 = helpers_pack__P22541_mk(s); + s.tmp_2 = helpers_pack__P130422_mk(s); s.tmp_2.arg0 = s.arg1; s.tmp_2.arg1 = s.arg2; s.callLocIdx = 81; s.pc = 1; return s.tmp_2; case 1: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = helpers_pack__P22541_mk(s); + s.tmp_4 = helpers_pack__P130422_mk(s); s.tmp_4.arg0 = s.arg3; s.tmp_4.arg1 = s.arg4; s.callLocIdx = 82; s.pc = 2; return s.tmp_4; @@ -14452,12 +14452,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imageDrawLine__P19929.info = {"start":5781,"length":159,"line":182,"column":4,"endLine":184,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} +helpers_imageDrawLine__P127810.info = {"start":5781,"length":159,"line":182,"column":4,"endLine":184,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageDrawLine","argumentNames":["img","x","y","w","h","c"]} -function helpers_imageDrawLine__P19929_mk(s) { +function helpers_imageDrawLine__P127810_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageDrawLine__P19929, depth: s.depth + 1, + parent: s, fn: helpers_imageDrawLine__P127810, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14476,7 +14476,7 @@ function helpers_imageDrawLine__P19929_mk(s) { -function Math_FastRandom_randomRange__P21034(s) { +function Math_FastRandom_randomRange__P128915(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14493,12 +14493,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C21030_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C128911_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__P21033_mk(s); + s.tmp_2 = Math_FastRandom_next__P128914_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 968; s.pc = 3; return s.tmp_2; case 3: @@ -14519,12 +14519,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_randomRange__P21034.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__P128915.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__P21034_mk(s) { +function Math_FastRandom_randomRange__P128915_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_randomRange__P21034, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_randomRange__P128915, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14541,7 +14541,7 @@ function Math_FastRandom_randomRange__P21034_mk(s) { -function Math_FastRandom_next__P21033(s) { +function Math_FastRandom_next__P128914(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14556,7 +14556,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C21030_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C128911_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["lfsr"]; s.tmp_3 = r0; @@ -14577,12 +14577,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_next__P21033.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__P128914.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__P21033_mk(s) { +function Math_FastRandom_next__P128914_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_next__P21033, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_next__P128914, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14599,7 +14599,7 @@ function Math_FastRandom_next__P21033_mk(s) { -function effects_ImageEffect_constructor__P21262(s) { +function effects_ImageEffect_constructor__P129143(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14616,11 +14616,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C21261_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C129142_VT)) failedCast(r0); r0 = (s.arg0).fields["effect"] = (s.arg2); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C21030_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C128911_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P21032_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P128913_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1261; s.pc = 1; return s.tmp_1; @@ -14633,12 +14633,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_constructor__P21262.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__P129143.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__P21262_mk(s) { +function effects_ImageEffect_constructor__P129143_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_constructor__P21262, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_constructor__P129143, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14651,7 +14651,7 @@ function effects_ImageEffect_constructor__P21262_mk(s) { -function effects_ImageEffect_applyTo__P21263(s) { +function effects_ImageEffect_applyTo__P129144(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14661,14 +14661,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.clonedImage___28874 = undefined; + s.clonedImage___136755 = 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__C21261_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C129142_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -14694,16 +14694,16 @@ switch (step) { r0 = s.arg1.fields["_image"]; s.tmp_5 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_5); - s.clonedImage___28874 = (r0); - s.tmp_0 = effects_ImageEffect_change__P21264_mk(s); + s.clonedImage___136755 = (r0); + s.tmp_0 = effects_ImageEffect_change__P129145_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.clonedImage___28874; + s.tmp_0.arg1 = s.clonedImage___136755; s.callLocIdx = 1264; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_setImage__P20362_mk(s); + s.tmp_0 = Sprite_setImage__P128243_mk(s); s.tmp_0.arg0 = s.arg1; - s.tmp_0.arg1 = s.clonedImage___28874; + s.tmp_0.arg1 = s.clonedImage___136755; s.callLocIdx = 1265; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; @@ -14712,12 +14712,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_applyTo__P21263.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__P129144.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__P21263_mk(s) { +function effects_ImageEffect_applyTo__P129144_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_applyTo__P21263, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_applyTo__P129144, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14725,7 +14725,7 @@ function effects_ImageEffect_applyTo__P21263_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - clonedImage___28874: undefined, + clonedImage___136755: undefined, arg0: undefined, arg1: undefined, } } @@ -14734,7 +14734,7 @@ function effects_ImageEffect_applyTo__P21263_mk(s) { -function effects_ImageEffect_change__P21264(s) { +function effects_ImageEffect_change__P129145(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14750,7 +14750,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ImageEffect__C21261_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ImageEffect__C129142_VT)) failedCast(r0); s.tmp_0 = if_effect_3_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; @@ -14771,12 +14771,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ImageEffect_change__P21264.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__P129145.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__P21264_mk(s) { +function effects_ImageEffect_change__P129145_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ImageEffect_change__P21264, depth: s.depth + 1, + parent: s, fn: effects_ImageEffect_change__P129145, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14787,7 +14787,7 @@ function effects_ImageEffect_change__P21264_mk(s) { -function Sprite_setImage__P20362(s) { +function Sprite_setImage__P128243(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14803,7 +14803,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -14825,9 +14825,9 @@ switch (step) { case 3: case 4: r0 = (s.arg0).fields["_image"] = (s.arg1); - s.tmp_0 = Sprite__C20312_v5_1_mk(s); + s.tmp_0 = Sprite__C128193_v5_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C20312_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C128193_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: @@ -14837,12 +14837,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setImage__P20362.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__P128243.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__P20362_mk(s) { +function Sprite_setImage__P128243_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setImage__P20362, depth: s.depth + 1, + parent: s, fn: Sprite_setImage__P128243, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14856,7 +14856,7 @@ function Sprite_setImage__P20362_mk(s) { -function Sprite_recalcSize__P22712(s) { +function Sprite_recalcSize__P130593(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14871,13 +14871,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20341_mk(s); + s.tmp_6 = Sprite_sx__P128222_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 343; s.pc = 1; return s.tmp_6; case 1: @@ -14895,7 +14895,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.tmp_4); s.tmp_3 = r0; - s.tmp_6 = Sprite_sy__P20343_mk(s); + s.tmp_6 = Sprite_sy__P128224_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 345; s.pc = 2; return s.tmp_6; case 2: @@ -14908,7 +14908,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__P20364_mk(s); + s.tmp_0 = Sprite_resetHitbox__P128245_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 347; s.pc = 3; return s.tmp_0; case 3: @@ -14917,12 +14917,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_recalcSize__P22712.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__P130593.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__P22712_mk(s) { +function Sprite_recalcSize__P130593_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_recalcSize__P22712, depth: s.depth + 1, + parent: s, fn: Sprite_recalcSize__P130593, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -14939,7 +14939,7 @@ function Sprite_recalcSize__P22712_mk(s) { -function Sprite_resetHitbox__P20364(s) { +function Sprite_resetHitbox__P128245(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14954,11 +14954,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = (s.arg0).fields["_hitbox"] = (null); - s.tmp_0 = Sprite__C20312_v4_1_mk(s); + s.tmp_0 = Sprite__C128193_v4_1_mk(s); s.tmp_0.arg0 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C20312_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, Sprite__C128193_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: @@ -14967,12 +14967,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_resetHitbox__P20364.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__P128245.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__P20364_mk(s) { +function Sprite_resetHitbox__P128245_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_resetHitbox__P20364, depth: s.depth + 1, + parent: s, fn: Sprite_resetHitbox__P128245, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -14982,7 +14982,7 @@ function Sprite_resetHitbox__P20364_mk(s) { -function Sprite_setHitbox__P20365(s) { +function Sprite_setHitbox__P128246(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -14997,12 +14997,12 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20193_mk(s); + s.tmp_1 = game_Hitbox_updateIfInvalid__P128074_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; s.callLocIdx = 341; s.pc = 3; return s.tmp_1; @@ -15011,7 +15011,7 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_0 = r0 = s.arg0; - s.tmp_2 = game_calculateHitBox__P20195_mk(s); + s.tmp_2 = game_calculateHitBox__P128076_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 342; s.pc = 4; return s.tmp_2; case 4: @@ -15023,12 +15023,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setHitbox__P20365.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__P128246.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__P20365_mk(s) { +function Sprite_setHitbox__P128246_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setHitbox__P20365, depth: s.depth + 1, + parent: s, fn: Sprite_setHitbox__P128246, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15040,7 +15040,7 @@ function Sprite_setHitbox__P20365_mk(s) { -function game_calculateHitBox__P20195(s) { +function game_calculateHitBox__P128076(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15050,17 +15050,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___28939 = undefined; - s.minX___28942 = undefined; - s.minY___28946 = undefined; - s.maxX___28950 = undefined; - s.maxY___28952 = undefined; - s.c___28954 = undefined; - s.fxc___28955 = undefined; - s.r___28962 = undefined; - s.fxr___28963 = undefined; - s.width___29027 = undefined; - s.height___29035 = undefined; + s.i___136820 = undefined; + s.minX___136823 = undefined; + s.minY___136827 = undefined; + s.maxX___136831 = undefined; + s.maxY___136833 = undefined; + s.c___136835 = undefined; + s.fxc___136836 = undefined; + s.r___136843 = undefined; + s.fxr___136844 = undefined; + s.width___136908 = undefined; + s.height___136916 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -15072,7 +15072,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = game_Hitbox_isValid__P20191_mk(s); + s.tmp_1 = game_Hitbox_isValid__P128072_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_1.arg0 = r0; s.callLocIdx = 275; s.pc = 12; return s.tmp_1; @@ -15088,137 +15088,137 @@ switch (step) { case 3: case 4: r0 = s.arg0.fields["_image"]; - s.i___28939 = (r0); - r0 = pxsim_ImageMethods.width(s.i___28939); + s.i___136820 = (r0); + r0 = pxsim_ImageMethods.width(s.i___136820); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minX___28942 = (r0); - r0 = pxsim_ImageMethods.height(s.i___28939); + s.minX___136823 = (r0); + r0 = pxsim_ImageMethods.height(s.i___136820); s.tmp_0 = r0; r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.minY___28946 = (r0); - s.maxX___28950 = (0); - s.maxY___28952 = (0); - s.c___28954 = (0); - s.fxc___28955 = (0); + s.minY___136827 = (r0); + s.maxX___136831 = (0); + s.maxY___136833 = (0); + s.c___136835 = (0); + s.fxc___136836 = (0); case 5: - s.tmp_1 = r0 = s.c___28954; - r0 = pxsim_ImageMethods.width(s.i___28939); + s.tmp_1 = r0 = s.c___136835; + r0 = pxsim_ImageMethods.width(s.i___136820); 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___28962 = (0); - s.fxr___28963 = (0); + s.r___136843 = (0); + s.fxr___136844 = (0); case 6: - s.tmp_1 = r0 = s.r___28962; - r0 = pxsim_ImageMethods.height(s.i___28939); + s.tmp_1 = r0 = s.r___136843; + r0 = pxsim_ImageMethods.height(s.i___136820); 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___28939, s.c___28954, s.r___28962); + r0 = pxsim_ImageMethods.getPixel(s.i___136820, s.c___136835, s.r___136843); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Fx_min__P18137_mk(s); - s.tmp_4.arg0 = s.minX___28942; - s.tmp_4.arg1 = s.fxc___28955; + s.tmp_4 = Fx_min__P126018_mk(s); + s.tmp_4.arg0 = s.minX___136823; + s.tmp_4.arg1 = s.fxc___136836; s.callLocIdx = 279; s.pc = 13; return s.tmp_4; case 13: r0 = s.retval; - s.minX___28942 = (r0); - s.tmp_0 = Fx_min__P18137_mk(s); - s.tmp_0.arg0 = s.minY___28946; - s.tmp_0.arg1 = s.fxr___28963; + s.minX___136823 = (r0); + s.tmp_0 = Fx_min__P126018_mk(s); + s.tmp_0.arg0 = s.minY___136827; + s.tmp_0.arg1 = s.fxr___136844; s.callLocIdx = 280; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.minY___28946 = (r0); - s.tmp_0 = Fx_max__P18138_mk(s); - s.tmp_0.arg0 = s.maxX___28950; - s.tmp_0.arg1 = s.fxc___28955; + s.minY___136827 = (r0); + s.tmp_0 = Fx_max__P126019_mk(s); + s.tmp_0.arg0 = s.maxX___136831; + s.tmp_0.arg1 = s.fxc___136836; s.callLocIdx = 281; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - s.maxX___28950 = (r0); - s.tmp_0 = Fx_max__P18138_mk(s); - s.tmp_0.arg0 = s.maxY___28952; - s.tmp_0.arg1 = s.fxr___28963; + s.maxX___136831 = (r0); + s.tmp_0 = Fx_max__P126019_mk(s); + s.tmp_0.arg0 = s.maxY___136833; + s.tmp_0.arg1 = s.fxr___136844; s.callLocIdx = 282; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; - s.maxY___28952 = (r0); + s.maxY___136833 = (r0); case 7: case 8: - r0 = (s.r___28962 + 1); - s.r___28962 = (r0); - r0 = (s.fxr___28963 + 256); + r0 = (s.r___136843 + 1); + s.r___136843 = (r0); + r0 = (s.fxr___136844 + 256); s.tmp_0 = r0; - s.fxr___28963 = (r0); + s.fxr___136844 = (r0); r0 = s.tmp_0; { step = 6; continue; } case 9: - r0 = (s.c___28954 + 1); - s.c___28954 = (r0); - r0 = (s.fxc___28955 + 256); + r0 = (s.c___136835 + 1); + s.c___136835 = (r0); + r0 = (s.fxc___136836 + 256); s.tmp_0 = r0; - s.fxc___28955 = (r0); + s.fxc___136836 = (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___28942, s.tmp_0); + r0 = pxsim.Math_.imul(s.minX___136823, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minX___28942 = (r0); + s.minX___136823 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.minY___28946, s.tmp_0); + r0 = pxsim.Math_.imul(s.minY___136827, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.minY___28946 = (r0); + s.minY___136827 = (r0); r0 = s.arg0.fields["_sx"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxX___28950, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxX___136831, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxX___28950 = (r0); + s.maxX___136831 = (r0); r0 = s.arg0.fields["_sy"]; s.tmp_0 = r0; - r0 = pxsim.Math_.imul(s.maxY___28952, s.tmp_0); + r0 = pxsim.Math_.imul(s.maxY___136833, s.tmp_0); s.tmp_1 = r0; r0 = (s.tmp_1 >> 8); - s.maxY___28952 = (r0); - r0 = (s.maxX___28950 - s.minX___28942); + s.maxY___136833 = (r0); + r0 = (s.maxX___136831 - s.minX___136823); s.tmp_0 = r0; r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.width___29027 = (r0); - r0 = (s.maxY___28952 - s.minY___28946); + s.width___136908 = (r0); + r0 = (s.maxY___136833 - s.minY___136827); s.tmp_0 = r0; r0 = s.arg0.fields["_sy"]; s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); - s.height___29035 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C20179_VT); + s.height___136916 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(game_Hitbox__C128060_VT); s.tmp_0 = r0; - s.tmp_1 = game_Hitbox_constructor__P20186_mk(s); + s.tmp_1 = game_Hitbox_constructor__P128067_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; - s.tmp_1.arg2 = s.width___29027; - s.tmp_1.arg3 = s.height___29035; - r0 = (s.minX___28942 & -256); + s.tmp_1.arg2 = s.width___136908; + s.tmp_1.arg3 = s.height___136916; + r0 = (s.minX___136823 & -256); s.tmp_1.arg4 = r0; - r0 = (s.minY___28946 & -256); + r0 = (s.minY___136827 & -256); s.tmp_1.arg5 = r0; s.callLocIdx = 295; s.pc = 17; return s.tmp_1; case 17: @@ -15228,29 +15228,29 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_calculateHitBox__P20195.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__P128076.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__P20195_mk(s) { +function game_calculateHitBox__P128076_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_calculateHitBox__P20195, depth: s.depth + 1, + parent: s, fn: game_calculateHitBox__P128076, 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___28939: undefined, - minX___28942: undefined, - minY___28946: undefined, - maxX___28950: undefined, - maxY___28952: undefined, - c___28954: undefined, - fxc___28955: undefined, - r___28962: undefined, - fxr___28963: undefined, - width___29027: undefined, - height___29035: undefined, + i___136820: undefined, + minX___136823: undefined, + minY___136827: undefined, + maxX___136831: undefined, + maxY___136833: undefined, + c___136835: undefined, + fxc___136836: undefined, + r___136843: undefined, + fxr___136844: undefined, + width___136908: undefined, + height___136916: undefined, arg0: undefined, } } @@ -15258,7 +15258,7 @@ function game_calculateHitBox__P20195_mk(s) { -function game_Hitbox_isValid__P20191(s) { +function game_Hitbox_isValid__P128072(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15273,10 +15273,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20179_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C128060_VT)) failedCast(r0); r0 = s.arg0.fields["hash"]; s.tmp_0 = r0; - s.tmp_2 = Sprite_calcDimensionalHash__P20363_mk(s); + s.tmp_2 = Sprite_calcDimensionalHash__P128244_mk(s); r0 = s.arg0.fields["parent"]; s.tmp_2.arg0 = r0; s.callLocIdx = 228; s.pc = 1; return s.tmp_2; @@ -15287,12 +15287,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_isValid__P20191.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__P128072.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__P20191_mk(s) { +function game_Hitbox_isValid__P128072_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_isValid__P20191, depth: s.depth + 1, + parent: s, fn: game_Hitbox_isValid__P128072, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15304,7 +15304,7 @@ function game_Hitbox_isValid__P20191_mk(s) { -function Sprite_calcDimensionalHash__P20363(s) { +function Sprite_calcDimensionalHash__P128244(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15319,7 +15319,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; s.tmp_2 = r0; r0 = pxsim_ImageMethods.revision(s.tmp_2); @@ -15342,12 +15342,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_calcDimensionalHash__P20363.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__P128244.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__P20363_mk(s) { +function Sprite_calcDimensionalHash__P128244_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_calcDimensionalHash__P20363, depth: s.depth + 1, + parent: s, fn: Sprite_calcDimensionalHash__P128244, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15365,7 +15365,7 @@ function Sprite_calcDimensionalHash__P20363_mk(s) { -function Fx_toIntShifted__P18127(s) { +function Fx_toIntShifted__P126008(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15387,12 +15387,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_toIntShifted__P18127.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__P126008.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__P18127_mk(s) { +function Fx_toIntShifted__P126008_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_toIntShifted__P18127, depth: s.depth + 1, + parent: s, fn: Fx_toIntShifted__P126008, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15404,7 +15404,7 @@ function Fx_toIntShifted__P18127_mk(s) { -function game_Hitbox_constructor__P20186(s) { +function game_Hitbox_constructor__P128067(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15424,9 +15424,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20179_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C128060_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Sprite_calcDimensionalHash__P20363_mk(s); + s.tmp_2 = Sprite_calcDimensionalHash__P128244_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 219; s.pc = 1; return s.tmp_2; case 1: @@ -15442,12 +15442,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_constructor__P20186.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__P128067.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__P20186_mk(s) { +function game_Hitbox_constructor__P128067_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_constructor__P20186, depth: s.depth + 1, + parent: s, fn: game_Hitbox_constructor__P128067, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -15464,7 +15464,7 @@ function game_Hitbox_constructor__P20186_mk(s) { -function Fx_floor__P18139(s) { +function Fx_floor__P126020(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15482,12 +15482,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_floor__P18139.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__P126020.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__P18139_mk(s) { +function Fx_floor__P126020_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_floor__P18139, depth: s.depth + 1, + parent: s, fn: Fx_floor__P126020, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15496,7 +15496,7 @@ function Fx_floor__P18139_mk(s) { -function Fx_max__P18138(s) { +function Fx_max__P126019(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15527,12 +15527,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_max__P18138.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__P126019.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__P18138_mk(s) { +function Fx_max__P126019_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_max__P18138, depth: s.depth + 1, + parent: s, fn: Fx_max__P126019, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15543,7 +15543,7 @@ function Fx_max__P18138_mk(s) { -function Fx_min__P18137(s) { +function Fx_min__P126018(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15574,12 +15574,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_min__P18137.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__P126018.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__P18137_mk(s) { +function Fx_min__P126018_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_min__P18137, depth: s.depth + 1, + parent: s, fn: Fx_min__P126018, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15590,7 +15590,7 @@ function Fx_min__P18137_mk(s) { -function Fx_mul__P18131(s) { +function Fx_mul__P126012(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15611,12 +15611,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_mul__P18131.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__P126012.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__P18131_mk(s) { +function Fx_mul__P126012_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_mul__P18131, depth: s.depth + 1, + parent: s, fn: Fx_mul__P126012, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15627,7 +15627,7 @@ function Fx_mul__P18131_mk(s) { -function Fx_sub__P18130(s) { +function Fx_sub__P126011(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15646,12 +15646,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_sub__P18130.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__P126011.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__P18130_mk(s) { +function Fx_sub__P126011_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_sub__P18130, depth: s.depth + 1, + parent: s, fn: Fx_sub__P126011, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -15661,7 +15661,7 @@ function Fx_sub__P18130_mk(s) { -function game_Hitbox_updateIfInvalid__P20193(s) { +function game_Hitbox_updateIfInvalid__P128074(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15671,24 +15671,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.newHitBox___29136 = undefined; - s.oMinX___29141 = undefined; - s.oMinY___29144 = undefined; - s.oMaxX___29147 = undefined; - s.oMaxY___29153 = undefined; - s.nMinX___29159 = undefined; - s.nMinY___29162 = undefined; - s.nMaxX___29165 = undefined; - s.nMaxY___29171 = undefined; - s.xDiff___29177 = undefined; - s.yDiff___29188 = undefined; + s.newHitBox___137017 = undefined; + s.oMinX___137022 = undefined; + s.oMinY___137025 = undefined; + s.oMaxX___137028 = undefined; + s.oMaxY___137034 = undefined; + s.nMinX___137040 = undefined; + s.nMinY___137043 = undefined; + s.nMaxX___137046 = undefined; + s.nMaxY___137052 = undefined; + s.xDiff___137058 = undefined; + s.yDiff___137069 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20179_VT)) failedCast(r0); - s.tmp_1 = game_Hitbox_isValid__P20191_mk(s); + if (!checkSubtype(r0, game_Hitbox__C128060_VT)) failedCast(r0); + s.tmp_1 = game_Hitbox_isValid__P128072_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 233; s.pc = 8; return s.tmp_1; case 8: @@ -15699,90 +15699,90 @@ switch (step) { { step = 7; continue; } case 1: case 2: - s.tmp_2 = game_calculateHitBox__P20195_mk(s); + s.tmp_2 = game_calculateHitBox__P128076_mk(s); r0 = s.arg0.fields["parent"]; s.tmp_2.arg0 = r0; s.callLocIdx = 234; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; - s.newHitBox___29136 = (r0); + s.newHitBox___137017 = (r0); r0 = s.arg0.fields["ox"]; - s.oMinX___29141 = (r0); + s.oMinX___137022 = (r0); r0 = s.arg0.fields["oy"]; - s.oMinY___29144 = (r0); + s.oMinY___137025 = (r0); r0 = s.arg0.fields["width"]; s.tmp_0 = r0; - r0 = (s.oMinX___29141 + s.tmp_0); - s.oMaxX___29147 = (r0); + r0 = (s.oMinX___137022 + s.tmp_0); + s.oMaxX___137028 = (r0); r0 = s.arg0.fields["height"]; s.tmp_0 = r0; - r0 = (s.oMinY___29144 + s.tmp_0); - s.oMaxY___29153 = (r0); - r0 = s.newHitBox___29136.fields["ox"]; - s.nMinX___29159 = (r0); - r0 = s.newHitBox___29136.fields["oy"]; - s.nMinY___29162 = (r0); - r0 = s.newHitBox___29136.fields["width"]; - s.tmp_0 = r0; - r0 = (s.nMinX___29159 + s.tmp_0); - s.nMaxX___29165 = (r0); - r0 = s.newHitBox___29136.fields["height"]; - s.tmp_0 = r0; - r0 = (s.nMinY___29162 + s.tmp_0); - s.nMaxY___29171 = (r0); - s.tmp_1 = Fx_abs__P18136_mk(s); - r0 = (s.oMinX___29141 - s.nMinX___29159); + r0 = (s.oMinY___137025 + s.tmp_0); + s.oMaxY___137034 = (r0); + r0 = s.newHitBox___137017.fields["ox"]; + s.nMinX___137040 = (r0); + r0 = s.newHitBox___137017.fields["oy"]; + s.nMinY___137043 = (r0); + r0 = s.newHitBox___137017.fields["width"]; + s.tmp_0 = r0; + r0 = (s.nMinX___137040 + s.tmp_0); + s.nMaxX___137046 = (r0); + r0 = s.newHitBox___137017.fields["height"]; + s.tmp_0 = r0; + r0 = (s.nMinY___137043 + s.tmp_0); + s.nMaxY___137052 = (r0); + s.tmp_1 = Fx_abs__P126017_mk(s); + r0 = (s.oMinX___137022 - s.nMinX___137040); s.tmp_1.arg0 = r0; s.callLocIdx = 240; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P18136_mk(s); - r0 = (s.oMaxX___29147 - s.nMaxX___29165); + s.tmp_3 = Fx_abs__P126017_mk(s); + r0 = (s.oMaxX___137028 - s.nMaxX___137046); s.tmp_3.arg0 = r0; s.callLocIdx = 242; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.xDiff___29177 = (r0); - s.tmp_1 = Fx_abs__P18136_mk(s); - r0 = (s.oMinY___29144 - s.nMinY___29162); + s.xDiff___137058 = (r0); + s.tmp_1 = Fx_abs__P126017_mk(s); + r0 = (s.oMinY___137025 - s.nMinY___137043); s.tmp_1.arg0 = r0; s.callLocIdx = 245; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Fx_abs__P18136_mk(s); - r0 = (s.oMaxY___29153 - s.nMaxY___29171); + s.tmp_3 = Fx_abs__P126017_mk(s); + r0 = (s.oMaxY___137034 - s.nMaxY___137052); s.tmp_3.arg0 = r0; s.callLocIdx = 247; s.pc = 13; return s.tmp_3; case 13: r0 = s.retval; s.tmp_2 = r0; r0 = (s.tmp_0 + s.tmp_2); - s.yDiff___29188 = (r0); - r0 = (s.xDiff___29177 > 512); + s.yDiff___137069 = (r0); + r0 = (s.xDiff___137058 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - r0 = (s.arg0).fields["ox"] = (s.nMinX___29159); - r0 = s.newHitBox___29136.fields["width"]; + r0 = (s.arg0).fields["ox"] = (s.nMinX___137040); + r0 = s.newHitBox___137017.fields["width"]; s.tmp_0 = r0; r0 = (s.arg0).fields["width"] = (s.tmp_0); case 3: case 4: - r0 = (s.yDiff___29188 > 512); + r0 = (s.yDiff___137069 > 512); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - r0 = (s.arg0).fields["oy"] = (s.nMinY___29162); - r0 = s.newHitBox___29136.fields["height"]; + r0 = (s.arg0).fields["oy"] = (s.nMinY___137043); + r0 = s.newHitBox___137017.fields["height"]; s.tmp_0 = r0; r0 = (s.arg0).fields["height"] = (s.tmp_0); case 5: case 6: - r0 = s.newHitBox___29136.fields["hash"]; + r0 = s.newHitBox___137017.fields["hash"]; s.tmp_0 = r0; r0 = (s.arg0).fields["hash"] = (s.tmp_0); case 7: @@ -15790,28 +15790,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_updateIfInvalid__P20193.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__P128074.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__P20193_mk(s) { +function game_Hitbox_updateIfInvalid__P128074_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_updateIfInvalid__P20193, depth: s.depth + 1, + parent: s, fn: game_Hitbox_updateIfInvalid__P128074, 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___29136: undefined, - oMinX___29141: undefined, - oMinY___29144: undefined, - oMaxX___29147: undefined, - oMaxY___29153: undefined, - nMinX___29159: undefined, - nMinY___29162: undefined, - nMaxX___29165: undefined, - nMaxY___29171: undefined, - xDiff___29177: undefined, - yDiff___29188: undefined, + newHitBox___137017: undefined, + oMinX___137022: undefined, + oMinY___137025: undefined, + oMaxX___137028: undefined, + oMaxY___137034: undefined, + nMinX___137040: undefined, + nMinY___137043: undefined, + nMaxX___137046: undefined, + nMaxY___137052: undefined, + xDiff___137058: undefined, + yDiff___137069: undefined, arg0: undefined, } } @@ -15819,7 +15819,7 @@ function game_Hitbox_updateIfInvalid__P20193_mk(s) { -function Fx_abs__P18136(s) { +function Fx_abs__P126017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15849,12 +15849,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_abs__P18136.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__P126017.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__P18136_mk(s) { +function Fx_abs__P126017_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_abs__P18136, depth: s.depth + 1, + parent: s, fn: Fx_abs__P126017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15864,7 +15864,7 @@ function Fx_abs__P18136_mk(s) { -function Sprite_sy__P20343(s) { +function Sprite_sy__P128224(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15879,20 +15879,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20343.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__P20343.isGetter = true; +Sprite_sy__P128224.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__P128224.isGetter = true; -function Sprite_sy__P20343_mk(s) { +function Sprite_sy__P128224_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_sy__P20343, depth: s.depth + 1, + parent: s, fn: Sprite_sy__P128224, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15902,7 +15902,7 @@ function Sprite_sy__P20343_mk(s) { -function Sprite_sx__P20341(s) { +function Sprite_sx__P128222(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15917,20 +15917,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20341.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__P20341.isGetter = true; +Sprite_sx__P128222.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__P128222.isGetter = true; -function Sprite_sx__P20341_mk(s) { +function Sprite_sx__P128222_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_sx__P20341, depth: s.depth + 1, + parent: s, fn: Sprite_sx__P128222, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -15940,7 +15940,7 @@ function Sprite_sx__P20341_mk(s) { -function Sprite_image__P20361(s) { +function Sprite_image__P128242(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15955,18 +15955,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = s.arg0.fields["_image"]; return leaveAccessor(s, r0) default: oops() } } } -Sprite_image__P20361.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__P20361.isGetter = true; +Sprite_image__P128242.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__P128242.isGetter = true; -function Sprite_image__P20361_mk(s) { +function Sprite_image__P128242_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_image__P20361, depth: s.depth + 1, + parent: s, fn: Sprite_image__P128242, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -15975,7 +15975,7 @@ function Sprite_image__P20361_mk(s) { -function effects_ParticleEffect_start__P21235(s) { +function effects_ParticleEffect_start__P129116(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -15985,7 +15985,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.src___29257 = undefined; + s.src___137138 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -15995,7 +15995,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C21233_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C129114_VT)) failedCast(r0); r0 = s.arg0.fields["sourceFactory"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -16031,9 +16031,9 @@ switch (step) { } case 10: r0 = s.retval; - s.src___29257 = (r0); - s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P21133_mk(s); - s.tmp_0.arg0 = s.src___29257; + s.src___137138 = (r0); + s.tmp_0 = particles_ParticleSource_setRelativeToCamera__P129014_mk(s); + s.tmp_0.arg0 = s.src___137138; r0 = pxsim_numops_toBoolDecr(s.arg4); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); @@ -16058,7 +16058,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_1 = r0; - r0 = (s.src___29257).fields["lifespan"] = (s.tmp_1); + r0 = (s.src___137138).fields["lifespan"] = (s.tmp_1); case 7: case 8: case 9: @@ -16066,19 +16066,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_start__P21235.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__P129116.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__P21235_mk(s) { +function effects_ParticleEffect_start__P129116_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_start__P21235, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_start__P129116, 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___29257: undefined, + src___137138: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -16090,7 +16090,7 @@ function effects_ParticleEffect_start__P21235_mk(s) { -function particles_ParticleSource_setRelativeToCamera__P21133(s) { +function particles_ParticleSource_setRelativeToCamera__P129014(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16106,7 +16106,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21122_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C129003_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -16132,12 +16132,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRelativeToCamera__P21133.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__P129014.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__P21133_mk(s) { +function particles_ParticleSource_setRelativeToCamera__P129014_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRelativeToCamera__P21133, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRelativeToCamera__P129014, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16152,7 +16152,7 @@ function particles_ParticleSource_setRelativeToCamera__P21133_mk(s) { -function Sprite_setFlag__P20390(s) { +function Sprite_setFlag__P128271(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16169,7 +16169,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 1; continue; } s.tmp_0 = r0 = s.arg0; @@ -16195,12 +16195,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setFlag__P20390.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__P128271.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__P20390_mk(s) { +function Sprite_setFlag__P128271_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setFlag__P20390, depth: s.depth + 1, + parent: s, fn: Sprite_setFlag__P128271, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16216,7 +16216,7 @@ function Sprite_setFlag__P20390_mk(s) { -function Sprite__destroyCore__P20400(s) { +function Sprite__destroyCore__P128281(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16226,25 +16226,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___28600 = undefined; + s.scene___136481 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20970_mk(s); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 433; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.scene___28600 = (r0); - r0 = s.scene___28600.fields["allSprites"]; + s.scene___136481 = (r0); + r0 = s.scene___136481.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); r0 = s.arg0.fields["_kind"]; @@ -16256,7 +16256,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___28600.fields["spritesByKind"]; + r0 = s.scene___136481.fields["spritesByKind"]; s.tmp_2 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_3 = r0; @@ -16266,8 +16266,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__P20441_mk(s); - r0 = s.scene___28600.fields["spritesByKind"]; + s.tmp_5 = sprites_SpriteSet_remove__P128322_mk(s); + r0 = s.scene___136481.fields["spritesByKind"]; s.tmp_6 = r0; r0 = s.arg0.fields["_kind"]; s.tmp_7 = r0; @@ -16279,11 +16279,11 @@ switch (step) { r0 = s.retval; case 3: case 4: - s.tmp_0 = PhysicsEngine__C20482_v1_2_mk(s); - r0 = s.scene___28600.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C128363_v1_2_mk(s); + r0 = s.scene___136481.fields["physicsEngine"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20482_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C128363_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: @@ -16307,15 +16307,15 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P28629); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P136510); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P28636); + r0 = pxsim_pxtcore_mkAction(1, Sprite__destroyCore_inline__P136517); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P18080_mk(s); - s.tmp_3 = helpers_arrayFilter__P18081_mk(s); - r0 = s.scene___28600.fields["destroyedHandlers"]; + s.tmp_2 = helpers_arrayForEach__P125961_mk(s); + s.tmp_3 = helpers_arrayFilter__P125962_mk(s); + r0 = s.scene___136481.fields["destroyedHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 440; s.pc = 12; return s.tmp_3; @@ -16330,12 +16330,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore__P20400.info = {"start":26792,"length":522,"line":870,"column":4,"endLine":882,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} +Sprite__destroyCore__P128281.info = {"start":26792,"length":522,"line":870,"column":4,"endLine":882,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"_destroyCore","argumentNames":["this"]} -function Sprite__destroyCore__P20400_mk(s) { +function Sprite__destroyCore__P128281_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore__P20400, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore__P128281, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16345,7 +16345,7 @@ function Sprite__destroyCore__P20400_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - scene___28600: undefined, + scene___136481: undefined, arg0: undefined, } } @@ -16353,7 +16353,7 @@ function Sprite__destroyCore__P20400_mk(s) { -function forEach_inline__P28629(s) { +function forEach_inline__P136510(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16375,12 +16375,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P28629.info = {"start":27237,"length":26,"line":880,"column":20,"endLine":880,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P136510.info = {"start":27237,"length":26,"line":880,"column":20,"endLine":880,"endColumn":46,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P28629_mk(s) { +function forEach_inline__P136510_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P28629, depth: s.depth + 1, + parent: s, fn: forEach_inline__P136510, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -16391,7 +16391,7 @@ function forEach_inline__P28629_mk(s) { -function Sprite__destroyCore_inline__P28636(s) { +function Sprite__destroyCore_inline__P136517(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16423,12 +16423,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite__destroyCore_inline__P28636.info = {"start":27286,"length":20,"line":881,"column":21,"endLine":881,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite__destroyCore_inline__P136517.info = {"start":27286,"length":20,"line":881,"column":21,"endLine":881,"endColumn":41,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite__destroyCore_inline__P28636_mk(s) { +function Sprite__destroyCore_inline__P136517_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite__destroyCore_inline__P28636, depth: s.depth + 1, + parent: s, fn: Sprite__destroyCore_inline__P136517, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16438,7 +16438,7 @@ function Sprite__destroyCore_inline__P28636_mk(s) { -function PhysicsEngine_removeSprite__P20485(s) { +function PhysicsEngine_removeSprite__P128366(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16454,17 +16454,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C20482_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C128363_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_removeSprite__P20485.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__P128366.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__P20485_mk(s) { +function PhysicsEngine_removeSprite__P128366_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_removeSprite__P20485, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_removeSprite__P128366, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -16474,7 +16474,7 @@ function PhysicsEngine_removeSprite__P20485_mk(s) { -function sprites_SpriteSet_remove__P20441(s) { +function sprites_SpriteSet_remove__P128322(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16484,26 +16484,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.i___28645 = undefined; + s.i___136526 = 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__C20434_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C128315_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.indexOf(s.tmp_0, s.arg1, undefined); - s.i___28645 = (r0); - r0 = (s.i___28645 > -1); + s.i___136526 = (r0); + r0 = (s.i___136526 > -1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_arraySplice__P18071_mk(s); + s.tmp_1 = helpers_arraySplice__P125952_mk(s); r0 = s.arg0.fields["_sprites"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.i___28645; + s.tmp_1.arg1 = s.i___136526; s.tmp_1.arg2 = 1; s.callLocIdx = 516; s.pc = 4; return s.tmp_1; case 4: @@ -16517,16 +16517,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_remove__P20441.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__P128322.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__P20441_mk(s) { +function sprites_SpriteSet_remove__P128322_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_remove__P20441, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_remove__P128322, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - i___28645: undefined, + i___136526: undefined, arg0: undefined, arg1: undefined, } } @@ -16535,7 +16535,7 @@ function sprites_SpriteSet_remove__P20441_mk(s) { -function Sprite_kind__P20378(s) { +function Sprite_kind__P128259(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16550,17 +16550,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = s.arg0.fields["_kind"]; return leave(s, r0) default: oops() } } } -Sprite_kind__P20378.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__P128259.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__P20378_mk(s) { +function Sprite_kind__P128259_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_kind__P20378, depth: s.depth + 1, + parent: s, fn: Sprite_kind__P128259, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -16569,7 +16569,7 @@ function Sprite_kind__P20378_mk(s) { -function game_popScene__P20975(s) { +function game_popScene__P128856(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16579,57 +16579,57 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___28311 = undefined; - s.tmp_0 = game_currentScene__P20970_mk(s); + s.oldScene___136192 = undefined; + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 953; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.oldScene___28311 = (r0); - s.tmp_0 = r0 = globals._sceneStack___22905; + s.oldScene___136192 = (r0); + s.tmp_0 = r0 = globals._sceneStack___130786; 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___22905); + r0 = pxsim_Array__length(globals._sceneStack___130786); 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___22905); - globals._scene___22904 = (r0); - s.tmp_0 = control_popEventContext__P18381_mk(s); + r0 = pxsim_Array_.pop(globals._sceneStack___130786); + globals._scene___130785 = (r0); + s.tmp_0 = control_popEventContext__P126262_mk(s); s.callLocIdx = 954; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; { step = 6; continue; } case 3: - r0 = pxsim_numops_toBoolDecr(globals._scene___22904); + r0 = pxsim_numops_toBoolDecr(globals._scene___130785); if (!r0) { step = 4; continue; } - s.tmp_0 = control_popEventContext__P18381_mk(s); + s.tmp_0 = control_popEventContext__P126262_mk(s); s.callLocIdx = 955; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - globals._scene___22904 = (undefined); + globals._scene___130785 = (undefined); case 4: case 5: case 6: - r0 = pxsim_numops_toBoolDecr(globals._scene___22904); + r0 = pxsim_numops_toBoolDecr(globals._scene___130785); if (!r0) { step = 7; continue; } - s.tmp_0 = particles_enableAll__P21154_mk(s); + s.tmp_0 = particles_enableAll__P129035_mk(s); s.callLocIdx = 956; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; case 7: case 8: - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___22907); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___130788); if (!r0) { step = 9; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P28332); + r0 = pxsim_pxtcore_mkAction(1, game_popScene_inline__P136213); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___28311); - s.tmp_1 = helpers_arrayForEach__P18080_mk(s); - s.tmp_1.arg0 = globals._scenePopHandlers___22907; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___136192); + s.tmp_1 = helpers_arrayForEach__P125961_mk(s); + s.tmp_1.arg0 = globals._scenePopHandlers___130788; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 958; s.pc = 15; return s.tmp_1; case 15: @@ -16640,23 +16640,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene__P20975.info = {"start":5133,"length":548,"line":161,"column":4,"endLine":179,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"popScene","argumentNames":[]} +game_popScene__P128856.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__P20975_mk(s) { +function game_popScene__P128856_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene__P20975, depth: s.depth + 1, + parent: s, fn: game_popScene__P128856, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___28311: undefined, + oldScene___136192: undefined, } } -function game_popScene_inline__P28332(s) { +function game_popScene_inline__P136213(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16681,12 +16681,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_popScene_inline__P28332.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__P136213.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__P28332_mk(s) { +function game_popScene_inline__P136213_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_popScene_inline__P28332, depth: s.depth + 1, + parent: s, fn: game_popScene_inline__P136213, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16696,7 +16696,7 @@ function game_popScene_inline__P28332_mk(s) { -function particles_enableAll__P21154(s) { +function particles_enableAll__P129035(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16706,21 +16706,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___28336 = undefined; - s.tmp_0 = particles_particleSources__P23254_mk(s); + s.sources___136217 = undefined; + s.tmp_0 = particles_particleSources__P131135_mk(s); s.callLocIdx = 1195; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___28336 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___28336); + s.sources___136217 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___136217); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P18080_mk(s); - s.tmp_0.arg0 = s.sources___28336; - s.tmp_0.arg1 = particles_enableAll_inline__P28342; + s.tmp_0 = helpers_arrayForEach__P125961_mk(s); + s.tmp_0.arg0 = s.sources___136217; + s.tmp_0.arg1 = particles_enableAll_inline__P136223; s.callLocIdx = 1197; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P23250_mk(s); + s.tmp_0 = particles_pruneParticles__P131131_mk(s); s.callLocIdx = 1198; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -16730,22 +16730,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll__P21154.info = {"start":12649,"length":193,"line":413,"column":4,"endLine":419,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"enableAll","argumentNames":[]} +particles_enableAll__P129035.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__P21154_mk(s) { +function particles_enableAll__P129035_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll__P21154, depth: s.depth + 1, + parent: s, fn: particles_enableAll__P129035, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___28336: undefined, + sources___136217: undefined, } } -function particles_enableAll_inline__P28342(s) { +function particles_enableAll_inline__P136223(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16759,7 +16759,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P21135_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P129016_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1196; s.pc = 1; return s.tmp_0; @@ -16769,12 +16769,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_enableAll_inline__P28342.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__P136223.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__P28342_mk(s) { +function particles_enableAll_inline__P136223_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_enableAll_inline__P28342, depth: s.depth + 1, + parent: s, fn: particles_enableAll_inline__P136223, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16784,7 +16784,7 @@ function particles_enableAll_inline__P28342_mk(s) { -function particles_particleSources__P23254(s) { +function particles_particleSources__P131135(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16794,33 +16794,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___28510 = undefined; - s.tmp_0 = game_currentScene__P20970_mk(s); + s.sources___136391 = undefined; + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 1199; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["particleSources"]; - s.sources___28510 = (r0); - r0 = s.sources___28510; + s.sources___136391 = (r0); + r0 = s.sources___136391; return leave(s, r0) default: oops() } } } -particles_particleSources__P23254.info = {"start":12848,"length":119,"line":421,"column":4,"endLine":424,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"particleSources","argumentNames":[]} +particles_particleSources__P131135.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__P23254_mk(s) { +function particles_particleSources__P131135_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_particleSources__P23254, depth: s.depth + 1, + parent: s, fn: particles_particleSources__P131135, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___28510: undefined, + sources___136391: undefined, } } -function particles_pruneParticles__P23250(s) { +function particles_pruneParticles__P131131(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16830,25 +16830,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___28347 = undefined; - s.tmp_0 = particles_particleSources__P23254_mk(s); + s.sources___136228 = undefined; + s.tmp_0 = particles_particleSources__P131135_mk(s); s.callLocIdx = 1182; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___28347 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___28347); + s.sources___136228 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___136228); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P18080_mk(s); - s.tmp_1 = helpers_arraySlice__P18086_mk(s); - s.tmp_1.arg0 = s.sources___28347; + s.tmp_0 = helpers_arrayForEach__P125961_mk(s); + s.tmp_1 = helpers_arraySlice__P125967_mk(s); + s.tmp_1.arg0 = s.sources___136228; s.tmp_1.arg1 = 0; - r0 = pxsim_Array__length(s.sources___28347); + r0 = pxsim_Array__length(s.sources___136228); s.tmp_1.arg2 = r0; s.callLocIdx = 1183; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = particles_pruneParticles_inline__P28356; + s.tmp_0.arg1 = particles_pruneParticles_inline__P136237; s.callLocIdx = 1185; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; @@ -16858,23 +16858,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles__P23250.info = {"start":9864,"length":156,"line":327,"column":4,"endLine":330,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"pruneParticles","argumentNames":[]} +particles_pruneParticles__P131131.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__P23250_mk(s) { +function particles_pruneParticles__P131131_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles__P23250, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles__P131131, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sources___28347: undefined, + sources___136228: undefined, } } -function particles_pruneParticles_inline__P28356(s) { +function particles_pruneParticles_inline__P136237(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16888,7 +16888,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource__prune__P21130_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P129011_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1184; s.pc = 1; return s.tmp_0; case 1: @@ -16897,12 +16897,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_pruneParticles_inline__P28356.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__P136237.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__P28356_mk(s) { +function particles_pruneParticles_inline__P136237_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_pruneParticles_inline__P28356, depth: s.depth + 1, + parent: s, fn: particles_pruneParticles_inline__P136237, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -16912,7 +16912,7 @@ function particles_pruneParticles_inline__P28356_mk(s) { -function particles_ParticleSource__prune__P21130(s) { +function particles_ParticleSource__prune__P129011(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -16922,15 +16922,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___28386 = undefined; - s.sources___28394 = undefined; - s.current___28408 = undefined; + s.scene___136267 = undefined; + s.sources___136275 = undefined; + s.current___136289 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21122_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C129003_VT)) failedCast(r0); case 1: r0 = s.arg0.fields["head"]; s.tmp_0 = r0; @@ -16973,36 +16973,36 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 13; continue; } - s.tmp_5 = game_currentScene__P20970_mk(s); + s.tmp_5 = game_currentScene__P128851_mk(s); s.callLocIdx = 1157; s.pc = 21; return s.tmp_5; case 21: r0 = s.retval; - s.scene___28386 = (r0); - r0 = pxsim_numops_toBoolDecr(s.scene___28386); + s.scene___136267 = (r0); + r0 = pxsim_numops_toBoolDecr(s.scene___136267); if (!r0) { step = 7; continue; } - r0 = s.scene___28386.fields["allSprites"]; + r0 = s.scene___136267.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg0); case 7: case 8: - s.tmp_0 = particles_particleSources__P23254_mk(s); + s.tmp_0 = particles_particleSources__P131135_mk(s); s.callLocIdx = 1158; s.pc = 22; return s.tmp_0; case 22: r0 = s.retval; - s.sources___28394 = (r0); - s.tmp_0 = r0 = s.sources___28394; + s.sources___136275 = (r0); + s.tmp_0 = r0 = s.sources___136275; 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___28394); + r0 = pxsim_Array__length(s.sources___136275); 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___28394, s.arg0); + r0 = pxsim_Array_.removeElement(s.sources___136275, s.arg0); case 11: case 12: r0 = s.arg0.fields["anchor"]; @@ -17011,35 +17011,35 @@ switch (step) { case 13: case 14: r0 = s.arg0.fields["head"]; - s.current___28408 = (r0); + s.current___136289 = (r0); case 15: - s.tmp_0 = r0 = s.current___28408; + s.tmp_0 = r0 = s.current___136289; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 16; continue; } r0 = s.tmp_0; { step = 17; continue; } case 16: - r0 = s.current___28408.fields["next"]; + r0 = s.current___136289.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___28408.fields["next"]; + r0 = s.current___136289.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___28408.fields["next"]; + r0 = s.current___136289.fields["next"]; r0 = r0.fields["next"]; s.tmp_4 = r0; - r0 = (s.current___28408).fields["next"] = (s.tmp_4); + r0 = (s.current___136289).fields["next"] = (s.tmp_4); { step = 19; continue; } case 18: - r0 = s.current___28408.fields["next"]; - s.current___28408 = (r0); + r0 = s.current___136289.fields["next"]; + s.current___136289 = (r0); case 19: { step = 15; continue; } case 20: @@ -17047,12 +17047,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__prune__P21130.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__P129011.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__P21130_mk(s) { +function particles_ParticleSource__prune__P129011_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__prune__P21130, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__prune__P129011, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17060,9 +17060,9 @@ function particles_ParticleSource__prune__P21130_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - scene___28386: undefined, - sources___28394: undefined, - current___28408: undefined, + scene___136267: undefined, + sources___136275: undefined, + current___136289: undefined, arg0: undefined, } } @@ -17070,7 +17070,7 @@ function particles_ParticleSource__prune__P21130_mk(s) { -function particles_ParticleSource_enabled__P21135(s) { +function particles_ParticleSource_enabled__P129016(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17086,9 +17086,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21122_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C129003_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = particles_ParticleSource_enabled__P21134_mk(s); + s.tmp_3 = particles_ParticleSource_enabled__P129015_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1161; s.pc = 5; return s.tmp_3; case 5: @@ -17119,12 +17119,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P21135.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__P129016.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__P21135_mk(s) { +function particles_ParticleSource_enabled__P129016_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P21135, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P129016, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17141,7 +17141,7 @@ function particles_ParticleSource_enabled__P21135_mk(s) { -function particles_ParticleSource_enabled__P21134(s) { +function particles_ParticleSource_enabled__P129015(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17156,7 +17156,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21122_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C129003_VT)) failedCast(r0); r0 = s.arg0.fields["pFlags"]; s.tmp_4 = r0; r0 = (s.tmp_4 & 1); @@ -17171,13 +17171,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -particles_ParticleSource_enabled__P21134.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__P21134.isGetter = true; +particles_ParticleSource_enabled__P129015.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__P129015.isGetter = true; -function particles_ParticleSource_enabled__P21134_mk(s) { +function particles_ParticleSource_enabled__P129015_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_enabled__P21134, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_enabled__P129015, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17191,7 +17191,7 @@ function particles_ParticleSource_enabled__P21134_mk(s) { -function control_popEventContext__P18381(s) { +function control_popEventContext__P126262(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17201,9 +17201,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctx___28517 = undefined; - s.context___28525 = undefined; - r0 = pxsim_numops_toBoolDecr(globals.eventContexts___22404); + s.ctx___136398 = undefined; + s.context___136406 = undefined; + r0 = pxsim_numops_toBoolDecr(globals.eventContexts___130285); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -17212,9 +17212,9 @@ switch (step) { { step = 7; continue; } case 1: case 2: - r0 = pxsim_Array_.pop(globals.eventContexts___22404); - s.ctx___28517 = (r0); - r0 = pxsim_numops_toBoolDecr(s.ctx___28517); + r0 = pxsim_Array_.pop(globals.eventContexts___130285); + s.ctx___136398 = (r0); + r0 = pxsim_numops_toBoolDecr(s.ctx___136398); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -17223,53 +17223,53 @@ switch (step) { { step = 7; continue; } case 3: case 4: - s.tmp_2 = control_EventContext_unregister__P18373_mk(s); - s.tmp_2.arg0 = s.ctx___28517; + s.tmp_2 = control_EventContext_unregister__P126254_mk(s); + s.tmp_2.arg0 = s.ctx___136398; s.callLocIdx = 56; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.tmp_0 = r0 = globals.eventContexts___22404; - r0 = pxsim_Array__length(globals.eventContexts___22404); + s.tmp_0 = r0 = globals.eventContexts___130285; + r0 = pxsim_Array__length(globals.eventContexts___130285); 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___28525 = (r0); - r0 = pxsim_numops_toBoolDecr(s.context___28525); + s.context___136406 = (r0); + r0 = pxsim_numops_toBoolDecr(s.context___136406); if (!r0) { step = 5; continue; } - s.tmp_0 = control_EventContext_register__P18372_mk(s); - s.tmp_0.arg0 = s.context___28525; + s.tmp_0 = control_EventContext_register__P126253_mk(s); + s.tmp_0.arg0 = s.context___136406; s.callLocIdx = 57; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; { step = 6; continue; } case 5: - globals.eventContexts___22404 = (undefined); + globals.eventContexts___130285 = (undefined); case 6: case 7: r0 = undefined; return leave(s, r0) default: oops() } } } -control_popEventContext__P18381.info = {"start":7755,"length":413,"line":236,"column":4,"endLine":250,"endColumn":5,"fileName":"pxt_modules/base/eventcontext.ts","functionName":"popEventContext","argumentNames":[]} +control_popEventContext__P126262.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__P18381_mk(s) { +function control_popEventContext__P126262_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_popEventContext__P18381, depth: s.depth + 1, + parent: s, fn: control_popEventContext__P126262, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - ctx___28517: undefined, - context___28525: undefined, + ctx___136398: undefined, + context___136406: undefined, } } -function control_EventContext_register__P18372(s) { +function control_EventContext_register__P126253(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17279,38 +17279,38 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.h___28538 = undefined; - s.unnamed148___U1 = undefined; - s.unnamed149___U2 = undefined; + s.h___136419 = undefined; + s.unnamed700___U1 = undefined; + s.unnamed701___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, control_EventContext__C18366_VT)) failedCast(r0); - s.h___28538 = (undefined); + if (!checkSubtype(r0, control_EventContext__C126247_VT)) failedCast(r0); + s.h___136419 = (undefined); r0 = s.arg0.fields["handlers"]; - s.unnamed148___U1 = (r0); - s.unnamed149___U2 = (0); + s.unnamed700___U1 = (r0); + s.unnamed701___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed149___U2; - r0 = pxsim_Array__length(s.unnamed148___U1); + s.tmp_0 = r0 = s.unnamed701___U2; + r0 = pxsim_Array__length(s.unnamed700___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed148___U1, s.unnamed149___U2); - s.h___28538 = (r0); - s.tmp_2 = control_EventHandler_register__P22397_mk(s); - s.tmp_2.arg0 = s.h___28538; + r0 = pxsim_Array__getAt(s.unnamed700___U1, s.unnamed701___U2); + s.h___136419 = (r0); + s.tmp_2 = control_EventHandler_register__P130278_mk(s); + s.tmp_2.arg0 = s.h___136419; s.callLocIdx = 47; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - r0 = (s.unnamed149___U2 + 1); - s.unnamed149___U2 = (r0); + r0 = (s.unnamed701___U2 + 1); + s.unnamed701___U2 = (r0); { step = 1; continue; } case 2: - s.unnamed148___U1 = (undefined); - s.tmp_0 = control_EventContext_registerFrameCallbacks__P22402_mk(s); + s.unnamed700___U1 = (undefined); + s.tmp_0 = control_EventContext_registerFrameCallbacks__P130283_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 48; s.pc = 4; return s.tmp_0; case 4: @@ -17319,19 +17319,19 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_EventContext_register__P18372.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__P126253.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__P18372_mk(s) { +function control_EventContext_register__P126253_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_EventContext_register__P18372, depth: s.depth + 1, + parent: s, fn: control_EventContext_register__P126253, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - h___28538: undefined, - unnamed148___U1: undefined, - unnamed149___U2: undefined, + h___136419: undefined, + unnamed700___U1: undefined, + unnamed701___U2: undefined, arg0: undefined, } } @@ -17339,7 +17339,7 @@ function control_EventContext_register__P18372_mk(s) { -function controller__setUserEventsEnabled__P20177(s) { +function controller__setUserEventsEnabled__P128058(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17353,17 +17353,17 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals._userEventsEnabled___22700 = (s.arg0); + globals._userEventsEnabled___130581 = (s.arg0); r0 = undefined; return leave(s, r0) default: oops() } } } -controller__setUserEventsEnabled__P20177.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__P128058.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__P20177_mk(s) { +function controller__setUserEventsEnabled__P128058_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller__setUserEventsEnabled__P20177, depth: s.depth + 1, + parent: s, fn: controller__setUserEventsEnabled__P128058, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17372,7 +17372,7 @@ function controller__setUserEventsEnabled__P20177_mk(s) { -function scene_systemMenu_MenuOption_constructor__P21059(s) { +function scene_systemMenu_MenuOption_constructor__P128940(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17390,7 +17390,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21058_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C128939_VT)) failedCast(r0); r0 = (s.arg0).fields["iconImage"] = (s.arg1); r0 = (s.arg0).fields["getText"] = (s.arg2); r0 = (s.arg0).fields["action"] = (s.arg3); @@ -17398,12 +17398,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_constructor__P21059.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__P128940.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__P21059_mk(s) { +function scene_systemMenu_MenuOption_constructor__P128940_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_constructor__P21059, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_constructor__P128940, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -17415,7 +17415,7 @@ function scene_systemMenu_MenuOption_constructor__P21059_mk(s) { -function helpers_screenBrightness__P19937(s) { +function helpers_screenBrightness__P127818(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17429,16 +17429,16 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = globals.brightness___19922; + r0 = globals.brightness___127803; return leave(s, r0) default: oops() } } } -helpers_screenBrightness__P19937.info = {"start":9161,"length":98,"line":288,"column":4,"endLine":290,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} +helpers_screenBrightness__P127818.info = {"start":9161,"length":98,"line":288,"column":4,"endLine":290,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"screenBrightness","argumentNames":["img"]} -function helpers_screenBrightness__P19937_mk(s) { +function helpers_screenBrightness__P127818_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_screenBrightness__P19937, depth: s.depth + 1, + parent: s, fn: helpers_screenBrightness__P127818, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -17447,7 +17447,7 @@ function helpers_screenBrightness__P19937_mk(s) { -function music_volume__P19592(s) { +function music_volume__P127473(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17457,20 +17457,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = music_initVolume__P22439_mk(s); + s.tmp_0 = music_initVolume__P130320_mk(s); s.callLocIdx = 61; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals.globalVolume___22435; + r0 = globals.globalVolume___130316; return leave(s, r0) default: oops() } } } -music_volume__P19592.info = {"start":1781,"length":90,"line":61,"column":4,"endLine":64,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"volume","argumentNames":[]} +music_volume__P127473.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__P19592_mk(s) { +function music_volume__P127473_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_volume__P19592, depth: s.depth + 1, + parent: s, fn: music_volume__P127473, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -17479,7 +17479,7 @@ function music_volume__P19592_mk(s) { -function music_initVolume__P22439(s) { +function music_initVolume__P130320(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17489,12 +17489,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.globalVolume___22435 === null); + r0 = (globals.globalVolume___130316 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.globalVolume___22435 = (0); - s.tmp_0 = music_setVolume__P19591_mk(s); + globals.globalVolume___130316 = (0); + s.tmp_0 = music_setVolume__P127472_mk(s); r0 = pxsim_pxtcore.getConfig(59, 128); s.tmp_0.arg0 = r0; s.callLocIdx = 58; s.pc = 3; return s.tmp_0; @@ -17506,12 +17506,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_initVolume__P22439.info = {"start":1014,"length":180,"line":33,"column":4,"endLine":38,"endColumn":5,"fileName":"pxt_modules/mixer/melody.ts","functionName":"initVolume","argumentNames":[]} +music_initVolume__P130320.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__P22439_mk(s) { +function music_initVolume__P130320_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_initVolume__P22439, depth: s.depth + 1, + parent: s, fn: music_initVolume__P130320, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -17520,7 +17520,7 @@ function music_initVolume__P22439_mk(s) { -function helpers_arrayConcat__P18084(s) { +function helpers_arrayConcat__P125965(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17530,74 +17530,74 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.out___29802 = undefined; - s.value___29805 = undefined; - s.unnamed138___U2 = undefined; - s.unnamed139___U3 = undefined; - s.value___29812 = undefined; - s.unnamed140___U5 = undefined; - s.unnamed141___U6 = undefined; + s.out___137683 = undefined; + s.value___137686 = undefined; + s.unnamed690___U2 = undefined; + s.unnamed691___U3 = undefined; + s.value___137693 = undefined; + s.unnamed692___U5 = undefined; + s.unnamed693___U6 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.out___29802 = (r0); - s.value___29805 = (undefined); - s.unnamed138___U2 = (s.arg0); - s.unnamed139___U3 = (0); + s.out___137683 = (r0); + s.value___137686 = (undefined); + s.unnamed690___U2 = (s.arg0); + s.unnamed691___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed139___U3; - r0 = pxsim_Array__length(s.unnamed138___U2); + s.tmp_0 = r0 = s.unnamed691___U3; + r0 = pxsim_Array__length(s.unnamed690___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 2; continue; } - r0 = pxsim_Array__getAt(s.unnamed138___U2, s.unnamed139___U3); - s.value___29805 = (r0); - r0 = pxsim_Array__push(s.out___29802, s.value___29805); - r0 = (s.unnamed139___U3 + 1); - s.unnamed139___U3 = (r0); + r0 = pxsim_Array__getAt(s.unnamed690___U2, s.unnamed691___U3); + s.value___137686 = (r0); + r0 = pxsim_Array__push(s.out___137683, s.value___137686); + r0 = (s.unnamed691___U3 + 1); + s.unnamed691___U3 = (r0); { step = 1; continue; } case 2: - s.unnamed138___U2 = (undefined); - s.value___29812 = (undefined); - s.unnamed140___U5 = (s.arg1); - s.unnamed141___U6 = (0); + s.unnamed690___U2 = (undefined); + s.value___137693 = (undefined); + s.unnamed692___U5 = (s.arg1); + s.unnamed693___U6 = (0); case 3: - s.tmp_0 = r0 = s.unnamed141___U6; - r0 = pxsim_Array__length(s.unnamed140___U5); + s.tmp_0 = r0 = s.unnamed693___U6; + r0 = pxsim_Array__length(s.unnamed692___U5); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed140___U5, s.unnamed141___U6); - s.value___29812 = (r0); - r0 = pxsim_Array__push(s.out___29802, s.value___29812); - r0 = (s.unnamed141___U6 + 1); - s.unnamed141___U6 = (r0); + r0 = pxsim_Array__getAt(s.unnamed692___U5, s.unnamed693___U6); + s.value___137693 = (r0); + r0 = pxsim_Array__push(s.out___137683, s.value___137693); + r0 = (s.unnamed693___U6 + 1); + s.unnamed693___U6 = (r0); { step = 3; continue; } case 4: - s.unnamed140___U5 = (undefined); - r0 = s.out___29802; + s.unnamed692___U5 = (undefined); + r0 = s.out___137683; return leave(s, r0) default: oops() } } } -helpers_arrayConcat__P18084.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__P125965.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__P18084_mk(s) { +function helpers_arrayConcat__P125965_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayConcat__P18084, depth: s.depth + 1, + parent: s, fn: helpers_arrayConcat__P125965, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - out___29802: undefined, - value___29805: undefined, - unnamed138___U2: undefined, - unnamed139___U3: undefined, - value___29812: undefined, - unnamed140___U5: undefined, - unnamed141___U6: undefined, + out___137683: undefined, + value___137686: undefined, + unnamed690___U2: undefined, + unnamed691___U3: undefined, + value___137693: undefined, + unnamed692___U5: undefined, + unnamed693___U6: undefined, arg0: undefined, arg1: undefined, } } @@ -17606,7 +17606,7 @@ function helpers_arrayConcat__P18084_mk(s) { -function scene_systemMenu_PauseMenu_show__P21068(s) { +function scene_systemMenu_PauseMenu_show__P128949(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17616,14 +17616,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___27742 = undefined; - s.i___27743 = undefined; + s.current___135623 = undefined; + s.i___135624 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21066_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C128947_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; s.tmp_2 = if_generator_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -17641,9 +17641,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_0).fields["options"] = (s.tmp_1); r0 = (s.arg0).fields["selection"] = (0); - s.i___27743 = (0); + s.i___135624 = (0); case 1: - s.tmp_1 = r0 = s.i___27743; + s.tmp_1 = r0 = s.i___135624; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -17654,22 +17654,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___27743); - s.current___27742 = (r0); - s.tmp_0 = scene_systemMenu_MenuOption_show__P21060_mk(s); - s.tmp_0.arg0 = s.current___27742; + r0 = pxsim_Array__getAt(s.tmp_4, s.i___135624); + s.current___135623 = (r0); + s.tmp_0 = scene_systemMenu_MenuOption_show__P128941_mk(s); + s.tmp_0.arg0 = s.current___135623; s.callLocIdx = 1000; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P21063_mk(s); - s.tmp_0.arg0 = s.current___27742; + s.tmp_0 = scene_systemMenu_MenuOption_setTheme__P128944_mk(s); + s.tmp_0.arg0 = s.current___135623; r0 = s.arg0.fields["theme"]; s.tmp_0.arg1 = r0; s.callLocIdx = 1001; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = scene_systemMenu_MenuOption_position__P21061_mk(s); - s.tmp_0.arg0 = s.current___27742; + s.tmp_0 = scene_systemMenu_MenuOption_position__P128942_mk(s); + s.tmp_0.arg0 = s.current___135623; s.tmp_2 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_2.arg0 = r0; @@ -17684,7 +17684,7 @@ switch (step) { case 7: r0 = s.retval; s.tmp_1 = r0; - s.tmp_5 = r0 = s.i___27743; + s.tmp_5 = r0 = s.i___135624; s.tmp_7 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_7.arg0 = r0; @@ -17749,7 +17749,7 @@ switch (step) { case 11: r0 = s.retval; s.tmp_13 = r0; - s.tmp_17 = r0 = s.i___27743; + s.tmp_17 = r0 = s.i___135624; s.tmp_19 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_19.arg0 = r0; @@ -17803,98 +17803,98 @@ switch (step) { s.callLocIdx = 1010; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = (s.i___27743 + 1); - s.i___27743 = (r0); + r0 = (s.i___135624 + 1); + s.i___135624 = (r0); { step = 1; continue; } case 2: - s.tmp_0 = controller__setUserEventsEnabled__P20177_mk(s); + s.tmp_0 = controller__setUserEventsEnabled__P128058_mk(s); s.tmp_0.arg0 = false; s.callLocIdx = 1011; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P27806); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P135687); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20167_mk(s); - s.tmp_1.arg0 = globals.A___20084; + s.tmp_1 = controller_Button_onEvent__P128048_mk(s); + s.tmp_1.arg0 = globals.A___127965; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1013; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P27826); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P135707); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20167_mk(s); - s.tmp_1.arg0 = globals.A___20084; + s.tmp_1 = controller_Button_onEvent__P128048_mk(s); + s.tmp_1.arg0 = globals.A___127965; s.tmp_1.arg1 = 2052; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1015; s.pc = 17; return s.tmp_1; case 17: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P20167_mk(s); - s.tmp_0.arg0 = globals.B___20085; + s.tmp_0 = controller_Button_onEvent__P128048_mk(s); + s.tmp_0.arg0 = globals.B___127966; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P27855; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P135736; s.callLocIdx = 1017; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = controller_Button_onEvent__P20167_mk(s); - s.tmp_0.arg0 = globals.menu___20090; + s.tmp_0 = controller_Button_onEvent__P128048_mk(s); + s.tmp_0.arg0 = globals.menu___127971; s.tmp_0.arg1 = 2053; - s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P27860; + s.tmp_0.arg2 = scene_systemMenu_PauseMenu_show_inline__P135741; s.callLocIdx = 1019; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P27865); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P135746); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20167_mk(s); - s.tmp_1.arg0 = globals.up___20087; + s.tmp_1 = controller_Button_onEvent__P128048_mk(s); + s.tmp_1.arg0 = globals.up___127968; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1023; s.pc = 20; return s.tmp_1; case 20: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P27877); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P135758); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20167_mk(s); - s.tmp_1.arg0 = globals.left___20086; + s.tmp_1 = controller_Button_onEvent__P128048_mk(s); + s.tmp_1.arg0 = globals.left___127967; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1026; s.pc = 21; return s.tmp_1; case 21: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P27886); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P135767); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20167_mk(s); - s.tmp_1.arg0 = globals.down___20089; + s.tmp_1 = controller_Button_onEvent__P128048_mk(s); + s.tmp_1.arg0 = globals.down___127970; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1030; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P27902); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P135783); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = controller_Button_onEvent__P20167_mk(s); - s.tmp_1.arg0 = globals.right___20088; + s.tmp_1 = controller_Button_onEvent__P128048_mk(s); + s.tmp_1.arg0 = globals.right___127969; s.tmp_1.arg1 = 2053; s.tmp_1.arg2 = s.tmp_0; s.callLocIdx = 1033; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P27914); + r0 = pxsim_pxtcore_mkAction(1, scene_systemMenu_PauseMenu_show_inline__P135795); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = game_onShade__P20988_mk(s); + s.tmp_1 = game_onShade__P128869_mk(s); s.tmp_1.arg0 = s.tmp_0; s.callLocIdx = 1036; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21070_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P128951_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1037; s.pc = 25; return s.tmp_0; @@ -17904,12 +17904,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show__P21068.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__P128949.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__P21068_mk(s) { +function scene_systemMenu_PauseMenu_show__P128949_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show__P21068, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show__P128949, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -17936,8 +17936,8 @@ function scene_systemMenu_PauseMenu_show__P21068_mk(s) { tmp_22: undefined, tmp_23: undefined, tmp_24: undefined, - current___27742: undefined, - i___27743: undefined, + current___135623: undefined, + i___135624: undefined, arg0: undefined, } } @@ -17945,7 +17945,7 @@ function scene_systemMenu_PauseMenu_show__P21068_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P27806(s) { +function scene_systemMenu_PauseMenu_show_inline__P135687(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -17983,7 +17983,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P21064_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P128945_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -17999,12 +17999,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P27806.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__P135687.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__P27806_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P135687_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P27806, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P135687, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18023,7 +18023,7 @@ function scene_systemMenu_PauseMenu_show_inline__P27806_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P27826(s) { +function scene_systemMenu_PauseMenu_show_inline__P135707(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18061,7 +18061,7 @@ switch (step) { { step = 5; continue; } case 3: case 4: - s.tmp_8 = scene_systemMenu_MenuOption_setState__P21064_mk(s); + s.tmp_8 = scene_systemMenu_MenuOption_setState__P128945_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_9 = r0; r0 = s.caps[0].fields["selection"]; @@ -18085,12 +18085,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P27826.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__P135707.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__P27826_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P135707_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P27826, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P135707, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18109,7 +18109,7 @@ function scene_systemMenu_PauseMenu_show_inline__P27826_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P27855(s) { +function scene_systemMenu_PauseMenu_show_inline__P135736(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18119,7 +18119,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P21073_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P128954_mk(s); s.callLocIdx = 1016; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -18127,12 +18127,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P27855.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__P135736.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__P27855_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P135736_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P27855, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P135736, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18141,7 +18141,7 @@ function scene_systemMenu_PauseMenu_show_inline__P27855_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P27860(s) { +function scene_systemMenu_PauseMenu_show_inline__P135741(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18151,7 +18151,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_closeMenu__P21073_mk(s); + s.tmp_0 = scene_systemMenu_closeMenu__P128954_mk(s); s.callLocIdx = 1018; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -18159,12 +18159,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P27860.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__P135741.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__P27860_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P135741_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P27860, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P135741, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18173,7 +18173,7 @@ function scene_systemMenu_PauseMenu_show_inline__P27860_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P27865(s) { +function scene_systemMenu_PauseMenu_show_inline__P135746(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18183,9 +18183,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21070_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P128951_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P18101_mk(s); + s.tmp_1 = Math_max__P125982_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -18216,12 +18216,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P27865.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__P135746.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__P27865_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P135746_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P27865, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P135746, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18234,7 +18234,7 @@ function scene_systemMenu_PauseMenu_show_inline__P27865_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P27877(s) { +function scene_systemMenu_PauseMenu_show_inline__P135758(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18244,9 +18244,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21070_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P128951_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_max__P18101_mk(s); + s.tmp_1 = Math_max__P125982_mk(s); s.tmp_1.arg0 = 0; r0 = s.caps[0].fields["selection"]; s.tmp_2 = r0; @@ -18263,12 +18263,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P27877.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__P135758.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__P27877_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P135758_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P27877, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P135758, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18279,7 +18279,7 @@ function scene_systemMenu_PauseMenu_show_inline__P27877_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P27886(s) { +function scene_systemMenu_PauseMenu_show_inline__P135767(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18289,9 +18289,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21070_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P128951_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P18102_mk(s); + s.tmp_1 = Math_min__P125983_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -18327,12 +18327,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P27886.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__P135767.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__P27886_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P135767_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P27886, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P135767, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18347,7 +18347,7 @@ function scene_systemMenu_PauseMenu_show_inline__P27886_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P27902(s) { +function scene_systemMenu_PauseMenu_show_inline__P135783(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18357,9 +18357,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P21070_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_setSelection__P128951_mk(s); s.tmp_0.arg0 = s.caps[0]; - s.tmp_1 = Math_min__P18102_mk(s); + s.tmp_1 = Math_min__P125983_mk(s); r0 = s.caps[0].fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -18381,12 +18381,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P27902.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__P135783.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__P27902_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P135783_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P27902, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P135783, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18399,7 +18399,7 @@ function scene_systemMenu_PauseMenu_show_inline__P27902_mk(s) { -function scene_systemMenu_PauseMenu_show_inline__P27914(s) { +function scene_systemMenu_PauseMenu_show_inline__P135795(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18409,12 +18409,12 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P21069_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_onUpdate__P128950_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1034; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P21071_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_drawText__P128952_mk(s); s.tmp_0.arg0 = s.caps[0]; s.callLocIdx = 1035; s.pc = 2; return s.tmp_0; case 2: @@ -18423,12 +18423,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_show_inline__P27914.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__P135795.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__P27914_mk(s) { +function scene_systemMenu_PauseMenu_show_inline__P135795_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P27914, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_show_inline__P135795, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -18437,7 +18437,7 @@ function scene_systemMenu_PauseMenu_show_inline__P27914_mk(s) { -function scene_systemMenu_PauseMenu_drawText__P21071(s) { +function scene_systemMenu_PauseMenu_drawText__P128952(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18452,7 +18452,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21066_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C128947_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -18464,11 +18464,11 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_3 = helpers_imageFillRect__P19927_mk(s); - s.tmp_3.arg0 = globals.screen___20003; + s.tmp_3 = helpers_imageFillRect__P127808_mk(s); + s.tmp_3.arg0 = globals.screen___127884; s.tmp_3.arg1 = 0; s.tmp_3.arg2 = 0; - r0 = pxsim_ImageMethods.width(globals.screen___20003); + r0 = pxsim_ImageMethods.width(globals.screen___127884); s.tmp_3.arg3 = r0; s.tmp_5 = if_cardsTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -18490,8 +18490,8 @@ switch (step) { s.callLocIdx = 1049; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P19960_mk(s); - s.tmp_0.arg0 = globals.screen___20003; + s.tmp_0 = helpers_imagePrintCenter__P127841_mk(s); + s.tmp_0.arg0 = globals.screen___127884; s.tmp_1 = if_headerText_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -18525,8 +18525,8 @@ switch (step) { s.callLocIdx = 1052; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P19927_mk(s); - s.tmp_0.arg0 = globals.screen___20003; + s.tmp_0 = helpers_imageFillRect__P127808_mk(s); + s.tmp_0.arg0 = globals.screen___127884; s.tmp_0.arg1 = 0; s.tmp_2 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -18544,9 +18544,9 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - 3); s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20003); + r0 = pxsim_ImageMethods.width(globals.screen___127884); s.tmp_0.arg3 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20003); + r0 = pxsim_ImageMethods.height(globals.screen___127884); s.tmp_4 = r0; s.tmp_6 = if_infoTop_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -18570,8 +18570,8 @@ switch (step) { s.callLocIdx = 1055; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = helpers_imageFillRect__P19927_mk(s); - s.tmp_0.arg0 = globals.screen___20003; + s.tmp_0 = helpers_imageFillRect__P127808_mk(s); + s.tmp_0.arg0 = globals.screen___127884; s.tmp_1 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_1.arg0 = r0; @@ -18600,7 +18600,7 @@ switch (step) { case 14: r0 = s.retval; s.tmp_0.arg2 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20003); + r0 = pxsim_ImageMethods.width(globals.screen___127884); s.tmp_3 = r0; s.tmp_6 = if_padding_1_mk(s); r0 = s.arg0.fields["theme"]; @@ -18652,8 +18652,8 @@ switch (step) { s.callLocIdx = 1061; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = helpers_imagePrintCenter__P19960_mk(s); - s.tmp_0.arg0 = globals.screen___20003; + s.tmp_0 = helpers_imagePrintCenter__P127841_mk(s); + s.tmp_0.arg0 = globals.screen___127884; s.tmp_1 = if_getText_1_mk(s); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; @@ -18712,12 +18712,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_drawText__P21071.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__P128952.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__P21071_mk(s) { +function scene_systemMenu_PauseMenu_drawText__P128952_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_drawText__P21071, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_drawText__P128952, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18736,7 +18736,7 @@ function scene_systemMenu_PauseMenu_drawText__P21071_mk(s) { -function helpers_imagePrintCenter__P19960(s) { +function helpers_imagePrintCenter__P127841(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18746,8 +18746,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.w___28001 = undefined; - s.x___28007 = undefined; + s.w___135882 = undefined; + s.x___135888 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -18762,7 +18762,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = image_getFontForText__P19948_mk(s); + s.tmp_2 = image_getFontForText__P127829_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 94; s.pc = 3; return s.tmp_2; case 3: @@ -18786,17 +18786,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 * s.tmp_1); - s.w___28001 = (r0); + s.w___135882 = (r0); r0 = pxsim_ImageMethods.width(s.arg0); s.tmp_1 = r0; - r0 = (s.tmp_1 - s.w___28001); + r0 = (s.tmp_1 - s.w___135882); s.tmp_0 = r0; r0 = (s.tmp_0 / 2); - s.x___28007 = (r0); - s.tmp_0 = helpers_imagePrint__P19961_mk(s); + s.x___135888 = (r0); + s.tmp_0 = helpers_imagePrint__P127842_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; - s.tmp_0.arg2 = s.x___28007; + s.tmp_0.arg2 = s.x___135888; s.tmp_0.arg3 = s.arg2; s.tmp_0.arg4 = s.arg3; s.tmp_0.arg5 = s.arg4; @@ -18808,18 +18808,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_imagePrintCenter__P19960.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__P127841.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__P19960_mk(s) { +function helpers_imagePrintCenter__P127841_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imagePrintCenter__P19960, depth: s.depth + 1, + parent: s, fn: helpers_imagePrintCenter__P127841, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - w___28001: undefined, - x___28007: undefined, + w___135882: undefined, + x___135888: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -18831,7 +18831,7 @@ function helpers_imagePrintCenter__P19960_mk(s) { -function scene_systemMenu_PauseMenu_setSelection__P21070(s) { +function scene_systemMenu_PauseMenu_setSelection__P128951(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18847,7 +18847,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21066_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C128947_VT)) failedCast(r0); r0 = s.arg0.fields["options"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -18867,7 +18867,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__P21064_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P128945_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -18889,9 +18889,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_4 = controller_Button__C20160_v0_1_mk(s); - s.tmp_4.arg0 = globals.A___20084; - if (!checkSubtype(s.tmp_4.arg0, controller_Button__C20160_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = controller_Button__C128041_v0_1_mk(s); + s.tmp_4.arg0 = globals.A___127965; + if (!checkSubtype(s.tmp_4.arg0, controller_Button__C128041_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: @@ -18906,7 +18906,7 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_5 = r0; - s.tmp_6 = scene_systemMenu_MenuOption_setState__P21064_mk(s); + s.tmp_6 = scene_systemMenu_MenuOption_setState__P128945_mk(s); r0 = s.arg0.fields["options"]; s.tmp_7 = r0; r0 = s.arg0.fields["selection"]; @@ -18919,7 +18919,7 @@ switch (step) { r0 = s.retval; case 7: case 8: - s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P23160_mk(s); + s.tmp_0 = scene_systemMenu_PauseMenu_updateScrollTarget__P131041_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1047; s.pc = 13; return s.tmp_0; case 13: @@ -18929,12 +18929,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_setSelection__P21070.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__P128951.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__P21070_mk(s) { +function scene_systemMenu_PauseMenu_setSelection__P128951_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P21070, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_setSelection__P128951, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -18953,7 +18953,7 @@ function scene_systemMenu_PauseMenu_setSelection__P21070_mk(s) { -function scene_systemMenu_PauseMenu_updateScrollTarget__P23160(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P131041(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -18963,13 +18963,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.row___28263 = undefined; + s.row___136144 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21066_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C128947_VT)) failedCast(r0); r0 = s.arg0.fields["selection"]; s.tmp_0 = r0; s.tmp_2 = if_cardsPerRow_1_mk(s); @@ -18987,17 +18987,17 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_1); - s.row___28263 = (r0); + s.row___136144 = (r0); r0 = s.arg0.fields["scrollRow"]; s.tmp_1 = r0; - r0 = (s.row___28263 === s.tmp_1); + r0 = (s.row___136144 === 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___28263 - 1); + r0 = (s.row___136144 - 1); s.tmp_2 = r0; r0 = s.arg0.fields["scrollRow"]; s.tmp_3 = r0; @@ -19012,7 +19012,7 @@ switch (step) { case 4: r0 = s.arg0.fields["scrollRow"]; s.tmp_6 = r0; - r0 = (s.row___28263 > s.tmp_6); + r0 = (s.row___136144 > s.tmp_6); s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 5; continue; } @@ -19072,12 +19072,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_updateScrollTarget__P23160.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__P131041.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__P23160_mk(s) { +function scene_systemMenu_PauseMenu_updateScrollTarget__P131041_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P23160, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_updateScrollTarget__P131041, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19089,7 +19089,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P23160_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - row___28263: undefined, + row___136144: undefined, arg0: undefined, } } @@ -19097,7 +19097,7 @@ function scene_systemMenu_PauseMenu_updateScrollTarget__P23160_mk(s) { -function scene_systemMenu_PauseMenu_onUpdate__P21069(s) { +function scene_systemMenu_PauseMenu_onUpdate__P128950(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19107,22 +19107,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.t___28023 = undefined; - s.i___28027 = undefined; - s.dt___28056 = undefined; + s.t___135904 = undefined; + s.i___135908 = undefined; + s.dt___135937 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21066_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C128947_VT)) failedCast(r0); r0 = pxsim.control.millis(); s.tmp_0 = r0; r0 = (s.tmp_0 / 250); - s.t___28023 = (r0); - s.i___28027 = (0); + s.t___135904 = (r0); + s.i___135908 = (0); case 1: - s.tmp_1 = r0 = s.i___28027; + s.tmp_1 = r0 = s.i___135908; r0 = s.arg0.fields["options"]; s.tmp_3 = r0; r0 = pxsim_Array__length(s.tmp_3); @@ -19131,13 +19131,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__P21062_mk(s); + s.tmp_4 = scene_systemMenu_MenuOption_setOffset__P128943_mk(s); r0 = s.arg0.fields["options"]; s.tmp_5 = r0; - r0 = pxsim_Array__getAt(s.tmp_5, s.i___28027); + r0 = pxsim_Array__getAt(s.tmp_5, s.i___135908); s.tmp_4.arg0 = r0; - s.tmp_8 = r0 = s.t___28023; - s.tmp_11 = r0 = s.i___28027; + s.tmp_8 = r0 = s.t___135904; + s.tmp_11 = r0 = s.i___135908; s.tmp_13 = if_cardsPerRow_1_mk(s); r0 = s.arg0.fields["theme"]; s.tmp_13.arg0 = r0; @@ -19165,11 +19165,11 @@ switch (step) { s.callLocIdx = 1039; s.pc = 10; return s.tmp_4; case 10: r0 = s.retval; - r0 = (s.i___28027 + 1); - s.i___28027 = (r0); + r0 = (s.i___135908 + 1); + s.i___135908 = (r0); { step = 1; continue; } case 2: - s.tmp_1 = game_currentScene__P20970_mk(s); + s.tmp_1 = game_currentScene__P128851_mk(s); s.callLocIdx = 1040; s.pc = 12; return s.tmp_1; case 12: r0 = s.retval; @@ -19178,7 +19178,7 @@ switch (step) { r0 = s.tmp_0.fields["deltaTimeMillis"]; s.tmp_2 = r0; r0 = (s.tmp_2 / 1000); - s.dt___28056 = (r0); + s.dt___135937 = (r0); r0 = s.arg0.fields["scrollOffset"]; s.tmp_1 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -19190,7 +19190,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___28056 * 100); + r0 = (s.dt___135937 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 + s.tmp_6); s.tmp_4 = r0; @@ -19208,7 +19208,7 @@ switch (step) { s.tmp_3 = r0 = s.arg0; r0 = s.tmp_3.fields["scrollOffset"]; s.tmp_5 = r0; - r0 = (s.dt___28056 * 100); + r0 = (s.dt___135937 * 100); s.tmp_6 = r0; r0 = (s.tmp_5 - s.tmp_6); s.tmp_4 = r0; @@ -19218,7 +19218,7 @@ switch (step) { { step = 9; continue; } case 5: case 6: - s.tmp_2 = Math_abs__P18099_mk(s); + s.tmp_2 = Math_abs__P125980_mk(s); r0 = s.arg0.fields["scrollOffset"]; s.tmp_3 = r0; r0 = s.arg0.fields["scrollTarget"]; @@ -19238,8 +19238,8 @@ switch (step) { r0 = (s.arg0).fields["scrollOffset"] = (s.tmp_5); case 7: case 8: - s.tmp_0 = scene_Camera_offsetY__P20760_mk(s); - s.tmp_1 = game_currentScene__P20970_mk(s); + s.tmp_0 = scene_Camera_offsetY__P128641_mk(s); + s.tmp_1 = game_currentScene__P128851_mk(s); s.callLocIdx = 1043; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; @@ -19255,12 +19255,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_onUpdate__P21069.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__P128950.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__P21069_mk(s) { +function scene_systemMenu_PauseMenu_onUpdate__P128950_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P21069, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_onUpdate__P128950, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19276,9 +19276,9 @@ function scene_systemMenu_PauseMenu_onUpdate__P21069_mk(s) { tmp_11: undefined, tmp_12: undefined, tmp_13: undefined, - t___28023: undefined, - i___28027: undefined, - dt___28056: undefined, + t___135904: undefined, + i___135908: undefined, + dt___135937: undefined, arg0: undefined, } } @@ -19286,7 +19286,7 @@ function scene_systemMenu_PauseMenu_onUpdate__P21069_mk(s) { -function scene_systemMenu_MenuOption_setOffset__P21062(s) { +function scene_systemMenu_MenuOption_setOffset__P128943(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19302,8 +19302,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21058_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P20375_mk(s); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C128939_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P128256_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["top"]; @@ -19313,10 +19313,10 @@ switch (step) { s.callLocIdx = 981; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_y__P20328_mk(s); + s.tmp_0 = Sprite_y__P128209_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P20327_mk(s); + s.tmp_1 = Sprite_y__P128208_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 982; s.pc = 3; return s.tmp_1; @@ -19330,12 +19330,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setOffset__P21062.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__P128943.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__P21062_mk(s) { +function scene_systemMenu_MenuOption_setOffset__P128943_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setOffset__P21062, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setOffset__P128943, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19347,7 +19347,7 @@ function scene_systemMenu_MenuOption_setOffset__P21062_mk(s) { -function Sprite_top__P20375(s) { +function Sprite_top__P128256(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19357,22 +19357,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___28140 = undefined; + s.physics___136021 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P20970_mk(s); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 359; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___28140 = (r0); - s.tmp_0 = PhysicsEngine__C20482_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___28140; + s.physics___136021 = (r0); + s.tmp_0 = PhysicsEngine__C128363_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___136021; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = 0; r0 = (s.arg1 * 256); @@ -19383,7 +19383,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__C20482_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C128363_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: @@ -19392,18 +19392,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_top__P20375.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__P128256.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__P20375_mk(s) { +function Sprite_top__P128256_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P20375, depth: s.depth + 1, + parent: s, fn: Sprite_top__P128256, 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___28140: undefined, + physics___136021: undefined, arg0: undefined, arg1: undefined, } } @@ -19412,7 +19412,7 @@ function Sprite_top__P20375_mk(s) { -function PhysicsEngine_moveSprite__P20486(s) { +function PhysicsEngine_moveSprite__P128367(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19430,17 +19430,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C20482_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C128363_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_moveSprite__P20486.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__P128367.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__P20486_mk(s) { +function PhysicsEngine_moveSprite__P128367_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_moveSprite__P20486, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_moveSprite__P128367, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -19452,7 +19452,7 @@ function PhysicsEngine_moveSprite__P20486_mk(s) { -function Sprite_top__P20374(s) { +function Sprite_top__P128255(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19467,20 +19467,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20374.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__P20374.isGetter = true; +Sprite_top__P128255.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__P128255.isGetter = true; -function Sprite_top__P20374_mk(s) { +function Sprite_top__P128255_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_top__P20374, depth: s.depth + 1, + parent: s, fn: Sprite_top__P128255, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19490,7 +19490,7 @@ function Sprite_top__P20374_mk(s) { -function Sprite_y__P20328(s) { +function Sprite_y__P128209(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19506,11 +19506,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P20375_mk(s); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P128256_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_4 = Sprite_height__P20369_mk(s); + s.tmp_4 = Sprite_height__P128250_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 310; s.pc = 2; return s.tmp_4; case 2: @@ -19527,12 +19527,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_y__P20328.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__P128209.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__P20328_mk(s) { +function Sprite_y__P128209_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_y__P20328, depth: s.depth + 1, + parent: s, fn: Sprite_y__P128209, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19547,7 +19547,7 @@ function Sprite_y__P20328_mk(s) { -function Sprite_height__P20369(s) { +function Sprite_height__P128250(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19562,20 +19562,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20369.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__P20369.isGetter = true; +Sprite_height__P128250.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__P128250.isGetter = true; -function Sprite_height__P20369_mk(s) { +function Sprite_height__P128250_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_height__P20369, depth: s.depth + 1, + parent: s, fn: Sprite_height__P128250, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19585,7 +19585,7 @@ function Sprite_height__P20369_mk(s) { -function Math_abs__P18099(s) { +function Math_abs__P125980(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19614,12 +19614,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_abs__P18099.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__P125980.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__P18099_mk(s) { +function Math_abs__P125980_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_abs__P18099, depth: s.depth + 1, + parent: s, fn: Math_abs__P125980, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19630,7 +19630,7 @@ function Math_abs__P18099_mk(s) { -function scene_systemMenu_MenuOption_setState__P21064(s) { +function scene_systemMenu_MenuOption_setState__P128945(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19646,7 +19646,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21058_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C128939_VT)) failedCast(r0); r0 = s.arg0.fields["state"]; s.tmp_1 = r0; r0 = (s.tmp_1 === s.arg1); @@ -19657,7 +19657,7 @@ switch (step) { case 1: case 2: r0 = (s.arg0).fields["state"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P23159_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P131040_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 985; s.pc = 4; return s.tmp_0; case 4: @@ -19667,12 +19667,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setState__P21064.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__P128945.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__P21064_mk(s) { +function scene_systemMenu_MenuOption_setState__P128945_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setState__P21064, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setState__P128945, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19684,7 +19684,7 @@ function scene_systemMenu_MenuOption_setState__P21064_mk(s) { -function scene_systemMenu_MenuOption_updateCard__P23159(s) { +function scene_systemMenu_MenuOption_updateCard__P131040(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19699,7 +19699,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21058_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C128939_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -19722,7 +19722,7 @@ switch (step) { r0 = s.tmp_3; { step = 6; continue; } case 3: - s.tmp_4 = Sprite_setImage__P20362_mk(s); + s.tmp_4 = Sprite_setImage__P128243_mk(s); r0 = s.arg0.fields["card"]; s.tmp_4.arg0 = r0; s.tmp_5 = if_basicCard_1_mk(s); @@ -19744,7 +19744,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 4: - s.tmp_0 = Sprite_setImage__P20362_mk(s); + s.tmp_0 = Sprite_setImage__P128243_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_selectedCard_1_mk(s); @@ -19766,7 +19766,7 @@ switch (step) { r0 = s.retval; { step = 6; continue; } case 5: - s.tmp_0 = Sprite_setImage__P20362_mk(s); + s.tmp_0 = Sprite_setImage__P128243_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_1 = if_activeCard_1_mk(s); @@ -19787,10 +19787,10 @@ switch (step) { case 12: r0 = s.retval; case 6: - s.tmp_0 = Sprite_x__P20326_mk(s); + s.tmp_0 = Sprite_x__P128207_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P20325_mk(s); + s.tmp_1 = Sprite_x__P128206_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 994; s.pc = 15; return s.tmp_1; @@ -19800,10 +19800,10 @@ switch (step) { s.callLocIdx = 995; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = Sprite_y__P20328_mk(s); + s.tmp_0 = Sprite_y__P128209_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P20327_mk(s); + s.tmp_1 = Sprite_y__P128208_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 996; s.pc = 17; return s.tmp_1; @@ -19818,12 +19818,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_updateCard__P23159.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__P131040.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__P23159_mk(s) { +function scene_systemMenu_MenuOption_updateCard__P131040_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_updateCard__P23159, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_updateCard__P131040, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19838,7 +19838,7 @@ function scene_systemMenu_MenuOption_updateCard__P23159_mk(s) { -function Sprite_x__P20326(s) { +function Sprite_x__P128207(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19854,11 +19854,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P20371_mk(s); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P128252_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_4 = Sprite_width__P20368_mk(s); + s.tmp_4 = Sprite_width__P128249_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 305; s.pc = 2; return s.tmp_4; case 2: @@ -19875,12 +19875,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_x__P20326.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__P128207.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__P20326_mk(s) { +function Sprite_x__P128207_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_x__P20326, depth: s.depth + 1, + parent: s, fn: Sprite_x__P128207, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -19895,7 +19895,7 @@ function Sprite_x__P20326_mk(s) { -function Sprite_left__P20371(s) { +function Sprite_left__P128252(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19905,22 +19905,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.physics___29380 = undefined; + s.physics___137261 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P20970_mk(s); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 351; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; r0 = r0.fields["physicsEngine"]; - s.physics___29380 = (r0); - s.tmp_0 = PhysicsEngine__C20482_v2_4_mk(s); - s.tmp_0.arg0 = s.physics___29380; + s.physics___137261 = (r0); + s.tmp_0 = PhysicsEngine__C128363_v2_4_mk(s); + s.tmp_0.arg0 = s.physics___137261; s.tmp_0.arg1 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -19931,7 +19931,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__C20482_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C128363_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: @@ -19940,18 +19940,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_left__P20371.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__P128252.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__P20371_mk(s) { +function Sprite_left__P128252_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P20371, depth: s.depth + 1, + parent: s, fn: Sprite_left__P128252, 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___29380: undefined, + physics___137261: undefined, arg0: undefined, arg1: undefined, } } @@ -19960,7 +19960,7 @@ function Sprite_left__P20371_mk(s) { -function Sprite_left__P20370(s) { +function Sprite_left__P128251(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -19975,20 +19975,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20370.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__P20370.isGetter = true; +Sprite_left__P128251.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__P128251.isGetter = true; -function Sprite_left__P20370_mk(s) { +function Sprite_left__P128251_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_left__P20370, depth: s.depth + 1, + parent: s, fn: Sprite_left__P128251, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -19998,7 +19998,7 @@ function Sprite_left__P20370_mk(s) { -function Sprite_width__P20368(s) { +function Sprite_width__P128249(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20013,20 +20013,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20368.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__P20368.isGetter = true; +Sprite_width__P128249.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__P128249.isGetter = true; -function Sprite_width__P20368_mk(s) { +function Sprite_width__P128249_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_width__P20368, depth: s.depth + 1, + parent: s, fn: Sprite_width__P128249, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20036,7 +20036,7 @@ function Sprite_width__P20368_mk(s) { -function scene_systemMenu_MenuOption_setTheme__P21063(s) { +function scene_systemMenu_MenuOption_setTheme__P128944(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20052,9 +20052,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21058_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C128939_VT)) failedCast(r0); r0 = (s.arg0).fields["theme"] = (s.arg1); - s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P23159_mk(s); + s.tmp_0 = scene_systemMenu_MenuOption_updateCard__P131040_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 984; s.pc = 1; return s.tmp_0; case 1: @@ -20063,12 +20063,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_setTheme__P21063.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__P128944.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__P21063_mk(s) { +function scene_systemMenu_MenuOption_setTheme__P128944_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_setTheme__P21063, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_setTheme__P128944, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20079,7 +20079,7 @@ function scene_systemMenu_MenuOption_setTheme__P21063_mk(s) { -function scene_systemMenu_MenuOption_position__P21061(s) { +function scene_systemMenu_MenuOption_position__P128942(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20096,26 +20096,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21058_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C128939_VT)) failedCast(r0); r0 = (s.arg0).fields["top"] = (s.arg2); - s.tmp_0 = Sprite_left__P20371_mk(s); + s.tmp_0 = Sprite_left__P128252_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 975; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = Sprite_top__P20375_mk(s); + s.tmp_0 = Sprite_top__P128256_mk(s); r0 = s.arg0.fields["card"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 976; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_x__P20326_mk(s); + s.tmp_0 = Sprite_x__P128207_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_x__P20325_mk(s); + s.tmp_1 = Sprite_x__P128206_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 977; s.pc = 4; return s.tmp_1; @@ -20125,10 +20125,10 @@ switch (step) { s.callLocIdx = 978; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_y__P20328_mk(s); + s.tmp_0 = Sprite_y__P128209_mk(s); r0 = s.arg0.fields["icon"]; s.tmp_0.arg0 = r0; - s.tmp_1 = Sprite_y__P20327_mk(s); + s.tmp_1 = Sprite_y__P128208_mk(s); r0 = s.arg0.fields["card"]; s.tmp_1.arg0 = r0; s.callLocIdx = 979; s.pc = 6; return s.tmp_1; @@ -20142,12 +20142,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_position__P21061.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__P128942.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__P21061_mk(s) { +function scene_systemMenu_MenuOption_position__P128942_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_position__P21061, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_position__P128942, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20160,7 +20160,7 @@ function scene_systemMenu_MenuOption_position__P21061_mk(s) { -function scene_systemMenu_MenuOption_show__P21060(s) { +function scene_systemMenu_MenuOption_show__P128941(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20175,7 +20175,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_MenuOption__C21058_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_MenuOption__C128939_VT)) failedCast(r0); r0 = s.arg0.fields["theme"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -20195,12 +20195,12 @@ switch (step) { r0 = s.retval; { step = 2; continue; } case 1: - r0 = globals.CARD_NORMAL___21082; + r0 = globals.CARD_NORMAL___128963; case 2: // jmp value (already in r0) s.tmp_2 = r0; s.tmp_3 = r0 = s.arg0; - s.tmp_5 = sprites_create__P20246_mk(s); + s.tmp_5 = sprites_create__P128127_mk(s); s.tmp_5.arg0 = s.tmp_2; s.tmp_5.arg1 = undefined; s.callLocIdx = 971; s.pc = 4; return s.tmp_5; @@ -20223,7 +20223,7 @@ switch (step) { case 5: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - s.tmp_2 = sprites_create__P20246_mk(s); + s.tmp_2 = sprites_create__P128127_mk(s); r0 = s.arg0.fields["iconImage"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = undefined; @@ -20251,12 +20251,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_MenuOption_show__P21060.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__P128941.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__P21060_mk(s) { +function scene_systemMenu_MenuOption_show__P128941_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_MenuOption_show__P21060, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_MenuOption_show__P128941, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20271,7 +20271,7 @@ function scene_systemMenu_MenuOption_show__P21060_mk(s) { -function sprites_create__P20246(s) { +function sprites_create__P128127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20281,51 +20281,51 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___29460 = undefined; - s.sprite___29463 = undefined; + s.scene___137341 = undefined; + s.sprite___137344 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P20970_mk(s); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 296; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.scene___29460 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(Sprite__C20312_VT); + s.scene___137341 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(Sprite__C128193_VT); s.tmp_0 = r0; - s.tmp_1 = Sprite_constructor__P20359_mk(s); + s.tmp_1 = Sprite_constructor__P128240_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 297; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.sprite___29463 = (s.tmp_0); - s.tmp_0 = Sprite_setKind__P20379_mk(s); - s.tmp_0.arg0 = s.sprite___29463; + s.sprite___137344 = (s.tmp_0); + s.tmp_0 = Sprite_setKind__P128260_mk(s); + s.tmp_0.arg0 = s.sprite___137344; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 298; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = PhysicsEngine__C20482_v0_2_mk(s); - r0 = s.scene___29460.fields["physicsEngine"]; + s.tmp_0 = PhysicsEngine__C128363_v0_2_mk(s); + r0 = s.scene___137341.fields["physicsEngine"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.sprite___29463; - if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C20482_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.sprite___137344; + if (!checkSubtype(s.tmp_0.arg0, PhysicsEngine__C128363_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__P29478); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P137359); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P29484); + r0 = pxsim_pxtcore_mkAction(1, sprites_create_inline__P137365); s.tmp_1 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___29463); - s.tmp_2 = helpers_arrayForEach__P18080_mk(s); - s.tmp_3 = helpers_arrayFilter__P18081_mk(s); - r0 = s.scene___29460.fields["createdHandlers"]; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.sprite___137344); + s.tmp_2 = helpers_arrayForEach__P125961_mk(s); + s.tmp_3 = helpers_arrayFilter__P125962_mk(s); + r0 = s.scene___137341.fields["createdHandlers"]; s.tmp_3.arg0 = r0; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 299; s.pc = 6; return s.tmp_3; @@ -20336,23 +20336,23 @@ switch (step) { s.callLocIdx = 301; s.pc = 5; return s.tmp_2; case 5: r0 = s.retval; - r0 = s.sprite___29463; + r0 = s.sprite___137344; return leave(s, r0) default: oops() } } } -sprites_create__P20246.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__P128127.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__P20246_mk(s) { +function sprites_create__P128127_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create__P20246, depth: s.depth + 1, + parent: s, fn: sprites_create__P128127, 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___29460: undefined, - sprite___29463: undefined, + scene___137341: undefined, + sprite___137344: undefined, arg0: undefined, arg1: undefined, } } @@ -20361,7 +20361,7 @@ function sprites_create__P20246_mk(s) { -function forEach_inline__P29478(s) { +function forEach_inline__P137359(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20381,12 +20381,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P29478.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__P137359.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__P29478_mk(s) { +function forEach_inline__P137359_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P29478, depth: s.depth + 1, + parent: s, fn: forEach_inline__P137359, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20396,7 +20396,7 @@ function forEach_inline__P29478_mk(s) { -function sprites_create_inline__P29484(s) { +function sprites_create_inline__P137365(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20428,12 +20428,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_create_inline__P29484.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__P137365.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__P29484_mk(s) { +function sprites_create_inline__P137365_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_create_inline__P29484, depth: s.depth + 1, + parent: s, fn: sprites_create_inline__P137365, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -20443,7 +20443,7 @@ function sprites_create_inline__P29484_mk(s) { -function PhysicsEngine_addSprite__P20484(s) { +function PhysicsEngine_addSprite__P128365(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20459,17 +20459,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, PhysicsEngine__C20482_VT)) failedCast(r0); + if (!checkSubtype(r0, PhysicsEngine__C128363_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -PhysicsEngine_addSprite__P20484.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__P128365.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__P20484_mk(s) { +function PhysicsEngine_addSprite__P128365_mk(s) { checkStack(s.depth); return { - parent: s, fn: PhysicsEngine_addSprite__P20484, depth: s.depth + 1, + parent: s, fn: PhysicsEngine_addSprite__P128365, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -20479,7 +20479,7 @@ function PhysicsEngine_addSprite__P20484_mk(s) { -function Sprite_setKind__P20379(s) { +function Sprite_setKind__P128260(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20489,15 +20489,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.spritesByKind___29502 = undefined; - s.overlapMap___29531 = undefined; + s.spritesByKind___137383 = undefined; + s.overlapMap___137412 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = (s.arg1 == undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -20516,12 +20516,12 @@ switch (step) { { step = 15; continue; } case 3: case 4: - s.tmp_3 = game_currentScene__P20970_mk(s); + s.tmp_3 = game_currentScene__P128851_mk(s); s.callLocIdx = 366; s.pc = 16; return s.tmp_3; case 16: r0 = s.retval; r0 = r0.fields["spritesByKind"]; - s.spritesByKind___29502 = (r0); + s.spritesByKind___137383 = (r0); r0 = s.arg0.fields["_kind"]; s.tmp_1 = r0; r0 = (s.tmp_1 >= 0); @@ -20533,16 +20533,16 @@ switch (step) { case 5: r0 = s.arg0.fields["_kind"]; s.tmp_2 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___29502, s.tmp_2); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___137383, 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__P20441_mk(s); + s.tmp_4 = sprites_SpriteSet_remove__P128322_mk(s); r0 = s.arg0.fields["_kind"]; s.tmp_5 = r0; - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___29502, s.tmp_5); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___137383, s.tmp_5); s.tmp_4.arg0 = r0; s.tmp_4.arg1 = s.arg0; s.callLocIdx = 367; s.pc = 17; return s.tmp_4; @@ -20554,7 +20554,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___29502, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___137383, s.arg1); s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -20562,18 +20562,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__C20434_VT); + r0 = pxsim_pxtcore_mkClassInstance(sprites_SpriteSet__C128315_VT); s.tmp_4 = r0; - s.tmp_5 = sprites_SpriteSet_constructor__P20436_mk(s); + s.tmp_5 = sprites_SpriteSet_constructor__P128317_mk(s); s.tmp_5.arg0 = s.tmp_4; s.callLocIdx = 368; s.pc = 18; return s.tmp_5; case 18: r0 = s.retval; - r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___29502, s.arg1, s.tmp_4); + r0 = pxsim_pxtrt.mapSetGeneric(s.spritesByKind___137383, s.arg1, s.tmp_4); case 9: case 10: - s.tmp_0 = sprites_SpriteSet_add__P20439_mk(s); - r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___29502, s.arg1); + s.tmp_0 = sprites_SpriteSet_add__P128320_mk(s); + r0 = pxsim_pxtrt.mapGetGeneric(s.spritesByKind___137383, s.arg1); s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 369; s.pc = 19; return s.tmp_0; @@ -20581,13 +20581,13 @@ switch (step) { r0 = s.retval; case 11: case 12: - s.tmp_0 = game_currentScene__P20970_mk(s); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 370; s.pc = 20; return s.tmp_0; case 20: r0 = s.retval; r0 = r0.fields["overlapMap"]; - s.overlapMap___29531 = (r0); - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___29531, s.arg1); + s.overlapMap___137412 = (r0); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___137412, s.arg1); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -20595,7 +20595,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___29531; + s.tmp_3 = r0 = s.overlapMap___137412; s.tmp_4 = r0 = s.arg1; r0 = pxsim_Array__mk(); s.tmp_5 = r0; @@ -20603,7 +20603,7 @@ switch (step) { case 13: case 14: s.tmp_0 = r0 = s.arg0; - r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___29531, s.arg1); + r0 = pxsim_pxtrt.mapGetGeneric(s.overlapMap___137412, s.arg1); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_kindsOverlappedWith"] = (s.tmp_1); r0 = (s.arg0).fields["_kind"] = (s.arg1); @@ -20612,12 +20612,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_setKind__P20379.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__P128260.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__P20379_mk(s) { +function Sprite_setKind__P128260_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_setKind__P20379, depth: s.depth + 1, + parent: s, fn: Sprite_setKind__P128260, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20625,8 +20625,8 @@ function Sprite_setKind__P20379_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - spritesByKind___29502: undefined, - overlapMap___29531: undefined, + spritesByKind___137383: undefined, + overlapMap___137412: undefined, arg0: undefined, arg1: undefined, } } @@ -20635,7 +20635,7 @@ function Sprite_setKind__P20379_mk(s) { -function sprites_SpriteSet_add__P20439(s) { +function sprites_SpriteSet_add__P128320(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20651,7 +20651,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20434_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C128315_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -20682,12 +20682,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_add__P20439.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__P128320.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__P20439_mk(s) { +function sprites_SpriteSet_add__P128320_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_add__P20439, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_add__P128320, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20703,7 +20703,7 @@ function sprites_SpriteSet_add__P20439_mk(s) { -function sprites_SpriteSet_contains__P20442(s) { +function sprites_SpriteSet_contains__P128323(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20719,7 +20719,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20434_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C128315_VT)) failedCast(r0); r0 = s.arg0.fields["_sprites"]; s.tmp_1 = r0; r0 = pxsim_Array_.indexOf(s.tmp_1, s.arg1, undefined); @@ -20728,12 +20728,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_contains__P20442.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__P128323.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__P20442_mk(s) { +function sprites_SpriteSet_contains__P128323_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_contains__P20442, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_contains__P128323, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20745,7 +20745,7 @@ function sprites_SpriteSet_contains__P20442_mk(s) { -function sprites_SpriteSet_constructor__P20436(s) { +function sprites_SpriteSet_constructor__P128317(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20760,7 +20760,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20434_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C128315_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -20769,12 +20769,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_constructor__P20436.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__P128317.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__P20436_mk(s) { +function sprites_SpriteSet_constructor__P128317_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_constructor__P20436, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_constructor__P128317, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20785,7 +20785,7 @@ function sprites_SpriteSet_constructor__P20436_mk(s) { -function Sprite_constructor__P20359(s) { +function Sprite_constructor__P128240(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20801,15 +20801,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P20067_mk(s); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P127948_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 328; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; s.tmp_0 = r0 = s.arg0; - r0 = pxsim_ImageMethods.width(globals.screen___20003); + r0 = pxsim_ImageMethods.width(globals.screen___127884); s.tmp_4 = r0; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_5 = r0; @@ -20823,7 +20823,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___20003); + r0 = pxsim_ImageMethods.height(globals.screen___127884); s.tmp_4 = r0; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_5 = r0; @@ -20842,37 +20842,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__P20330_mk(s); + s.tmp_0 = Sprite_vx__P128211_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 331; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = Sprite_vy__P20332_mk(s); + s.tmp_0 = Sprite_vy__P128213_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 332; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.tmp_0 = Sprite_ax__P20334_mk(s); + s.tmp_0 = Sprite_ax__P128215_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 333; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = Sprite_ay__P20336_mk(s); + s.tmp_0 = Sprite_ay__P128217_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 334; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = Sprite_fx__P20338_mk(s); + s.tmp_0 = Sprite_fx__P128219_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 335; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = Sprite_fy__P20340_mk(s); + s.tmp_0 = Sprite_fy__P128221_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 336; s.pc = 7; return s.tmp_0; @@ -20881,13 +20881,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__P20362_mk(s); + s.tmp_0 = Sprite_setImage__P128243_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 337; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_0 = Sprite_setKind__P20379_mk(s); + s.tmp_0 = Sprite_setKind__P128260_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = -1; s.callLocIdx = 338; s.pc = 9; return s.tmp_0; @@ -20907,12 +20907,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_constructor__P20359.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__P128240.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__P20359_mk(s) { +function Sprite_constructor__P128240_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_constructor__P20359, depth: s.depth + 1, + parent: s, fn: Sprite_constructor__P128240, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20929,7 +20929,7 @@ function Sprite_constructor__P20359_mk(s) { -function Sprite_fy__P20340(s) { +function Sprite_fy__P128221(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20945,9 +20945,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P18101_mk(s); + s.tmp_3 = Math_max__P125982_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 324; s.pc = 1; return s.tmp_3; @@ -20963,12 +20963,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fy__P20340.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__P128221.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__P20340_mk(s) { +function Sprite_fy__P128221_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P20340, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P128221, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -20983,7 +20983,7 @@ function Sprite_fy__P20340_mk(s) { -function Sprite_fy__P20339(s) { +function Sprite_fy__P128220(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -20998,20 +20998,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20339.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__P20339.isGetter = true; +Sprite_fy__P128220.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__P128220.isGetter = true; -function Sprite_fy__P20339_mk(s) { +function Sprite_fy__P128220_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fy__P20339, depth: s.depth + 1, + parent: s, fn: Sprite_fy__P128220, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21021,7 +21021,7 @@ function Sprite_fy__P20339_mk(s) { -function Sprite_fx__P20338(s) { +function Sprite_fx__P128219(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21037,9 +21037,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_3 = Math_max__P18101_mk(s); + s.tmp_3 = Math_max__P125982_mk(s); s.tmp_3.arg0 = 0; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 321; s.pc = 1; return s.tmp_3; @@ -21055,12 +21055,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_fx__P20338.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__P128219.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__P20338_mk(s) { +function Sprite_fx__P128219_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P20338, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P128219, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21075,7 +21075,7 @@ function Sprite_fx__P20338_mk(s) { -function Sprite_fx__P20337(s) { +function Sprite_fx__P128218(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21090,20 +21090,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20337.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__P20337.isGetter = true; +Sprite_fx__P128218.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__P128218.isGetter = true; -function Sprite_fx__P20337_mk(s) { +function Sprite_fx__P128218_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_fx__P20337, depth: s.depth + 1, + parent: s, fn: Sprite_fx__P128218, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21113,7 +21113,7 @@ function Sprite_fx__P20337_mk(s) { -function Sprite_ay__P20336(s) { +function Sprite_ay__P128217(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21129,7 +21129,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -21140,12 +21140,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ay__P20336.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__P128217.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__P20336_mk(s) { +function Sprite_ay__P128217_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P20336, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P128217, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21158,7 +21158,7 @@ function Sprite_ay__P20336_mk(s) { -function Sprite_ay__P20335(s) { +function Sprite_ay__P128216(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21173,20 +21173,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20335.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__P20335.isGetter = true; +Sprite_ay__P128216.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__P128216.isGetter = true; -function Sprite_ay__P20335_mk(s) { +function Sprite_ay__P128216_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ay__P20335, depth: s.depth + 1, + parent: s, fn: Sprite_ay__P128216, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21196,7 +21196,7 @@ function Sprite_ay__P20335_mk(s) { -function Sprite_ax__P20334(s) { +function Sprite_ax__P128215(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21212,7 +21212,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -21223,12 +21223,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_ax__P20334.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__P128215.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__P20334_mk(s) { +function Sprite_ax__P128215_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P20334, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P128215, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21241,7 +21241,7 @@ function Sprite_ax__P20334_mk(s) { -function Sprite_ax__P20333(s) { +function Sprite_ax__P128214(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21256,20 +21256,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20333.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__P20333.isGetter = true; +Sprite_ax__P128214.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__P128214.isGetter = true; -function Sprite_ax__P20333_mk(s) { +function Sprite_ax__P128214_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_ax__P20333, depth: s.depth + 1, + parent: s, fn: Sprite_ax__P128214, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21279,7 +21279,7 @@ function Sprite_ax__P20333_mk(s) { -function Sprite_vy__P20332(s) { +function Sprite_vy__P128213(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21295,7 +21295,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -21306,12 +21306,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vy__P20332.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__P128213.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__P20332_mk(s) { +function Sprite_vy__P128213_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P20332, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P128213, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21324,7 +21324,7 @@ function Sprite_vy__P20332_mk(s) { -function Sprite_vy__P20331(s) { +function Sprite_vy__P128212(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21339,20 +21339,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20331.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__P20331.isGetter = true; +Sprite_vy__P128212.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__P128212.isGetter = true; -function Sprite_vy__P20331_mk(s) { +function Sprite_vy__P128212_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vy__P20331, depth: s.depth + 1, + parent: s, fn: Sprite_vy__P128212, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21362,7 +21362,7 @@ function Sprite_vy__P20331_mk(s) { -function Sprite_vx__P20330(s) { +function Sprite_vx__P128211(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21378,7 +21378,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -21389,12 +21389,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_vx__P20330.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__P128211.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__P20330_mk(s) { +function Sprite_vx__P128211_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P20330, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P128211, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21407,7 +21407,7 @@ function Sprite_vx__P20330_mk(s) { -function Sprite_vx__P20329(s) { +function Sprite_vx__P128210(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21422,20 +21422,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20329.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__P20329.isGetter = true; +Sprite_vx__P128210.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__P128210.isGetter = true; -function Sprite_vx__P20329_mk(s) { +function Sprite_vx__P128210_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_vx__P20329, depth: s.depth + 1, + parent: s, fn: Sprite_vx__P128210, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21445,7 +21445,7 @@ function Sprite_vx__P20329_mk(s) { -function sprites_BaseSprite_constructor__P20067(s) { +function sprites_BaseSprite_constructor__P127948(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21461,15 +21461,15 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20065_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_z__P20070_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C127946_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_z__P127951_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 129; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = scene_Scene_addSprite__P20841_mk(s); - s.tmp_1 = game_currentScene__P20970_mk(s); + s.tmp_0 = scene_Scene_addSprite__P128722_mk(s); + s.tmp_1 = game_currentScene__P128851_mk(s); s.callLocIdx = 130; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -21482,12 +21482,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_constructor__P20067.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__P127948.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__P20067_mk(s) { +function sprites_BaseSprite_constructor__P127948_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_constructor__P20067, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_constructor__P127948, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21499,7 +21499,7 @@ function sprites_BaseSprite_constructor__P20067_mk(s) { -function scene_Scene_addSprite__P20841(s) { +function scene_Scene_addSprite__P128722(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21515,7 +21515,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C20814_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C128695_VT)) failedCast(r0); r0 = s.arg0.fields["allSprites"]; s.tmp_0 = r0; r0 = pxsim_Array__push(s.tmp_0, s.arg1); @@ -21542,12 +21542,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Scene_addSprite__P20841.info = {"start":7218,"length":128,"line":200,"column":8,"endLine":203,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"addSprite","argumentNames":["this","sprite"]} +scene_Scene_addSprite__P128722.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__P20841_mk(s) { +function scene_Scene_addSprite__P128722_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_addSprite__P20841, depth: s.depth + 1, + parent: s, fn: scene_Scene_addSprite__P128722, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21561,7 +21561,7 @@ function scene_Scene_addSprite__P20841_mk(s) { -function sprites_BaseSprite_z__P20070(s) { +function sprites_BaseSprite_z__P127951(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21577,7 +21577,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20065_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C127946_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== s.arg1); @@ -21585,7 +21585,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__P20970_mk(s); + s.tmp_1 = game_currentScene__P128851_mk(s); s.callLocIdx = 132; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -21601,12 +21601,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite_z__P20070.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__P127951.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__P20070_mk(s) { +function sprites_BaseSprite_z__P127951_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P20070, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P127951, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21620,7 +21620,7 @@ function sprites_BaseSprite_z__P20070_mk(s) { -function sprites_BaseSprite_z__P20069(s) { +function sprites_BaseSprite_z__P127950(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21635,18 +21635,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20065_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C127946_VT)) failedCast(r0); r0 = s.arg0.fields["_z"]; return leaveAccessor(s, r0) default: oops() } } } -sprites_BaseSprite_z__P20069.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__P20069.isGetter = true; +sprites_BaseSprite_z__P127950.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__P127950.isGetter = true; -function sprites_BaseSprite_z__P20069_mk(s) { +function sprites_BaseSprite_z__P127950_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite_z__P20069, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite_z__P127950, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -21655,7 +21655,7 @@ function sprites_BaseSprite_z__P20069_mk(s) { -function game_onShade__P20988(s) { +function game_onShade__P128869(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21669,7 +21669,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_init__P22912_mk(s); + s.tmp_0 = game_init__P130793_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 959; s.pc = 4; return s.tmp_0; case 4: @@ -21683,7 +21683,7 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = scene_createRenderable__P20776_mk(s); + s.tmp_2 = scene_createRenderable__P128657_mk(s); s.tmp_2.arg0 = 80; s.tmp_2.arg1 = s.arg0; s.tmp_2.arg2 = undefined; @@ -21695,12 +21695,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onShade__P20988.info = {"start":15517,"length":145,"line":464,"column":4,"endLine":468,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"onShade","argumentNames":["a"]} +game_onShade__P128869.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__P20988_mk(s) { +function game_onShade__P128869_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onShade__P20988, depth: s.depth + 1, + parent: s, fn: game_onShade__P128869, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21712,7 +21712,7 @@ function game_onShade__P20988_mk(s) { -function scene_createRenderable__P20776(s) { +function scene_createRenderable__P128657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21722,14 +21722,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.renderable___28178 = undefined; + s.renderable___136059 = 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__C20771_VT); + r0 = pxsim_pxtcore_mkClassInstance(scene_Renderable__C128652_VT); s.tmp_0 = r0; s.tmp_1 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_1); @@ -21737,11 +21737,11 @@ switch (step) { r0 = s.tmp_1; { step = 2; continue; } case 1: - r0 = renderable_inline__P28184; + r0 = renderable_inline__P136065; case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.tmp_3 = scene_Renderable_constructor__P20772_mk(s); + s.tmp_3 = scene_Renderable_constructor__P128653_mk(s); s.tmp_3.arg0 = s.tmp_0; s.tmp_3.arg1 = s.arg1; s.tmp_3.arg2 = s.tmp_2; @@ -21749,23 +21749,23 @@ switch (step) { s.callLocIdx = 903; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; - s.renderable___28178 = (s.tmp_0); - r0 = s.renderable___28178; + s.renderable___136059 = (s.tmp_0); + r0 = s.renderable___136059; return leave(s, r0) default: oops() } } } -scene_createRenderable__P20776.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__P128657.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__P20776_mk(s) { +function scene_createRenderable__P128657_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_createRenderable__P20776, depth: s.depth + 1, + parent: s, fn: scene_createRenderable__P128657, 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___28178: undefined, + renderable___136059: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -21775,7 +21775,7 @@ function scene_createRenderable__P20776_mk(s) { -function renderable_inline__P28184(s) { +function renderable_inline__P136065(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21789,12 +21789,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -renderable_inline__P28184.info = {"start":875,"length":10,"line":31,"column":32,"endLine":31,"endColumn":42,"fileName":"pxt_modules/game/renderable.ts","functionName":"inline","argumentNames":[]} +renderable_inline__P136065.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__P28184_mk(s) { +function renderable_inline__P136065_mk(s) { checkStack(s.depth); return { - parent: s, fn: renderable_inline__P28184, depth: s.depth + 1, + parent: s, fn: renderable_inline__P136065, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -21802,7 +21802,7 @@ function renderable_inline__P28184_mk(s) { -function scene_Renderable_constructor__P20772(s) { +function scene_Renderable_constructor__P128653(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21820,10 +21820,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C20771_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C128652_VT)) failedCast(r0); r0 = (s.arg0).fields["handler"] = (s.arg1); r0 = (s.arg0).fields["shouldBeVisible"] = (s.arg2); - s.tmp_0 = sprites_BaseSprite_constructor__P20067_mk(s); + s.tmp_0 = sprites_BaseSprite_constructor__P127948_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg3; s.callLocIdx = 900; s.pc = 1; return s.tmp_0; @@ -21833,12 +21833,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable_constructor__P20772.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__P128653.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__P20772_mk(s) { +function scene_Renderable_constructor__P128653_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable_constructor__P20772, depth: s.depth + 1, + parent: s, fn: scene_Renderable_constructor__P128653, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -21851,7 +21851,7 @@ function scene_Renderable_constructor__P20772_mk(s) { -function scene_systemMenu_PauseMenu_constructor__P21067(s) { +function scene_systemMenu_PauseMenu_constructor__P128948(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21868,7 +21868,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C21066_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_systemMenu_PauseMenu__C128947_VT)) failedCast(r0); r0 = (s.arg0).fields["generator"] = (s.arg1); s.tmp_0 = r0 = s.arg2; r0 = pxsim_numops_toBool(s.tmp_0); @@ -21876,8 +21876,8 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_1 = scene_systemMenu_buildMenuTheme__P21075_mk(s); - r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___21082); + s.tmp_1 = scene_systemMenu_buildMenuTheme__P128956_mk(s); + r0 = pxsim_ImageMethods.width(globals.CARD_NORMAL___128963); s.tmp_1.arg0 = r0; s.tmp_1.arg1 = 3; s.tmp_1.arg2 = undefined; @@ -21896,12 +21896,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_PauseMenu_constructor__P21067.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__P128948.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__P21067_mk(s) { +function scene_systemMenu_PauseMenu_constructor__P128948_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_PauseMenu_constructor__P21067, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_PauseMenu_constructor__P128948, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -21915,7 +21915,7 @@ function scene_systemMenu_PauseMenu_constructor__P21067_mk(s) { -function scene_systemMenu_buildMenuTheme__P21075(s) { +function scene_systemMenu_buildMenuTheme__P128956(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -21925,7 +21925,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cardsPerRow___30465 = undefined; + s.cardsPerRow___138346 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -21933,19 +21933,19 @@ switch (step) { s.arg3 = (s.lambdaArgs[3]); s.lambdaArgs = null; } - r0 = pxsim_ImageMethods.width(globals.screen___20003); + r0 = pxsim_ImageMethods.width(globals.screen___127884); 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___30465 = (r0); + s.cardsPerRow___138346 = (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___19946; + r0 = globals.font8___127827; case 2: // jmp value (already in r0) s.tmp_1 = r0; @@ -21956,7 +21956,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = image_doubledFont__P19949_mk(s); + s.tmp_1 = image_doubledFont__P127830_mk(s); s.tmp_1.arg0 = s.arg2; s.callLocIdx = 1108; s.pc = 5; return s.tmp_1; case 5: @@ -21969,12 +21969,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___30465); - r0 = pxsim_ImageMethods.width(globals.screen___20003); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "cardsPerRow", s.cardsPerRow___138346); + r0 = pxsim_ImageMethods.width(globals.screen___127884); s.tmp_3 = r0; - r0 = (s.cardsPerRow___30465 * s.arg0); + r0 = (s.cardsPerRow___138346 * s.arg0); s.tmp_5 = r0; - r0 = (s.cardsPerRow___30465 - 1); + r0 = (s.cardsPerRow___138346 - 1); s.tmp_7 = r0; r0 = (s.tmp_7 * s.arg1); s.tmp_6 = r0; @@ -22005,7 +22005,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___20003); + r0 = pxsim_ImageMethods.height(globals.screen___127884); s.tmp_14 = r0; s.tmp_16 = if_charHeight_1_mk(s); s.tmp_16.arg0 = s.arg2; @@ -22026,19 +22026,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___21083); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___21084); - r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___21082); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "selectedCard", globals.CARD_SELECTED___128964); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "activeCard", globals.CARD_ACTIVE___128965); + r0 = pxsim_pxtrt.mapSetByString(s.tmp_0, "basicCard", globals.CARD_NORMAL___128963); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -scene_systemMenu_buildMenuTheme__P21075.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__P128956.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__P21075_mk(s) { +function scene_systemMenu_buildMenuTheme__P128956_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_buildMenuTheme__P21075, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_buildMenuTheme__P128956, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22057,7 +22057,7 @@ function scene_systemMenu_buildMenuTheme__P21075_mk(s) { tmp_14: undefined, tmp_15: undefined, tmp_16: undefined, - cardsPerRow___30465: undefined, + cardsPerRow___138346: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22068,7 +22068,7 @@ function scene_systemMenu_buildMenuTheme__P21075_mk(s) { -function image_doubledFont__P19949(s) { +function image_doubledFont__P127830(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22082,7 +22082,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = image_scaledFont__P19950_mk(s); + s.tmp_0 = image_scaledFont__P127831_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 2; s.callLocIdx = 88; s.pc = 1; return s.tmp_0; @@ -22091,12 +22091,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_doubledFont__P19949.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__P127830.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__P19949_mk(s) { +function image_doubledFont__P127830_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_doubledFont__P19949, depth: s.depth + 1, + parent: s, fn: image_doubledFont__P127830, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22106,7 +22106,7 @@ function image_doubledFont__P19949_mk(s) { -function image_scaledFont__P19950(s) { +function image_scaledFont__P127831(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22221,12 +22221,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -image_scaledFont__P19950.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__P127831.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__P19950_mk(s) { +function image_scaledFont__P127831_mk(s) { checkStack(s.depth); return { - parent: s, fn: image_scaledFont__P19950, depth: s.depth + 1, + parent: s, fn: image_scaledFont__P127831, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22252,7 +22252,7 @@ function image_scaledFont__P19950_mk(s) { -function game_pushScene__P20974(s) { +function game_pushScene__P128855(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22262,43 +22262,43 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.oldScene___30544 = undefined; - s.tmp_0 = game_currentScene__P20970_mk(s); + s.oldScene___138425 = undefined; + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 947; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.oldScene___30544 = (r0); - s.tmp_0 = particles_clearAll__P21152_mk(s); + s.oldScene___138425 = (r0); + s.tmp_0 = particles_clearAll__P129033_mk(s); s.callLocIdx = 948; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_disableAll__P21153_mk(s); + s.tmp_0 = particles_disableAll__P129034_mk(s); s.callLocIdx = 949; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._sceneStack___22905); + r0 = pxsim_numops_toBoolDecr(globals._sceneStack___130786); 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___22905 = (r0); + globals._sceneStack___130786 = (r0); case 1: case 2: - r0 = pxsim_Array__push(globals._sceneStack___22905, globals._scene___22904); - s.tmp_0 = game_init__P22912_mk(s); + r0 = pxsim_Array__push(globals._sceneStack___130786, globals._scene___130785); + s.tmp_0 = game_init__P130793_mk(s); s.tmp_0.arg0 = true; s.callLocIdx = 950; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___22906); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___130787); if (!r0) { step = 3; continue; } - r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P30561); + r0 = pxsim_pxtcore_mkAction(1, game_pushScene_inline__P138442); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___30544); - s.tmp_1 = helpers_arrayForEach__P18080_mk(s); - s.tmp_1.arg0 = globals._scenePushHandlers___22906; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.oldScene___138425); + s.tmp_1 = helpers_arrayForEach__P125961_mk(s); + s.tmp_1.arg0 = globals._scenePushHandlers___130787; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 952; s.pc = 9; return s.tmp_1; case 9: @@ -22309,23 +22309,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene__P20974.info = {"start":4760,"length":367,"line":148,"column":4,"endLine":159,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"pushScene","argumentNames":[]} +game_pushScene__P128855.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__P20974_mk(s) { +function game_pushScene__P128855_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene__P20974, depth: s.depth + 1, + parent: s, fn: game_pushScene__P128855, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - oldScene___30544: undefined, + oldScene___138425: undefined, } } -function game_pushScene_inline__P30561(s) { +function game_pushScene_inline__P138442(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22350,12 +22350,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_pushScene_inline__P30561.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__P138442.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__P30561_mk(s) { +function game_pushScene_inline__P138442_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_pushScene_inline__P30561, depth: s.depth + 1, + parent: s, fn: game_pushScene_inline__P138442, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22365,7 +22365,7 @@ function game_pushScene_inline__P30561_mk(s) { -function particles_disableAll__P21153(s) { +function particles_disableAll__P129034(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22375,21 +22375,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___30565 = undefined; - s.tmp_0 = particles_particleSources__P23254_mk(s); + s.sources___138446 = undefined; + s.tmp_0 = particles_particleSources__P131135_mk(s); s.callLocIdx = 1191; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___30565 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___30565); + s.sources___138446 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___138446); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P18080_mk(s); - s.tmp_0.arg0 = s.sources___30565; - s.tmp_0.arg1 = particles_disableAll_inline__P30571; + s.tmp_0 = helpers_arrayForEach__P125961_mk(s); + s.tmp_0.arg0 = s.sources___138446; + s.tmp_0.arg1 = particles_disableAll_inline__P138452; s.callLocIdx = 1193; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P23250_mk(s); + s.tmp_0 = particles_pruneParticles__P131131_mk(s); s.callLocIdx = 1194; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -22399,22 +22399,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll__P21153.info = {"start":12370,"length":195,"line":402,"column":4,"endLine":408,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"disableAll","argumentNames":[]} +particles_disableAll__P129034.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__P21153_mk(s) { +function particles_disableAll__P129034_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll__P21153, depth: s.depth + 1, + parent: s, fn: particles_disableAll__P129034, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___30565: undefined, + sources___138446: undefined, } } -function particles_disableAll_inline__P30571(s) { +function particles_disableAll_inline__P138452(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22428,7 +22428,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_enabled__P21135_mk(s); + s.tmp_0 = particles_ParticleSource_enabled__P129016_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1192; s.pc = 1; return s.tmp_0; @@ -22438,12 +22438,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_disableAll_inline__P30571.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__P138452.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__P30571_mk(s) { +function particles_disableAll_inline__P138452_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_disableAll_inline__P30571, depth: s.depth + 1, + parent: s, fn: particles_disableAll_inline__P138452, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22453,7 +22453,7 @@ function particles_disableAll_inline__P30571_mk(s) { -function particles_clearAll__P21152(s) { +function particles_clearAll__P129033(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22463,21 +22463,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___30576 = undefined; - s.tmp_0 = particles_particleSources__P23254_mk(s); + s.sources___138457 = undefined; + s.tmp_0 = particles_particleSources__P131135_mk(s); s.callLocIdx = 1187; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.sources___30576 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___30576); + s.sources___138457 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___138457); if (!r0) { step = 1; continue; } - s.tmp_0 = helpers_arrayForEach__P18080_mk(s); - s.tmp_0.arg0 = s.sources___30576; - s.tmp_0.arg1 = particles_clearAll_inline__P30582; + s.tmp_0 = helpers_arrayForEach__P125961_mk(s); + s.tmp_0.arg0 = s.sources___138457; + s.tmp_0.arg1 = particles_clearAll_inline__P138463; s.callLocIdx = 1189; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = particles_pruneParticles__P23250_mk(s); + s.tmp_0 = particles_pruneParticles__P131131_mk(s); s.callLocIdx = 1190; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; @@ -22487,22 +22487,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll__P21152.info = {"start":12098,"length":185,"line":391,"column":4,"endLine":397,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"clearAll","argumentNames":[]} +particles_clearAll__P129033.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__P21152_mk(s) { +function particles_clearAll__P129033_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll__P21152, depth: s.depth + 1, + parent: s, fn: particles_clearAll__P129033, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - sources___30576: undefined, + sources___138457: undefined, } } -function particles_clearAll_inline__P30582(s) { +function particles_clearAll_inline__P138463(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22516,7 +22516,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = particles_ParticleSource_clear__P21137_mk(s); + s.tmp_0 = particles_ParticleSource_clear__P129018_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1188; s.pc = 1; return s.tmp_0; case 1: @@ -22525,12 +22525,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_clearAll_inline__P30582.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__P138463.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__P30582_mk(s) { +function particles_clearAll_inline__P138463_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_clearAll_inline__P30582, depth: s.depth + 1, + parent: s, fn: particles_clearAll_inline__P138463, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -22540,7 +22540,7 @@ function particles_clearAll_inline__P30582_mk(s) { -function particles_ParticleSource_clear__P21137(s) { +function particles_ParticleSource_clear__P129018(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22555,18 +22555,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21122_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C129003_VT)) failedCast(r0); r0 = (s.arg0).fields["head"] = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_clear__P21137.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__P129018.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__P21137_mk(s) { +function particles_ParticleSource_clear__P129018_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_clear__P21137, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_clear__P129018, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -22575,7 +22575,7 @@ function particles_ParticleSource_clear__P21137_mk(s) { -function controller_Button_onEvent__P20167(s) { +function controller_Button_onEvent__P128048(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22585,7 +22585,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.eventHandler___30594 = undefined; + s.eventHandler___138475 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -22593,28 +22593,28 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20160_VT)) failedCast(r0); - s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P22693_mk(s); + if (!checkSubtype(r0, controller_Button__C128041_VT)) failedCast(r0); + s.tmp_0 = controller_Button_getOrCreateHandlerForEvent__P130574_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 202; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.eventHandler___30594 = (r0); - r0 = (s.eventHandler___30594).fields["callback"] = (s.arg2); + s.eventHandler___138475 = (r0); + r0 = (s.eventHandler___138475).fields["callback"] = (s.arg2); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_Button_onEvent__P20167.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__P128048.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__P20167_mk(s) { +function controller_Button_onEvent__P128048_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_onEvent__P20167, depth: s.depth + 1, + parent: s, fn: controller_Button_onEvent__P128048, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, - eventHandler___30594: undefined, + eventHandler___138475: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -22624,7 +22624,7 @@ function controller_Button_onEvent__P20167_mk(s) { -function controller_Button_getOrCreateHandlerForEvent__P22693(s) { +function controller_Button_getOrCreateHandlerForEvent__P130574(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22634,19 +22634,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___30615 = undefined; - s.eventHandler___30624 = undefined; - s.unnamed160___U2 = undefined; - s.unnamed161___U3 = undefined; - s.newHandler___30640 = undefined; + s.handlerState___138496 = undefined; + s.eventHandler___138505 = undefined; + s.unnamed712___U2 = undefined; + s.unnamed713___U3 = undefined; + s.newHandler___138521 = 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__C20160_VT)) failedCast(r0); - s.tmp_3 = controller_Button_handlerState__P22688_mk(s); + if (!checkSubtype(r0, controller_Button__C128041_VT)) failedCast(r0); + s.tmp_3 = controller_Button_handlerState__P130569_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 212; s.pc = 10; return s.tmp_3; case 10: @@ -22658,16 +22658,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__C20156_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonEventHandlerState__C128037_VT); s.tmp_4 = r0; - s.tmp_5 = controller_ButtonEventHandlerState_constructor__P20157_mk(s); + s.tmp_5 = controller_ButtonEventHandlerState_constructor__P128038_mk(s); s.tmp_5.arg0 = s.tmp_4; r0 = s.arg0.fields["id"]; s.tmp_5.arg1 = r0; s.callLocIdx = 214; s.pc = 11; return s.tmp_5; case 11: r0 = s.retval; - s.tmp_7 = game_currentScene__P20970_mk(s); + s.tmp_7 = game_currentScene__P128851_mk(s); s.callLocIdx = 213; s.pc = 12; return s.tmp_7; case 12: r0 = s.retval; @@ -22676,13 +22676,13 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_6, s.tmp_4); case 1: case 2: - s.tmp_0 = controller_Button_handlerState__P22688_mk(s); + s.tmp_0 = controller_Button_handlerState__P130569_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 215; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; - s.handlerState___30615 = (r0); - r0 = s.handlerState___30615.fields["user"]; + s.handlerState___138496 = (r0); + r0 = s.handlerState___138496.fields["user"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); s.tmp_1 = r0; @@ -22690,44 +22690,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___30615; + s.tmp_3 = r0 = s.handlerState___138496; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = (s.tmp_3).fields["user"] = (s.tmp_4); case 3: case 4: - s.eventHandler___30624 = (undefined); - r0 = s.handlerState___30615.fields["user"]; - s.unnamed160___U2 = (r0); - s.unnamed161___U3 = (0); + s.eventHandler___138505 = (undefined); + r0 = s.handlerState___138496.fields["user"]; + s.unnamed712___U2 = (r0); + s.unnamed713___U3 = (0); case 5: - s.tmp_0 = r0 = s.unnamed161___U3; - r0 = pxsim_Array__length(s.unnamed160___U2); + s.tmp_0 = r0 = s.unnamed713___U3; + r0 = pxsim_Array__length(s.unnamed712___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 8; continue; } - r0 = pxsim_Array__getAt(s.unnamed160___U2, s.unnamed161___U3); - s.eventHandler___30624 = (r0); - r0 = s.eventHandler___30624.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed712___U2, s.unnamed713___U3); + s.eventHandler___138505 = (r0); + r0 = s.eventHandler___138505.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___30624; + r0 = s.eventHandler___138505; { step = 9; continue; } case 6: case 7: - r0 = (s.unnamed161___U3 + 1); - s.unnamed161___U3 = (r0); + r0 = (s.unnamed713___U3 + 1); + s.unnamed713___U3 = (r0); { step = 5; continue; } case 8: - s.unnamed160___U2 = (undefined); - r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P30637); + s.unnamed712___U2 = (undefined); + r0 = pxsim_pxtcore_mkAction(2, controller_Button_getOrCreateHandlerForEvent_inline__P138518); 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__P18362_mk(s); + s.tmp_5 = control_onEvent__P126243_mk(s); s.tmp_5.arg0 = s.arg1; r0 = s.arg0.fields["id"]; s.tmp_5.arg1 = r0; @@ -22736,30 +22736,30 @@ switch (step) { s.callLocIdx = 217; s.pc = 14; return s.tmp_5; case 14: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonHandler__C20154_VT); + r0 = pxsim_pxtcore_mkClassInstance(controller_ButtonHandler__C128035_VT); s.tmp_0 = r0; - s.tmp_1 = controller_ButtonHandler_constructor__P20155_mk(s); + s.tmp_1 = controller_ButtonHandler_constructor__P128036_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = undefined; s.callLocIdx = 218; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.newHandler___30640 = (s.tmp_0); - r0 = s.handlerState___30615.fields["user"]; + s.newHandler___138521 = (s.tmp_0); + r0 = s.handlerState___138496.fields["user"]; s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.newHandler___30640); - r0 = s.newHandler___30640; + r0 = pxsim_Array__push(s.tmp_0, s.newHandler___138521); + r0 = s.newHandler___138521; case 9: return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent__P22693.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__P130574.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__P22693_mk(s) { +function controller_Button_getOrCreateHandlerForEvent__P130574_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P22693, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent__P130574, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22769,11 +22769,11 @@ function controller_Button_getOrCreateHandlerForEvent__P22693_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - handlerState___30615: undefined, - eventHandler___30624: undefined, - unnamed160___U2: undefined, - unnamed161___U3: undefined, - newHandler___30640: undefined, + handlerState___138496: undefined, + eventHandler___138505: undefined, + unnamed712___U2: undefined, + unnamed713___U3: undefined, + newHandler___138521: undefined, arg0: undefined, arg1: undefined, } } @@ -22782,7 +22782,7 @@ function controller_Button_getOrCreateHandlerForEvent__P22693_mk(s) { -function controller_Button_getOrCreateHandlerForEvent_inline__P30637(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P138518(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22792,7 +22792,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_runButtonEvents__P22692_mk(s); + s.tmp_0 = controller_Button_runButtonEvents__P130573_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.caps[1]; s.callLocIdx = 216; s.pc = 1; return s.tmp_0; @@ -22802,12 +22802,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_getOrCreateHandlerForEvent_inline__P30637.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__P138518.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__P30637_mk(s) { +function controller_Button_getOrCreateHandlerForEvent_inline__P138518_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P30637, depth: s.depth + 1, + parent: s, fn: controller_Button_getOrCreateHandlerForEvent_inline__P138518, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -22816,7 +22816,7 @@ function controller_Button_getOrCreateHandlerForEvent_inline__P30637_mk(s) { -function controller_Button_runButtonEvents__P22692(s) { +function controller_Button_runButtonEvents__P130573(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22826,25 +22826,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.handlerState___30654 = undefined; - s.userHandler___30658 = undefined; - s.eventHandler___30669 = undefined; - s.unnamed158___U3 = undefined; - s.unnamed159___U4 = undefined; + s.handlerState___138535 = undefined; + s.userHandler___138539 = undefined; + s.eventHandler___138550 = undefined; + s.unnamed710___U3 = undefined; + s.unnamed711___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__C20160_VT)) failedCast(r0); - s.tmp_0 = controller_Button_handlerState__P22688_mk(s); + if (!checkSubtype(r0, controller_Button__C128041_VT)) failedCast(r0); + s.tmp_0 = controller_Button_handlerState__P130569_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 208; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.handlerState___30654 = (r0); - r0 = pxsim_numops_toBoolDecr(s.handlerState___30654); + s.handlerState___138535 = (r0); + r0 = pxsim_numops_toBoolDecr(s.handlerState___138535); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -22853,19 +22853,19 @@ switch (step) { { step = 13; continue; } case 1: case 2: - s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P22693_mk(s); + s.tmp_2 = controller_Button_getOrCreateHandlerForEvent__P130574_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 209; s.pc = 15; return s.tmp_2; case 15: r0 = s.retval; - s.userHandler___30658 = (r0); - r0 = s.userHandler___30658.fields["callback"]; + s.userHandler___138539 = (r0); + r0 = s.userHandler___138539.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___30658; + s.tmp_1.arg0 = s.userHandler___138539; if (!s.tmp_1.arg0.vtable.iface) { setupLambda(s.tmp_1, pxsim_pxtrt.mapGetByString(s.tmp_1.arg0, "callback"), 1); s.callLocIdx = 210; s.pc = 16; return s.tmp_1; @@ -22879,23 +22879,23 @@ switch (step) { r0 = s.retval; case 3: case 4: - r0 = s.handlerState___30654.fields["system"]; + r0 = s.handlerState___138535.fields["system"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 11; continue; } - s.eventHandler___30669 = (undefined); - r0 = s.handlerState___30654.fields["system"]; - s.unnamed158___U3 = (r0); - s.unnamed159___U4 = (0); + s.eventHandler___138550 = (undefined); + r0 = s.handlerState___138535.fields["system"]; + s.unnamed710___U3 = (r0); + s.unnamed711___U4 = (0); case 5: - s.tmp_0 = r0 = s.unnamed159___U4; - r0 = pxsim_Array__length(s.unnamed158___U3); + s.tmp_0 = r0 = s.unnamed711___U4; + r0 = pxsim_Array__length(s.unnamed710___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 10; continue; } - r0 = pxsim_Array__getAt(s.unnamed158___U3, s.unnamed159___U4); - s.eventHandler___30669 = (r0); - r0 = s.eventHandler___30669.fields["event"]; + r0 = pxsim_Array__getAt(s.unnamed710___U3, s.unnamed711___U4); + s.eventHandler___138550 = (r0); + r0 = s.eventHandler___138550.fields["event"]; s.tmp_3 = r0; r0 = (s.tmp_3 === s.arg1); s.tmp_2 = r0; @@ -22904,14 +22904,14 @@ switch (step) { r0 = s.tmp_2; { step = 7; continue; } case 6: - r0 = s.eventHandler___30669.fields["callback"]; + r0 = s.eventHandler___138550.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___30669; + s.tmp_5.arg0 = s.eventHandler___138550; if (!s.tmp_5.arg0.vtable.iface) { setupLambda(s.tmp_5, pxsim_pxtrt.mapGetByString(s.tmp_5.arg0, "callback"), 1); s.callLocIdx = 211; s.pc = 17; return s.tmp_5; @@ -22925,11 +22925,11 @@ switch (step) { r0 = s.retval; case 8: case 9: - r0 = (s.unnamed159___U4 + 1); - s.unnamed159___U4 = (r0); + r0 = (s.unnamed711___U4 + 1); + s.unnamed711___U4 = (r0); { step = 5; continue; } case 10: - s.unnamed158___U3 = (undefined); + s.unnamed710___U3 = (undefined); case 11: case 12: case 13: @@ -22937,12 +22937,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_runButtonEvents__P22692.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__P130573.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__P22692_mk(s) { +function controller_Button_runButtonEvents__P130573_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_runButtonEvents__P22692, depth: s.depth + 1, + parent: s, fn: controller_Button_runButtonEvents__P130573, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -22950,11 +22950,11 @@ function controller_Button_runButtonEvents__P22692_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - handlerState___30654: undefined, - userHandler___30658: undefined, - eventHandler___30669: undefined, - unnamed158___U3: undefined, - unnamed159___U4: undefined, + handlerState___138535: undefined, + userHandler___138539: undefined, + eventHandler___138550: undefined, + unnamed710___U3: undefined, + unnamed711___U4: undefined, arg0: undefined, arg1: undefined, } } @@ -22963,7 +22963,7 @@ function controller_Button_runButtonEvents__P22692_mk(s) { -function controller_Button_handlerState__P22688(s) { +function controller_Button_handlerState__P130569(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -22973,32 +22973,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.state___30685 = undefined; - s.unnamed156___U1 = undefined; - s.unnamed157___U2 = undefined; + s.state___138566 = undefined; + s.unnamed708___U1 = undefined; + s.unnamed709___U2 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20160_VT)) failedCast(r0); - s.state___30685 = (undefined); - s.tmp_0 = game_currentScene__P20970_mk(s); + if (!checkSubtype(r0, controller_Button__C128041_VT)) failedCast(r0); + s.state___138566 = (undefined); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 198; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; r0 = r0.fields["buttonEventHandlers"]; - s.unnamed156___U1 = (r0); - s.unnamed157___U2 = (0); + s.unnamed708___U1 = (r0); + s.unnamed709___U2 = (0); case 1: - s.tmp_0 = r0 = s.unnamed157___U2; - r0 = pxsim_Array__length(s.unnamed156___U1); + s.tmp_0 = r0 = s.unnamed709___U2; + r0 = pxsim_Array__length(s.unnamed708___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed156___U1, s.unnamed157___U2); - s.state___30685 = (r0); - r0 = s.state___30685.fields["id"]; + r0 = pxsim_Array__getAt(s.unnamed708___U1, s.unnamed709___U2); + s.state___138566 = (r0); + r0 = s.state___138566.fields["id"]; s.tmp_3 = r0; r0 = s.arg0.fields["id"]; s.tmp_4 = r0; @@ -23006,36 +23006,36 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - r0 = s.state___30685; + r0 = s.state___138566; { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed157___U2 + 1); - s.unnamed157___U2 = (r0); + r0 = (s.unnamed709___U2 + 1); + s.unnamed709___U2 = (r0); { step = 1; continue; } case 4: - s.unnamed156___U1 = (undefined); + s.unnamed708___U1 = (undefined); r0 = undefined; case 5: return leaveAccessor(s, r0) default: oops() } } } -controller_Button_handlerState__P22688.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__P22688.isGetter = true; +controller_Button_handlerState__P130569.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__P130569.isGetter = true; -function controller_Button_handlerState__P22688_mk(s) { +function controller_Button_handlerState__P130569_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_handlerState__P22688, depth: s.depth + 1, + parent: s, fn: controller_Button_handlerState__P130569, 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___30685: undefined, - unnamed156___U1: undefined, - unnamed157___U2: undefined, + state___138566: undefined, + unnamed708___U1: undefined, + unnamed709___U2: undefined, arg0: undefined, } } @@ -23043,7 +23043,7 @@ function controller_Button_handlerState__P22688_mk(s) { -function controller_ButtonEventHandlerState_constructor__P20157(s) { +function controller_ButtonEventHandlerState_constructor__P128038(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23059,18 +23059,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ButtonEventHandlerState__C20156_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ButtonEventHandlerState__C128037_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -controller_ButtonEventHandlerState_constructor__P20157.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__P128038.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__P20157_mk(s) { +function controller_ButtonEventHandlerState_constructor__P128038_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ButtonEventHandlerState_constructor__P20157, depth: s.depth + 1, + parent: s, fn: controller_ButtonEventHandlerState_constructor__P128038, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -23080,7 +23080,7 @@ function controller_ButtonEventHandlerState_constructor__P20157_mk(s) { -function controller_ButtonHandler_constructor__P20155(s) { +function controller_ButtonHandler_constructor__P128036(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23097,19 +23097,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_ButtonHandler__C20154_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_ButtonHandler__C128035_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__P20155.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__P128036.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__P20155_mk(s) { +function controller_ButtonHandler_constructor__P128036_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_ButtonHandler_constructor__P20155, depth: s.depth + 1, + parent: s, fn: controller_ButtonHandler_constructor__P128036, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -23120,7 +23120,7 @@ function controller_ButtonHandler_constructor__P20155_mk(s) { -function scene_systemMenu_initScreen__P23172(s) { +function scene_systemMenu_initScreen__P131053(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23130,20 +23130,20 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.brightness___30697 = undefined; - s.tmp_0 = settings_readNumber__P20039_mk(s); + s.brightness___138578 = undefined; + s.tmp_0 = settings_readNumber__P127920_mk(s); s.tmp_0.arg0 = "#brightness"; s.callLocIdx = 1117; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.brightness___30697 = (r0); - r0 = (s.brightness___30697 !== undefined); + s.brightness___138578 = (r0); + r0 = (s.brightness___138578 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = helpers_setScreenBrightness__P19936_mk(s); - s.tmp_1.arg0 = globals.screen___20003; - s.tmp_1.arg1 = s.brightness___30697; + s.tmp_1 = helpers_setScreenBrightness__P127817_mk(s); + s.tmp_1.arg0 = globals.screen___127884; + s.tmp_1.arg1 = s.brightness___138578; s.callLocIdx = 1118; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -23153,23 +23153,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initScreen__P23172.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__P131053.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__P23172_mk(s) { +function scene_systemMenu_initScreen__P131053_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initScreen__P23172, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initScreen__P131053, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - brightness___30697: undefined, + brightness___138578: undefined, } } -function settings_readNumber__P20039(s) { +function settings_readNumber__P127920(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23179,15 +23179,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___30708 = undefined; - s.nums___30715 = undefined; + s.buf___138589 = undefined; + s.nums___138596 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___30708 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___30708); + s.buf___138589 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___138589); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -23197,20 +23197,20 @@ switch (step) { { step = 7; continue; } { step = 6; continue; } case 1: - s.tmp_2 = msgpack_unpackNumberArray__P18154_mk(s); - s.tmp_2.arg0 = s.buf___30708; + s.tmp_2 = msgpack_unpackNumberArray__P126035_mk(s); + s.tmp_2.arg0 = s.buf___138589; s.tmp_2.arg1 = 0; s.callLocIdx = 128; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - s.nums___30715 = (r0); - s.tmp_0 = r0 = s.nums___30715; + s.nums___138596 = (r0); + s.tmp_0 = r0 = s.nums___138596; 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___30715); + r0 = pxsim_Array__length(s.nums___138596); s.tmp_1 = r0; r0 = (s.tmp_1 >= 1); case 3: @@ -23218,7 +23218,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___30715, 0); + r0 = pxsim_Array__getAt(s.nums___138596, 0); { step = 7; continue; } case 4: case 5: @@ -23230,18 +23230,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readNumber__P20039.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__P127920.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__P20039_mk(s) { +function settings_readNumber__P127920_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readNumber__P20039, depth: s.depth + 1, + parent: s, fn: settings_readNumber__P127920, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - buf___30708: undefined, - nums___30715: undefined, + buf___138589: undefined, + nums___138596: undefined, arg0: undefined, } } @@ -23249,7 +23249,7 @@ function settings_readNumber__P20039_mk(s) { -function settings_readBuffer__P20036(s) { +function settings_readBuffer__P127917(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23267,12 +23267,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readBuffer__P20036.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__P127917.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__P20036_mk(s) { +function settings_readBuffer__P127917_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readBuffer__P20036, depth: s.depth + 1, + parent: s, fn: settings_readBuffer__P127917, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -23281,7 +23281,7 @@ function settings_readBuffer__P20036_mk(s) { -function msgpack_unpackNumberArray__P18154(s) { +function msgpack_unpackNumberArray__P126035(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23291,16 +23291,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___30728 = undefined; - s.fmt___30735 = undefined; - s.v___30744 = undefined; + s.res___138609 = undefined; + s.fmt___138616 = undefined; + s.v___138625 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___30728 = (r0); + s.res___138609 = (r0); case 1: s.tmp_1 = r0 = s.arg1; r0 = pxsim.BufferMethods.length(s.arg0); @@ -23312,14 +23312,14 @@ switch (step) { s.tmp_3 = r0 = s.arg1; r0 = (s.tmp_3 + 1); s.arg1 = (r0); - s.tmp_4 = msgpack_tagFormat__P22340_mk(s); + s.tmp_4 = msgpack_tagFormat__P130221_mk(s); r0 = pxsim.BufferMethods.getByte(s.arg0, s.tmp_3); s.tmp_4.arg0 = r0; s.callLocIdx = 19; s.pc = 12; return s.tmp_4; case 12: r0 = s.retval; - s.fmt___30735 = (r0); - r0 = (s.fmt___30735 === null); + s.fmt___138616 = (r0); + r0 = (s.fmt___138616 === null); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } @@ -23327,21 +23327,21 @@ switch (step) { r0 = (s.arg1 - 1); s.tmp_2 = r0; r0 = pxsim.BufferMethods.getNumber(s.tmp_1, 6, s.tmp_2); - s.v___30744 = (r0); - r0 = (-31 <= s.v___30744); + s.v___138625 = (r0); + r0 = (-31 <= s.v___138625); 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___30744 <= 127); + r0 = (s.v___138625 <= 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___30728, s.v___30744); + r0 = pxsim_Array__push(s.res___138609, s.v___138625); { step = 5; continue; } case 4: r0 = null; @@ -23349,13 +23349,13 @@ switch (step) { case 5: { step = 7; continue; } case 6: - s.tmp_0 = r0 = s.res___30728; - r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___30735, s.arg1); + s.tmp_0 = r0 = s.res___138609; + r0 = pxsim.BufferMethods.getNumber(s.arg0, s.fmt___138616, 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__P18146_mk(s); - s.tmp_2.arg0 = s.fmt___30735; + s.tmp_2 = pins_sizeOf__P126027_mk(s); + s.tmp_2.arg0 = s.fmt___138616; s.callLocIdx = 20; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; @@ -23376,26 +23376,26 @@ switch (step) { case 9: { step = 1; continue; } case 10: - r0 = s.res___30728; + r0 = s.res___138609; case 11: return leave(s, r0) default: oops() } } } -msgpack_unpackNumberArray__P18154.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__P126035.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__P18154_mk(s) { +function msgpack_unpackNumberArray__P126035_mk(s) { checkStack(s.depth); return { - parent: s, fn: msgpack_unpackNumberArray__P18154, depth: s.depth + 1, + parent: s, fn: msgpack_unpackNumberArray__P126035, 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___30728: undefined, - fmt___30735: undefined, - v___30744: undefined, + res___138609: undefined, + fmt___138616: undefined, + v___138625: undefined, arg0: undefined, arg1: undefined, } } @@ -23404,7 +23404,7 @@ function msgpack_unpackNumberArray__P18154_mk(s) { -function scene_systemMenu_initVolume__P23171(s) { +function scene_systemMenu_initVolume__P131052(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23414,19 +23414,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.vol___30789 = undefined; - s.tmp_0 = settings_readNumber__P20039_mk(s); + s.vol___138670 = undefined; + s.tmp_0 = settings_readNumber__P127920_mk(s); s.tmp_0.arg0 = "#volume"; s.callLocIdx = 1115; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.vol___30789 = (r0); - r0 = (s.vol___30789 !== undefined); + s.vol___138670 = (r0); + r0 = (s.vol___138670 !== undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_1 = music_setVolume__P19591_mk(s); - s.tmp_1.arg0 = s.vol___30789; + s.tmp_1 = music_setVolume__P127472_mk(s); + s.tmp_1.arg0 = s.vol___138670; s.callLocIdx = 1116; s.pc = 4; return s.tmp_1; case 4: r0 = s.retval; @@ -23436,23 +23436,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_systemMenu_initVolume__P23171.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__P131052.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__P23171_mk(s) { +function scene_systemMenu_initVolume__P131052_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_systemMenu_initVolume__P23171, depth: s.depth + 1, + parent: s, fn: scene_systemMenu_initVolume__P131052, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - vol___30789: undefined, + vol___138670: undefined, } } -function game_GameOverConfig_constructor__P20959(s) { +function game_GameOverConfig_constructor__P128840(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23467,8 +23467,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C20944_VT)) failedCast(r0); - s.tmp_0 = game_GameOverConfig_init__P20960_mk(s); + if (!checkSubtype(r0, game_GameOverConfig__C128825_VT)) failedCast(r0); + s.tmp_0 = game_GameOverConfig_init__P128841_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 938; s.pc = 1; return s.tmp_0; case 1: @@ -23477,12 +23477,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_constructor__P20959.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__P128840.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__P20959_mk(s) { +function game_GameOverConfig_constructor__P128840_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_constructor__P20959, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_constructor__P128840, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23492,7 +23492,7 @@ function game_GameOverConfig_constructor__P20959_mk(s) { -function game_GameOverConfig_init__P20960(s) { +function game_GameOverConfig_init__P128841(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23507,21 +23507,21 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_GameOverConfig__C20944_VT)) failedCast(r0); + if (!checkSubtype(r0, game_GameOverConfig__C128825_VT)) failedCast(r0); r0 = (s.arg0).fields["scoringType"] = (0); - r0 = (s.arg0).fields["winEffect"] = (globals.confetti___21245); - r0 = (s.arg0).fields["loseEffect"] = (globals.melt___21267); + r0 = (s.arg0).fields["winEffect"] = (globals.confetti___129126); + r0 = (s.arg0).fields["loseEffect"] = (globals.melt___129148); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = music_melodyPlayable__P19894_mk(s); - s.tmp_2.arg0 = globals.powerUp___19621; + s.tmp_2 = music_melodyPlayable__P127775_mk(s); + s.tmp_2.arg0 = globals.powerUp___127502; s.callLocIdx = 939; 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__P19894_mk(s); - s.tmp_2.arg0 = globals.wawawawaa___19618; + s.tmp_2 = music_melodyPlayable__P127775_mk(s); + s.tmp_2.arg0 = globals.wawawawaa___127499; s.callLocIdx = 940; s.pc = 2; return s.tmp_2; case 2: r0 = s.retval; @@ -23540,12 +23540,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_GameOverConfig_init__P20960.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__P128841.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__P20960_mk(s) { +function game_GameOverConfig_init__P128841_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_GameOverConfig_init__P20960, depth: s.depth + 1, + parent: s, fn: game_GameOverConfig_init__P128841, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23557,7 +23557,7 @@ function game_GameOverConfig_init__P20960_mk(s) { -function melt_inline__P30852(s) { +function melt_inline__P138733(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23567,11 +23567,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rounds___30855 = undefined; - s.j___30863 = undefined; - s.x___30868 = undefined; - s.y___30874 = undefined; - s.c___30880 = undefined; + s.rounds___138736 = undefined; + s.j___138744 = undefined; + s.x___138749 = undefined; + s.y___138755 = undefined; + s.c___138761 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23584,14 +23584,14 @@ switch (step) { r0 = (s.tmp_1 * s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 >> 5); - s.rounds___30855 = (r0); - s.j___30863 = (0); + s.rounds___138736 = (r0); + s.j___138744 = (0); case 1: - r0 = (s.j___30863 < s.rounds___30855); + r0 = (s.j___138744 < s.rounds___138736); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = Math_FastRandom_randomRange__P21034_mk(s); + s.tmp_1 = Math_FastRandom_randomRange__P128915_mk(s); s.tmp_1.arg0 = s.arg1; s.tmp_1.arg1 = 0; r0 = pxsim_ImageMethods.width(s.arg0); @@ -23601,8 +23601,8 @@ switch (step) { s.callLocIdx = 58; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; - s.x___30868 = (r0); - s.tmp_0 = Math_FastRandom_randomRange__P21034_mk(s); + s.x___138749 = (r0); + s.tmp_0 = Math_FastRandom_randomRange__P128915_mk(s); s.tmp_0.arg0 = s.arg1; s.tmp_0.arg1 = 0; r0 = pxsim_ImageMethods.height(s.arg0); @@ -23612,42 +23612,42 @@ switch (step) { s.callLocIdx = 59; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.y___30874 = (r0); - r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___30868, s.y___30874); - s.c___30880 = (r0); + s.y___138755 = (r0); + r0 = pxsim_ImageMethods.getPixel(s.arg0, s.x___138749, s.y___138755); + s.c___138761 = (r0); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___30868; - r0 = (s.y___30874 + 1); + s.tmp_1 = r0 = s.x___138749; + r0 = (s.y___138755 + 1); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___30880); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___138761); s.tmp_0 = r0 = s.arg0; - s.tmp_1 = r0 = s.x___30868; - r0 = (s.y___30874 + 2); + s.tmp_1 = r0 = s.x___138749; + r0 = (s.y___138755 + 2); s.tmp_2 = r0; - r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___30880); - r0 = (s.j___30863 + 1); - s.j___30863 = (r0); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_2, s.c___138761); + r0 = (s.j___138744 + 1); + s.j___138744 = (r0); { step = 1; continue; } case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -melt_inline__P30852.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__P138733.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__P30852_mk(s) { +function melt_inline__P138733_mk(s) { checkStack(s.depth); return { - parent: s, fn: melt_inline__P30852, depth: s.depth + 1, + parent: s, fn: melt_inline__P138733, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - rounds___30855: undefined, - j___30863: undefined, - x___30868: undefined, - y___30874: undefined, - c___30880: undefined, + rounds___138736: undefined, + j___138744: undefined, + x___138749: undefined, + y___138755: undefined, + c___138761: undefined, arg0: undefined, arg1: undefined, } } @@ -23656,7 +23656,7 @@ function melt_inline__P30852_mk(s) { -function confetti_inline__P30906(s) { +function confetti_inline__P138787(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23666,13 +23666,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.factory___30909 = undefined; + s.factory___138790 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C21189_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ConfettiFactory__C129070_VT); s.tmp_0 = r0; s.tmp_2 = if_width_1_mk(s); s.tmp_2.arg0 = s.arg0; @@ -23707,27 +23707,27 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = particles_ConfettiFactory_constructor__P21190_mk(s); + s.tmp_5 = particles_ConfettiFactory_constructor__P129071_mk(s); s.tmp_5.arg0 = s.tmp_0; s.tmp_5.arg1 = s.tmp_4; s.tmp_5.arg2 = 16; s.callLocIdx = 48; s.pc = 5; return s.tmp_5; case 5: r0 = s.retval; - s.factory___30909 = (s.tmp_0); - s.tmp_0 = particles_SprayFactory_setSpeed__P21166_mk(s); - s.tmp_0.arg0 = s.factory___30909; + s.factory___138790 = (s.tmp_0); + s.tmp_0 = particles_SprayFactory_setSpeed__P129047_mk(s); + s.tmp_0.arg0 = s.factory___138790; s.tmp_0.arg1 = 30; s.callLocIdx = 49; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C21122_VT); + r0 = pxsim_pxtcore_mkClassInstance(particles_ParticleSource__C129003_VT); s.tmp_0 = r0; - s.tmp_1 = particles_ParticleSource_constructor__P21127_mk(s); + s.tmp_1 = particles_ParticleSource_constructor__P129008_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___30909; + s.tmp_1.arg3 = s.factory___138790; s.callLocIdx = 50; s.pc = 7; return s.tmp_1; case 7: r0 = s.retval; @@ -23735,12 +23735,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -confetti_inline__P30906.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__P138787.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__P30906_mk(s) { +function confetti_inline__P138787_mk(s) { checkStack(s.depth); return { - parent: s, fn: confetti_inline__P30906, depth: s.depth + 1, + parent: s, fn: confetti_inline__P138787, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23748,7 +23748,7 @@ function confetti_inline__P30906_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - factory___30909: undefined, + factory___138790: undefined, arg0: undefined, arg1: undefined, } } @@ -23757,7 +23757,7 @@ function confetti_inline__P30906_mk(s) { -function particles_ParticleSource_constructor__P21127(s) { +function particles_ParticleSource_constructor__P129008(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23767,8 +23767,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___30930 = undefined; - s.removedSource___30939 = undefined; + s.sources___138811 = undefined; + s.removedSource___138820 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -23777,62 +23777,62 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21122_VT)) failedCast(r0); - s.tmp_0 = sprites_BaseSprite_constructor__P20067_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C129003_VT)) failedCast(r0); + s.tmp_0 = sprites_BaseSprite_constructor__P127948_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.callLocIdx = 1137; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = particles_init__P23248_mk(s); + s.tmp_0 = particles_init__P131129_mk(s); s.callLocIdx = 1138; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.tmp_0 = particles_particleSources__P23254_mk(s); + s.tmp_0 = particles_particleSources__P131135_mk(s); s.callLocIdx = 1139; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.sources___30930 = (r0); - r0 = pxsim_Array__length(s.sources___30930); + s.sources___138811 = (r0); + r0 = pxsim_Array__length(s.sources___138811); s.tmp_1 = r0; - r0 = (s.tmp_1 >= globals.MAX_SOURCES___23240); + r0 = (s.tmp_1 >= globals.MAX_SOURCES___131121); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = particles_sortSources__P23251_mk(s); - s.tmp_2.arg0 = s.sources___30930; + s.tmp_2 = particles_sortSources__P131132_mk(s); + s.tmp_2.arg0 = s.sources___138811; s.callLocIdx = 1140; s.pc = 8; return s.tmp_2; case 8: r0 = s.retval; - r0 = pxsim_Array_.removeAt(s.sources___30930, 0); - s.removedSource___30939 = (r0); - s.tmp_0 = particles_ParticleSource_clear__P21137_mk(s); - s.tmp_0.arg0 = s.removedSource___30939; + r0 = pxsim_Array_.removeAt(s.sources___138811, 0); + s.removedSource___138820 = (r0); + s.tmp_0 = particles_ParticleSource_clear__P129018_mk(s); + s.tmp_0.arg0 = s.removedSource___138820; s.callLocIdx = 1142; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_destroy__P21136_mk(s); - s.tmp_0.arg0 = s.removedSource___30939; + s.tmp_0 = particles_ParticleSource_destroy__P129017_mk(s); + s.tmp_0.arg0 = s.removedSource___138820; s.callLocIdx = 1143; 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__P21139_mk(s); + s.tmp_0 = particles_ParticleSource_setRate__P129020_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.callLocIdx = 1144; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAcceleration__P21131_mk(s); + s.tmp_0 = particles_ParticleSource_setAcceleration__P129012_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 0; s.tmp_0.arg2 = 0; s.callLocIdx = 1145; s.pc = 12; return s.tmp_0; case 12: r0 = s.retval; - s.tmp_0 = particles_ParticleSource_setAnchor__P21138_mk(s); + s.tmp_0 = particles_ParticleSource_setAnchor__P129019_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1146; s.pc = 13; return s.tmp_0; @@ -23847,18 +23847,18 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - r0 = globals.defaultFactory___21142; + r0 = globals.defaultFactory___129023; case 4: // jmp value (already in r0) s.tmp_1 = r0; - s.tmp_2 = particles_ParticleSource_setFactory__P21141_mk(s); + s.tmp_2 = particles_ParticleSource_setFactory__P129022_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.tmp_1; s.callLocIdx = 1147; s.pc = 14; return s.tmp_2; case 14: r0 = s.retval; - r0 = pxsim_Array__push(s.sources___30930, s.arg0); - s.tmp_0 = particles_ParticleSource_enabled__P21135_mk(s); + r0 = pxsim_Array__push(s.sources___138811, s.arg0); + s.tmp_0 = particles_ParticleSource_enabled__P129016_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = true; s.callLocIdx = 1148; s.pc = 15; return s.tmp_0; @@ -23868,18 +23868,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_constructor__P21127.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__P129008.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__P21127_mk(s) { +function particles_ParticleSource_constructor__P129008_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_constructor__P21127, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_constructor__P129008, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - sources___30930: undefined, - removedSource___30939: undefined, + sources___138811: undefined, + removedSource___138820: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -23890,7 +23890,7 @@ function particles_ParticleSource_constructor__P21127_mk(s) { -function particles_sortSources__P23251(s) { +function particles_sortSources__P131132(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23904,9 +23904,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = helpers_arraySort__P18076_mk(s); + s.tmp_0 = helpers_arraySort__P125957_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = particles_sortSources_inline__P31137; + s.tmp_0.arg1 = particles_sortSources_inline__P139018; s.callLocIdx = 1186; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -23914,12 +23914,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources__P23251.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__P131132.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__P23251_mk(s) { +function particles_sortSources__P131132_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources__P23251, depth: s.depth + 1, + parent: s, fn: particles_sortSources__P131132, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -23929,7 +23929,7 @@ function particles_sortSources__P23251_mk(s) { -function particles_sortSources_inline__P31137(s) { +function particles_sortSources_inline__P139018(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23967,12 +23967,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_sortSources_inline__P31137.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__P139018.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__P31137_mk(s) { +function particles_sortSources_inline__P139018_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_sortSources_inline__P31137, depth: s.depth + 1, + parent: s, fn: particles_sortSources_inline__P139018, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -23988,7 +23988,7 @@ function particles_sortSources_inline__P31137_mk(s) { -function particles_init__P23248(s) { +function particles_init__P131129(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -23998,33 +23998,33 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___31176 = undefined; - s.tmp_0 = game_currentScene__P20970_mk(s); + s.scene___139057 = undefined; + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 1176; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.scene___31176 = (r0); - r0 = s.scene___31176.fields["particleSources"]; + s.scene___139057 = (r0); + r0 = s.scene___139057.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___31176; + s.tmp_1 = r0 = s.scene___139057; r0 = pxsim_Array__mk(); s.tmp_2 = r0; r0 = (s.tmp_1).fields["particleSources"] = (s.tmp_2); r0 = pxsim.control.millis(); - globals.lastUpdate___23243 = (r0); - s.tmp_0 = game_onUpdate__P20994_mk(s); - s.tmp_0.arg0 = particles_updateParticles__P23249; + globals.lastUpdate___131124 = (r0); + s.tmp_0 = game_onUpdate__P128875_mk(s); + s.tmp_0.arg0 = particles_updateParticles__P131130; s.callLocIdx = 1177; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tmp_0 = game_onUpdateInterval__P20995_mk(s); + s.tmp_0 = game_onUpdateInterval__P128876_mk(s); s.tmp_0.arg0 = 250; - s.tmp_0.arg1 = particles_pruneParticles__P23250; + s.tmp_0.arg1 = particles_pruneParticles__P131131; s.callLocIdx = 1178; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; @@ -24033,24 +24033,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_init__P23248.info = {"start":9236,"length":276,"line":304,"column":4,"endLine":311,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"init","argumentNames":[]} +particles_init__P131129.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__P23248_mk(s) { +function particles_init__P131129_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_init__P23248, depth: s.depth + 1, + parent: s, fn: particles_init__P131129, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - scene___31176: undefined, + scene___139057: undefined, } } -function particles_updateParticles__P23249(s) { +function particles_updateParticles__P131130(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24060,16 +24060,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sources___31218 = undefined; - s.time___31225 = undefined; - s.dt___31228 = undefined; - s.i___31234 = undefined; - s.tmp_0 = particles_particleSources__P23254_mk(s); + s.sources___139099 = undefined; + s.time___139106 = undefined; + s.dt___139109 = undefined; + s.i___139115 = undefined; + s.tmp_0 = particles_particleSources__P131135_mk(s); s.callLocIdx = 1179; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sources___31218 = (r0); - r0 = pxsim_numops_toBoolDecr(s.sources___31218); + s.sources___139099 = (r0); + r0 = pxsim_numops_toBoolDecr(s.sources___139099); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -24078,34 +24078,34 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_2 = particles_sortSources__P23251_mk(s); - s.tmp_2.arg0 = s.sources___31218; + s.tmp_2 = particles_sortSources__P131132_mk(s); + s.tmp_2.arg0 = s.sources___139099; s.callLocIdx = 1180; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; r0 = pxsim.control.millis(); - s.time___31225 = (r0); - r0 = (s.time___31225 - globals.lastUpdate___23243); - s.dt___31228 = (r0); - globals.lastUpdate___23243 = (s.time___31225); - s.i___31234 = (0); + s.time___139106 = (r0); + r0 = (s.time___139106 - globals.lastUpdate___131124); + s.dt___139109 = (r0); + globals.lastUpdate___131124 = (s.time___139106); + s.i___139115 = (0); case 3: - s.tmp_1 = r0 = s.i___31234; - r0 = pxsim_Array__length(s.sources___31218); + s.tmp_1 = r0 = s.i___139115; + r0 = pxsim_Array__length(s.sources___139099); 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__P21129_mk(s); - r0 = pxsim_Array__getAt(s.sources___31218, s.i___31234); + s.tmp_3 = particles_ParticleSource__update__P129010_mk(s); + r0 = pxsim_Array__getAt(s.sources___139099, s.i___139115); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.dt___31228; + s.tmp_3.arg1 = s.dt___139109; s.callLocIdx = 1181; s.pc = 8; return s.tmp_3; case 8: r0 = s.retval; - r0 = (s.i___31234 + 1); - s.i___31234 = (r0); + r0 = (s.i___139115 + 1); + s.i___139115 = (r0); { step = 3; continue; } case 4: case 5: @@ -24113,28 +24113,28 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_updateParticles__P23249.info = {"start":9518,"length":340,"line":313,"column":4,"endLine":325,"endColumn":5,"fileName":"pxt_modules/game/particles.ts","functionName":"updateParticles","argumentNames":[]} +particles_updateParticles__P131130.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__P23249_mk(s) { +function particles_updateParticles__P131130_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_updateParticles__P23249, depth: s.depth + 1, + parent: s, fn: particles_updateParticles__P131130, 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___31218: undefined, - time___31225: undefined, - dt___31228: undefined, - i___31234: undefined, + sources___139099: undefined, + time___139106: undefined, + dt___139109: undefined, + i___139115: undefined, } } -function particles_ParticleSource__update__P21129(s) { +function particles_ParticleSource__update__P129010(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24144,16 +24144,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___31297 = undefined; - s.current___31316 = undefined; - s.fixedDt___31324 = undefined; + s.p___139178 = undefined; + s.current___139197 = undefined; + s.fixedDt___139205 = 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__C21122_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C129003_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["timer"]; s.tmp_2 = r0; @@ -24179,7 +24179,7 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["lifespan"] = (undefined); - s.tmp_0 = particles_ParticleSource_destroy__P21136_mk(s); + s.tmp_0 = particles_ParticleSource_destroy__P129017_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1152; s.pc = 28; return s.tmp_0; case 28: @@ -24252,7 +24252,7 @@ switch (step) { r0 = s.tmp_0; { step = 13; continue; } case 12: - s.tmp_2 = particles_ParticleSource_enabled__P21134_mk(s); + s.tmp_2 = particles_ParticleSource_enabled__P129015_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 1155; s.pc = 31; return s.tmp_2; case 31: @@ -24270,18 +24270,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__C21158_v0_2_mk(s); + s.tmp_0 = particles_ParticleFactory__C129039_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__C21158_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C129039_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___31297 = (r0); - r0 = pxsim_numops_toBoolDecr(s.p___31297); + s.p___139178 = (r0); + r0 = pxsim_numops_toBoolDecr(s.p___139178); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -24292,8 +24292,8 @@ switch (step) { case 15: r0 = s.arg0.fields["head"]; s.tmp_2 = r0; - r0 = (s.p___31297).fields["next"] = (s.tmp_2); - r0 = (s.arg0).fields["head"] = (s.p___31297); + r0 = (s.p___139178).fields["next"] = (s.tmp_2); + r0 = (s.arg0).fields["head"] = (s.p___139178); { step = 11; continue; } case 16: r0 = s.arg0.fields["head"]; @@ -24308,7 +24308,7 @@ switch (step) { case 17: case 18: r0 = s.arg0.fields["head"]; - s.current___31316 = (r0); + s.current___139197 = (r0); s.tmp_0 = r0 = s.arg0; r0 = s.tmp_0.fields["_dt"]; s.tmp_2 = r0; @@ -24320,36 +24320,36 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_1 = r0; r0 = (s.tmp_1 | 0); - s.fixedDt___31324 = (r0); - r0 = pxsim_numops_toBoolDecr(s.fixedDt___31324); + s.fixedDt___139205 = (r0); + r0 = pxsim_numops_toBoolDecr(s.fixedDt___139205); if (!r0) { step = 23; continue; } case 19: - r0 = s.current___31316.fields["lifespan"]; + r0 = s.current___139197.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___31316; + s.tmp_2 = r0 = s.current___139197; 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__C21122_v4_3_mk(s); + s.tmp_0 = particles_ParticleSource__C129003_v4_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.current___31316; - s.tmp_0.arg2 = s.fixedDt___31324; - if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C21122_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.current___139197; + s.tmp_0.arg2 = s.fixedDt___139205; + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleSource__C129003_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___31316.fields["next"]; + r0 = s.current___139197.fields["next"]; s.tmp_0 = r0; - s.current___31316 = (r0); + s.current___139197 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 22; continue; } { step = 19; continue; } @@ -24358,15 +24358,15 @@ switch (step) { { step = 26; continue; } case 23: case 24: - s.tmp_0 = r0 = s.current___31316; + s.tmp_0 = r0 = s.current___139197; 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___31316.fields["next"]; + r0 = s.current___139197.fields["next"]; s.tmp_0 = r0; - s.current___31316 = (r0); + s.current___139197 = (r0); r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 25; continue; } { step = 24; continue; } @@ -24377,12 +24377,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource__update__P21129.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__P129010.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__P21129_mk(s) { +function particles_ParticleSource__update__P129010_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource__update__P21129, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource__update__P129010, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24392,9 +24392,9 @@ function particles_ParticleSource__update__P21129_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - p___31297: undefined, - current___31316: undefined, - fixedDt___31324: undefined, + p___139178: undefined, + current___139197: undefined, + fixedDt___139205: undefined, arg0: undefined, arg1: undefined, } } @@ -24403,7 +24403,7 @@ function particles_ParticleSource__update__P21129_mk(s) { -function particles_ParticleSource_updateParticle__P23245(s) { +function particles_ParticleSource_updateParticle__P131126(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24420,7 +24420,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21122_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C129003_VT)) failedCast(r0); r0 = (s.arg2 >> 10); s.arg2 = (r0); s.tmp_0 = r0 = s.arg1; @@ -24475,12 +24475,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_updateParticle__P23245.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__P131126.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__P23245_mk(s) { +function particles_ParticleSource_updateParticle__P131126_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_updateParticle__P23245, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_updateParticle__P131126, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24497,7 +24497,7 @@ function particles_ParticleSource_updateParticle__P23245_mk(s) { -function Fx_rightShift__P18142(s) { +function Fx_rightShift__P126023(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24516,12 +24516,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_rightShift__P18142.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__P126023.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__P18142_mk(s) { +function Fx_rightShift__P126023_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_rightShift__P18142, depth: s.depth + 1, + parent: s, fn: Fx_rightShift__P126023, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -24531,7 +24531,7 @@ function Fx_rightShift__P18142_mk(s) { -function particles_ParticleFactory_createParticle__P21160(s) { +function particles_ParticleFactory_createParticle__P129041(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24541,17 +24541,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___31407 = undefined; + s.p___139288 = 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__C21158_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C21103_VT); - s.p___31407 = (r0); - s.tmp_0 = r0 = s.p___31407; + if (!checkSubtype(r0, particles_ParticleFactory__C129039_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(particles_Particle__C128984_VT); + s.p___139288 = (r0); + s.tmp_0 = r0 = s.p___139288; s.tmp_3 = if_x_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -24570,7 +24570,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___31407; + s.tmp_0 = r0 = s.p___139288; s.tmp_3 = if_y_1_mk(s); s.tmp_3.arg0 = s.arg1; if (!s.tmp_3.arg0.vtable.iface) { @@ -24589,26 +24589,26 @@ switch (step) { r0 = (s.tmp_4 | 0); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = (s.p___31407).fields["vx"] = (0); - r0 = (s.p___31407).fields["vy"] = (0); - r0 = (s.p___31407).fields["lifespan"] = (500); - r0 = s.p___31407; + r0 = (s.p___139288).fields["vx"] = (0); + r0 = (s.p___139288).fields["vy"] = (0); + r0 = (s.p___139288).fields["lifespan"] = (500); + r0 = s.p___139288; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_createParticle__P21160.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__P129041.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__P21160_mk(s) { +function particles_ParticleFactory_createParticle__P129041_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_createParticle__P21160, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_createParticle__P129041, 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___31407: undefined, + p___139288: undefined, arg0: undefined, arg1: undefined, } } @@ -24617,7 +24617,7 @@ function particles_ParticleFactory_createParticle__P21160_mk(s) { -function game_onUpdateInterval__P20995(s) { +function game_onUpdateInterval__P128876(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24627,7 +24627,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.timer___31198 = undefined; + s.timer___139079 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -24652,15 +24652,15 @@ switch (step) { case 3: case 4: r0 = pxsim_pxtrt.mklocRef(); - s.timer___31198 = (r0); - r0 = pxsim_pxtrt_stlocRef(s.timer___31198, 0); - r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P31202); + s.timer___139079 = (r0); + r0 = pxsim_pxtrt_stlocRef(s.timer___139079, 0); + r0 = pxsim_pxtcore_mkAction(3, game_onUpdateInterval_inline__P139083); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___31198); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.timer___139079); 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__P18374_mk(s); - s.tmp_2 = game_eventContext__P20973_mk(s); + s.tmp_1 = control_EventContext_registerFrameHandler__P126255_mk(s); + s.tmp_2 = game_eventContext__P128854_mk(s); s.callLocIdx = 963; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -24675,17 +24675,17 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval__P20995.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__P128876.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__P20995_mk(s) { +function game_onUpdateInterval__P128876_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval__P20995, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval__P128876, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - timer___31198: undefined, + timer___139079: undefined, arg0: undefined, arg1: undefined, } } @@ -24694,7 +24694,7 @@ function game_onUpdateInterval__P20995_mk(s) { -function game_onUpdateInterval_inline__P31202(s) { +function game_onUpdateInterval_inline__P139083(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24704,22 +24704,22 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.time___31203 = undefined; - s.tmp_1 = game_currentScene__P20970_mk(s); + s.time___139084 = undefined; + s.tmp_1 = game_currentScene__P128851_mk(s); s.callLocIdx = 964; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_millis"]; - s.time___31203 = (r0); + s.time___139084 = (r0); r0 = pxsim_pxtrt_ldlocRef(s.caps[0]); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.time___31203); + r0 = (s.tmp_1 <= s.time___139084); 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___31203 + s.caps[1]); + r0 = (s.time___139084 + s.caps[1]); s.tmp_3 = r0; r0 = pxsim_pxtrt_stlocRef(s.tmp_2, s.tmp_3); s.tmp_0 = lambda_1_mk(s); @@ -24734,25 +24734,25 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdateInterval_inline__P31202.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__P139083.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__P31202_mk(s) { +function game_onUpdateInterval_inline__P139083_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdateInterval_inline__P31202, depth: s.depth + 1, + parent: s, fn: game_onUpdateInterval_inline__P139083, 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___31203: undefined, + time___139084: undefined, } } -function scene_Scene_millis__P20840(s) { +function scene_Scene_millis__P128721(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24767,17 +24767,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C20814_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C128695_VT)) failedCast(r0); r0 = s.arg0.fields["_millis"]; return leave(s, r0) default: oops() } } } -scene_Scene_millis__P20840.info = {"start":7147,"length":61,"line":196,"column":8,"endLine":198,"endColumn":9,"fileName":"pxt_modules/game/scene.ts","functionName":"millis","argumentNames":["this"]} +scene_Scene_millis__P128721.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__P20840_mk(s) { +function scene_Scene_millis__P128721_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_millis__P20840, depth: s.depth + 1, + parent: s, fn: scene_Scene_millis__P128721, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -24786,7 +24786,7 @@ function scene_Scene_millis__P20840_mk(s) { -function game_onUpdate__P20994(s) { +function game_onUpdate__P128875(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24809,8 +24809,8 @@ switch (step) { { step = 3; continue; } case 1: case 2: - s.tmp_2 = control_EventContext_registerFrameHandler__P18374_mk(s); - s.tmp_3 = game_eventContext__P20973_mk(s); + s.tmp_2 = control_EventContext_registerFrameHandler__P126255_mk(s); + s.tmp_3 = game_eventContext__P128854_mk(s); s.callLocIdx = 961; s.pc = 5; return s.tmp_3; case 5: r0 = s.retval; @@ -24825,12 +24825,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_onUpdate__P20994.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__P128875.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__P20994_mk(s) { +function game_onUpdate__P128875_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_onUpdate__P20994, depth: s.depth + 1, + parent: s, fn: game_onUpdate__P128875, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24843,7 +24843,7 @@ function game_onUpdate__P20994_mk(s) { -function MAX_SOURCES_inline__P31152(s) { +function MAX_SOURCES_inline__P139033(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24853,13 +24853,13 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sz___31153 = undefined; - s.tmp_0 = control_ramSize__P18317_mk(s); + s.sz___139034 = undefined; + s.tmp_0 = control_ramSize__P126198_mk(s); s.callLocIdx = 42; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.sz___31153 = (r0); - r0 = (s.sz___31153 <= 102400); + s.sz___139034 = (r0); + r0 = (s.sz___139034 <= 102400); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } @@ -24867,7 +24867,7 @@ switch (step) { { step = 5; continue; } { step = 4; continue; } case 1: - r0 = (s.sz___31153 <= 204800); + r0 = (s.sz___139034 <= 204800); s.tmp_1 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_1); if (!r0) { step = 2; continue; } @@ -24884,23 +24884,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -MAX_SOURCES_inline__P31152.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__P139033.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__P31152_mk(s) { +function MAX_SOURCES_inline__P139033_mk(s) { checkStack(s.depth); return { - parent: s, fn: MAX_SOURCES_inline__P31152, depth: s.depth + 1, + parent: s, fn: MAX_SOURCES_inline__P139033, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - sz___31153: undefined, + sz___139034: undefined, } } -function control_ramSize__P18317(s) { +function control_ramSize__P126198(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24925,12 +24925,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control_ramSize__P18317.info = {"start":4847,"length":100,"line":165,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"ramSize","argumentNames":[]} +control_ramSize__P126198.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__P18317_mk(s) { +function control_ramSize__P126198_mk(s) { checkStack(s.depth); return { - parent: s, fn: control_ramSize__P18317, depth: s.depth + 1, + parent: s, fn: control_ramSize__P126198, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -24940,7 +24940,7 @@ function control_ramSize__P18317_mk(s) { -function control__ramSize__P22367(s) { +function control__ramSize__P130248(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24954,12 +24954,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control__ramSize__P22367.info = {"start":4727,"length":60,"line":160,"column":4,"endLine":162,"endColumn":5,"fileName":"pxt_modules/base/control.ts","functionName":"_ramSize","argumentNames":[]} +control__ramSize__P130248.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__P22367_mk(s) { +function control__ramSize__P130248_mk(s) { checkStack(s.depth); return { - parent: s, fn: control__ramSize__P22367, depth: s.depth + 1, + parent: s, fn: control__ramSize__P130248, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, } } @@ -24967,7 +24967,7 @@ function control__ramSize__P22367_mk(s) { -function particles_SprayFactory_constructor__P21163(s) { +function particles_SprayFactory_constructor__P129044(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -24985,19 +24985,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C21162_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C129043_VT)) failedCast(r0); r0 = undefined; - s.tmp_0 = particles_initTrig__P23269_mk(s); + s.tmp_0 = particles_initTrig__P131150_mk(s); s.callLocIdx = 1213; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setSpeed__P21166_mk(s); + s.tmp_0 = particles_SprayFactory_setSpeed__P129047_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1214; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.tmp_0 = particles_SprayFactory_setDirection__P21167_mk(s); + s.tmp_0 = particles_SprayFactory_setDirection__P129048_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg2; s.tmp_0.arg2 = s.arg3; @@ -25008,12 +25008,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_constructor__P21163.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__P129044.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__P21163_mk(s) { +function particles_SprayFactory_constructor__P129044_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_constructor__P21163, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_constructor__P129044, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25026,7 +25026,7 @@ function particles_SprayFactory_constructor__P21163_mk(s) { -function particles_initTrig__P23269(s) { +function particles_initTrig__P131150(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25036,36 +25036,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.cachedSin___23255); + r0 = pxsim_numops_toBoolDecr(globals.cachedSin___131136); 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__P21156_mk(s); + s.tmp_2 = particles_cacheSin__P129037_mk(s); s.tmp_2.arg0 = 100; s.callLocIdx = 1201; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; - globals.cachedSin___23255 = (r0); - s.tmp_0 = particles_cacheCos__P21157_mk(s); + globals.cachedSin___131136 = (r0); + s.tmp_0 = particles_cacheCos__P129038_mk(s); s.tmp_0.arg0 = 100; s.callLocIdx = 1202; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - globals.cachedCos___23256 = (r0); + globals.cachedCos___131137 = (r0); case 1: case 2: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_initTrig__P23269.info = {"start":291,"length":155,"line":11,"column":4,"endLine":16,"endColumn":5,"fileName":"pxt_modules/game/particlefactories.ts","functionName":"initTrig","argumentNames":[]} +particles_initTrig__P131150.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__P23269_mk(s) { +function particles_initTrig__P131150_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_initTrig__P23269, depth: s.depth + 1, + parent: s, fn: particles_initTrig__P131150, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25076,7 +25076,7 @@ function particles_initTrig__P23269_mk(s) { -function particles_cacheCos__P21157(s) { +function particles_cacheCos__P129038(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25086,25 +25086,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.cos___31033 = undefined; - s.anglePerSlice___31035 = undefined; - s.i___31041 = undefined; + s.cos___138914 = undefined; + s.anglePerSlice___138916 = undefined; + s.i___138922 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.cos___31033 = (r0); + s.cos___138914 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___31035 = (r0); - s.i___31041 = (0); + s.anglePerSlice___138916 = (r0); + s.i___138922 = (0); case 1: - r0 = (s.i___31041 < s.arg0); + r0 = (s.i___138922 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.cos___31033; - r0 = (s.i___31041 * s.anglePerSlice___31035); + s.tmp_1 = r0 = s.cos___138914; + r0 = (s.i___138922 * s.anglePerSlice___138916); s.tmp_4 = r0; r0 = pxsim.Math_.cos(s.tmp_4); s.tmp_3 = r0; @@ -25113,20 +25113,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___31041 + 1); - s.i___31041 = (r0); + r0 = (s.i___138922 + 1); + s.i___138922 = (r0); { step = 1; continue; } case 2: - r0 = s.cos___31033; + r0 = s.cos___138914; return leave(s, r0) default: oops() } } } -particles_cacheCos__P21157.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__P129038.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__P21157_mk(s) { +function particles_cacheCos__P129038_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheCos__P21157, depth: s.depth + 1, + parent: s, fn: particles_cacheCos__P129038, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25134,9 +25134,9 @@ function particles_cacheCos__P21157_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - cos___31033: undefined, - anglePerSlice___31035: undefined, - i___31041: undefined, + cos___138914: undefined, + anglePerSlice___138916: undefined, + i___138922: undefined, arg0: undefined, } } @@ -25144,7 +25144,7 @@ function particles_cacheCos__P21157_mk(s) { -function particles_cacheSin__P21156(s) { +function particles_cacheSin__P129037(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25154,25 +25154,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.sin___31059 = undefined; - s.anglePerSlice___31061 = undefined; - s.i___31067 = undefined; + s.sin___138940 = undefined; + s.anglePerSlice___138942 = undefined; + s.i___138948 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.sin___31059 = (r0); + s.sin___138940 = (r0); r0 = (6.283185307179586 / s.arg0); - s.anglePerSlice___31061 = (r0); - s.i___31067 = (0); + s.anglePerSlice___138942 = (r0); + s.i___138948 = (0); case 1: - r0 = (s.i___31067 < s.arg0); + r0 = (s.i___138948 < s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.sin___31059; - r0 = (s.i___31067 * s.anglePerSlice___31061); + s.tmp_1 = r0 = s.sin___138940; + r0 = (s.i___138948 * s.anglePerSlice___138942); s.tmp_4 = r0; r0 = pxsim.Math_.sin(s.tmp_4); s.tmp_3 = r0; @@ -25181,20 +25181,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___31067 + 1); - s.i___31067 = (r0); + r0 = (s.i___138948 + 1); + s.i___138948 = (r0); { step = 1; continue; } case 2: - r0 = s.sin___31059; + r0 = s.sin___138940; return leave(s, r0) default: oops() } } } -particles_cacheSin__P21156.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__P129037.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__P21156_mk(s) { +function particles_cacheSin__P129037_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_cacheSin__P21156, depth: s.depth + 1, + parent: s, fn: particles_cacheSin__P129037, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25202,9 +25202,9 @@ function particles_cacheSin__P21156_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - sin___31059: undefined, - anglePerSlice___31061: undefined, - i___31067: undefined, + sin___138940: undefined, + anglePerSlice___138942: undefined, + i___138948: undefined, arg0: undefined, } } @@ -25212,7 +25212,7 @@ function particles_cacheSin__P21156_mk(s) { -function particles_SprayFactory_setDirection__P21167(s) { +function particles_SprayFactory_setDirection__P129048(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25229,9 +25229,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C21162_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C129043_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_4 = particles_toRadians__P23274_mk(s); + s.tmp_4 = particles_toRadians__P131155_mk(s); s.tmp_5 = r0 = s.arg1; r0 = (s.arg2 >> 1); s.tmp_6 = r0; @@ -25241,19 +25241,19 @@ switch (step) { case 1: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___23268); + r0 = (s.tmp_3 / globals.angleSlice___131149); 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__P23274_mk(s); + s.tmp_4 = particles_toRadians__P131155_mk(s); s.tmp_4.arg0 = s.arg2; s.callLocIdx = 1224; s.pc = 2; return s.tmp_4; case 2: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 / globals.angleSlice___23268); + r0 = (s.tmp_3 / globals.angleSlice___131149); s.tmp_2 = r0; r0 = (s.tmp_2 | 0); s.tmp_1 = r0; @@ -25262,12 +25262,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setDirection__P21167.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__P129048.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__P21167_mk(s) { +function particles_SprayFactory_setDirection__P129048_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setDirection__P21167, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setDirection__P129048, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25285,7 +25285,7 @@ function particles_SprayFactory_setDirection__P21167_mk(s) { -function particles_toRadians__P23274(s) { +function particles_toRadians__P131155(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25303,7 +25303,7 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_3 = Math_abs__P18099_mk(s); + s.tmp_3 = Math_abs__P125980_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 1205; s.pc = 3; return s.tmp_3; case 3: @@ -25322,12 +25322,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_toRadians__P23274.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__P131155.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__P23274_mk(s) { +function particles_toRadians__P131155_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_toRadians__P23274, depth: s.depth + 1, + parent: s, fn: particles_toRadians__P131155, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25340,7 +25340,7 @@ function particles_toRadians__P23274_mk(s) { -function particles_ParticleFactory_constructor__P21159(s) { +function particles_ParticleFactory_constructor__P129040(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25355,17 +25355,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C21158_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleFactory__C129039_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleFactory_constructor__P21159.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__P129040.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__P21159_mk(s) { +function particles_ParticleFactory_constructor__P129040_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_constructor__P21159, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_constructor__P129040, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25374,7 +25374,7 @@ function particles_ParticleFactory_constructor__P21159_mk(s) { -function particles_ParticleSource_setFactory__P21141(s) { +function particles_ParticleSource_setFactory__P129022(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25390,7 +25390,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21122_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C129003_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = (s.arg0).fields["_factory"] = (s.arg1); @@ -25400,12 +25400,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setFactory__P21141.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__P129022.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__P21141_mk(s) { +function particles_ParticleSource_setFactory__P129022_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setFactory__P21141, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setFactory__P129022, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25415,7 +25415,7 @@ function particles_ParticleSource_setFactory__P21141_mk(s) { -function particles_ParticleSource_setRate__P21139(s) { +function particles_ParticleSource_setRate__P129020(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25431,7 +25431,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21122_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C129003_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (1000 / s.arg1); s.tmp_2 = r0; @@ -25443,12 +25443,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setRate__P21139.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__P129020.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__P21139_mk(s) { +function particles_ParticleSource_setRate__P129020_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setRate__P21139, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setRate__P129020, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25461,7 +25461,7 @@ function particles_ParticleSource_setRate__P21139_mk(s) { -function particles_ParticleSource_setAnchor__P21138(s) { +function particles_ParticleSource_setAnchor__P129019(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25477,18 +25477,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21122_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C129003_VT)) failedCast(r0); r0 = (s.arg0).fields["anchor"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAnchor__P21138.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__P129019.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__P21138_mk(s) { +function particles_ParticleSource_setAnchor__P129019_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAnchor__P21138, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAnchor__P129019, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -25498,7 +25498,7 @@ function particles_ParticleSource_setAnchor__P21138_mk(s) { -function particles_ParticleSource_destroy__P21136(s) { +function particles_ParticleSource_destroy__P129017(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25513,8 +25513,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21122_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleSource_enabled__P21135_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C129003_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleSource_enabled__P129016_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = false; s.callLocIdx = 1162; s.pc = 1; return s.tmp_0; @@ -25526,7 +25526,7 @@ switch (step) { r0 = (s.tmp_2 | 2); s.tmp_1 = r0; r0 = (s.tmp_0).fields["pFlags"] = (s.tmp_1); - s.tmp_0 = particles_ParticleSource__prune__P21130_mk(s); + s.tmp_0 = particles_ParticleSource__prune__P129011_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 1163; s.pc = 2; return s.tmp_0; case 2: @@ -25535,12 +25535,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_destroy__P21136.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__P129017.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__P21136_mk(s) { +function particles_ParticleSource_destroy__P129017_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_destroy__P21136, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_destroy__P129017, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25552,7 +25552,7 @@ function particles_ParticleSource_destroy__P21136_mk(s) { -function particles_ParticleSource_setAcceleration__P21131(s) { +function particles_ParticleSource_setAcceleration__P129012(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25569,7 +25569,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21122_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C129003_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -25586,12 +25586,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_setAcceleration__P21131.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__P129012.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__P21131_mk(s) { +function particles_ParticleSource_setAcceleration__P129012_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_setAcceleration__P21131, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_setAcceleration__P129012, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25605,7 +25605,7 @@ function particles_ParticleSource_setAcceleration__P21131_mk(s) { -function helpers_arrayShift__P18073(s) { +function helpers_arrayShift__P125954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25623,12 +25623,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arrayShift__P18073.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__P125954.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__P18073_mk(s) { +function helpers_arrayShift__P125954_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayShift__P18073, depth: s.depth + 1, + parent: s, fn: helpers_arrayShift__P125954, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -25637,7 +25637,7 @@ function helpers_arrayShift__P18073_mk(s) { -function particles_SprayFactory_setSpeed__P21166(s) { +function particles_SprayFactory_setSpeed__P129047(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25653,7 +25653,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C21162_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_SprayFactory__C129043_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = (s.arg1 * 256); s.tmp_2 = r0; @@ -25664,12 +25664,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_setSpeed__P21166.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__P129047.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__P21166_mk(s) { +function particles_SprayFactory_setSpeed__P129047_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_setSpeed__P21166, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_setSpeed__P129047, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25682,7 +25682,7 @@ function particles_SprayFactory_setSpeed__P21166_mk(s) { -function particles_ConfettiFactory_constructor__P21190(s) { +function particles_ConfettiFactory_constructor__P129071(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25692,8 +25692,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.confetti___31446 = undefined; - s.i___31462 = undefined; + s.confetti___139327 = undefined; + s.i___139343 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -25701,52 +25701,52 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ConfettiFactory__C21189_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ConfettiFactory__C129070_VT)) failedCast(r0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim.image.ofBuffer(_hex31449); + r0 = pxsim.image.ofBuffer(_hex139330); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - r0 = pxsim.image.ofBuffer(_hex31451); + r0 = pxsim.image.ofBuffer(_hex139332); s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_2); - r0 = pxsim.image.ofBuffer(_hex31453); + r0 = pxsim.image.ofBuffer(_hex139334); s.tmp_3 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_3); - r0 = pxsim.image.ofBuffer(_hex31455); + r0 = pxsim.image.ofBuffer(_hex139336); s.tmp_4 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_4); - r0 = pxsim.image.ofBuffer(_hex31457); + r0 = pxsim.image.ofBuffer(_hex139338); s.tmp_5 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_5); - s.confetti___31446 = (s.tmp_0); - s.tmp_0 = particles_ShapeFactory_constructor__P21185_mk(s); + s.confetti___139327 = (s.tmp_0); + s.tmp_0 = particles_ShapeFactory_constructor__P129066_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___31446, 0); + r0 = pxsim_Array__getAt(s.confetti___139327, 0); s.tmp_0.arg3 = r0; s.callLocIdx = 1247; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.i___31462 = (1); + s.i___139343 = (1); case 1: - s.tmp_1 = r0 = s.i___31462; - r0 = pxsim_Array__length(s.confetti___31446); + s.tmp_1 = r0 = s.i___139343; + r0 = pxsim_Array__length(s.confetti___139327); 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__P21186_mk(s); + s.tmp_3 = particles_ShapeFactory_addShape__P129067_mk(s); s.tmp_3.arg0 = s.arg0; - r0 = pxsim_Array__getAt(s.confetti___31446, s.i___31462); + r0 = pxsim_Array__getAt(s.confetti___139327, s.i___139343); s.tmp_3.arg1 = r0; s.callLocIdx = 1248; s.pc = 4; return s.tmp_3; case 4: r0 = s.retval; - r0 = (s.i___31462 + 1); - s.i___31462 = (r0); + r0 = (s.i___139343 + 1); + s.i___139343 = (r0); { step = 1; continue; } case 2: r0 = (s.arg0).fields["minLifespan"] = (1000); @@ -25755,12 +25755,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ConfettiFactory_constructor__P21190.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__P129071.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__P21190_mk(s) { +function particles_ConfettiFactory_constructor__P129071_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ConfettiFactory_constructor__P21190, depth: s.depth + 1, + parent: s, fn: particles_ConfettiFactory_constructor__P129071, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25768,23 +25768,23 @@ function particles_ConfettiFactory_constructor__P21190_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - confetti___31446: undefined, - i___31462: undefined, + confetti___139327: undefined, + i___139343: undefined, arg0: undefined, arg1: undefined, arg2: undefined, } } -const _hex31449 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") -const _hex31451 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") -const _hex31453 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") -const _hex31455 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") -const _hex31457 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") +const _hex139330 = pxsim.BufferMethods.createBufferFromHex("87040100010000000f000000") +const _hex139332 = pxsim.BufferMethods.createBufferFromHex("8704010002000000ff000000") +const _hex139334 = pxsim.BufferMethods.createBufferFromHex("87040200010000000f0000000f000000") +const _hex139336 = pxsim.BufferMethods.createBufferFromHex("8704020002000000ff0000000f000000") +const _hex139338 = pxsim.BufferMethods.createBufferFromHex("87040200020000000f000000ff000000") -function particles_ShapeFactory_addShape__P21186(s) { +function particles_ShapeFactory_addShape__P129067(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25800,7 +25800,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C21184_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ShapeFactory__C129065_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["sources"]; @@ -25812,12 +25812,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_addShape__P21186.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__P129067.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__P21186_mk(s) { +function particles_ShapeFactory_addShape__P129067_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_addShape__P21186, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_addShape__P129067, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -25828,7 +25828,7 @@ function particles_ShapeFactory_addShape__P21186_mk(s) { -function particles_ShapeFactory_constructor__P21185(s) { +function particles_ShapeFactory_constructor__P129066(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25846,8 +25846,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C21184_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_constructor__P21173_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C129065_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_constructor__P129054_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; @@ -25884,12 +25884,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_constructor__P21185.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__P129066.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__P21185_mk(s) { +function particles_ShapeFactory_constructor__P129066_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_constructor__P21185, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_constructor__P129066, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25906,7 +25906,7 @@ function particles_ShapeFactory_constructor__P21185_mk(s) { -function particles_AreaFactory_constructor__P21173(s) { +function particles_AreaFactory_constructor__P129054(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -25925,8 +25925,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C21168_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_constructor__P21163_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C129049_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_constructor__P129044_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = 40; s.tmp_0.arg2 = 0; @@ -25956,9 +25956,9 @@ switch (step) { // jmp value (already in r0) s.tmp_0 = r0; r0 = (s.arg0).fields["maxLifespan"] = (s.tmp_0); - r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C21030_VT); + r0 = pxsim_pxtcore_mkClassInstance(Math_FastRandom__C128911_VT); s.tmp_0 = r0; - s.tmp_1 = Math_FastRandom_constructor__P21032_mk(s); + s.tmp_1 = Math_FastRandom_constructor__P128913_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = undefined; s.callLocIdx = 1226; s.pc = 6; return s.tmp_1; @@ -25969,12 +25969,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_AreaFactory_constructor__P21173.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__P129054.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__P21173_mk(s) { +function particles_AreaFactory_constructor__P129054_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_constructor__P21173, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_constructor__P129054, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -25989,7 +25989,7 @@ function particles_AreaFactory_constructor__P21173_mk(s) { -function effects_ScreenEffect_constructor__P21238(s) { +function effects_ScreenEffect_constructor__P129119(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26008,8 +26008,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ScreenEffect__C21237_VT)) failedCast(r0); - s.tmp_0 = effects_ParticleEffect_constructor__P21234_mk(s); + if (!checkSubtype(r0, effects_ScreenEffect__C129118_VT)) failedCast(r0); + s.tmp_0 = effects_ParticleEffect_constructor__P129115_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg3; @@ -26022,12 +26022,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ScreenEffect_constructor__P21238.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__P129119.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__P21238_mk(s) { +function effects_ScreenEffect_constructor__P129119_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ScreenEffect_constructor__P21238, depth: s.depth + 1, + parent: s, fn: effects_ScreenEffect_constructor__P129119, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26041,7 +26041,7 @@ function effects_ScreenEffect_constructor__P21238_mk(s) { -function effects_ParticleEffect_constructor__P21234(s) { +function effects_ParticleEffect_constructor__P129115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26059,7 +26059,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, effects_ParticleEffect__C21233_VT)) failedCast(r0); + if (!checkSubtype(r0, effects_ParticleEffect__C129114_VT)) failedCast(r0); r0 = (s.arg0).fields["sourceFactory"] = (s.arg3); r0 = (s.arg0).fields["defaultRate"] = (s.arg1); r0 = (s.arg0).fields["defaultLifespan"] = (s.arg2); @@ -26067,12 +26067,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -effects_ParticleEffect_constructor__P21234.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__P129115.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__P21234_mk(s) { +function effects_ParticleEffect_constructor__P129115_mk(s) { checkStack(s.depth); return { - parent: s, fn: effects_ParticleEffect_constructor__P21234, depth: s.depth + 1, + parent: s, fn: effects_ParticleEffect_constructor__P129115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26084,7 +26084,7 @@ function effects_ParticleEffect_constructor__P21234_mk(s) { -function music_melodyPlayable__P19894(s) { +function music_melodyPlayable__P127775(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26098,9 +26098,9 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayable__C19887_VT); + r0 = pxsim_pxtcore_mkClassInstance(music_MelodyPlayable__C127768_VT); s.tmp_0 = r0; - s.tmp_1 = music_MelodyPlayable_constructor__P19888_mk(s); + s.tmp_1 = music_MelodyPlayable_constructor__P127769_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg0; s.callLocIdx = 73; s.pc = 1; return s.tmp_1; @@ -26110,12 +26110,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -music_melodyPlayable__P19894.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__P127775.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__P19894_mk(s) { +function music_melodyPlayable__P127775_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_melodyPlayable__P19894, depth: s.depth + 1, + parent: s, fn: music_melodyPlayable__P127775, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26126,7 +26126,7 @@ function music_melodyPlayable__P19894_mk(s) { -function music_MelodyPlayable_constructor__P19888(s) { +function music_MelodyPlayable_constructor__P127769(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26142,19 +26142,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_MelodyPlayable__C19887_VT)) failedCast(r0); + if (!checkSubtype(r0, music_MelodyPlayable__C127768_VT)) failedCast(r0); r0 = (s.arg0).fields["melody"] = (s.arg1); r0 = undefined; r0 = undefined; return leave(s, r0) default: oops() } } } -music_MelodyPlayable_constructor__P19888.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__P127769.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__P19888_mk(s) { +function music_MelodyPlayable_constructor__P127769_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_MelodyPlayable_constructor__P19888, depth: s.depth + 1, + parent: s, fn: music_MelodyPlayable_constructor__P127769, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26164,7 +26164,7 @@ function music_MelodyPlayable_constructor__P19888_mk(s) { -function music_Playable_constructor__P19884(s) { +function music_Playable_constructor__P127765(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26179,17 +26179,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Playable__C19882_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Playable__C127763_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Playable_constructor__P19884.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__P127765.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__P19884_mk(s) { +function music_Playable_constructor__P127765_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Playable_constructor__P19884, depth: s.depth + 1, + parent: s, fn: music_Playable_constructor__P127765, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26198,7 +26198,7 @@ function music_Playable_constructor__P19884_mk(s) { -function music_Melody_constructor__P19600(s) { +function music_Melody_constructor__P127481(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26214,18 +26214,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C19597_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C127478_VT)) failedCast(r0); r0 = (s.arg0).fields["_text"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -music_Melody_constructor__P19600.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__P127481.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__P19600_mk(s) { +function music_Melody_constructor__P127481_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_constructor__P19600, depth: s.depth + 1, + parent: s, fn: music_Melody_constructor__P127481, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26235,7 +26235,7 @@ function music_Melody_constructor__P19600_mk(s) { -function Fx8__P18120(s) { +function Fx8__P126001(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26255,12 +26255,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx8__P18120.info = {"start":42,"length":68,"line":4,"column":0,"endLine":6,"endColumn":1,"fileName":"pxt_modules/base/fixed.ts","functionName":"Fx8","argumentNames":["v"]} +Fx8__P126001.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__P18120_mk(s) { +function Fx8__P126001_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx8__P18120, depth: s.depth + 1, + parent: s, fn: Fx8__P126001, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26270,7 +26270,7 @@ function Fx8__P18120_mk(s) { -function SpriteKind_create__P20450(s) { +function SpriteKind_create__P128331(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26280,26 +26280,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = (globals.nextKind___22723 === undefined); + r0 = (globals.nextKind___130604 === undefined); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - globals.nextKind___22723 = (1000); + globals.nextKind___130604 = (1000); case 1: case 2: - s.tmp_0 = r0 = globals.nextKind___22723; + s.tmp_0 = r0 = globals.nextKind___130604; r0 = (s.tmp_0 + 1); - globals.nextKind___22723 = (r0); + globals.nextKind___130604 = (r0); r0 = s.tmp_0; return leave(s, r0) default: oops() } } } -SpriteKind_create__P20450.info = {"start":783,"length":112,"line":26,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/game/spritekind.ts","functionName":"create","argumentNames":[]} +SpriteKind_create__P128331.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__P20450_mk(s) { +function SpriteKind_create__P128331_mk(s) { checkStack(s.depth); return { - parent: s, fn: SpriteKind_create__P20450, depth: s.depth + 1, + parent: s, fn: SpriteKind_create__P128331, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26308,7 +26308,7 @@ function SpriteKind_create__P20450_mk(s) { -function controller_Button_constructor__P20166(s) { +function controller_Button_constructor__P128047(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26325,7 +26325,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20160_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C128041_VT)) failedCast(r0); r0 = (s.arg0).fields["id"] = (s.arg1); r0 = (s.arg0).fields["_pressed"] = (false); r0 = (s.arg0).fields["repeatDelay"] = (undefined); @@ -26335,13 +26335,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__P31599); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P139480); 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__P31606); + r0 = pxsim_pxtcore_mkAction(1, controller_Button_inline__P139487); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); r0 = s.arg0.fields["id"]; @@ -26360,12 +26360,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_constructor__P20166.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__P128047.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__P20166_mk(s) { +function controller_Button_constructor__P128047_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_constructor__P20166, depth: s.depth + 1, + parent: s, fn: controller_Button_constructor__P128047, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26379,7 +26379,7 @@ function controller_Button_constructor__P20166_mk(s) { -function controller_Button_inline__P31599(s) { +function controller_Button_inline__P139480(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26389,7 +26389,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P20173_mk(s); + s.tmp_0 = controller_Button_setPressed__P128054_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = false; s.callLocIdx = 199; s.pc = 1; return s.tmp_0; @@ -26399,12 +26399,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_inline__P31599.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__P139480.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__P31599_mk(s) { +function controller_Button_inline__P139480_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P31599, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P139480, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26413,7 +26413,7 @@ function controller_Button_inline__P31599_mk(s) { -function controller_Button_inline__P31606(s) { +function controller_Button_inline__P139487(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26423,7 +26423,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = controller_Button_setPressed__P20173_mk(s); + s.tmp_0 = controller_Button_setPressed__P128054_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = true; s.callLocIdx = 200; s.pc = 1; return s.tmp_0; @@ -26433,12 +26433,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_inline__P31606.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__P139487.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__P31606_mk(s) { +function controller_Button_inline__P139487_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_inline__P31606, depth: s.depth + 1, + parent: s, fn: controller_Button_inline__P139487, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26447,7 +26447,7 @@ function controller_Button_inline__P31606_mk(s) { -function controller_setupButton__P22706(s) { +function controller_setupButton__P130587(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26466,12 +26466,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_setupButton__P22706.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__P130587.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__P22706_mk(s) { +function controller_setupButton__P130587_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_setupButton__P22706, depth: s.depth + 1, + parent: s, fn: controller_setupButton__P130587, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -26481,7 +26481,7 @@ function controller_setupButton__P22706_mk(s) { -function controller_Button_setPressed__P20173(s) { +function controller_Button_setPressed__P128054(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26497,14 +26497,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20160_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C128041_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__P19900_mk(s); + s.tmp_2 = power_poke__P127781_mk(s); s.callLocIdx = 203; s.pc = 7; return s.tmp_2; case 7: r0 = s.retval; @@ -26512,7 +26512,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__P20127_mk(s); + s.tmp_1 = controller_Controller_connected__P128008_mk(s); r0 = s.arg0.fields["_owner"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = true; @@ -26527,7 +26527,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__P22690_mk(s); + s.tmp_0 = controller_Button_raiseButtonDown__P130571_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 205; s.pc = 9; return s.tmp_0; case 9: @@ -26535,7 +26535,7 @@ switch (step) { { step = 4; continue; } case 3: r0 = (s.arg0).fields["_repeatCount"] = (0); - s.tmp_0 = controller_Button_raiseButtonUp__P22689_mk(s); + s.tmp_0 = controller_Button_raiseButtonUp__P130570_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 206; s.pc = 10; return s.tmp_0; case 10: @@ -26547,12 +26547,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_setPressed__P20173.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__P128054.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__P20173_mk(s) { +function controller_Button_setPressed__P128054_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_setPressed__P20173, depth: s.depth + 1, + parent: s, fn: controller_Button_setPressed__P128054, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26565,7 +26565,7 @@ function controller_Button_setPressed__P20173_mk(s) { -function controller_Button_raiseButtonDown__P22690(s) { +function controller_Button_raiseButtonDown__P130571(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26580,8 +26580,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20160_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___22700); + if (!checkSubtype(r0, controller_Button__C128041_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___130581); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -26596,12 +26596,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonDown__P22690.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__P130571.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__P22690_mk(s) { +function controller_Button_raiseButtonDown__P130571_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonDown__P22690, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonDown__P130571, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26611,7 +26611,7 @@ function controller_Button_raiseButtonDown__P22690_mk(s) { -function controller_Button_raiseButtonUp__P22689(s) { +function controller_Button_raiseButtonUp__P130570(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26626,8 +26626,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20160_VT)) failedCast(r0); - r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___22700); + if (!checkSubtype(r0, controller_Button__C128041_VT)) failedCast(r0); + r0 = pxsim_numops_toBoolDecr(globals._userEventsEnabled___130581); if (!r0) { step = 1; continue; } r0 = s.arg0.fields["id"]; s.tmp_0 = r0; @@ -26642,12 +26642,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_raiseButtonUp__P22689.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__P130570.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__P22689_mk(s) { +function controller_Button_raiseButtonUp__P130570_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_raiseButtonUp__P22689, depth: s.depth + 1, + parent: s, fn: controller_Button_raiseButtonUp__P130570, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -26657,7 +26657,7 @@ function controller_Button_raiseButtonUp__P22689_mk(s) { -function game_addScenePushHandler__P20989(s) { +function game_addScenePushHandler__P128870(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26671,35 +26671,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___22906); + r0 = pxsim_numops_toBoolDecr(globals._scenePushHandlers___130787); 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___22906 = (r0); + globals._scenePushHandlers___130787 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___22906, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePushHandlers___130787, 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___22906, s.arg0); + r0 = pxsim_Array__push(globals._scenePushHandlers___130787, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePushHandler__P20989.info = {"start":16044,"length":242,"line":479,"column":4,"endLine":483,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePushHandler","argumentNames":["handler"]} +game_addScenePushHandler__P128870.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__P20989_mk(s) { +function game_addScenePushHandler__P128870_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePushHandler__P20989, depth: s.depth + 1, + parent: s, fn: game_addScenePushHandler__P128870, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26710,7 +26710,7 @@ function game_addScenePushHandler__P20989_mk(s) { -function controller_Controller_id__P20112(s) { +function controller_Controller_id__P127993(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26725,18 +26725,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20105_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C127986_VT)) failedCast(r0); r0 = s.arg0.fields["_id"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_id__P20112.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__P20112.isGetter = true; +controller_Controller_id__P127993.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__P127993.isGetter = true; -function controller_Controller_id__P20112_mk(s) { +function controller_Controller_id__P127993_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_id__P20112, depth: s.depth + 1, + parent: s, fn: controller_Controller_id__P127993, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26745,7 +26745,7 @@ function controller_Controller_id__P20112_mk(s) { -function controller_Controller_connected__P20126(s) { +function controller_Controller_connected__P128007(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26760,18 +26760,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Controller__C20105_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Controller__C127986_VT)) failedCast(r0); r0 = s.arg0.fields["_connected"]; return leaveAccessor(s, r0) default: oops() } } } -controller_Controller_connected__P20126.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__P20126.isGetter = true; +controller_Controller_connected__P128007.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__P128007.isGetter = true; -function controller_Controller_connected__P20126_mk(s) { +function controller_Controller_connected__P128007_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Controller_connected__P20126, depth: s.depth + 1, + parent: s, fn: controller_Controller_connected__P128007, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -26780,7 +26780,7 @@ function controller_Controller_connected__P20126_mk(s) { -function game_currentScene__P20970(s) { +function game_currentScene__P128851(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26790,21 +26790,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_0 = game_init__P22912_mk(s); + s.tmp_0 = game_init__P130793_mk(s); s.tmp_0.arg0 = undefined; s.callLocIdx = 942; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = globals._scene___22904; + r0 = globals._scene___130785; return leave(s, r0) default: oops() } } } -game_currentScene__P20970.info = {"start":4025,"length":90,"line":118,"column":4,"endLine":121,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"currentScene","argumentNames":[]} +game_currentScene__P128851.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__P20970_mk(s) { +function game_currentScene__P128851_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_currentScene__P20970, depth: s.depth + 1, + parent: s, fn: game_currentScene__P128851, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -26813,7 +26813,7 @@ function game_currentScene__P20970_mk(s) { -function game_addScenePopHandler__P20991(s) { +function game_addScenePopHandler__P128872(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26827,35 +26827,35 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___22907); + r0 = pxsim_numops_toBoolDecr(globals._scenePopHandlers___130788); 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___22907 = (r0); + globals._scenePopHandlers___130788 = (r0); case 1: case 2: - r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___22907, s.arg0, undefined); + r0 = pxsim_Array_.indexOf(globals._scenePopHandlers___130788, 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___22907, s.arg0); + r0 = pxsim_Array__push(globals._scenePopHandlers___130788, s.arg0); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -game_addScenePopHandler__P20991.info = {"start":17045,"length":237,"line":503,"column":4,"endLine":507,"endColumn":5,"fileName":"pxt_modules/game/game.ts","functionName":"addScenePopHandler","argumentNames":["handler"]} +game_addScenePopHandler__P128872.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__P20991_mk(s) { +function game_addScenePopHandler__P128872_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_addScenePopHandler__P20991, depth: s.depth + 1, + parent: s, fn: game_addScenePopHandler__P128872, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -26866,7 +26866,7 @@ function game_addScenePopHandler__P20991_mk(s) { -function settings_initScopes__P22594(s) { +function settings_initScopes__P130475(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26876,17 +26876,17 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.rn___31701 = undefined; - s.tmp_1 = settings_runNumber__P20029_mk(s); + s.rn___139582 = undefined; + s.tmp_1 = settings_runNumber__P127910_mk(s); s.callLocIdx = 119; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = (s.tmp_0 + 1); - s.rn___31701 = (r0); - s.tmp_0 = settings_writeNumber__P20034_mk(s); - s.tmp_0.arg0 = globals.RUN_KEY___22582; - s.tmp_0.arg1 = s.rn___31701; + s.rn___139582 = (r0); + s.tmp_0 = settings_writeNumber__P127915_mk(s); + s.tmp_0.arg0 = globals.RUN_KEY___130463; + s.tmp_0.arg1 = s.rn___139582; s.callLocIdx = 120; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; @@ -26895,8 +26895,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___31701); - s.tmp_0 = settings_setScope__P22593_mk(s); + r0 = pxsim_pxtcore.seedAddRandom(s.rn___139582); + s.tmp_0 = settings_setScope__P130474_mk(s); r0 = pxsim_pxtcore.programName(); s.tmp_0.arg0 = r0; s.callLocIdx = 121; s.pc = 3; return s.tmp_0; @@ -26906,23 +26906,23 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_initScopes__P22594.info = {"start":1104,"length":230,"line":41,"column":4,"endLine":49,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"initScopes","argumentNames":[]} +settings_initScopes__P130475.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__P22594_mk(s) { +function settings_initScopes__P130475_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_initScopes__P22594, depth: s.depth + 1, + parent: s, fn: settings_initScopes__P130475, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - rn___31701: undefined, + rn___139582: undefined, } } -function settings_setScope__P22593(s) { +function settings_setScope__P130474(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -26932,7 +26932,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.currScope___31730 = undefined; + s.currScope___139611 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; @@ -26957,19 +26957,19 @@ switch (step) { r0 = pxsim_pxtrt.panic(922); case 3: case 4: - s.tmp_0 = settings_readString__P20037_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___22583; + s.tmp_0 = settings_readString__P127918_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___130464; s.callLocIdx = 117; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.currScope___31730 = (r0); - r0 = (s.currScope___31730 != s.arg0); + s.currScope___139611 = (r0); + r0 = (s.currScope___139611 != 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__P20032_mk(s); - s.tmp_0.arg0 = globals.SCOPE_KEY___22583; + s.tmp_0 = settings_writeString__P127913_mk(s); + s.tmp_0.arg0 = globals.SCOPE_KEY___130464; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 118; s.pc = 8; return s.tmp_0; case 8: @@ -26980,18 +26980,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_setScope__P22593.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__P130474.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__P22593_mk(s) { +function settings_setScope__P130474_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_setScope__P22593, depth: s.depth + 1, + parent: s, fn: settings_setScope__P130474, 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___31730: undefined, + currScope___139611: undefined, arg0: undefined, } } @@ -26999,7 +26999,7 @@ function settings_setScope__P22593_mk(s) { -function settings_readString__P20037(s) { +function settings_readString__P127918(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27009,14 +27009,14 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.buf___31751 = undefined; + s.buf___139632 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = pxsim.settings._get(s.arg0); - s.buf___31751 = (r0); - r0 = pxsim_numops_toBoolDecr(s.buf___31751); + s.buf___139632 = (r0); + r0 = pxsim_numops_toBoolDecr(s.buf___139632); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -27026,7 +27026,7 @@ switch (step) { { step = 3; continue; } { step = 2; continue; } case 1: - r0 = pxsim.BufferMethods.toString(s.buf___31751); + r0 = pxsim.BufferMethods.toString(s.buf___139632); { step = 3; continue; } case 2: r0 = undefined; @@ -27034,16 +27034,16 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_readString__P20037.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__P127918.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__P20037_mk(s) { +function settings_readString__P127918_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_readString__P20037, depth: s.depth + 1, + parent: s, fn: settings_readString__P127918, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - buf___31751: undefined, + buf___139632: undefined, arg0: undefined, } } @@ -27051,7 +27051,7 @@ function settings_readString__P20037_mk(s) { -function settings_writeString__P20032(s) { +function settings_writeString__P127913(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27066,7 +27066,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = settings_writeBuffer__P20031_mk(s); + s.tmp_0 = settings_writeBuffer__P127912_mk(s); s.tmp_0.arg0 = s.arg0; r0 = pxsim.control.createBufferFromUTF8(s.arg1); s.tmp_0.arg1 = r0; @@ -27077,12 +27077,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_writeString__P20032.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__P127913.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__P20032_mk(s) { +function settings_writeString__P127913_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_writeString__P20032, depth: s.depth + 1, + parent: s, fn: settings_writeString__P127913, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27093,7 +27093,7 @@ function settings_writeString__P20032_mk(s) { -function settings_runNumber__P20029(s) { +function settings_runNumber__P127910(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27103,8 +27103,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tmp_1 = settings_readNumber__P20039_mk(s); - s.tmp_1.arg0 = globals.RUN_KEY___22582; + s.tmp_1 = settings_readNumber__P127920_mk(s); + s.tmp_1.arg0 = globals.RUN_KEY___130463; s.callLocIdx = 116; s.pc = 3; return s.tmp_1; case 3: r0 = s.retval; @@ -27122,12 +27122,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -settings_runNumber__P20029.info = {"start":745,"length":75,"line":27,"column":4,"endLine":29,"endColumn":5,"fileName":"pxt_modules/settings/settings.ts","functionName":"runNumber","argumentNames":[]} +settings_runNumber__P127910.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__P20029_mk(s) { +function settings_runNumber__P127910_mk(s) { checkStack(s.depth); return { - parent: s, fn: settings_runNumber__P20029, depth: s.depth + 1, + parent: s, fn: settings_runNumber__P127910, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27138,7 +27138,7 @@ function settings_runNumber__P20029_mk(s) { -function control___screen_setupUpdate__P19965(s) { +function control___screen_setupUpdate__P127846(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27152,8 +27152,8 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - globals.__updated___22549 = (true); - globals.__update___22547 = (s.arg0); + globals.__updated___130430 = (true); + globals.__update___130428 = (s.arg0); s.tmp_0 = lambda_1_mk(s); s.tmp_0.argL = s.arg0; setupLambda(s.tmp_0, s.tmp_0.argL); @@ -27164,12 +27164,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -control___screen_setupUpdate__P19965.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__P127846.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__P19965_mk(s) { +function control___screen_setupUpdate__P127846_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_setupUpdate__P19965, depth: s.depth + 1, + parent: s, fn: control___screen_setupUpdate__P127846, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27179,7 +27179,7 @@ function control___screen_setupUpdate__P19965_mk(s) { -function _screen_internal_getScreenHeight__P20008(s) { +function _screen_internal_getScreenHeight__P127889(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27197,12 +27197,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_getScreenHeight__P20008.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__P127889.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__P20008_mk(s) { +function _screen_internal_getScreenHeight__P127889_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_getScreenHeight__P20008, depth: s.depth + 1, + parent: s, fn: _screen_internal_getScreenHeight__P127889, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27211,7 +27211,7 @@ function _screen_internal_getScreenHeight__P20008_mk(s) { -function _screen_internal_getScreenWidth__P20007(s) { +function _screen_internal_getScreenWidth__P127888(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27229,12 +27229,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -_screen_internal_getScreenWidth__P20007.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__P127888.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__P20007_mk(s) { +function _screen_internal_getScreenWidth__P127888_mk(s) { checkStack(s.depth); return { - parent: s, fn: _screen_internal_getScreenWidth__P20007, depth: s.depth + 1, + parent: s, fn: _screen_internal_getScreenWidth__P127888, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27243,7 +27243,7 @@ function _screen_internal_getScreenWidth__P20007_mk(s) { -function control___screen_update__P19964(s) { +function control___screen_update__P127845(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27253,27 +27253,27 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - r0 = pxsim_numops_toBoolDecr(globals.__update___22547); + r0 = pxsim_numops_toBoolDecr(globals.__update___130428); if (!r0) { step = 1; continue; } s.tmp_0 = lambda_1_mk(s); - s.tmp_0.argL = globals.__update___22547; + s.tmp_0.argL = globals.__update___130428; setupLambda(s.tmp_0, s.tmp_0.argL); s.callLocIdx = 109; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; case 1: case 2: - globals.__updated___22549 = (true); + globals.__updated___130430 = (true); r0 = undefined; return leave(s, r0) default: oops() } } } -control___screen_update__P19964.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__P127845.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__P19964_mk(s) { +function control___screen_update__P127845_mk(s) { checkStack(s.depth); return { - parent: s, fn: control___screen_update__P19964, depth: s.depth + 1, + parent: s, fn: control___screen_update__P127845, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, } } @@ -27282,7 +27282,7 @@ function control___screen_update__P19964_mk(s) { -function pause__P18384(s) { +function pause__P126265(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27306,12 +27306,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -pause__P18384.info = {"start":246,"length":57,"line":7,"column":0,"endLine":9,"endColumn":1,"fileName":"pxt_modules/base/pause.ts","functionName":"pause","argumentNames":["ms"]} +pause__P126265.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__P18384_mk(s) { +function pause__P126265_mk(s) { checkStack(s.depth); return { - parent: s, fn: pause__P18384, depth: s.depth + 1, + parent: s, fn: pause__P126265, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27320,7 +27320,7 @@ function pause__P18384_mk(s) { -function music_Melody_toString__P19606(s) { +function music_Melody_toString__P127487(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27335,17 +27335,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, music_Melody__C19597_VT)) failedCast(r0); + if (!checkSubtype(r0, music_Melody__C127478_VT)) failedCast(r0); r0 = s.arg0.fields["_text"]; return leave(s, r0) default: oops() } } } -music_Melody_toString__P19606.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__P127487.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__P19606_mk(s) { +function music_Melody_toString__P127487_mk(s) { checkStack(s.depth); return { - parent: s, fn: music_Melody_toString__P19606, depth: s.depth + 1, + parent: s, fn: music_Melody_toString__P127487, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -27354,7 +27354,7 @@ function music_Melody_toString__P19606_mk(s) { -function particles_ShapeFactory_createParticle__P21188(s) { +function particles_ShapeFactory_createParticle__P129069(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27364,23 +27364,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___31789 = undefined; + s.p___139670 = 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__C21184_VT)) failedCast(r0); - s.tmp_0 = particles_AreaFactory_createParticle__P21174_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C129065_VT)) failedCast(r0); + s.tmp_0 = particles_AreaFactory_createParticle__P129055_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1245; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___31789 = (r0); - s.tmp_0 = r0 = s.p___31789; - s.tmp_2 = Math_FastRandom_randomRange__P21034_mk(s); + s.p___139670 = (r0); + s.tmp_0 = r0 = s.p___139670; + s.tmp_2 = Math_FastRandom_randomRange__P128915_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = 1; @@ -27390,21 +27390,21 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["color"] = (s.tmp_1); - r0 = s.p___31789; + r0 = s.p___139670; return leave(s, r0) default: oops() } } } -particles_ShapeFactory_createParticle__P21188.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__P129069.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__P21188_mk(s) { +function particles_ShapeFactory_createParticle__P129069_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_createParticle__P21188, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_createParticle__P129069, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - p___31789: undefined, + p___139670: undefined, arg0: undefined, arg1: undefined, } } @@ -27413,7 +27413,7 @@ function particles_ShapeFactory_createParticle__P21188_mk(s) { -function particles_AreaFactory_createParticle__P21174(s) { +function particles_AreaFactory_createParticle__P129055(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27423,23 +27423,23 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___31801 = undefined; + s.p___139682 = 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__C21168_VT)) failedCast(r0); - s.tmp_0 = particles_SprayFactory_createParticle__P21164_mk(s); + if (!checkSubtype(r0, particles_AreaFactory__C129049_VT)) failedCast(r0); + s.tmp_0 = particles_SprayFactory_createParticle__P129045_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1227; s.pc = 3; return s.tmp_0; case 3: r0 = s.retval; - s.p___31801 = (r0); - s.tmp_0 = r0 = s.p___31801; - s.tmp_2 = Math_FastRandom_randomRange__P21034_mk(s); + s.p___139682 = (r0); + s.tmp_0 = r0 = s.p___139682; + s.tmp_2 = Math_FastRandom_randomRange__P128915_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_2.arg0 = r0; r0 = s.arg0.fields["minLifespan"]; @@ -27451,8 +27451,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0).fields["lifespan"] = (s.tmp_1); - s.tmp_0 = r0 = s.p___31801; - s.tmp_4 = Math_FastRandom_randomRange__P21034_mk(s); + s.tmp_0 = r0 = s.p___139682; + s.tmp_4 = Math_FastRandom_randomRange__P128915_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_4.arg0 = r0; s.tmp_4.arg1 = 0; @@ -27468,7 +27468,7 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_3 - s.tmp_5); s.tmp_2 = r0; - r0 = s.p___31801.fields["_x"]; + r0 = s.p___139682.fields["_x"]; s.tmp_7 = r0; r0 = (s.tmp_2 << 8); s.tmp_8 = r0; @@ -27510,8 +27510,8 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.tmp_5 = r0 = s.p___31801; - s.tmp_9 = Math_FastRandom_randomRange__P21034_mk(s); + s.tmp_5 = r0 = s.p___139682; + s.tmp_9 = Math_FastRandom_randomRange__P128915_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_9.arg0 = r0; s.tmp_9.arg1 = 0; @@ -27523,23 +27523,23 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 - s.tmp_4); s.tmp_7 = r0; - r0 = s.p___31801.fields["_y"]; + r0 = s.p___139682.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___31801; + r0 = s.p___139682; return leave(s, r0) default: oops() } } } -particles_AreaFactory_createParticle__P21174.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__P129055.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__P21174_mk(s) { +function particles_AreaFactory_createParticle__P129055_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_createParticle__P21174, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_createParticle__P129055, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27553,7 +27553,7 @@ function particles_AreaFactory_createParticle__P21174_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - p___31801: undefined, + p___139682: undefined, arg0: undefined, arg1: undefined, } } @@ -27562,7 +27562,7 @@ function particles_AreaFactory_createParticle__P21174_mk(s) { -function Fx_iadd__P18129(s) { +function Fx_iadd__P126010(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27583,12 +27583,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_iadd__P18129.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__P126010.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__P18129_mk(s) { +function Fx_iadd__P126010_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_iadd__P18129, depth: s.depth + 1, + parent: s, fn: Fx_iadd__P126010, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27599,7 +27599,7 @@ function Fx_iadd__P18129_mk(s) { -function particles_SprayFactory_createParticle__P21164(s) { +function particles_SprayFactory_createParticle__P129045(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27609,26 +27609,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.p___31857 = undefined; - s.angle___31861 = undefined; + s.p___139738 = undefined; + s.angle___139742 = 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__C21162_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory_createParticle__P21160_mk(s); + if (!checkSubtype(r0, particles_SprayFactory__C129043_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory_createParticle__P129041_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 1216; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.p___31857 = (r0); + s.p___139738 = (r0); r0 = s.arg0.fields["minAngle"]; s.tmp_1 = r0; - s.tmp_3 = Math_FastRandom_randomRange__P21034_mk(s); - s.tmp_3.arg0 = globals.galois___23260; + s.tmp_3 = Math_FastRandom_randomRange__P128915_mk(s); + s.tmp_3.arg0 = globals.galois___131141; s.tmp_3.arg1 = 0; r0 = s.arg0.fields["spread"]; s.tmp_3.arg2 = r0; @@ -27639,9 +27639,9 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 % 100); - s.angle___31861 = (r0); - s.tmp_0 = r0 = s.p___31857; - r0 = pxsim_Array__getAt(globals.cachedSin___23255, s.angle___31861); + s.angle___139742 = (r0); + s.tmp_0 = r0 = s.p___139738; + r0 = pxsim_Array__getAt(globals.cachedSin___131136, s.angle___139742); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -27650,8 +27650,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___31857; - r0 = pxsim_Array__getAt(globals.cachedCos___23256, s.angle___31861); + s.tmp_0 = r0 = s.p___139738; + r0 = pxsim_Array__getAt(globals.cachedCos___131137, s.angle___139742); s.tmp_2 = r0; r0 = s.arg0.fields["speed"]; s.tmp_3 = r0; @@ -27660,24 +27660,24 @@ switch (step) { r0 = (s.tmp_4 >> 8); s.tmp_1 = r0; r0 = (s.tmp_0).fields["vy"] = (s.tmp_1); - r0 = s.p___31857; + r0 = s.p___139738; return leave(s, r0) default: oops() } } } -particles_SprayFactory_createParticle__P21164.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__P129045.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__P21164_mk(s) { +function particles_SprayFactory_createParticle__P129045_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_createParticle__P21164, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_createParticle__P129045, 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___31857: undefined, - angle___31861: undefined, + p___139738: undefined, + angle___139742: undefined, arg0: undefined, arg1: undefined, } } @@ -27686,7 +27686,7 @@ function particles_SprayFactory_createParticle__P21164_mk(s) { -function sprites_SpriteSet_toString__P20445(s) { +function sprites_SpriteSet_toString__P128326(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27701,7 +27701,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20434_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C128315_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_1 = r0; r0 = s.arg0.fields["_sprites"]; @@ -27723,12 +27723,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteSet_toString__P20445.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__P128326.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__P20445_mk(s) { +function sprites_SpriteSet_toString__P128326_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_toString__P20445, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_toString__P128326, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27742,7 +27742,7 @@ function sprites_SpriteSet_toString__P20445_mk(s) { -function sprites_SpriteSet_length__P20437(s) { +function sprites_SpriteSet_length__P128318(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27757,20 +27757,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteSet__C20434_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteSet__C128315_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__P20437.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__P20437.isGetter = true; +sprites_SpriteSet_length__P128318.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__P128318.isGetter = true; -function sprites_SpriteSet_length__P20437_mk(s) { +function sprites_SpriteSet_length__P128318_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteSet_length__P20437, depth: s.depth + 1, + parent: s, fn: sprites_SpriteSet_length__P128318, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -27780,7 +27780,7 @@ function sprites_SpriteSet_length__P20437_mk(s) { -function particles_ParticleSource___draw__P21128(s) { +function particles_ParticleSource___draw__P129009(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27790,18 +27790,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.current___31904 = undefined; - s.left___31907 = undefined; - s.top___31917 = undefined; + s.current___139785 = undefined; + s.left___139788 = undefined; + s.top___139798 = 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__C21122_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_ParticleSource__C129003_VT)) failedCast(r0); r0 = s.arg0.fields["head"]; - s.current___31904 = (r0); + s.current___139785 = (r0); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -27819,7 +27819,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_4 = r0; - s.left___31907 = (s.tmp_4); + s.left___139788 = (s.tmp_4); r0 = s.arg0.fields["pFlags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4); @@ -27837,49 +27837,49 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.top___31917 = (s.tmp_4); + s.top___139798 = (s.tmp_4); case 5: - r0 = pxsim_numops_toBoolDecr(s.current___31904); + r0 = pxsim_numops_toBoolDecr(s.current___139785); if (!r0) { step = 8; continue; } - r0 = s.current___31904.fields["lifespan"]; + r0 = s.current___139785.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__P23246_mk(s); + s.tmp_2 = particles_ParticleSource_drawParticle__P131127_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.current___31904; - s.tmp_2.arg2 = s.left___31907; - s.tmp_2.arg3 = s.top___31917; + s.tmp_2.arg1 = s.current___139785; + s.tmp_2.arg2 = s.left___139788; + s.tmp_2.arg3 = s.top___139798; s.callLocIdx = 1151; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; case 6: case 7: - r0 = s.current___31904.fields["next"]; - s.current___31904 = (r0); + r0 = s.current___139785.fields["next"]; + s.current___139785 = (r0); { step = 5; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -particles_ParticleSource___draw__P21128.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__P129009.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__P21128_mk(s) { +function particles_ParticleSource___draw__P129009_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource___draw__P21128, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource___draw__P129009, 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___31904: undefined, - left___31907: undefined, - top___31917: undefined, + current___139785: undefined, + left___139788: undefined, + top___139798: undefined, arg0: undefined, arg1: undefined, } } @@ -27888,7 +27888,7 @@ function particles_ParticleSource___draw__P21128_mk(s) { -function particles_ParticleSource_drawParticle__P23246(s) { +function particles_ParticleSource_drawParticle__P131127(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27906,8 +27906,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleSource__C21122_VT)) failedCast(r0); - s.tmp_0 = particles_ParticleFactory__C21158_v1_4_mk(s); + if (!checkSubtype(r0, particles_ParticleSource__C129003_VT)) failedCast(r0); + s.tmp_0 = particles_ParticleFactory__C129039_v1_4_mk(s); r0 = s.arg0.fields["_factory"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -27919,7 +27919,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__C21158_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, particles_ParticleFactory__C129039_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: @@ -27928,12 +27928,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleSource_drawParticle__P23246.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__P131127.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__P23246_mk(s) { +function particles_ParticleSource_drawParticle__P131127_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleSource_drawParticle__P23246, depth: s.depth + 1, + parent: s, fn: particles_ParticleSource_drawParticle__P131127, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -27948,7 +27948,7 @@ function particles_ParticleSource_drawParticle__P23246_mk(s) { -function particles_ParticleFactory_drawParticle__P21161(s) { +function particles_ParticleFactory_drawParticle__P129042(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -27966,8 +27966,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ParticleFactory__C21158_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___20003; + if (!checkSubtype(r0, particles_ParticleFactory__C129039_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___127884; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -27981,12 +27981,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ParticleFactory_drawParticle__P21161.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__P129042.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__P21161_mk(s) { +function particles_ParticleFactory_drawParticle__P129042_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ParticleFactory_drawParticle__P21161, depth: s.depth + 1, + parent: s, fn: particles_ParticleFactory_drawParticle__P129042, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28003,7 +28003,7 @@ function particles_ParticleFactory_drawParticle__P21161_mk(s) { -function sprites_SpriteMap_toString__P20425(s) { +function sprites_SpriteMap_toString__P128306(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28018,7 +28018,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20417_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C128298_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; r0 = s.arg0.fields["buckets"]; @@ -28038,10 +28038,10 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, " buckets, "); s.tmp_1 = r0; - s.tmp_10 = helpers_arrayFilter__P18081_mk(s); + s.tmp_10 = helpers_arrayFilter__P125962_mk(s); r0 = s.arg0.fields["buckets"]; s.tmp_10.arg0 = r0; - s.tmp_10.arg1 = length_inline__P31980; + s.tmp_10.arg1 = length_inline__P139861; s.callLocIdx = 514; s.pc = 2; return s.tmp_10; case 2: r0 = s.retval; @@ -28063,12 +28063,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_toString__P20425.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__P128306.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__P20425_mk(s) { +function sprites_SpriteMap_toString__P128306_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_toString__P20425, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_toString__P128306, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28088,7 +28088,7 @@ function sprites_SpriteMap_toString__P20425_mk(s) { -function length_inline__P31980(s) { +function length_inline__P139861(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28112,12 +28112,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -length_inline__P31980.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__P139861.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__P31980_mk(s) { +function length_inline__P139861_mk(s) { checkStack(s.depth); return { - parent: s, fn: length_inline__P31980, depth: s.depth + 1, + parent: s, fn: length_inline__P139861, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28129,7 +28129,7 @@ function length_inline__P31980_mk(s) { -function ArcadePhysicsEngine_moveSprite__P20512(s) { +function ArcadePhysicsEngine_moveSprite__P128393(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28139,9 +28139,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___32012 = undefined; - s.maxDist___32020 = undefined; - s.ms___32040 = undefined; + s.tm___139893 = undefined; + s.maxDist___139901 = undefined; + s.ms___139921 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28150,7 +28150,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -28169,19 +28169,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__P20970_mk(s); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 751; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___32012 = (r0); - s.tmp_0 = r0 = s.tm___32012; + s.tm___139893 = (r0); + s.tmp_0 = r0 = s.tm___139893; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 1; continue; } r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.tm___32012.fields["_map"]; + r0 = s.tm___139893.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -28200,8 +28200,8 @@ switch (step) { r0 = (s.tmp_6 + 128); s.tmp_7 = r0; r0 = (s.tmp_7 >> 8); - s.maxDist___32020 = (r0); - s.tmp_2 = Math_abs__P18099_mk(s); + s.maxDist___139901 = (r0); + s.tmp_2 = Math_abs__P125980_mk(s); r0 = (s.arg2 + 128); s.tmp_3 = r0; r0 = (s.tmp_3 >> 8); @@ -28210,14 +28210,14 @@ switch (step) { case 14: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.maxDist___32020); + r0 = (s.tmp_1 <= s.maxDist___139901); 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__P18099_mk(s); + s.tmp_5 = Math_abs__P125980_mk(s); r0 = (s.arg3 + 128); s.tmp_6 = r0; r0 = (s.tmp_6 >> 8); @@ -28226,15 +28226,15 @@ switch (step) { case 15: r0 = s.retval; s.tmp_4 = r0; - r0 = (s.tmp_4 <= s.maxDist___32020); + r0 = (s.tmp_4 <= s.maxDist___139901); 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__C20496_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C128377_VT); s.tmp_8 = r0; - s.tmp_9 = MovingSprite_constructor__P20497_mk(s); + s.tmp_9 = MovingSprite_constructor__P128378_mk(s); s.tmp_9.arg0 = s.tmp_8; s.tmp_9.arg1 = s.arg1; r0 = s.arg1.fields["_vx"]; @@ -28248,18 +28248,18 @@ switch (step) { s.callLocIdx = 758; s.pc = 16; return s.tmp_9; case 16: r0 = s.retval; - s.ms___32040 = (s.tmp_8); - s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P22760_mk(s); + s.ms___139921 = (s.tmp_8); + s.tmp_0 = ArcadePhysicsEngine_tilemapCollisions__P130641_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.ms___32040; - s.tmp_0.arg2 = s.tm___32012; + s.tmp_0.arg1 = s.ms___139921; + s.tmp_0.arg2 = s.tm___139893; s.callLocIdx = 759; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 5: - s.tmp_1 = tiles_TileMap_isOnWall__P20729_mk(s); - s.tmp_1.arg0 = s.tm___32012; + s.tmp_1 = tiles_TileMap_isOnWall__P128610_mk(s); + s.tmp_1.arg0 = s.tm___139893; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 760; s.pc = 18; return s.tmp_1; case 18: @@ -28270,10 +28270,10 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P22762_mk(s); + s.tmp_4 = ArcadePhysicsEngine_canResolveClipping__P130643_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = s.arg1; - s.tmp_4.arg2 = s.tm___32012; + s.tmp_4.arg2 = s.tm___139893; s.callLocIdx = 761; s.pc = 19; return s.tmp_4; case 19: r0 = s.retval; @@ -28308,12 +28308,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_moveSprite__P20512.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__P128393.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__P20512_mk(s) { +function ArcadePhysicsEngine_moveSprite__P128393_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_moveSprite__P20512, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_moveSprite__P128393, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28325,9 +28325,9 @@ function ArcadePhysicsEngine_moveSprite__P20512_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - tm___32012: undefined, - maxDist___32020: undefined, - ms___32040: undefined, + tm___139893: undefined, + maxDist___139901: undefined, + ms___139921: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28338,7 +28338,7 @@ function ArcadePhysicsEngine_moveSprite__P20512_mk(s) { -function ArcadePhysicsEngine_canResolveClipping__P22762(s) { +function ArcadePhysicsEngine_canResolveClipping__P130643(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28348,19 +28348,19 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___32085 = undefined; - s.sz___32088 = undefined; - s.maxMove___32093 = undefined; - s.origY___32095 = undefined; - s.origX___32098 = undefined; - s.l___32101 = undefined; - s.r___32106 = undefined; - s.t___32111 = undefined; - s.b___32116 = undefined; - s.offset___32121 = undefined; - s.offset___32146 = undefined; - s.offset___32177 = undefined; - s.offset___32202 = undefined; + s.hbox___139966 = undefined; + s.sz___139969 = undefined; + s.maxMove___139974 = undefined; + s.origY___139976 = undefined; + s.origX___139979 = undefined; + s.l___139982 = undefined; + s.r___139987 = undefined; + s.t___139992 = undefined; + s.b___139997 = undefined; + s.offset___140002 = undefined; + s.offset___140027 = undefined; + s.offset___140058 = undefined; + s.offset___140083 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28368,7 +28368,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); r0 = s.arg1.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); @@ -28379,9 +28379,9 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite__C20312_v4_1_mk(s); + s.tmp_4 = Sprite__C128193_v4_1_mk(s); s.tmp_4.arg0 = s.arg1; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C20312_VT)) failedCast(s.tmp_4.arg0); + if (!checkSubtype(s.tmp_4.arg0, Sprite__C128193_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: @@ -28389,23 +28389,23 @@ switch (step) { case 1: case 2: r0 = s.arg1.fields["_hitbox"]; - s.hbox___32085 = (r0); + s.hbox___139966 = (r0); r0 = s.arg2.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.sz___32088 = (r0); - s.tmp_0 = ArcadePhysicsEngine_maxStep__P20504_mk(s); + s.sz___139969 = (r0); + s.tmp_0 = ArcadePhysicsEngine_maxStep__P128385_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 764; s.pc = 21; return s.tmp_0; case 21: r0 = s.retval; - s.maxMove___32093 = (r0); + s.maxMove___139974 = (r0); r0 = s.arg1.fields["_y"]; - s.origY___32095 = (r0); + s.origY___139976 = (r0); r0 = s.arg1.fields["_x"]; - s.origX___32098 = (r0); - s.tmp_1 = game_Hitbox_left__P20187_mk(s); - s.tmp_1.arg0 = s.hbox___32085; + s.origX___139979 = (r0); + s.tmp_1 = game_Hitbox_left__P128068_mk(s); + s.tmp_1.arg0 = s.hbox___139966; s.callLocIdx = 765; s.pc = 22; return s.tmp_1; case 22: r0 = s.retval; @@ -28413,9 +28413,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.l___32101 = (r0); - s.tmp_1 = game_Hitbox_right__P20189_mk(s); - s.tmp_1.arg0 = s.hbox___32085; + s.l___139982 = (r0); + s.tmp_1 = game_Hitbox_right__P128070_mk(s); + s.tmp_1.arg0 = s.hbox___139966; s.callLocIdx = 767; s.pc = 23; return s.tmp_1; case 23: r0 = s.retval; @@ -28423,9 +28423,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.r___32106 = (r0); - s.tmp_1 = game_Hitbox_top__P20188_mk(s); - s.tmp_1.arg0 = s.hbox___32085; + s.r___139987 = (r0); + s.tmp_1 = game_Hitbox_top__P128069_mk(s); + s.tmp_1.arg0 = s.hbox___139966; s.callLocIdx = 769; s.pc = 24; return s.tmp_1; case 24: r0 = s.retval; @@ -28433,9 +28433,9 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.t___32111 = (r0); - s.tmp_1 = game_Hitbox_bottom__P20190_mk(s); - s.tmp_1.arg0 = s.hbox___32085; + s.t___139992 = (r0); + s.tmp_1 = game_Hitbox_bottom__P128071_mk(s); + s.tmp_1.arg0 = s.hbox___139966; s.callLocIdx = 771; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; @@ -28443,26 +28443,26 @@ switch (step) { r0 = (s.tmp_0 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); - s.b___32116 = (r0); - r0 = (s.b___32116 + 1); + s.b___139997 = (r0); + r0 = (s.b___139997 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___32088); - s.offset___32121 = (r0); - r0 = (s.offset___32121 <= s.maxMove___32093); + r0 = (s.tmp_0 % s.sz___139969); + s.offset___140002 = (r0); + r0 = (s.offset___140002 <= s.maxMove___139974); 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___32121 * 256); + r0 = (s.offset___140002 * 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__P20729_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P128610_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 775; s.pc = 26; return s.tmp_3; @@ -28479,35 +28479,35 @@ switch (step) { { step = 19; continue; } { step = 4; continue; } case 3: - r0 = (s.arg1).fields["_y"] = (s.origY___32095); + r0 = (s.arg1).fields["_y"] = (s.origY___139976); case 4: case 5: case 6: - r0 = (s.t___32111 / s.sz___32088); + r0 = (s.t___139992 / s.sz___139969); 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___32088); + r0 = (s.tmp_1 * s.sz___139969); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.t___32111); - s.offset___32146 = (r0); - r0 = (s.offset___32146 <= s.maxMove___32093); + r0 = (s.tmp_0 - s.t___139992); + s.offset___140027 = (r0); + r0 = (s.offset___140027 <= s.maxMove___139974); 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___32146 * 256); + r0 = (s.offset___140027 * 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__P20729_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P128610_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 778; s.pc = 27; return s.tmp_3; @@ -28524,29 +28524,29 @@ switch (step) { { step = 19; continue; } { step = 8; continue; } case 7: - r0 = (s.arg1).fields["_y"] = (s.origY___32095); + r0 = (s.arg1).fields["_y"] = (s.origY___139976); case 8: case 9: case 10: - r0 = (s.r___32106 + 1); + r0 = (s.r___139987 + 1); s.tmp_0 = r0; - r0 = (s.tmp_0 % s.sz___32088); - s.offset___32177 = (r0); - r0 = (s.offset___32177 <= s.maxMove___32093); + r0 = (s.tmp_0 % s.sz___139969); + s.offset___140058 = (r0); + r0 = (s.offset___140058 <= s.maxMove___139974); 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___32177 * 256); + r0 = (s.offset___140058 * 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__P20729_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P128610_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 781; s.pc = 28; return s.tmp_3; @@ -28563,35 +28563,35 @@ switch (step) { { step = 19; continue; } { step = 12; continue; } case 11: - r0 = (s.arg1).fields["_x"] = (s.origX___32098); + r0 = (s.arg1).fields["_x"] = (s.origX___139979); case 12: case 13: case 14: - r0 = (s.l___32101 / s.sz___32088); + r0 = (s.l___139982 / s.sz___139969); 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___32088); + r0 = (s.tmp_1 * s.sz___139969); s.tmp_0 = r0; - r0 = (s.tmp_0 - s.l___32101); - s.offset___32202 = (r0); - r0 = (s.offset___32202 <= s.maxMove___32093); + r0 = (s.tmp_0 - s.l___139982); + s.offset___140083 = (r0); + r0 = (s.offset___140083 <= s.maxMove___139974); 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___32202 * 256); + r0 = (s.offset___140083 * 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__P20729_mk(s); + s.tmp_3 = tiles_TileMap_isOnWall__P128610_mk(s); s.tmp_3.arg0 = s.arg2; s.tmp_3.arg1 = s.arg1; s.callLocIdx = 784; s.pc = 29; return s.tmp_3; @@ -28608,7 +28608,7 @@ switch (step) { { step = 19; continue; } { step = 16; continue; } case 15: - r0 = (s.arg1).fields["_x"] = (s.origX___32098); + r0 = (s.arg1).fields["_x"] = (s.origX___139979); case 16: case 17: case 18: @@ -28617,12 +28617,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_canResolveClipping__P22762.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__P130643.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__P22762_mk(s) { +function ArcadePhysicsEngine_canResolveClipping__P130643_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P22762, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_canResolveClipping__P130643, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28630,19 +28630,19 @@ function ArcadePhysicsEngine_canResolveClipping__P22762_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - hbox___32085: undefined, - sz___32088: undefined, - maxMove___32093: undefined, - origY___32095: undefined, - origX___32098: undefined, - l___32101: undefined, - r___32106: undefined, - t___32111: undefined, - b___32116: undefined, - offset___32121: undefined, - offset___32146: undefined, - offset___32177: undefined, - offset___32202: undefined, + hbox___139966: undefined, + sz___139969: undefined, + maxMove___139974: undefined, + origY___139976: undefined, + origX___139979: undefined, + l___139982: undefined, + r___139987: undefined, + t___139992: undefined, + b___139997: undefined, + offset___140002: undefined, + offset___140027: undefined, + offset___140058: undefined, + offset___140083: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -28652,7 +28652,7 @@ function ArcadePhysicsEngine_canResolveClipping__P22762_mk(s) { -function Sprite_isStatic__P20366(s) { +function Sprite_isStatic__P128247(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28667,19 +28667,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20366.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__P128247.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__P20366_mk(s) { +function Sprite_isStatic__P128247_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isStatic__P20366, depth: s.depth + 1, + parent: s, fn: Sprite_isStatic__P128247, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -28689,7 +28689,7 @@ function Sprite_isStatic__P20366_mk(s) { -function game_Hitbox_bottom__P20190(s) { +function game_Hitbox_bottom__P128071(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28704,10 +28704,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20179_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C128060_VT)) failedCast(r0); r0 = s.arg0.fields["height"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_top__P20188_mk(s); + s.tmp_3 = game_Hitbox_top__P128069_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 225; s.pc = 1; return s.tmp_3; case 1: @@ -28719,13 +28719,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_bottom__P20190.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__P20190.isGetter = true; +game_Hitbox_bottom__P128071.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__P128071.isGetter = true; -function game_Hitbox_bottom__P20190_mk(s) { +function game_Hitbox_bottom__P128071_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_bottom__P20190, depth: s.depth + 1, + parent: s, fn: game_Hitbox_bottom__P128071, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28738,7 +28738,7 @@ function game_Hitbox_bottom__P20190_mk(s) { -function game_Hitbox_right__P20189(s) { +function game_Hitbox_right__P128070(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28753,10 +28753,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20179_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C128060_VT)) failedCast(r0); r0 = s.arg0.fields["width"]; s.tmp_1 = r0; - s.tmp_3 = game_Hitbox_left__P20187_mk(s); + s.tmp_3 = game_Hitbox_left__P128068_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 222; s.pc = 1; return s.tmp_3; case 1: @@ -28768,13 +28768,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_right__P20189.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__P20189.isGetter = true; +game_Hitbox_right__P128070.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__P128070.isGetter = true; -function game_Hitbox_right__P20189_mk(s) { +function game_Hitbox_right__P128070_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_right__P20189, depth: s.depth + 1, + parent: s, fn: game_Hitbox_right__P128070, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28787,7 +28787,7 @@ function game_Hitbox_right__P20189_mk(s) { -function game_Hitbox_top__P20188(s) { +function game_Hitbox_top__P128069(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28802,7 +28802,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20179_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C128060_VT)) failedCast(r0); r0 = s.arg0.fields["oy"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -28812,13 +28812,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_top__P20188.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__P20188.isGetter = true; +game_Hitbox_top__P128069.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__P128069.isGetter = true; -function game_Hitbox_top__P20188_mk(s) { +function game_Hitbox_top__P128069_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_top__P20188, depth: s.depth + 1, + parent: s, fn: game_Hitbox_top__P128069, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28829,7 +28829,7 @@ function game_Hitbox_top__P20188_mk(s) { -function game_Hitbox_left__P20187(s) { +function game_Hitbox_left__P128068(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28844,7 +28844,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20179_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C128060_VT)) failedCast(r0); r0 = s.arg0.fields["ox"]; s.tmp_0 = r0; r0 = s.arg0.fields["parent"]; @@ -28854,13 +28854,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -game_Hitbox_left__P20187.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__P20187.isGetter = true; +game_Hitbox_left__P128068.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__P128068.isGetter = true; -function game_Hitbox_left__P20187_mk(s) { +function game_Hitbox_left__P128068_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_left__P20187, depth: s.depth + 1, + parent: s, fn: game_Hitbox_left__P128068, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -28871,7 +28871,7 @@ function game_Hitbox_left__P20187_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions__P22760(s) { +function ArcadePhysicsEngine_tilemapCollisions__P130641(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -28881,37 +28881,37 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___32362 = undefined; - s.hbox___32387 = undefined; - s.tileScale___32390 = undefined; - s.tileSize___32393 = undefined; - s.xDiff___32397 = undefined; - s.yDiff___32404 = undefined; - s.right___32420 = undefined; - s.x0___32424 = undefined; - s.collidedTiles___32439 = undefined; - s.y___32441 = undefined; - s.y0___32455 = undefined; - s.obstacle___32471 = undefined; - s.collisionDirection___32498 = undefined; - s.tile___32524 = undefined; - s.unnamed172___U14 = undefined; - s.unnamed173___U15 = undefined; - s.down___32615 = undefined; - s.y0___32619 = undefined; - s.collidedTiles___32634 = undefined; - s.x___32636 = undefined; - s.x0___32646 = undefined; - s.obstacle___32660 = undefined; - s.collisionDirection___32687 = undefined; - s.tile___32713 = undefined; - s.unnamed174___U24 = undefined; - s.unnamed175___U25 = undefined; - s.overlappedTiles___32807 = undefined; - s.x___32809 = undefined; - s.x0___32819 = undefined; - s.y___32829 = undefined; - s.y0___32839 = undefined; + s.s___140243 = undefined; + s.hbox___140268 = undefined; + s.tileScale___140271 = undefined; + s.tileSize___140274 = undefined; + s.xDiff___140278 = undefined; + s.yDiff___140285 = undefined; + s.right___140301 = undefined; + s.x0___140305 = undefined; + s.collidedTiles___140320 = undefined; + s.y___140322 = undefined; + s.y0___140336 = undefined; + s.obstacle___140352 = undefined; + s.collisionDirection___140379 = undefined; + s.tile___140405 = undefined; + s.unnamed724___U14 = undefined; + s.unnamed725___U15 = undefined; + s.down___140496 = undefined; + s.y0___140500 = undefined; + s.collidedTiles___140515 = undefined; + s.x___140517 = undefined; + s.x0___140527 = undefined; + s.obstacle___140541 = undefined; + s.collisionDirection___140568 = undefined; + s.tile___140594 = undefined; + s.unnamed726___U24 = undefined; + s.unnamed727___U25 = undefined; + s.overlappedTiles___140688 = undefined; + s.x___140690 = undefined; + s.x0___140700 = undefined; + s.y___140710 = undefined; + s.y0___140720 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -28919,18 +28919,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___32362 = (r0); - r0 = s.s___32362.fields["flags"]; + s.s___140243 = (r0); + r0 = s.s___140243.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__P20729_mk(s); + s.tmp_5 = tiles_TileMap_isOnWall__P128610_mk(s); s.tmp_5.arg0 = s.arg2; - s.tmp_5.arg1 = s.s___32362; + s.tmp_5.arg1 = s.s___140243; s.callLocIdx = 647; s.pc = 97; return s.tmp_5; case 97: r0 = s.retval; @@ -28941,7 +28941,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___32362; + s.tmp_6 = r0 = s.s___140243; r0 = s.tmp_6.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & -257); @@ -28951,7 +28951,7 @@ switch (step) { case 2: case 3: case 4: - r0 = s.s___32362.fields["_image"]; + r0 = s.s___140243.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -28961,34 +28961,34 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_4 = Sprite__C20312_v4_1_mk(s); - s.tmp_4.arg0 = s.s___32362; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C20312_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = Sprite__C128193_v4_1_mk(s); + s.tmp_4.arg0 = s.s___140243; + if (!checkSubtype(s.tmp_4.arg0, Sprite__C128193_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___32362.fields["_hitbox"]; - s.hbox___32387 = (r0); + r0 = s.s___140243.fields["_hitbox"]; + s.hbox___140268 = (r0); r0 = s.arg2.fields["_scale"]; - s.tileScale___32390 = (r0); - r0 = (1 << s.tileScale___32390); - s.tileSize___32393 = (r0); - r0 = s.s___32362.fields["_x"]; + s.tileScale___140271 = (r0); + r0 = (1 << s.tileScale___140271); + s.tileSize___140274 = (r0); + r0 = s.s___140243.fields["_x"]; s.tmp_0 = r0; - r0 = s.s___32362.fields["_lastX"]; + r0 = s.s___140243.fields["_lastX"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.xDiff___32397 = (r0); - r0 = s.s___32362.fields["_y"]; + s.xDiff___140278 = (r0); + r0 = s.s___140243.fields["_y"]; s.tmp_0 = r0; - r0 = s.s___32362.fields["_lastY"]; + r0 = s.s___140243.fields["_lastY"]; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.yDiff___32404 = (r0); - r0 = s.s___32362.fields["flags"]; + s.yDiff___140285 = (r0); + r0 = s.s___140243.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 2818); s.tmp_2 = r0; @@ -28998,16 +28998,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 83; continue; } - r0 = (s.xDiff___32397 !== 0); + r0 = (s.xDiff___140278 !== 0); s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 43; continue; } - r0 = (s.xDiff___32397 > 0); - s.right___32420 = (r0); - r0 = pxsim_numops_toBoolDecr(s.right___32420); + r0 = (s.xDiff___140278 > 0); + s.right___140301 = (r0); + r0 = pxsim_numops_toBoolDecr(s.right___140301); if (!r0) { step = 7; continue; } - s.tmp_1 = game_Hitbox_right__P20189_mk(s); - s.tmp_1.arg0 = s.hbox___32387; + s.tmp_1 = game_Hitbox_right__P128070_mk(s); + s.tmp_1.arg0 = s.hbox___140268; s.callLocIdx = 652; s.pc = 99; return s.tmp_1; case 99: r0 = s.retval; @@ -29015,8 +29015,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 8; continue; } case 7: - s.tmp_3 = game_Hitbox_left__P20187_mk(s); - s.tmp_3.arg0 = s.hbox___32387; + s.tmp_3 = game_Hitbox_left__P128068_mk(s); + s.tmp_3.arg0 = s.hbox___140268; s.callLocIdx = 654; s.pc = 100; return s.tmp_3; case 100: r0 = s.retval; @@ -29027,30 +29027,30 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___32390 + 8); + r0 = (s.tileScale___140271 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.x0___32424 = (r0); + s.x0___140305 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___32439 = (r0); - s.tmp_1 = game_Hitbox_top__P20188_mk(s); - s.tmp_1.arg0 = s.hbox___32387; + s.collidedTiles___140320 = (r0); + s.tmp_1 = game_Hitbox_top__P128069_mk(s); + s.tmp_1.arg0 = s.hbox___140268; s.callLocIdx = 658; s.pc = 101; return s.tmp_1; case 101: r0 = s.retval; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.yDiff___32404); - s.y___32441 = (r0); + r0 = (s.tmp_0 - s.yDiff___140285); + s.y___140322 = (r0); case 9: - s.tmp_1 = r0 = s.y___32441; - s.tmp_3 = r0 = s.tileSize___32393; - s.tmp_6 = game_Hitbox_bottom__P20190_mk(s); - s.tmp_6.arg0 = s.hbox___32387; + s.tmp_1 = r0 = s.y___140322; + s.tmp_3 = r0 = s.tileSize___140274; + s.tmp_6 = game_Hitbox_bottom__P128071_mk(s); + s.tmp_6.arg0 = s.hbox___140268; s.callLocIdx = 660; s.pc = 102; return s.tmp_6; case 102: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.yDiff___32404); + r0 = (s.tmp_5 - s.yDiff___140285); s.tmp_4 = r0; r0 = (s.tmp_3 << 8); s.tmp_7 = r0; @@ -29060,15 +29060,15 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - s.tmp_10 = Fx_min__P18137_mk(s); - s.tmp_10.arg0 = s.y___32441; - s.tmp_12 = game_Hitbox_bottom__P20190_mk(s); - s.tmp_12.arg0 = s.hbox___32387; + s.tmp_10 = Fx_min__P126018_mk(s); + s.tmp_10.arg0 = s.y___140322; + s.tmp_12 = game_Hitbox_bottom__P128071_mk(s); + s.tmp_12.arg0 = s.hbox___140268; s.callLocIdx = 663; s.pc = 104; return s.tmp_12; case 104: r0 = s.retval; s.tmp_11 = r0; - r0 = (s.tmp_11 - s.yDiff___32404); + r0 = (s.tmp_11 - s.yDiff___140285); s.tmp_10.arg1 = r0; s.callLocIdx = 665; s.pc = 103; return s.tmp_10; case 103: @@ -29076,33 +29076,33 @@ switch (step) { s.tmp_9 = r0; r0 = (s.tmp_9 + 128); s.tmp_8 = r0; - r0 = (s.tileScale___32390 + 8); + r0 = (s.tileScale___140271 + 8); s.tmp_13 = r0; r0 = (s.tmp_8 >> s.tmp_13); - s.y0___32455 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P20727_mk(s); + s.y0___140336 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P128608_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___32424; - s.tmp_1.arg2 = s.y0___32455; + s.tmp_1.arg1 = s.x0___140305; + s.tmp_1.arg2 = s.y0___140336; s.callLocIdx = 668; s.pc = 105; return s.tmp_1; case 105: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 12; continue; } - s.tmp_2 = tiles_TileMap_getObstacle__P20728_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P128609_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___32424; - s.tmp_2.arg2 = s.y0___32455; + s.tmp_2.arg1 = s.x0___140305; + s.tmp_2.arg2 = s.y0___140336; s.callLocIdx = 669; s.pc = 106; return s.tmp_2; case 106: r0 = s.retval; - s.obstacle___32471 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P32479); + s.obstacle___140352 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P140360); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___32471); - s.tmp_4 = helpers_arraySome__P18078_mk(s); - s.tmp_4.arg0 = s.collidedTiles___32439; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___140352); + s.tmp_4 = helpers_arraySome__P125959_mk(s); + s.tmp_4.arg0 = s.collidedTiles___140320; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 670; s.pc = 107; return s.tmp_4; case 107: @@ -29114,22 +29114,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___32439, s.obstacle___32471); + r0 = pxsim_Array__push(s.collidedTiles___140320, s.obstacle___140352); case 10: case 11: case 12: case 13: - r0 = (s.tileSize___32393 << 8); + r0 = (s.tileSize___140274 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___32441); - s.y___32441 = (r0); + r0 = (s.tmp_0 + s.y___140322); + s.y___140322 = (r0); { step = 9; continue; } case 14: - r0 = pxsim_Array__length(s.collidedTiles___32439); + r0 = pxsim_Array__length(s.collidedTiles___140320); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 41; continue; } - r0 = pxsim_numops_toBoolDecr(s.right___32420); + r0 = pxsim_numops_toBoolDecr(s.right___140301); if (!r0) { step = 15; continue; } r0 = 2; { step = 16; continue; } @@ -29138,23 +29138,23 @@ switch (step) { case 16: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___32498 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.right___32420); + s.collisionDirection___140379 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.right___140301); if (!r0) { step = 17; continue; } - r0 = (s.x0___32424 << s.tileScale___32390); + r0 = (s.x0___140305 << s.tileScale___140271); 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___32387.fields["width"]; + r0 = s.hbox___140268.fields["width"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 18; continue; } case 17: - r0 = (s.x0___32424 + 1); + r0 = (s.x0___140305 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___32390); + r0 = (s.tmp_5 << s.tileScale___140271); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -29162,24 +29162,24 @@ switch (step) { case 18: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___32362; - r0 = s.hbox___32387.fields["ox"]; + s.tmp_8 = r0 = s.s___140243; + r0 = s.hbox___140268.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___32524 = (undefined); - s.unnamed172___U14 = (s.collidedTiles___32439); - s.unnamed173___U15 = (0); + s.tile___140405 = (undefined); + s.unnamed724___U14 = (s.collidedTiles___140320); + s.unnamed725___U15 = (0); case 19: - s.tmp_0 = r0 = s.unnamed173___U15; - r0 = pxsim_Array__length(s.unnamed172___U14); + s.tmp_0 = r0 = s.unnamed725___U15; + r0 = pxsim_Array__length(s.unnamed724___U14); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 22; continue; } - r0 = pxsim_Array__getAt(s.unnamed172___U14, s.unnamed173___U15); - s.tile___32524 = (r0); - r0 = s.s___32362.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed724___U14, s.unnamed725___U15); + s.tile___140405 = (r0); + r0 = s.s___140243.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29189,29 +29189,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 20; continue; } - s.tmp_6 = Sprite_registerObstacle__P20397_mk(s); - s.tmp_6.arg0 = s.s___32362; - s.tmp_6.arg1 = s.collisionDirection___32498; - s.tmp_6.arg2 = s.tile___32524; + s.tmp_6 = Sprite_registerObstacle__P128278_mk(s); + s.tmp_6.arg0 = s.s___140243; + s.tmp_6.arg1 = s.collisionDirection___140379; + s.tmp_6.arg2 = s.tile___140405; s.tmp_6.arg3 = s.arg2; s.callLocIdx = 676; s.pc = 108; return s.tmp_6; case 108: r0 = s.retval; case 20: case 21: - r0 = (s.unnamed173___U15 + 1); - s.unnamed173___U15 = (r0); + r0 = (s.unnamed725___U15 + 1); + s.unnamed725___U15 = (r0); { step = 19; continue; } case 22: - s.unnamed172___U14 = (undefined); - r0 = s.s___32362.fields["flags"]; + s.unnamed724___U14 = (undefined); + r0 = s.s___140243.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__P20399_mk(s); - s.tmp_2.arg0 = s.s___32362; + s.tmp_2 = Sprite_destroy__P128280_mk(s); + s.tmp_2.arg0 = s.s___140243; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 677; s.pc = 109; return s.tmp_2; @@ -29219,7 +29219,7 @@ switch (step) { r0 = s.retval; { step = 40; continue; } case 23: - r0 = s.s___32362.fields["_vx"]; + r0 = s.s___140243.fields["_vx"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVx"]; s.tmp_2 = r0; @@ -29230,7 +29230,7 @@ switch (step) { r0 = s.tmp_0; { step = 25; continue; } case 24: - r0 = s.s___32362.fields["flags"]; + r0 = s.s___140243.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29242,13 +29242,13 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 36; continue; } - r0 = s.s___32362.fields["flags"]; + r0 = s.s___140243.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___32420); + r0 = pxsim_numops_toBoolDecr(s.right___140301); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -29257,8 +29257,8 @@ switch (step) { r0 = s.tmp_9; { step = 27; continue; } case 26: - s.tmp_12 = Sprite_vx__P20329_mk(s); - s.tmp_12.arg0 = s.s___32362; + s.tmp_12 = Sprite_vx__P128210_mk(s); + s.tmp_12.arg0 = s.s___140243; s.callLocIdx = 678; s.pc = 110; return s.tmp_12; case 110: r0 = s.retval; @@ -29272,14 +29272,14 @@ switch (step) { r0 = s.tmp_13; { step = 31; continue; } case 28: - s.tmp_14 = r0 = s.right___32420; + s.tmp_14 = r0 = s.right___140301; 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__P20329_mk(s); - s.tmp_16.arg0 = s.s___32362; + s.tmp_16 = Sprite_vx__P128210_mk(s); + s.tmp_16.arg0 = s.s___140243; s.callLocIdx = 679; s.pc = 111; return s.tmp_16; case 111: r0 = s.retval; @@ -29294,8 +29294,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___32362; - r0 = s.s___32362.fields["_vx"]; + s.tmp_19 = r0 = s.s___140243; + r0 = s.s___140243.fields["_vx"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -29317,12 +29317,12 @@ switch (step) { { step = 35; continue; } case 34: r0 = (s.arg1).fields["dx"] = (0); - r0 = (s.s___32362).fields["_vx"] = (0); + r0 = (s.s___140243).fields["_vx"] = (0); case 35: { step = 39; continue; } case 36: - s.tmp_2 = Math_sign__P18100_mk(s); - r0 = s.s___32362.fields["_vx"]; + s.tmp_2 = Math_sign__P125981_mk(s); + r0 = s.s___140243.fields["_vx"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -29332,7 +29332,7 @@ switch (step) { case 112: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P18100_mk(s); + s.tmp_6 = Math_sign__P125981_mk(s); r0 = s.arg1.fields["cachedVx"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -29356,16 +29356,16 @@ switch (step) { case 42: case 43: case 44: - r0 = (s.yDiff___32404 !== 0); + r0 = (s.yDiff___140285 !== 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 81; continue; } - r0 = (s.yDiff___32404 > 0); - s.down___32615 = (r0); - r0 = pxsim_numops_toBoolDecr(s.down___32615); + r0 = (s.yDiff___140285 > 0); + s.down___140496 = (r0); + r0 = pxsim_numops_toBoolDecr(s.down___140496); if (!r0) { step = 45; continue; } - s.tmp_1 = game_Hitbox_bottom__P20190_mk(s); - s.tmp_1.arg0 = s.hbox___32387; + s.tmp_1 = game_Hitbox_bottom__P128071_mk(s); + s.tmp_1.arg0 = s.hbox___140268; s.callLocIdx = 687; s.pc = 114; return s.tmp_1; case 114: r0 = s.retval; @@ -29373,8 +29373,8 @@ switch (step) { r0 = (s.tmp_0 + 256); { step = 46; continue; } case 45: - s.tmp_3 = game_Hitbox_top__P20188_mk(s); - s.tmp_3.arg0 = s.hbox___32387; + s.tmp_3 = game_Hitbox_top__P128069_mk(s); + s.tmp_3.arg0 = s.hbox___140268; s.callLocIdx = 689; s.pc = 115; return s.tmp_3; case 115: r0 = s.retval; @@ -29385,23 +29385,23 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_4 + 128); s.tmp_5 = r0; - r0 = (s.tileScale___32390 + 8); + r0 = (s.tileScale___140271 + 8); s.tmp_6 = r0; r0 = (s.tmp_5 >> s.tmp_6); - s.y0___32619 = (r0); + s.y0___140500 = (r0); r0 = pxsim_Array__mk(); - s.collidedTiles___32634 = (r0); - s.tmp_0 = game_Hitbox_left__P20187_mk(s); - s.tmp_0.arg0 = s.hbox___32387; + s.collidedTiles___140515 = (r0); + s.tmp_0 = game_Hitbox_left__P128068_mk(s); + s.tmp_0.arg0 = s.hbox___140268; s.callLocIdx = 693; s.pc = 116; return s.tmp_0; case 116: r0 = s.retval; - s.x___32636 = (r0); + s.x___140517 = (r0); case 47: - s.tmp_1 = r0 = s.x___32636; - s.tmp_3 = r0 = s.tileSize___32393; - s.tmp_5 = game_Hitbox_right__P20189_mk(s); - s.tmp_5.arg0 = s.hbox___32387; + s.tmp_1 = r0 = s.x___140517; + s.tmp_3 = r0 = s.tileSize___140274; + s.tmp_5 = game_Hitbox_right__P128070_mk(s); + s.tmp_5.arg0 = s.hbox___140268; s.callLocIdx = 694; s.pc = 117; return s.tmp_5; case 117: r0 = s.retval; @@ -29414,10 +29414,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 52; continue; } - s.tmp_9 = Fx_min__P18137_mk(s); - s.tmp_9.arg0 = s.x___32636; - s.tmp_10 = game_Hitbox_right__P20189_mk(s); - s.tmp_10.arg0 = s.hbox___32387; + s.tmp_9 = Fx_min__P126018_mk(s); + s.tmp_9.arg0 = s.x___140517; + s.tmp_10 = game_Hitbox_right__P128070_mk(s); + s.tmp_10.arg0 = s.hbox___140268; s.callLocIdx = 696; s.pc = 119; return s.tmp_10; case 119: r0 = s.retval; @@ -29428,33 +29428,33 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___32390 + 8); + r0 = (s.tileScale___140271 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___32646 = (r0); - s.tmp_1 = tiles_TileMap_isObstacle__P20727_mk(s); + s.x0___140527 = (r0); + s.tmp_1 = tiles_TileMap_isObstacle__P128608_mk(s); s.tmp_1.arg0 = s.arg2; - s.tmp_1.arg1 = s.x0___32646; - s.tmp_1.arg2 = s.y0___32619; + s.tmp_1.arg1 = s.x0___140527; + s.tmp_1.arg2 = s.y0___140500; s.callLocIdx = 700; s.pc = 120; return s.tmp_1; case 120: r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 50; continue; } - s.tmp_2 = tiles_TileMap_getObstacle__P20728_mk(s); + s.tmp_2 = tiles_TileMap_getObstacle__P128609_mk(s); s.tmp_2.arg0 = s.arg2; - s.tmp_2.arg1 = s.x0___32646; - s.tmp_2.arg2 = s.y0___32619; + s.tmp_2.arg1 = s.x0___140527; + s.tmp_2.arg2 = s.y0___140500; s.callLocIdx = 701; s.pc = 121; return s.tmp_2; case 121: r0 = s.retval; - s.obstacle___32660 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P32668); + s.obstacle___140541 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapCollisions_inline__P140549); s.tmp_0 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___32660); - s.tmp_4 = helpers_arraySome__P18078_mk(s); - s.tmp_4.arg0 = s.collidedTiles___32634; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.obstacle___140541); + s.tmp_4 = helpers_arraySome__P125959_mk(s); + s.tmp_4.arg0 = s.collidedTiles___140515; s.tmp_4.arg1 = s.tmp_0; s.callLocIdx = 702; s.pc = 122; return s.tmp_4; case 122: @@ -29466,22 +29466,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___32634, s.obstacle___32660); + r0 = pxsim_Array__push(s.collidedTiles___140515, s.obstacle___140541); case 48: case 49: case 50: case 51: - r0 = (s.tileSize___32393 << 8); + r0 = (s.tileSize___140274 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___32636); - s.x___32636 = (r0); + r0 = (s.tmp_0 + s.x___140517); + s.x___140517 = (r0); { step = 47; continue; } case 52: - r0 = pxsim_Array__length(s.collidedTiles___32634); + r0 = pxsim_Array__length(s.collidedTiles___140515); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 79; continue; } - r0 = pxsim_numops_toBoolDecr(s.down___32615); + r0 = pxsim_numops_toBoolDecr(s.down___140496); if (!r0) { step = 53; continue; } r0 = 3; { step = 54; continue; } @@ -29490,23 +29490,23 @@ switch (step) { case 54: // jmp value (already in r0) s.tmp_1 = r0; - s.collisionDirection___32687 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.down___32615); + s.collisionDirection___140568 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.down___140496); if (!r0) { step = 55; continue; } - r0 = (s.y0___32619 << s.tileScale___32390); + r0 = (s.y0___140500 << s.tileScale___140271); 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___32387.fields["height"]; + r0 = s.hbox___140268.fields["height"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); { step = 56; continue; } case 55: - r0 = (s.y0___32619 + 1); + r0 = (s.y0___140500 + 1); s.tmp_5 = r0; - r0 = (s.tmp_5 << s.tileScale___32390); + r0 = (s.tmp_5 << s.tileScale___140271); s.tmp_4 = r0; r0 = (s.tmp_4 * 256); s.tmp_6 = r0; @@ -29514,24 +29514,24 @@ switch (step) { case 56: // jmp value (already in r0) s.tmp_7 = r0; - s.tmp_8 = r0 = s.s___32362; - r0 = s.hbox___32387.fields["oy"]; + s.tmp_8 = r0 = s.s___140243; + r0 = s.hbox___140268.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___32713 = (undefined); - s.unnamed174___U24 = (s.collidedTiles___32634); - s.unnamed175___U25 = (0); + s.tile___140594 = (undefined); + s.unnamed726___U24 = (s.collidedTiles___140515); + s.unnamed727___U25 = (0); case 57: - s.tmp_0 = r0 = s.unnamed175___U25; - r0 = pxsim_Array__length(s.unnamed174___U24); + s.tmp_0 = r0 = s.unnamed727___U25; + r0 = pxsim_Array__length(s.unnamed726___U24); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 60; continue; } - r0 = pxsim_Array__getAt(s.unnamed174___U24, s.unnamed175___U25); - s.tile___32713 = (r0); - r0 = s.s___32362.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed726___U24, s.unnamed727___U25); + s.tile___140594 = (r0); + r0 = s.s___140243.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29541,29 +29541,29 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 58; continue; } - s.tmp_6 = Sprite_registerObstacle__P20397_mk(s); - s.tmp_6.arg0 = s.s___32362; - s.tmp_6.arg1 = s.collisionDirection___32687; - s.tmp_6.arg2 = s.tile___32713; + s.tmp_6 = Sprite_registerObstacle__P128278_mk(s); + s.tmp_6.arg0 = s.s___140243; + s.tmp_6.arg1 = s.collisionDirection___140568; + s.tmp_6.arg2 = s.tile___140594; s.tmp_6.arg3 = s.arg2; s.callLocIdx = 708; s.pc = 123; return s.tmp_6; case 123: r0 = s.retval; case 58: case 59: - r0 = (s.unnamed175___U25 + 1); - s.unnamed175___U25 = (r0); + r0 = (s.unnamed727___U25 + 1); + s.unnamed727___U25 = (r0); { step = 57; continue; } case 60: - s.unnamed174___U24 = (undefined); - r0 = s.s___32362.fields["flags"]; + s.unnamed726___U24 = (undefined); + r0 = s.s___140243.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__P20399_mk(s); - s.tmp_2.arg0 = s.s___32362; + s.tmp_2 = Sprite_destroy__P128280_mk(s); + s.tmp_2.arg0 = s.s___140243; s.tmp_2.arg1 = undefined; s.tmp_2.arg2 = undefined; s.callLocIdx = 709; s.pc = 124; return s.tmp_2; @@ -29571,7 +29571,7 @@ switch (step) { r0 = s.retval; { step = 78; continue; } case 61: - r0 = s.s___32362.fields["_vy"]; + r0 = s.s___140243.fields["_vy"]; s.tmp_1 = r0; r0 = s.arg1.fields["cachedVy"]; s.tmp_2 = r0; @@ -29582,7 +29582,7 @@ switch (step) { r0 = s.tmp_0; { step = 63; continue; } case 62: - r0 = s.s___32362.fields["flags"]; + r0 = s.s___140243.fields["flags"]; s.tmp_5 = r0; r0 = (s.tmp_5 & 2818); s.tmp_4 = r0; @@ -29594,13 +29594,13 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); if (!r0) { step = 74; continue; } - r0 = s.s___32362.fields["flags"]; + r0 = s.s___140243.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___32615); + r0 = pxsim_numops_toBoolDecr(s.down___140496); s.tmp_10 = r0; r0 = pxsim_Boolean__bang(s.tmp_10); s.tmp_9 = r0; @@ -29609,8 +29609,8 @@ switch (step) { r0 = s.tmp_9; { step = 65; continue; } case 64: - s.tmp_12 = Sprite_vy__P20331_mk(s); - s.tmp_12.arg0 = s.s___32362; + s.tmp_12 = Sprite_vy__P128212_mk(s); + s.tmp_12.arg0 = s.s___140243; s.callLocIdx = 710; s.pc = 125; return s.tmp_12; case 125: r0 = s.retval; @@ -29624,14 +29624,14 @@ switch (step) { r0 = s.tmp_13; { step = 69; continue; } case 66: - s.tmp_14 = r0 = s.down___32615; + s.tmp_14 = r0 = s.down___140496; 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__P20331_mk(s); - s.tmp_16.arg0 = s.s___32362; + s.tmp_16 = Sprite_vy__P128212_mk(s); + s.tmp_16.arg0 = s.s___140243; s.callLocIdx = 711; s.pc = 126; return s.tmp_16; case 126: r0 = s.retval; @@ -29646,8 +29646,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___32362; - r0 = s.s___32362.fields["_vy"]; + s.tmp_19 = r0 = s.s___140243; + r0 = s.s___140243.fields["_vy"]; s.tmp_21 = r0; r0 = (0 - s.tmp_21); s.tmp_20 = r0; @@ -29669,12 +29669,12 @@ switch (step) { { step = 73; continue; } case 72: r0 = (s.arg1).fields["dy"] = (0); - r0 = (s.s___32362).fields["_vy"] = (0); + r0 = (s.s___140243).fields["_vy"] = (0); case 73: { step = 77; continue; } case 74: - s.tmp_2 = Math_sign__P18100_mk(s); - r0 = s.s___32362.fields["_vy"]; + s.tmp_2 = Math_sign__P125981_mk(s); + r0 = s.s___140243.fields["_vy"]; s.tmp_3 = r0; r0 = (s.tmp_3 + 128); s.tmp_4 = r0; @@ -29684,7 +29684,7 @@ switch (step) { case 127: r0 = s.retval; s.tmp_1 = r0; - s.tmp_6 = Math_sign__P18100_mk(s); + s.tmp_6 = Math_sign__P125981_mk(s); r0 = s.arg1.fields["cachedVy"]; s.tmp_7 = r0; r0 = (s.tmp_7 + 128); @@ -29710,7 +29710,7 @@ switch (step) { case 82: case 83: case 84: - r0 = s.s___32362.fields["flags"]; + r0 = s.s___140243.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 1538); s.tmp_2 = r0; @@ -29721,18 +29721,18 @@ switch (step) { r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 95; continue; } r0 = pxsim_Array__mk(); - s.overlappedTiles___32807 = (r0); - s.tmp_0 = game_Hitbox_left__P20187_mk(s); - s.tmp_0.arg0 = s.hbox___32387; + s.overlappedTiles___140688 = (r0); + s.tmp_0 = game_Hitbox_left__P128068_mk(s); + s.tmp_0.arg0 = s.hbox___140268; s.callLocIdx = 719; s.pc = 129; return s.tmp_0; case 129: r0 = s.retval; - s.x___32809 = (r0); + s.x___140690 = (r0); case 85: - s.tmp_1 = r0 = s.x___32809; - s.tmp_3 = r0 = s.tileSize___32393; - s.tmp_5 = game_Hitbox_right__P20189_mk(s); - s.tmp_5.arg0 = s.hbox___32387; + s.tmp_1 = r0 = s.x___140690; + s.tmp_3 = r0 = s.tileSize___140274; + s.tmp_5 = game_Hitbox_right__P128070_mk(s); + s.tmp_5.arg0 = s.hbox___140268; s.callLocIdx = 720; s.pc = 130; return s.tmp_5; case 130: r0 = s.retval; @@ -29745,10 +29745,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 92; continue; } - s.tmp_9 = Fx_min__P18137_mk(s); - s.tmp_9.arg0 = s.x___32809; - s.tmp_10 = game_Hitbox_right__P20189_mk(s); - s.tmp_10.arg0 = s.hbox___32387; + s.tmp_9 = Fx_min__P126018_mk(s); + s.tmp_9.arg0 = s.x___140690; + s.tmp_10 = game_Hitbox_right__P128070_mk(s); + s.tmp_10.arg0 = s.hbox___140268; s.callLocIdx = 722; s.pc = 132; return s.tmp_10; case 132: r0 = s.retval; @@ -29759,21 +29759,21 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___32390 + 8); + r0 = (s.tileScale___140271 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.x0___32819 = (r0); - s.tmp_0 = game_Hitbox_top__P20188_mk(s); - s.tmp_0.arg0 = s.hbox___32387; + s.x0___140700 = (r0); + s.tmp_0 = game_Hitbox_top__P128069_mk(s); + s.tmp_0.arg0 = s.hbox___140268; s.callLocIdx = 726; s.pc = 133; return s.tmp_0; case 133: r0 = s.retval; - s.y___32829 = (r0); + s.y___140710 = (r0); case 86: - s.tmp_1 = r0 = s.y___32829; - s.tmp_3 = r0 = s.tileSize___32393; - s.tmp_5 = game_Hitbox_bottom__P20190_mk(s); - s.tmp_5.arg0 = s.hbox___32387; + s.tmp_1 = r0 = s.y___140710; + s.tmp_3 = r0 = s.tileSize___140274; + s.tmp_5 = game_Hitbox_bottom__P128071_mk(s); + s.tmp_5.arg0 = s.hbox___140268; s.callLocIdx = 727; s.pc = 134; return s.tmp_5; case 134: r0 = s.retval; @@ -29786,10 +29786,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 91; continue; } - s.tmp_9 = Fx_min__P18137_mk(s); - s.tmp_9.arg0 = s.y___32829; - s.tmp_10 = game_Hitbox_bottom__P20190_mk(s); - s.tmp_10.arg0 = s.hbox___32387; + s.tmp_9 = Fx_min__P126018_mk(s); + s.tmp_9.arg0 = s.y___140710; + s.tmp_10 = game_Hitbox_bottom__P128071_mk(s); + s.tmp_10.arg0 = s.hbox___140268; s.callLocIdx = 729; s.pc = 136; return s.tmp_10; case 136: r0 = s.retval; @@ -29800,14 +29800,14 @@ switch (step) { s.tmp_8 = r0; r0 = (s.tmp_8 + 128); s.tmp_7 = r0; - r0 = (s.tileScale___32390 + 8); + r0 = (s.tileScale___140271 + 8); s.tmp_11 = r0; r0 = (s.tmp_7 >> s.tmp_11); - s.y0___32839 = (r0); - s.tmp_3 = tiles_TileMap_isObstacle__P20727_mk(s); + s.y0___140720 = (r0); + s.tmp_3 = tiles_TileMap_isObstacle__P128608_mk(s); s.tmp_3.arg0 = s.arg2; - s.tmp_3.arg1 = s.x0___32819; - s.tmp_3.arg2 = s.y0___32839; + s.tmp_3.arg1 = s.x0___140700; + s.tmp_3.arg2 = s.y0___140720; s.callLocIdx = 733; s.pc = 137; return s.tmp_3; case 137: r0 = s.retval; @@ -29821,7 +29821,7 @@ switch (step) { r0 = s.tmp_0; { step = 88; continue; } case 87: - r0 = s.s___32362.fields["flags"]; + r0 = s.s___140243.fields["flags"]; s.tmp_8 = r0; r0 = (s.tmp_8 & 2048); s.tmp_7 = r0; @@ -29837,11 +29837,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___32807; - s.tmp_12 = tiles_TileMap_getTile__P20720_mk(s); + s.tmp_10 = r0 = s.overlappedTiles___140688; + s.tmp_12 = tiles_TileMap_getTile__P128601_mk(s); s.tmp_12.arg0 = s.arg2; - s.tmp_12.arg1 = s.x0___32819; - s.tmp_12.arg2 = s.y0___32839; + s.tmp_12.arg1 = s.x0___140700; + s.tmp_12.arg2 = s.y0___140720; s.callLocIdx = 734; s.pc = 138; return s.tmp_12; case 138: r0 = s.retval; @@ -29849,26 +29849,26 @@ switch (step) { r0 = pxsim_Array__push(s.tmp_10, s.tmp_11); case 89: case 90: - r0 = (s.tileSize___32393 << 8); + r0 = (s.tileSize___140274 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.y___32829); - s.y___32829 = (r0); + r0 = (s.tmp_0 + s.y___140710); + s.y___140710 = (r0); { step = 86; continue; } case 91: - r0 = (s.tileSize___32393 << 8); + r0 = (s.tileSize___140274 << 8); s.tmp_0 = r0; - r0 = (s.tmp_0 + s.x___32809); - s.x___32809 = (r0); + r0 = (s.tmp_0 + s.x___140690); + s.x___140690 = (r0); { step = 85; continue; } case 92: - r0 = pxsim_Array__length(s.overlappedTiles___32807); + r0 = pxsim_Array__length(s.overlappedTiles___140688); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 93; continue; } - s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P22761_mk(s); + s.tmp_1 = ArcadePhysicsEngine_tilemapOverlaps__P130642_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_1.arg1 = s.s___32362; - s.tmp_1.arg2 = s.overlappedTiles___32807; + s.tmp_1.arg1 = s.s___140243; + s.tmp_1.arg2 = s.overlappedTiles___140688; s.callLocIdx = 737; s.pc = 139; return s.tmp_1; case 139: r0 = s.retval; @@ -29880,12 +29880,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions__P22760.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__P130641.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__P22760_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions__P130641_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P22760, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions__P130641, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29909,37 +29909,37 @@ function ArcadePhysicsEngine_tilemapCollisions__P22760_mk(s) { tmp_19: undefined, tmp_20: undefined, tmp_21: undefined, - s___32362: undefined, - hbox___32387: undefined, - tileScale___32390: undefined, - tileSize___32393: undefined, - xDiff___32397: undefined, - yDiff___32404: undefined, - right___32420: undefined, - x0___32424: undefined, - collidedTiles___32439: undefined, - y___32441: undefined, - y0___32455: undefined, - obstacle___32471: undefined, - collisionDirection___32498: undefined, - tile___32524: undefined, - unnamed172___U14: undefined, - unnamed173___U15: undefined, - down___32615: undefined, - y0___32619: undefined, - collidedTiles___32634: undefined, - x___32636: undefined, - x0___32646: undefined, - obstacle___32660: undefined, - collisionDirection___32687: undefined, - tile___32713: undefined, - unnamed174___U24: undefined, - unnamed175___U25: undefined, - overlappedTiles___32807: undefined, - x___32809: undefined, - x0___32819: undefined, - y___32829: undefined, - y0___32839: undefined, + s___140243: undefined, + hbox___140268: undefined, + tileScale___140271: undefined, + tileSize___140274: undefined, + xDiff___140278: undefined, + yDiff___140285: undefined, + right___140301: undefined, + x0___140305: undefined, + collidedTiles___140320: undefined, + y___140322: undefined, + y0___140336: undefined, + obstacle___140352: undefined, + collisionDirection___140379: undefined, + tile___140405: undefined, + unnamed724___U14: undefined, + unnamed725___U15: undefined, + down___140496: undefined, + y0___140500: undefined, + collidedTiles___140515: undefined, + x___140517: undefined, + x0___140527: undefined, + obstacle___140541: undefined, + collisionDirection___140568: undefined, + tile___140594: undefined, + unnamed726___U24: undefined, + unnamed727___U25: undefined, + overlappedTiles___140688: undefined, + x___140690: undefined, + x0___140700: undefined, + y___140710: undefined, + y0___140720: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -29949,7 +29949,7 @@ function ArcadePhysicsEngine_tilemapCollisions__P22760_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P32479(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P140360(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -29971,12 +29971,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P32479.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__P140360.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__P32479_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P140360_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P32479, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P140360, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -29987,7 +29987,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P32479_mk(s) { -function ArcadePhysicsEngine_tilemapCollisions_inline__P32668(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P140549(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30009,12 +30009,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapCollisions_inline__P32668.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__P140549.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__P32668_mk(s) { +function ArcadePhysicsEngine_tilemapCollisions_inline__P140549_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P32668, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapCollisions_inline__P140549, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30025,7 +30025,7 @@ function ArcadePhysicsEngine_tilemapCollisions_inline__P32668_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps__P22761(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P130642(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30035,11 +30035,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.alreadyHandled___32886 = undefined; - s.tile___32889 = undefined; - s.unnamed176___U2 = undefined; - s.unnamed177___U3 = undefined; - s.tileOverlapHandlers___32910 = undefined; + s.alreadyHandled___140767 = undefined; + s.tile___140770 = undefined; + s.unnamed728___U2 = undefined; + s.unnamed729___U3 = undefined; + s.tileOverlapHandlers___140791 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30047,25 +30047,25 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.alreadyHandled___32886 = (r0); - s.tile___32889 = (undefined); - s.unnamed176___U2 = (s.arg2); - s.unnamed177___U3 = (0); + s.alreadyHandled___140767 = (r0); + s.tile___140770 = (undefined); + s.unnamed728___U2 = (s.arg2); + s.unnamed729___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed177___U3; - r0 = pxsim_Array__length(s.unnamed176___U2); + s.tmp_0 = r0 = s.unnamed729___U3; + r0 = pxsim_Array__length(s.unnamed728___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 7; continue; } - r0 = pxsim_Array__getAt(s.unnamed176___U2, s.unnamed177___U3); - s.tile___32889 = (r0); - r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P32893); + r0 = pxsim_Array__getAt(s.unnamed728___U2, s.unnamed729___U3); + s.tile___140770 = (r0); + r0 = pxsim_pxtcore_mkAction(1, ArcadePhysicsEngine_tilemapOverlaps_inline__P140774); s.tmp_2 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___32889); - s.tmp_4 = helpers_arraySome__P18078_mk(s); - s.tmp_4.arg0 = s.alreadyHandled___32886; + r0 = pxsim_pxtrt_stclo(s.tmp_2, 0, s.tile___140770); + s.tmp_4 = helpers_arraySome__P125959_mk(s); + s.tmp_4.arg0 = s.alreadyHandled___140767; s.tmp_4.arg1 = s.tmp_2; s.callLocIdx = 742; s.pc = 8; return s.tmp_4; case 8: @@ -30076,26 +30076,26 @@ switch (step) { { step = 6; continue; } case 2: case 3: - r0 = pxsim_Array__push(s.alreadyHandled___32886, s.tile___32889); - s.tmp_0 = game_currentScene__P20970_mk(s); + r0 = pxsim_Array__push(s.alreadyHandled___140767, s.tile___140770); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 743; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; r0 = r0.fields["tileOverlapHandlers"]; - s.tileOverlapHandlers___32910 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___32910); + s.tileOverlapHandlers___140791 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tileOverlapHandlers___140791); if (!r0) { step = 4; continue; } - r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P32918); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P140799); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___32889); - r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P32934); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.tile___140770); + r0 = pxsim_pxtcore_mkAction(2, ArcadePhysicsEngine_tilemapOverlaps_inline__P140815); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg1); - r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___32889); - s.tmp_2 = helpers_arrayForEach__P18080_mk(s); - s.tmp_3 = helpers_arrayFilter__P18081_mk(s); - s.tmp_3.arg0 = s.tileOverlapHandlers___32910; + r0 = pxsim_pxtrt_stclo(s.tmp_1, 1, s.tile___140770); + s.tmp_2 = helpers_arrayForEach__P125961_mk(s); + s.tmp_3 = helpers_arrayFilter__P125962_mk(s); + s.tmp_3.arg0 = s.tileOverlapHandlers___140791; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 746; s.pc = 11; return s.tmp_3; case 11: @@ -30108,32 +30108,32 @@ switch (step) { case 4: case 5: case 6: - r0 = (s.unnamed177___U3 + 1); - s.unnamed177___U3 = (r0); + r0 = (s.unnamed729___U3 + 1); + s.unnamed729___U3 = (r0); { step = 1; continue; } case 7: - s.unnamed176___U2 = (undefined); + s.unnamed728___U2 = (undefined); r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps__P22761.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__P130642.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__P22761_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps__P130642_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P22761, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps__P130642, 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___32886: undefined, - tile___32889: undefined, - unnamed176___U2: undefined, - unnamed177___U3: undefined, - tileOverlapHandlers___32910: undefined, + alreadyHandled___140767: undefined, + tile___140770: undefined, + unnamed728___U2: undefined, + unnamed729___U3: undefined, + tileOverlapHandlers___140791: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -30143,7 +30143,7 @@ function ArcadePhysicsEngine_tilemapOverlaps__P22761_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P32893(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P140774(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30180,12 +30180,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P32893.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__P140774.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__P32893_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P140774_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P32893, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P140774, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30200,7 +30200,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P32893_mk(s) { -function forEach_inline__P32918(s) { +function forEach_inline__P140799(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30227,7 +30227,7 @@ switch (step) { case 1: r0 = s.arg0.fields["tileKind"]; s.tmp_3 = r0; - s.tmp_5 = tiles_getTileImage__P20739_mk(s); + s.tmp_5 = tiles_getTileImage__P128620_mk(s); s.tmp_5.arg0 = s.caps[1]; s.callLocIdx = 745; s.pc = 3; return s.tmp_5; case 3: @@ -30241,12 +30241,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P32918.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__P140799.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__P32918_mk(s) { +function forEach_inline__P140799_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P32918, depth: s.depth + 1, + parent: s, fn: forEach_inline__P140799, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30262,7 +30262,7 @@ function forEach_inline__P32918_mk(s) { -function ArcadePhysicsEngine_tilemapOverlaps_inline__P32934(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P140815(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30295,12 +30295,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_tilemapOverlaps_inline__P32934.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__P140815.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__P32934_mk(s) { +function ArcadePhysicsEngine_tilemapOverlaps_inline__P140815_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P32934, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_tilemapOverlaps_inline__P140815, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30310,7 +30310,7 @@ function ArcadePhysicsEngine_tilemapOverlaps_inline__P32934_mk(s) { -function tiles_getTileImage__P20739(s) { +function tiles_getTileImage__P128620(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30320,16 +30320,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scene___32942 = undefined; + s.scene___140823 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = game_currentScene__P20970_mk(s); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 876; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.scene___32942 = (r0); + s.scene___140823 = (r0); r0 = pxsim_numops_toBoolDecr(s.arg0); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -30339,7 +30339,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - r0 = s.scene___32942.fields["tileMap"]; + r0 = s.scene___140823.fields["tileMap"]; s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); s.tmp_2 = r0; @@ -30349,14 +30349,14 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); if (!r0) { step = 3; continue; } - r0 = pxsim.image.ofBuffer(_hex32952); + r0 = pxsim.image.ofBuffer(_hex140833); { step = 5; continue; } case 3: case 4: - s.tmp_5 = tiles_TileMap_getTileImage__P20730_mk(s); - r0 = s.scene___32942.fields["tileMap"]; + s.tmp_5 = tiles_TileMap_getTileImage__P128611_mk(s); + r0 = s.scene___140823.fields["tileMap"]; s.tmp_5.arg0 = r0; - s.tmp_6 = tiles_Location_tileSet__P20675_mk(s); + s.tmp_6 = tiles_Location_tileSet__P128556_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 877; s.pc = 8; return s.tmp_6; case 8: @@ -30369,12 +30369,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_getTileImage__P20739.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__P128620.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__P20739_mk(s) { +function tiles_getTileImage__P128620_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_getTileImage__P20739, depth: s.depth + 1, + parent: s, fn: tiles_getTileImage__P128620, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30383,16 +30383,16 @@ function tiles_getTileImage__P20739_mk(s) { tmp_4: undefined, tmp_5: undefined, tmp_6: undefined, - scene___32942: undefined, + scene___140823: undefined, arg0: undefined, } } -const _hex32952 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") +const _hex140833 = pxsim.BufferMethods.createBufferFromHex("8704000000000000") -function tiles_TileMap_getTileImage__P20730(s) { +function tiles_TileMap_getTileImage__P128611(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30408,8 +30408,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P20697_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P128578_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -30419,12 +30419,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileImage__P20730.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__P128611.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__P20730_mk(s) { +function tiles_TileMap_getTileImage__P128611_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileImage__P20730, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileImage__P128611, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30435,7 +30435,7 @@ function tiles_TileMap_getTileImage__P20730_mk(s) { -function tiles_TileMapData_getTileImage__P20697(s) { +function tiles_TileMapData_getTileImage__P128578(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30445,25 +30445,25 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.size___33007 = undefined; - s.cachedImage___33011 = undefined; - s.originalImage___33018 = undefined; + s.size___140888 = undefined; + s.cachedImage___140892 = undefined; + s.originalImage___140899 = 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__C20688_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C128569_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; s.tmp_0 = r0; r0 = (1 << s.tmp_0); - s.size___33007 = (r0); + s.size___140888 = (r0); r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.arg1); - s.cachedImage___33011 = (r0); - r0 = pxsim_numops_toBoolDecr(s.cachedImage___33011); + s.cachedImage___140892 = (r0); + r0 = pxsim_numops_toBoolDecr(s.cachedImage___140892); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -30472,58 +30472,58 @@ switch (step) { r0 = s.arg0.fields["tileset"]; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_2, s.arg1); - s.originalImage___33018 = (r0); - r0 = pxsim_numops_toBoolDecr(s.originalImage___33018); + s.originalImage___140899 = (r0); + r0 = pxsim_numops_toBoolDecr(s.originalImage___140899); if (!r0) { step = 5; continue; } - r0 = pxsim_ImageMethods.width(s.originalImage___33018); + r0 = pxsim_ImageMethods.width(s.originalImage___140899); s.tmp_1 = r0; - r0 = (s.tmp_1 <= s.size___33007); + r0 = (s.tmp_1 <= s.size___140888); 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___33018); + r0 = pxsim_ImageMethods.height(s.originalImage___140899); s.tmp_2 = r0; - r0 = (s.tmp_2 <= s.size___33007); + r0 = (s.tmp_2 <= s.size___140888); 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___33011 = (s.originalImage___33018); + s.cachedImage___140892 = (s.originalImage___140899); { step = 4; continue; } case 3: - r0 = pxsim.image.create(s.size___33007, s.size___33007); - s.cachedImage___33011 = (r0); - r0 = pxsim_ImageMethods.drawImage(s.cachedImage___33011, s.originalImage___33018, 0, 0); + r0 = pxsim.image.create(s.size___140888, s.size___140888); + s.cachedImage___140892 = (r0); + r0 = pxsim_ImageMethods.drawImage(s.cachedImage___140892, s.originalImage___140899, 0, 0); case 4: r0 = s.arg0.fields["cachedTileView"]; s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___33011); + r0 = pxsim_Array_.setAt(s.tmp_0, s.arg1, s.cachedImage___140892); case 5: case 6: case 7: case 8: - r0 = s.cachedImage___33011; + r0 = s.cachedImage___140892; return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTileImage__P20697.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__P128578.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__P20697_mk(s) { +function tiles_TileMapData_getTileImage__P128578_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTileImage__P20697, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTileImage__P128578, 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___33007: undefined, - cachedImage___33011: undefined, - originalImage___33018: undefined, + size___140888: undefined, + cachedImage___140892: undefined, + originalImage___140899: undefined, arg0: undefined, arg1: undefined, } } @@ -30532,7 +30532,7 @@ function tiles_TileMapData_getTileImage__P20697_mk(s) { -function tiles_TileMapData_scale__P20692(s) { +function tiles_TileMapData_scale__P128573(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30547,18 +30547,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20688_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C128569_VT)) failedCast(r0); r0 = s.arg0.fields["_scale"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMapData_scale__P20692.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__P20692.isGetter = true; +tiles_TileMapData_scale__P128573.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__P128573.isGetter = true; -function tiles_TileMapData_scale__P20692_mk(s) { +function tiles_TileMapData_scale__P128573_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P20692, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P128573, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30567,7 +30567,7 @@ function tiles_TileMapData_scale__P20692_mk(s) { -function tiles_Location_tileSet__P20675(s) { +function tiles_Location_tileSet__P128556(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30582,9 +30582,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20664_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMap_getTileIndex__P20721_mk(s); - s.tmp_1 = tiles_Location_tileMap__P20666_mk(s); + if (!checkSubtype(r0, tiles_Location__C128545_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMap_getTileIndex__P128602_mk(s); + s.tmp_1 = tiles_Location_tileMap__P128547_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 806; s.pc = 2; return s.tmp_1; case 2: @@ -30600,13 +30600,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileSet__P20675.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__P20675.isGetter = true; +tiles_Location_tileSet__P128556.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__P128556.isGetter = true; -function tiles_Location_tileSet__P20675_mk(s) { +function tiles_Location_tileSet__P128556_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileSet__P20675, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileSet__P128556, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30617,7 +30617,7 @@ function tiles_Location_tileSet__P20675_mk(s) { -function tiles_TileMap_getTileIndex__P20721(s) { +function tiles_TileMap_getTileIndex__P128602(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30634,8 +30634,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); - s.tmp_0 = tiles_TileMapData_getTile__P20694_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); + s.tmp_0 = tiles_TileMapData_getTile__P128575_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = s.arg1; @@ -30646,12 +30646,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTileIndex__P20721.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__P128602.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__P20721_mk(s) { +function tiles_TileMap_getTileIndex__P128602_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTileIndex__P20721, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTileIndex__P128602, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30663,7 +30663,7 @@ function tiles_TileMap_getTileIndex__P20721_mk(s) { -function tiles_TileMapData_getTile__P20694(s) { +function tiles_TileMapData_getTile__P128575(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30680,8 +30680,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20688_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P20700_mk(s); + if (!checkSubtype(r0, tiles_TileMapData__C128569_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P128581_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -30714,12 +30714,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_getTile__P20694.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__P128575.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__P20694_mk(s) { +function tiles_TileMapData_getTile__P128575_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_getTile__P20694, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_getTile__P128575, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30739,7 +30739,7 @@ function tiles_TileMapData_getTile__P20694_mk(s) { -function tiles_TileMapData_isOutsideMap__P20700(s) { +function tiles_TileMapData_isOutsideMap__P128581(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30756,7 +30756,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20688_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C128569_VT)) failedCast(r0); r0 = (s.arg1 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBool(s.tmp_0); @@ -30796,12 +30796,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isOutsideMap__P20700.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__P128581.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__P20700_mk(s) { +function tiles_TileMapData_isOutsideMap__P128581_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isOutsideMap__P20700, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isOutsideMap__P128581, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -30820,7 +30820,7 @@ function tiles_TileMapData_isOutsideMap__P20700_mk(s) { -function tiles_Location_tileMap__P20666(s) { +function tiles_Location_tileMap__P128547(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30835,8 +30835,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20664_VT)) failedCast(r0); - s.tmp_0 = game_currentScene__P20970_mk(s); + if (!checkSubtype(r0, tiles_Location__C128545_VT)) failedCast(r0); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 797; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; @@ -30844,13 +30844,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_tileMap__P20666.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__P20666.isGetter = true; +tiles_Location_tileMap__P128547.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__P128547.isGetter = true; -function tiles_Location_tileMap__P20666_mk(s) { +function tiles_Location_tileMap__P128547_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_tileMap__P20666, depth: s.depth + 1, + parent: s, fn: tiles_Location_tileMap__P128547, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -30860,7 +30860,7 @@ function tiles_Location_tileMap__P20666_mk(s) { -function tiles_Location_row__P20668(s) { +function tiles_Location_row__P128549(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30875,18 +30875,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20664_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C128545_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_row__P20668.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__P20668.isGetter = true; +tiles_Location_row__P128549.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__P128549.isGetter = true; -function tiles_Location_row__P20668_mk(s) { +function tiles_Location_row__P128549_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_row__P20668, depth: s.depth + 1, + parent: s, fn: tiles_Location_row__P128549, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30895,7 +30895,7 @@ function tiles_Location_row__P20668_mk(s) { -function tiles_Location_column__P20667(s) { +function tiles_Location_column__P128548(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30910,18 +30910,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20664_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C128545_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_column__P20667.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__P20667.isGetter = true; +tiles_Location_column__P128548.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__P128548.isGetter = true; -function tiles_Location_column__P20667_mk(s) { +function tiles_Location_column__P128548_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_column__P20667, depth: s.depth + 1, + parent: s, fn: tiles_Location_column__P128548, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -30930,7 +30930,7 @@ function tiles_Location_column__P20667_mk(s) { -function tiles_TileMap_getObstacle__P20728(s) { +function tiles_TileMap_getObstacle__P128609(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -30940,8 +30940,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.index___33181 = undefined; - s.tile___33193 = undefined; + s.index___141062 = undefined; + s.tile___141074 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -30949,8 +30949,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); - s.tmp_1 = tiles_TileMapData_isOutsideMap__P20700_mk(s); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); + s.tmp_1 = tiles_TileMapData_isOutsideMap__P128581_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -30964,7 +30964,7 @@ switch (step) { r0 = 0; { step = 2; continue; } case 1: - s.tmp_2 = tiles_TileMapData_getTile__P20694_mk(s); + s.tmp_2 = tiles_TileMapData_getTile__P128575_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_2.arg0 = r0; s.tmp_2.arg1 = s.arg1; @@ -30975,20 +30975,20 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_3 = r0; - s.index___33181 = (s.tmp_3); - s.tmp_0 = tiles_TileMapData_getTileImage__P20697_mk(s); + s.index___141062 = (s.tmp_3); + s.tmp_0 = tiles_TileMapData_getTileImage__P128578_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___33181; + s.tmp_0.arg1 = s.index___141062; s.callLocIdx = 856; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.tile___33193 = (r0); - r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C20469_VT); + s.tile___141074 = (r0); + r0 = pxsim_pxtcore_mkClassInstance(sprites_StaticObstacle__C128350_VT); s.tmp_0 = r0; - s.tmp_1 = sprites_StaticObstacle_constructor__P20475_mk(s); + s.tmp_1 = sprites_StaticObstacle_constructor__P128356_mk(s); s.tmp_1.arg0 = s.tmp_0; - s.tmp_1.arg1 = s.tile___33193; + s.tmp_1.arg1 = s.tile___141074; s.tmp_2 = r0 = s.arg2; r0 = s.arg0.fields["_scale"]; s.tmp_3 = r0; @@ -31001,7 +31001,7 @@ switch (step) { s.tmp_1.arg3 = r0; r0 = s.arg0.fields["_layer"]; s.tmp_1.arg4 = r0; - s.tmp_1.arg5 = s.index___33181; + s.tmp_1.arg5 = s.index___141062; s.callLocIdx = 860; s.pc = 6; return s.tmp_1; case 6: r0 = s.retval; @@ -31009,12 +31009,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getObstacle__P20728.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__P128609.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__P20728_mk(s) { +function tiles_TileMap_getObstacle__P128609_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getObstacle__P20728, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getObstacle__P128609, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31022,8 +31022,8 @@ function tiles_TileMap_getObstacle__P20728_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - index___33181: undefined, - tile___33193: undefined, + index___141062: undefined, + tile___141074: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31033,7 +31033,7 @@ function tiles_TileMap_getObstacle__P20728_mk(s) { -function tiles_TileMap_layer__P20716(s) { +function tiles_TileMap_layer__P128597(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31048,18 +31048,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); r0 = s.arg0.fields["_layer"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_layer__P20716.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__P20716.isGetter = true; +tiles_TileMap_layer__P128597.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__P128597.isGetter = true; -function tiles_TileMap_layer__P20716_mk(s) { +function tiles_TileMap_layer__P128597_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_layer__P20716, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_layer__P128597, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -31068,7 +31068,7 @@ function tiles_TileMap_layer__P20716_mk(s) { -function sprites_StaticObstacle_constructor__P20475(s) { +function sprites_StaticObstacle_constructor__P128356(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31088,7 +31088,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C20469_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C128350_VT)) failedCast(r0); r0 = (s.arg0).fields["image"] = (s.arg1); r0 = (s.arg0).fields["layer"] = (s.arg4); r0 = (s.arg0).fields["top"] = (s.arg2); @@ -31098,12 +31098,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_StaticObstacle_constructor__P20475.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__P128356.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__P20475_mk(s) { +function sprites_StaticObstacle_constructor__P128356_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_constructor__P20475, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_constructor__P128356, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -31117,7 +31117,7 @@ function sprites_StaticObstacle_constructor__P20475_mk(s) { -function tiles_TileMap_isObstacle__P20727(s) { +function tiles_TileMap_isObstacle__P128608(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31134,7 +31134,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -31155,7 +31155,7 @@ switch (step) { { step = 5; continue; } case 1: case 2: - s.tmp_8 = tiles_TileMapData_isOutsideMap__P20700_mk(s); + s.tmp_8 = tiles_TileMapData_isOutsideMap__P128581_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_8.arg0 = r0; s.tmp_8.arg1 = s.arg1; @@ -31181,12 +31181,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isObstacle__P20727.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__P128608.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__P20727_mk(s) { +function tiles_TileMap_isObstacle__P128608_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isObstacle__P20727, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isObstacle__P128608, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31209,7 +31209,7 @@ function tiles_TileMap_isObstacle__P20727_mk(s) { -function tiles_TileMapData_isWall__P20699(s) { +function tiles_TileMapData_isWall__P128580(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31226,7 +31226,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20688_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C128569_VT)) failedCast(r0); r0 = s.arg0.fields["layers"]; s.tmp_1 = r0; r0 = pxsim_ImageMethods.getPixel(s.tmp_1, s.arg1, s.arg2); @@ -31235,12 +31235,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_isWall__P20699.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__P128580.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__P20699_mk(s) { +function tiles_TileMapData_isWall__P128580_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_isWall__P20699, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_isWall__P128580, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31253,7 +31253,7 @@ function tiles_TileMapData_isWall__P20699_mk(s) { -function tiles_TileMap_getTile__P20720(s) { +function tiles_TileMap_getTile__P128601(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31270,10 +31270,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); - r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C20664_VT); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); + r0 = pxsim_pxtcore_mkClassInstance(tiles_Location__C128545_VT); s.tmp_0 = r0; - s.tmp_1 = tiles_Location_constructor__P20665_mk(s); + s.tmp_1 = tiles_Location_constructor__P128546_mk(s); s.tmp_1.arg0 = s.tmp_0; s.tmp_1.arg1 = s.arg1; s.tmp_1.arg2 = s.arg2; @@ -31285,12 +31285,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_getTile__P20720.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__P128601.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__P20720_mk(s) { +function tiles_TileMap_getTile__P128601_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_getTile__P20720, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_getTile__P128601, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31303,7 +31303,7 @@ function tiles_TileMap_getTile__P20720_mk(s) { -function tiles_Location_constructor__P20665(s) { +function tiles_Location_constructor__P128546(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31321,19 +31321,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20664_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C128545_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__P20665.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__P128546.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__P20665_mk(s) { +function tiles_Location_constructor__P128546_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_constructor__P20665, depth: s.depth + 1, + parent: s, fn: tiles_Location_constructor__P128546, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -31345,7 +31345,7 @@ function tiles_Location_constructor__P20665_mk(s) { -function Sprite_registerObstacle__P20397(s) { +function Sprite_registerObstacle__P128278(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31355,10 +31355,10 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.collisionHandlers___33094 = undefined; - s.wallCollisionHandlers___33101 = undefined; - s.wallHandlersToRun___33126 = undefined; - s.asTileLocation___33139 = undefined; + s.collisionHandlers___140975 = undefined; + s.wallCollisionHandlers___140982 = undefined; + s.wallHandlersToRun___141007 = undefined; + s.asTileLocation___141020 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -31367,11 +31367,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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__P20970_mk(s); + s.tmp_1 = game_currentScene__P128851_mk(s); s.callLocIdx = 414; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -31391,24 +31391,24 @@ switch (step) { r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__getAt(s.tmp_0, s.tmp_2); - s.collisionHandlers___33094 = (r0); - s.tmp_0 = game_currentScene__P20970_mk(s); + s.collisionHandlers___140975 = (r0); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 416; s.pc = 11; return s.tmp_0; case 11: r0 = s.retval; r0 = r0.fields["wallCollisionHandlers"]; - s.wallCollisionHandlers___33101 = (r0); - r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___33094); + s.wallCollisionHandlers___140982 = (r0); + r0 = pxsim_numops_toBoolDecr(s.collisionHandlers___140975); if (!r0) { step = 1; continue; } - r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P33109); + r0 = pxsim_pxtcore_mkAction(1, forEach_inline__P140990); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P33115); + r0 = pxsim_pxtcore_mkAction(1, Sprite_registerObstacle_inline__P140996); s.tmp_1 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_1, 0, s.arg0); - s.tmp_2 = helpers_arrayForEach__P18080_mk(s); - s.tmp_3 = helpers_arrayFilter__P18081_mk(s); - s.tmp_3.arg0 = s.collisionHandlers___33094; + s.tmp_2 = helpers_arrayForEach__P125961_mk(s); + s.tmp_3 = helpers_arrayFilter__P125962_mk(s); + s.tmp_3.arg0 = s.collisionHandlers___140975; s.tmp_3.arg1 = s.tmp_0; s.callLocIdx = 418; s.pc = 13; return s.tmp_3; case 13: @@ -31420,7 +31420,7 @@ switch (step) { r0 = s.retval; case 1: case 2: - r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___33101); + r0 = pxsim_numops_toBoolDecr(s.wallCollisionHandlers___140982); if (!r0) { step = 7; continue; } s.tmp_0 = r0 = s.arg3; r0 = pxsim_numops_toBool(s.tmp_0); @@ -31428,7 +31428,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 3: - s.tmp_1 = game_currentScene__P20970_mk(s); + s.tmp_1 = game_currentScene__P128851_mk(s); s.callLocIdx = 421; s.pc = 14; return s.tmp_1; case 14: r0 = s.retval; @@ -31437,21 +31437,21 @@ switch (step) { // jmp value (already in r0) s.tmp_2 = r0; s.arg3 = (s.tmp_2); - r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P33128); + r0 = pxsim_pxtcore_mkAction(1, wallHandlersToRun_inline__P141009); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - s.tmp_1 = helpers_arrayFilter__P18081_mk(s); - s.tmp_1.arg0 = s.wallCollisionHandlers___33101; + s.tmp_1 = helpers_arrayFilter__P125962_mk(s); + s.tmp_1.arg0 = s.wallCollisionHandlers___140982; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 423; s.pc = 15; return s.tmp_1; case 15: r0 = s.retval; - s.wallHandlersToRun___33126 = (r0); - r0 = pxsim_Array__length(s.wallHandlersToRun___33126); + s.wallHandlersToRun___141007 = (r0); + r0 = pxsim_Array__length(s.wallHandlersToRun___141007); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_1 = tiles_TileMap_getTile__P20720_mk(s); + s.tmp_1 = tiles_TileMap_getTile__P128601_mk(s); s.tmp_1.arg0 = s.arg3; s.tmp_3 = if_left_1_mk(s); s.tmp_3.arg0 = s.arg2; @@ -31490,13 +31490,13 @@ switch (step) { s.callLocIdx = 428; s.pc = 16; return s.tmp_1; case 16: r0 = s.retval; - s.asTileLocation___33139 = (r0); - r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P33155); + s.asTileLocation___141020 = (r0); + r0 = pxsim_pxtcore_mkAction(2, Sprite_registerObstacle_inline__P141036); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___33139); - s.tmp_1 = helpers_arrayForEach__P18080_mk(s); - s.tmp_1.arg0 = s.wallHandlersToRun___33126; + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.asTileLocation___141020); + s.tmp_1 = helpers_arrayForEach__P125961_mk(s); + s.tmp_1.arg0 = s.wallHandlersToRun___141007; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 430; s.pc = 19; return s.tmp_1; case 19: @@ -31509,12 +31509,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle__P20397.info = {"start":24992,"length":965,"line":817,"column":4,"endLine":837,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} +Sprite_registerObstacle__P128278.info = {"start":24992,"length":965,"line":817,"column":4,"endLine":837,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"registerObstacle","argumentNames":["this","direction","other","tm"]} -function Sprite_registerObstacle__P20397_mk(s) { +function Sprite_registerObstacle__P128278_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle__P20397, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle__P128278, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31524,10 +31524,10 @@ function Sprite_registerObstacle__P20397_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - collisionHandlers___33094: undefined, - wallCollisionHandlers___33101: undefined, - wallHandlersToRun___33126: undefined, - asTileLocation___33139: undefined, + collisionHandlers___140975: undefined, + wallCollisionHandlers___140982: undefined, + wallHandlersToRun___141007: undefined, + asTileLocation___141020: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -31538,7 +31538,7 @@ function Sprite_registerObstacle__P20397_mk(s) { -function forEach_inline__P33109(s) { +function forEach_inline__P140990(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31560,12 +31560,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P33109.info = {"start":25390,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +forEach_inline__P140990.info = {"start":25390,"length":26,"line":824,"column":24,"endLine":824,"endColumn":50,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function forEach_inline__P33109_mk(s) { +function forEach_inline__P140990_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P33109, depth: s.depth + 1, + parent: s, fn: forEach_inline__P140990, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31576,7 +31576,7 @@ function forEach_inline__P33109_mk(s) { -function Sprite_registerObstacle_inline__P33115(s) { +function Sprite_registerObstacle_inline__P140996(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31608,12 +31608,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P33115.info = {"start":25443,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P140996.info = {"start":25443,"length":20,"line":825,"column":25,"endLine":825,"endColumn":45,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P33115_mk(s) { +function Sprite_registerObstacle_inline__P140996_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P33115, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P140996, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31623,7 +31623,7 @@ function Sprite_registerObstacle_inline__P33115_mk(s) { -function wallHandlersToRun_inline__P33128(s) { +function wallHandlersToRun_inline__P141009(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31645,12 +31645,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -wallHandlersToRun_inline__P33128.info = {"start":25649,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +wallHandlersToRun_inline__P141009.info = {"start":25649,"length":32,"line":830,"column":24,"endLine":830,"endColumn":56,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function wallHandlersToRun_inline__P33128_mk(s) { +function wallHandlersToRun_inline__P141009_mk(s) { checkStack(s.depth); return { - parent: s, fn: wallHandlersToRun_inline__P33128, depth: s.depth + 1, + parent: s, fn: wallHandlersToRun_inline__P141009, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31661,7 +31661,7 @@ function wallHandlersToRun_inline__P33128_mk(s) { -function Sprite_registerObstacle_inline__P33155(s) { +function Sprite_registerObstacle_inline__P141036(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31694,12 +31694,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_registerObstacle_inline__P33155.info = {"start":25889,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} +Sprite_registerObstacle_inline__P141036.info = {"start":25889,"length":36,"line":834,"column":29,"endLine":834,"endColumn":65,"fileName":"pxt_modules/game/sprite.ts","functionName":"inline","argumentNames":["h"]} -function Sprite_registerObstacle_inline__P33155_mk(s) { +function Sprite_registerObstacle_inline__P141036_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_registerObstacle_inline__P33155, depth: s.depth + 1, + parent: s, fn: Sprite_registerObstacle_inline__P141036, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -31709,7 +31709,7 @@ function Sprite_registerObstacle_inline__P33155_mk(s) { -function Math_sign__P18100(s) { +function Math_sign__P125981(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31744,12 +31744,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_sign__P18100.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__P125981.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__P18100_mk(s) { +function Math_sign__P125981_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_sign__P18100, depth: s.depth + 1, + parent: s, fn: Math_sign__P125981, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -31760,7 +31760,7 @@ function Math_sign__P18100_mk(s) { -function helpers_arraySome__P18078(s) { +function helpers_arraySome__P125959(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31770,26 +31770,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.len___33163 = undefined; - s.i___33166 = undefined; + s.len___141044 = undefined; + s.i___141047 = 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___33163 = (r0); - s.i___33166 = (0); + s.len___141044 = (r0); + s.i___141047 = (0); case 1: - r0 = (s.i___33166 < s.len___33163); + r0 = (s.i___141047 < s.len___141044); 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___33166); + r0 = pxsim_Array__getAt(s.arg0, s.i___141047); s.tmp_2.arg0 = r0; - s.tmp_2.arg1 = s.i___33166; + s.tmp_2.arg1 = s.i___141047; setupLambda(s.tmp_2, s.tmp_2.argL); s.callLocIdx = 4; s.pc = 6; return s.tmp_2; case 6: @@ -31801,8 +31801,8 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.i___33166 + 1); - s.i___33166 = (r0); + r0 = (s.i___141047 + 1); + s.i___141047 = (r0); { step = 1; continue; } case 4: r0 = false; @@ -31810,18 +31810,18 @@ switch (step) { return leave(s, r0) default: oops() } } } -helpers_arraySome__P18078.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__P125959.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__P18078_mk(s) { +function helpers_arraySome__P125959_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arraySome__P18078, depth: s.depth + 1, + parent: s, fn: helpers_arraySome__P125959, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - len___33163: undefined, - i___33166: undefined, + len___141044: undefined, + i___141047: undefined, arg0: undefined, arg1: undefined, } } @@ -31830,7 +31830,7 @@ function helpers_arraySome__P18078_mk(s) { -function tiles_TileMap_isOnWall__P20729(s) { +function tiles_TileMap_isOnWall__P128610(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31840,24 +31840,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.hbox___32268 = undefined; - s.left___32271 = undefined; - s.right___32277 = undefined; - s.top___32283 = undefined; - s.bottom___32289 = undefined; - s.col___32295 = undefined; - s.row___32301 = undefined; + s.hbox___140149 = undefined; + s.left___140152 = undefined; + s.right___140158 = undefined; + s.top___140164 = undefined; + s.bottom___140170 = undefined; + s.col___140176 = undefined; + s.row___140182 = 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__C20706_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); r0 = s.arg1.fields["_hitbox"]; - s.hbox___32268 = (r0); - s.tmp_1 = game_Hitbox_left__P20187_mk(s); - s.tmp_1.arg0 = s.hbox___32268; + s.hbox___140149 = (r0); + s.tmp_1 = game_Hitbox_left__P128068_mk(s); + s.tmp_1.arg0 = s.hbox___140149; s.callLocIdx = 861; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; @@ -31867,9 +31867,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.left___32271 = (r0); - s.tmp_1 = game_Hitbox_right__P20189_mk(s); - s.tmp_1.arg0 = s.hbox___32268; + s.left___140152 = (r0); + s.tmp_1 = game_Hitbox_right__P128070_mk(s); + s.tmp_1.arg0 = s.hbox___140149; s.callLocIdx = 864; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; @@ -31879,9 +31879,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.right___32277 = (r0); - s.tmp_1 = game_Hitbox_top__P20188_mk(s); - s.tmp_1.arg0 = s.hbox___32268; + s.right___140158 = (r0); + s.tmp_1 = game_Hitbox_top__P128069_mk(s); + s.tmp_1.arg0 = s.hbox___140149; s.callLocIdx = 867; s.pc = 10; return s.tmp_1; case 10: r0 = s.retval; @@ -31891,9 +31891,9 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.top___32283 = (r0); - s.tmp_1 = game_Hitbox_bottom__P20190_mk(s); - s.tmp_1.arg0 = s.hbox___32268; + s.top___140164 = (r0); + s.tmp_1 = game_Hitbox_bottom__P128071_mk(s); + s.tmp_1.arg0 = s.hbox___140149; s.callLocIdx = 870; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; @@ -31903,23 +31903,23 @@ switch (step) { r0 = (s.tmp_2 + 8); s.tmp_3 = r0; r0 = (s.tmp_0 >> s.tmp_3); - s.bottom___32289 = (r0); - s.col___32295 = (s.left___32271); + s.bottom___140170 = (r0); + s.col___140176 = (s.left___140152); case 1: - r0 = (s.col___32295 <= s.right___32277); + r0 = (s.col___140176 <= s.right___140158); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 6; continue; } - s.row___32301 = (s.top___32283); + s.row___140182 = (s.top___140164); case 2: - r0 = (s.row___32301 <= s.bottom___32289); + r0 = (s.row___140182 <= s.bottom___140170); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 5; continue; } - s.tmp_2 = tiles_TileMap_isObstacle__P20727_mk(s); + s.tmp_2 = tiles_TileMap_isObstacle__P128608_mk(s); s.tmp_2.arg0 = s.arg0; - s.tmp_2.arg1 = s.col___32295; - s.tmp_2.arg2 = s.row___32301; + s.tmp_2.arg1 = s.col___140176; + s.tmp_2.arg2 = s.row___140182; s.callLocIdx = 873; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; @@ -31930,12 +31930,12 @@ switch (step) { { step = 7; continue; } case 3: case 4: - r0 = (s.row___32301 + 1); - s.row___32301 = (r0); + r0 = (s.row___140182 + 1); + s.row___140182 = (r0); { step = 2; continue; } case 5: - r0 = (s.col___32295 + 1); - s.col___32295 = (r0); + r0 = (s.col___140176 + 1); + s.col___140176 = (r0); { step = 1; continue; } case 6: r0 = false; @@ -31943,24 +31943,24 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_isOnWall__P20729.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__P128610.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__P20729_mk(s) { +function tiles_TileMap_isOnWall__P128610_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_isOnWall__P20729, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_isOnWall__P128610, 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___32268: undefined, - left___32271: undefined, - right___32277: undefined, - top___32283: undefined, - bottom___32289: undefined, - col___32295: undefined, - row___32301: undefined, + hbox___140149: undefined, + left___140152: undefined, + right___140158: undefined, + top___140164: undefined, + bottom___140170: undefined, + col___140176: undefined, + row___140182: undefined, arg0: undefined, arg1: undefined, } } @@ -31969,7 +31969,7 @@ function tiles_TileMap_isOnWall__P20729_mk(s) { -function MovingSprite_constructor__P20497(s) { +function MovingSprite_constructor__P128378(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -31991,7 +31991,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, MovingSprite__C20496_VT)) failedCast(r0); + if (!checkSubtype(r0, MovingSprite__C128377_VT)) failedCast(r0); r0 = (s.arg0).fields["sprite"] = (s.arg1); r0 = (s.arg0).fields["cachedVx"] = (s.arg2); r0 = (s.arg0).fields["cachedVy"] = (s.arg3); @@ -32003,12 +32003,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -MovingSprite_constructor__P20497.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__P128378.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__P20497_mk(s) { +function MovingSprite_constructor__P128378_mk(s) { checkStack(s.depth); return { - parent: s, fn: MovingSprite_constructor__P20497, depth: s.depth + 1, + parent: s, fn: MovingSprite_constructor__P128378, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -32024,7 +32024,7 @@ function MovingSprite_constructor__P20497_mk(s) { -function ArcadePhysicsEngine_move__P20510(s) { +function ArcadePhysicsEngine_move__P128391(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32034,76 +32034,76 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.dtMs___33238 = undefined; - s.dt2___33244 = undefined; - s.scene___33248 = undefined; - s.tileMap___33251 = undefined; - s.movingSprites___33254 = undefined; - s.MAX_STEP_COUNT___33285 = undefined; - s.overlapHandlers___33297 = undefined; - s.selected___33304 = undefined; - s.buffers___33305 = undefined; - s.count___33309 = undefined; - s.currMovers___33319 = undefined; - s.remainingMovers___33326 = undefined; - s.ms___33331 = undefined; - s.unnamed166___U13 = undefined; - s.unnamed167___U14 = undefined; - s.s___33333 = undefined; - s.stepX___33426 = undefined; - s.stepY___33440 = undefined; - s.bounce___33503 = undefined; + s.dtMs___141119 = undefined; + s.dt2___141125 = undefined; + s.scene___141129 = undefined; + s.tileMap___141132 = undefined; + s.movingSprites___141135 = undefined; + s.MAX_STEP_COUNT___141166 = undefined; + s.overlapHandlers___141178 = undefined; + s.selected___141185 = undefined; + s.buffers___141186 = undefined; + s.count___141190 = undefined; + s.currMovers___141200 = undefined; + s.remainingMovers___141207 = undefined; + s.ms___141212 = undefined; + s.unnamed718___U13 = undefined; + s.unnamed719___U14 = undefined; + s.s___141214 = undefined; + s.stepX___141307 = undefined; + s.stepY___141321 = undefined; + s.bounce___141384 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); - s.tmp_0 = Math_min__P18102_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); + s.tmp_0 = Math_min__P125983_mk(s); s.tmp_0.arg0 = 100; r0 = (s.arg1 * 1000); s.tmp_0.arg1 = r0; s.callLocIdx = 539; s.pc = 53; return s.tmp_0; case 53: r0 = s.retval; - s.dtMs___33238 = (r0); - r0 = pxsim.Math_.idiv(s.dtMs___33238, 2); - s.dt2___33244 = (r0); - s.tmp_0 = game_currentScene__P20970_mk(s); + s.dtMs___141119 = (r0); + r0 = pxsim.Math_.idiv(s.dtMs___141119, 2); + s.dt2___141125 = (r0); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 540; s.pc = 54; return s.tmp_0; case 54: r0 = s.retval; - s.scene___33248 = (r0); - r0 = s.scene___33248.fields["tileMap"]; - s.tileMap___33251 = (r0); - r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P33256); + s.scene___141129 = (r0); + r0 = s.scene___141129.fields["tileMap"]; + s.tileMap___141132 = (r0); + r0 = pxsim_pxtcore_mkAction(3, movingSprites_inline__P141137); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg0); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___33238); - r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___33244); - s.tmp_1 = helpers_arrayMap__P18077_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 1, s.dtMs___141119); + r0 = pxsim_pxtrt_stclo(s.tmp_0, 2, s.dt2___141125); + s.tmp_1 = helpers_arrayMap__P125958_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 542; s.pc = 55; return s.tmp_1; case 55: r0 = s.retval; - s.movingSprites___33254 = (r0); - s.tmp_0 = helpers_arrayForEach__P18080_mk(s); + s.movingSprites___141135 = (r0); + s.tmp_0 = helpers_arrayForEach__P125961_mk(s); r0 = s.arg0.fields["sprites"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P33268; + s.tmp_0.arg1 = ArcadePhysicsEngine_move_inline__P141149; s.callLocIdx = 546; s.pc = 56; return s.tmp_0; case 56: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_clear__P20423_mk(s); + s.tmp_0 = sprites_SpriteMap_clear__P128304_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 547; s.pc = 57; return s.tmp_0; case 57: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_resizeBuckets__P20422_mk(s); + s.tmp_0 = sprites_SpriteMap_resizeBuckets__P128303_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; r0 = s.arg0.fields["sprites"]; @@ -32119,41 +32119,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___33238); + r0 = pxsim.Math_.imul(s.tmp_2, s.dtMs___141119); 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___33285 = (r0); - s.tmp_0 = helpers_arraySlice__P18086_mk(s); - r0 = s.scene___33248.fields["overlapHandlers"]; + s.MAX_STEP_COUNT___141166 = (r0); + s.tmp_0 = helpers_arraySlice__P125967_mk(s); + r0 = s.scene___141129.fields["overlapHandlers"]; s.tmp_0.arg0 = r0; s.tmp_0.arg1 = undefined; s.tmp_0.arg2 = undefined; s.callLocIdx = 553; s.pc = 59; return s.tmp_0; case 59: r0 = s.retval; - s.overlapHandlers___33297 = (r0); - s.selected___33304 = (0); + s.overlapHandlers___141178 = (r0); + s.selected___141185 = (0); r0 = pxsim_Array__mk(); s.tmp_0 = r0; - r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___33254); + r0 = pxsim_Array__push(s.tmp_0, s.movingSprites___141135); r0 = pxsim_Array__mk(); s.tmp_1 = r0; r0 = pxsim_Array__push(s.tmp_0, s.tmp_1); - s.buffers___33305 = (s.tmp_0); - s.count___33309 = (0); + s.buffers___141186 = (s.tmp_0); + s.count___141190 = (0); case 1: - r0 = (s.count___33309 < s.MAX_STEP_COUNT___33285); + r0 = (s.count___141190 < s.MAX_STEP_COUNT___141166); 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___33305, s.selected___33304); + r0 = pxsim_Array__getAt(s.buffers___141186, s.selected___141185); s.tmp_2 = r0; r0 = pxsim_Array__length(s.tmp_2); s.tmp_1 = r0; @@ -32163,43 +32163,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___33305, s.selected___33304); - s.currMovers___33319 = (r0); - r0 = (s.selected___33304 ^ 1); - s.selected___33304 = (r0); - r0 = pxsim_Array__getAt(s.buffers___33305, s.selected___33304); - s.remainingMovers___33326 = (r0); - s.ms___33331 = (undefined); - s.unnamed166___U13 = (s.currMovers___33319); - s.unnamed167___U14 = (0); + r0 = pxsim_Array__getAt(s.buffers___141186, s.selected___141185); + s.currMovers___141200 = (r0); + r0 = (s.selected___141185 ^ 1); + s.selected___141185 = (r0); + r0 = pxsim_Array__getAt(s.buffers___141186, s.selected___141185); + s.remainingMovers___141207 = (r0); + s.ms___141212 = (undefined); + s.unnamed718___U13 = (s.currMovers___141200); + s.unnamed719___U14 = (0); case 4: - s.tmp_0 = r0 = s.unnamed167___U14; - r0 = pxsim_Array__length(s.unnamed166___U13); + s.tmp_0 = r0 = s.unnamed719___U14; + r0 = pxsim_Array__length(s.unnamed718___U13); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 49; continue; } - r0 = pxsim_Array__getAt(s.unnamed166___U13, s.unnamed167___U14); - s.ms___33331 = (r0); - r0 = s.ms___33331.fields["sprite"]; - s.s___33333 = (r0); - r0 = s.ms___33331.fields["cachedVx"]; + r0 = pxsim_Array__getAt(s.unnamed718___U13, s.unnamed719___U14); + s.ms___141212 = (r0); + r0 = s.ms___141212.fields["sprite"]; + s.s___141214 = (r0); + r0 = s.ms___141212.fields["cachedVx"]; s.tmp_1 = r0; - r0 = s.s___33333.fields["_vx"]; + r0 = s.s___141214.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___33333.fields["_vx"]; + r0 = s.s___141214.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___33331).fields["dx"] = (0); + r0 = (s.ms___141212).fields["dx"] = (0); { step = 14; continue; } case 5: - r0 = s.s___33333.fields["_vx"]; + r0 = s.s___141214.fields["_vx"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -32208,7 +32208,7 @@ switch (step) { r0 = s.tmp_0; { step = 7; continue; } case 6: - r0 = s.ms___33331.fields["cachedVx"]; + r0 = s.ms___141212.fields["cachedVx"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 7: @@ -32219,7 +32219,7 @@ switch (step) { r0 = s.tmp_3; { step = 11; continue; } case 8: - r0 = s.s___33333.fields["_vx"]; + r0 = s.s___141214.fields["_vx"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -32228,7 +32228,7 @@ switch (step) { r0 = s.tmp_4; { step = 10; continue; } case 9: - r0 = s.ms___33331.fields["cachedVx"]; + r0 = s.ms___141212.fields["cachedVx"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 10: @@ -32240,14 +32240,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___33331; - r0 = s.ms___33331.fields["dx"]; + s.tmp_9 = r0 = s.ms___141212; + r0 = s.ms___141212.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___33331; - r0 = s.ms___33331.fields["xStep"]; + s.tmp_0 = r0 = s.ms___141212; + r0 = s.ms___141212.fields["xStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -32255,29 +32255,29 @@ switch (step) { case 12: case 13: case 14: - r0 = s.s___33333.fields["_vx"]; + r0 = s.s___141214.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.ms___33331).fields["cachedVx"] = (s.tmp_0); + r0 = (s.ms___141212).fields["cachedVx"] = (s.tmp_0); case 15: case 16: - r0 = s.ms___33331.fields["cachedVy"]; + r0 = s.ms___141212.fields["cachedVy"]; s.tmp_1 = r0; - r0 = s.s___33333.fields["_vy"]; + r0 = s.s___141214.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___33333.fields["_vy"]; + r0 = s.s___141214.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___33331).fields["dy"] = (0); + r0 = (s.ms___141212).fields["dy"] = (0); { step = 26; continue; } case 17: - r0 = s.s___33333.fields["_vy"]; + r0 = s.s___141214.fields["_vy"]; s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -32286,7 +32286,7 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - r0 = s.ms___33331.fields["cachedVy"]; + r0 = s.ms___141212.fields["cachedVy"]; s.tmp_2 = r0; r0 = (s.tmp_2 > 0); case 19: @@ -32297,7 +32297,7 @@ switch (step) { r0 = s.tmp_3; { step = 23; continue; } case 20: - r0 = s.s___33333.fields["_vy"]; + r0 = s.s___141214.fields["_vy"]; s.tmp_5 = r0; r0 = (s.tmp_5 > 0); s.tmp_4 = r0; @@ -32306,7 +32306,7 @@ switch (step) { r0 = s.tmp_4; { step = 22; continue; } case 21: - r0 = s.ms___33331.fields["cachedVy"]; + r0 = s.ms___141212.fields["cachedVy"]; s.tmp_6 = r0; r0 = (s.tmp_6 < 0); case 22: @@ -32318,14 +32318,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___33331; - r0 = s.ms___33331.fields["dy"]; + s.tmp_9 = r0 = s.ms___141212; + r0 = s.ms___141212.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___33331; - r0 = s.ms___33331.fields["yStep"]; + s.tmp_0 = r0 = s.ms___141212; + r0 = s.ms___141212.fields["yStep"]; s.tmp_2 = r0; r0 = (0 - s.tmp_2); s.tmp_1 = r0; @@ -32333,20 +32333,20 @@ switch (step) { case 24: case 25: case 26: - r0 = s.s___33333.fields["_vy"]; + r0 = s.s___141214.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.ms___33331).fields["cachedVy"] = (s.tmp_0); + r0 = (s.ms___141212).fields["cachedVy"] = (s.tmp_0); case 27: case 28: - s.tmp_2 = Fx_abs__P18136_mk(s); - r0 = s.ms___33331.fields["xStep"]; + s.tmp_2 = Fx_abs__P126017_mk(s); + r0 = s.ms___141212.fields["xStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 558; s.pc = 60; return s.tmp_2; case 60: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P18136_mk(s); - r0 = s.ms___33331.fields["dx"]; + s.tmp_4 = Fx_abs__P126017_mk(s); + r0 = s.ms___141212.fields["dx"]; s.tmp_4.arg0 = r0; s.callLocIdx = 559; s.pc = 61; return s.tmp_4; case 61: @@ -32356,23 +32356,23 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 29; continue; } - r0 = s.ms___33331.fields["dx"]; + r0 = s.ms___141212.fields["dx"]; { step = 30; continue; } case 29: - r0 = s.ms___33331.fields["xStep"]; + r0 = s.ms___141212.fields["xStep"]; case 30: // jmp value (already in r0) s.tmp_5 = r0; - s.stepX___33426 = (s.tmp_5); - s.tmp_2 = Fx_abs__P18136_mk(s); - r0 = s.ms___33331.fields["yStep"]; + s.stepX___141307 = (s.tmp_5); + s.tmp_2 = Fx_abs__P126017_mk(s); + r0 = s.ms___141212.fields["yStep"]; s.tmp_2.arg0 = r0; s.callLocIdx = 560; s.pc = 62; return s.tmp_2; case 62: r0 = s.retval; s.tmp_1 = r0; - s.tmp_4 = Fx_abs__P18136_mk(s); - r0 = s.ms___33331.fields["dy"]; + s.tmp_4 = Fx_abs__P126017_mk(s); + r0 = s.ms___141212.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 561; s.pc = 63; return s.tmp_4; case 63: @@ -32382,45 +32382,45 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 31; continue; } - r0 = s.ms___33331.fields["dy"]; + r0 = s.ms___141212.fields["dy"]; { step = 32; continue; } case 31: - r0 = s.ms___33331.fields["yStep"]; + r0 = s.ms___141212.fields["yStep"]; case 32: // jmp value (already in r0) s.tmp_5 = r0; - s.stepY___33440 = (s.tmp_5); - s.tmp_0 = r0 = s.ms___33331; - r0 = s.ms___33331.fields["dx"]; + s.stepY___141321 = (s.tmp_5); + s.tmp_0 = r0 = s.ms___141212; + r0 = s.ms___141212.fields["dx"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepX___33426); + r0 = (s.tmp_2 - s.stepX___141307); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dx"] = (s.tmp_1); - s.tmp_0 = r0 = s.ms___33331; - r0 = s.ms___33331.fields["dy"]; + s.tmp_0 = r0 = s.ms___141212; + r0 = s.ms___141212.fields["dy"]; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.stepY___33440); + r0 = (s.tmp_2 - s.stepY___141321); s.tmp_1 = r0; r0 = (s.tmp_0).fields["dy"] = (s.tmp_1); - r0 = s.s___33333.fields["_x"]; + r0 = s.s___141214.fields["_x"]; s.tmp_0 = r0; - r0 = (s.s___33333).fields["_lastX"] = (s.tmp_0); - r0 = s.s___33333.fields["_y"]; + r0 = (s.s___141214).fields["_lastX"] = (s.tmp_0); + r0 = s.s___141214.fields["_y"]; s.tmp_0 = r0; - r0 = (s.s___33333).fields["_lastY"] = (s.tmp_0); - s.tmp_0 = r0 = s.s___33333; - r0 = s.s___33333.fields["_x"]; + r0 = (s.s___141214).fields["_lastY"] = (s.tmp_0); + s.tmp_0 = r0 = s.s___141214; + r0 = s.s___141214.fields["_x"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepX___33426); + r0 = (s.tmp_2 + s.stepX___141307); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_x"] = (s.tmp_1); - s.tmp_0 = r0 = s.s___33333; - r0 = s.s___33333.fields["_y"]; + s.tmp_0 = r0 = s.s___141214; + r0 = s.s___141214.fields["_y"]; s.tmp_2 = r0; - r0 = (s.tmp_2 + s.stepY___33440); + r0 = (s.tmp_2 + s.stepY___141321); s.tmp_1 = r0; r0 = (s.tmp_0).fields["_y"] = (s.tmp_1); - r0 = s.s___33333.fields["flags"]; + r0 = s.s___141214.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -32430,22 +32430,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__P20424_mk(s); + s.tmp_4 = sprites_SpriteMap_insertAABB__P128305_mk(s); r0 = s.arg0.fields["map"]; s.tmp_4.arg0 = r0; - s.tmp_4.arg1 = s.s___33333; + s.tmp_4.arg1 = s.s___141214; s.callLocIdx = 566; s.pc = 64; return s.tmp_4; case 64: r0 = s.retval; case 33: case 34: - s.tmp_0 = r0 = s.tileMap___33251; + s.tmp_0 = r0 = s.tileMap___141132; r0 = pxsim_numops_toBool(s.tmp_0); if (r0) { step = 35; continue; } r0 = s.tmp_0; { step = 36; continue; } case 35: - r0 = s.tileMap___33251.fields["_map"]; + r0 = s.tileMap___141132.fields["_map"]; s.tmp_4 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_4); s.tmp_3 = r0; @@ -32459,20 +32459,20 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 37; continue; } - s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P22760_mk(s); + s.tmp_6 = ArcadePhysicsEngine_tilemapCollisions__P130641_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___33331; - s.tmp_6.arg2 = s.tileMap___33251; + s.tmp_6.arg1 = s.ms___141212; + s.tmp_6.arg2 = s.tileMap___141132; s.callLocIdx = 568; s.pc = 65; return s.tmp_6; case 65: r0 = s.retval; case 37: case 38: - r0 = s.s___33333.fields["flags"]; + r0 = s.s___141214.fields["flags"]; s.tmp_0 = r0; r0 = (s.tmp_0 & 32); - s.bounce___33503 = (r0); - r0 = s.s___33333.fields["flags"]; + s.bounce___141384 = (r0); + r0 = s.s___141214.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 8); s.tmp_0 = r0; @@ -32481,13 +32481,13 @@ switch (step) { r0 = s.tmp_0; { step = 42; continue; } case 39: - s.tmp_2 = r0 = s.bounce___33503; + s.tmp_2 = r0 = s.bounce___141384; 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___33251); + r0 = pxsim_numops_toBoolDecr(s.tileMap___141132); s.tmp_3 = r0; r0 = pxsim_Boolean__bang(s.tmp_3); case 41: @@ -32499,81 +32499,81 @@ switch (step) { s.tmp_5 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_5); if (!r0) { step = 43; continue; } - s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P22759_mk(s); + s.tmp_6 = ArcadePhysicsEngine_screenEdgeCollisions__P130640_mk(s); s.tmp_6.arg0 = s.arg0; - s.tmp_6.arg1 = s.ms___33331; - s.tmp_6.arg2 = s.bounce___33503; - r0 = s.scene___33248.fields["camera"]; + s.tmp_6.arg1 = s.ms___141212; + s.tmp_6.arg2 = s.bounce___141384; + r0 = s.scene___141129.fields["camera"]; s.tmp_6.arg3 = r0; s.callLocIdx = 569; s.pc = 66; return s.tmp_6; case 66: r0 = s.retval; case 43: case 44: - s.tmp_2 = Fx_abs__P18136_mk(s); - r0 = s.ms___33331.fields["dx"]; + s.tmp_2 = Fx_abs__P126017_mk(s); + r0 = s.ms___141212.fields["dx"]; s.tmp_2.arg0 = r0; s.callLocIdx = 570; s.pc = 67; return s.tmp_2; case 67: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___20492); + r0 = (s.tmp_1 > globals.MIN_MOVE_GAP___128373); 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__P18136_mk(s); - r0 = s.ms___33331.fields["dy"]; + s.tmp_4 = Fx_abs__P126017_mk(s); + r0 = s.ms___141212.fields["dy"]; s.tmp_4.arg0 = r0; s.callLocIdx = 571; s.pc = 68; return s.tmp_4; case 68: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___20492); + r0 = (s.tmp_3 > globals.MIN_MOVE_GAP___128373); 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___33326, s.ms___33331); + r0 = pxsim_Array__push(s.remainingMovers___141207, s.ms___141212); case 47: case 48: - r0 = (s.unnamed167___U14 + 1); - s.unnamed167___U14 = (r0); + r0 = (s.unnamed719___U14 + 1); + s.unnamed719___U14 = (r0); { step = 4; continue; } case 49: - s.unnamed166___U13 = (undefined); - s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P22758_mk(s); + s.unnamed718___U13 = (undefined); + s.tmp_0 = ArcadePhysicsEngine_spriteCollisions__P130639_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.currMovers___33319; - s.tmp_0.arg2 = s.overlapHandlers___33297; + s.tmp_0.arg1 = s.currMovers___141200; + s.tmp_0.arg2 = s.overlapHandlers___141178; s.callLocIdx = 572; s.pc = 69; return s.tmp_0; case 69: r0 = s.retval; case 50: - r0 = pxsim_Array__length(s.currMovers___33319); + r0 = pxsim_Array__length(s.currMovers___141200); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 51; continue; } - r0 = pxsim_Array_.pop(s.currMovers___33319); + r0 = pxsim_Array_.pop(s.currMovers___141200); { step = 50; continue; } case 51: - r0 = (s.count___33309 + 1); - s.count___33309 = (r0); + r0 = (s.count___141190 + 1); + s.count___141190 = (r0); { step = 1; continue; } case 52: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move__P20510.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__P128391.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__P20510_mk(s) { +function ArcadePhysicsEngine_move__P128391_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move__P20510, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move__P128391, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32587,25 +32587,25 @@ function ArcadePhysicsEngine_move__P20510_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - dtMs___33238: undefined, - dt2___33244: undefined, - scene___33248: undefined, - tileMap___33251: undefined, - movingSprites___33254: undefined, - MAX_STEP_COUNT___33285: undefined, - overlapHandlers___33297: undefined, - selected___33304: undefined, - buffers___33305: undefined, - count___33309: undefined, - currMovers___33319: undefined, - remainingMovers___33326: undefined, - ms___33331: undefined, - unnamed166___U13: undefined, - unnamed167___U14: undefined, - s___33333: undefined, - stepX___33426: undefined, - stepY___33440: undefined, - bounce___33503: undefined, + dtMs___141119: undefined, + dt2___141125: undefined, + scene___141129: undefined, + tileMap___141132: undefined, + movingSprites___141135: undefined, + MAX_STEP_COUNT___141166: undefined, + overlapHandlers___141178: undefined, + selected___141185: undefined, + buffers___141186: undefined, + count___141190: undefined, + currMovers___141200: undefined, + remainingMovers___141207: undefined, + ms___141212: undefined, + unnamed718___U13: undefined, + unnamed719___U14: undefined, + s___141214: undefined, + stepX___141307: undefined, + stepY___141321: undefined, + bounce___141384: undefined, arg0: undefined, arg1: undefined, } } @@ -32614,7 +32614,7 @@ function ArcadePhysicsEngine_move__P20510_mk(s) { -function movingSprites_inline__P33256(s) { +function movingSprites_inline__P141137(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32628,7 +32628,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P22757_mk(s); + s.tmp_0 = ArcadePhysicsEngine_createMovingSprite__P130638_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.caps[1]; @@ -32639,12 +32639,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -movingSprites_inline__P33256.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__P141137.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__P33256_mk(s) { +function movingSprites_inline__P141137_mk(s) { checkStack(s.depth); return { - parent: s, fn: movingSprites_inline__P33256, depth: s.depth + 1, + parent: s, fn: movingSprites_inline__P141137, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -32654,7 +32654,7 @@ function movingSprites_inline__P33256_mk(s) { -function ArcadePhysicsEngine_move_inline__P33268(s) { +function ArcadePhysicsEngine_move_inline__P141149(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32668,7 +32668,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_1 = Sprite_vx__P20329_mk(s); + s.tmp_1 = Sprite_vx__P128210_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 543; s.pc = 5; return s.tmp_1; case 5: @@ -32679,7 +32679,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P20331_mk(s); + s.tmp_2 = Sprite_vy__P128212_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 544; s.pc = 6; return s.tmp_2; case 6: @@ -32689,7 +32689,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 3; continue; } - s.tmp_4 = Sprite_clearObstacles__P20396_mk(s); + s.tmp_4 = Sprite_clearObstacles__P128277_mk(s); s.tmp_4.arg0 = s.arg0; s.callLocIdx = 545; s.pc = 7; return s.tmp_4; case 7: @@ -32700,12 +32700,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_move_inline__P33268.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__P141149.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__P33268_mk(s) { +function ArcadePhysicsEngine_move_inline__P141149_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_move_inline__P33268, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_move_inline__P141149, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -32719,7 +32719,7 @@ function ArcadePhysicsEngine_move_inline__P33268_mk(s) { -function ArcadePhysicsEngine_screenEdgeCollisions__P22759(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P130640(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -32729,8 +32729,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.s___34086 = undefined; - s.offset___34101 = undefined; + s.s___141967 = undefined; + s.offset___141982 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -32739,10 +32739,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); r0 = s.arg1.fields["sprite"]; - s.s___34086 = (r0); - r0 = s.s___34086.fields["_image"]; + s.s___141967 = (r0); + r0 = s.s___141967.fields["_image"]; s.tmp_3 = r0; r0 = pxsim_ImageMethods.isStatic(s.tmp_3); s.tmp_2 = r0; @@ -32752,16 +32752,16 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_4 = Sprite__C20312_v4_1_mk(s); - s.tmp_4.arg0 = s.s___34086; - if (!checkSubtype(s.tmp_4.arg0, Sprite__C20312_VT)) failedCast(s.tmp_4.arg0); + s.tmp_4 = Sprite__C128193_v4_1_mk(s); + s.tmp_4.arg0 = s.s___141967; + if (!checkSubtype(s.tmp_4.arg0, Sprite__C128193_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__P20768_mk(s); + s.tmp_3 = scene_Camera_isUpdated__P128649_mk(s); s.tmp_3.arg0 = s.arg3; s.callLocIdx = 617; s.pc = 22; return s.tmp_3; case 22: @@ -32773,15 +32773,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__P20769_mk(s); + s.tmp_4 = scene_Camera_update__P128650_mk(s); s.tmp_4.arg0 = s.arg3; s.callLocIdx = 618; s.pc = 23; return s.tmp_4; case 23: r0 = s.retval; case 3: case 4: - s.tmp_2 = game_Hitbox_left__P20187_mk(s); - r0 = s.s___34086.fields["_hitbox"]; + s.tmp_2 = game_Hitbox_left__P128068_mk(s); + r0 = s.s___141967.fields["_hitbox"]; s.tmp_2.arg0 = r0; s.callLocIdx = 619; s.pc = 24; return s.tmp_2; case 24: @@ -32792,31 +32792,31 @@ switch (step) { r0 = s.arg3.fields["_offsetX"]; s.tmp_3 = r0; r0 = (s.tmp_0 - s.tmp_3); - s.offset___34101 = (r0); - r0 = (s.offset___34101 < 0); + s.offset___141982 = (r0); + r0 = (s.offset___141982 < 0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = Sprite_left__P20371_mk(s); - s.tmp_2 = r0 = s.s___34086; + s.tmp_1 = Sprite_left__P128252_mk(s); + s.tmp_2 = r0 = s.s___141967; s.tmp_1.arg0 = r0; - s.tmp_4 = Sprite_left__P20370_mk(s); + s.tmp_4 = Sprite_left__P128251_mk(s); s.tmp_4.arg0 = s.tmp_2; s.callLocIdx = 622; s.pc = 26; return s.tmp_4; case 26: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 - s.offset___34101); + r0 = (s.tmp_3 - s.offset___141982); s.tmp_1.arg1 = r0; s.callLocIdx = 623; s.pc = 25; return s.tmp_1; case 25: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 5; continue; } - s.tmp_0 = Sprite_vx__P20330_mk(s); - s.tmp_0.arg0 = s.s___34086; - s.tmp_2 = Sprite_vx__P20329_mk(s); - s.tmp_2.arg0 = s.s___34086; + s.tmp_0 = Sprite_vx__P128211_mk(s); + s.tmp_0.arg0 = s.s___141967; + s.tmp_2 = Sprite_vx__P128210_mk(s); + s.tmp_2.arg0 = s.s___141967; s.callLocIdx = 624; s.pc = 28; return s.tmp_2; case 28: r0 = s.retval; @@ -32830,8 +32830,8 @@ switch (step) { case 6: { step = 12; continue; } case 7: - s.tmp_4 = game_Hitbox_right__P20189_mk(s); - r0 = s.s___34086.fields["_hitbox"]; + s.tmp_4 = game_Hitbox_right__P128070_mk(s); + r0 = s.s___141967.fields["_hitbox"]; s.tmp_4.arg0 = r0; s.callLocIdx = 626; s.pc = 29; return s.tmp_4; case 29: @@ -32843,35 +32843,35 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20003); + r0 = pxsim_ImageMethods.width(globals.screen___127884); s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___34101 = (r0); + s.offset___141982 = (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__P20373_mk(s); - s.tmp_9 = r0 = s.s___34086; + s.tmp_8 = Sprite_right__P128254_mk(s); + s.tmp_9 = r0 = s.s___141967; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_right__P20372_mk(s); + s.tmp_11 = Sprite_right__P128253_mk(s); s.tmp_11.arg0 = s.tmp_9; s.callLocIdx = 629; s.pc = 31; return s.tmp_11; case 31: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___34101); + r0 = (s.tmp_10 - s.offset___141982); s.tmp_8.arg1 = r0; s.callLocIdx = 630; s.pc = 30; return s.tmp_8; case 30: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 8; continue; } - s.tmp_0 = Sprite_vx__P20330_mk(s); - s.tmp_0.arg0 = s.s___34086; - s.tmp_2 = Sprite_vx__P20329_mk(s); - s.tmp_2.arg0 = s.s___34086; + s.tmp_0 = Sprite_vx__P128211_mk(s); + s.tmp_0.arg0 = s.s___141967; + s.tmp_2 = Sprite_vx__P128210_mk(s); + s.tmp_2.arg0 = s.s___141967; s.callLocIdx = 631; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -32886,8 +32886,8 @@ switch (step) { case 10: case 11: case 12: - s.tmp_3 = game_Hitbox_top__P20188_mk(s); - r0 = s.s___34086.fields["_hitbox"]; + s.tmp_3 = game_Hitbox_top__P128069_mk(s); + r0 = s.s___141967.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 633; s.pc = 34; return s.tmp_3; case 34: @@ -32899,31 +32899,31 @@ switch (step) { s.tmp_4 = r0; r0 = (s.tmp_1 - s.tmp_4); s.tmp_0 = r0; - s.offset___34101 = (r0); + s.offset___141982 = (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__P20375_mk(s); - s.tmp_7 = r0 = s.s___34086; + s.tmp_6 = Sprite_top__P128256_mk(s); + s.tmp_7 = r0 = s.s___141967; s.tmp_6.arg0 = r0; - s.tmp_9 = Sprite_top__P20374_mk(s); + s.tmp_9 = Sprite_top__P128255_mk(s); s.tmp_9.arg0 = s.tmp_7; s.callLocIdx = 636; s.pc = 36; return s.tmp_9; case 36: r0 = s.retval; s.tmp_8 = r0; - r0 = (s.tmp_8 - s.offset___34101); + r0 = (s.tmp_8 - s.offset___141982); s.tmp_6.arg1 = r0; s.callLocIdx = 637; s.pc = 35; return s.tmp_6; case 35: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 13; continue; } - s.tmp_0 = Sprite_vy__P20332_mk(s); - s.tmp_0.arg0 = s.s___34086; - s.tmp_2 = Sprite_vy__P20331_mk(s); - s.tmp_2.arg0 = s.s___34086; + s.tmp_0 = Sprite_vy__P128213_mk(s); + s.tmp_0.arg0 = s.s___141967; + s.tmp_2 = Sprite_vy__P128212_mk(s); + s.tmp_2.arg0 = s.s___141967; s.callLocIdx = 638; s.pc = 38; return s.tmp_2; case 38: r0 = s.retval; @@ -32937,8 +32937,8 @@ switch (step) { case 14: { step = 20; continue; } case 15: - s.tmp_4 = game_Hitbox_bottom__P20190_mk(s); - r0 = s.s___34086.fields["_hitbox"]; + s.tmp_4 = game_Hitbox_bottom__P128071_mk(s); + r0 = s.s___141967.fields["_hitbox"]; s.tmp_4.arg0 = r0; s.callLocIdx = 640; s.pc = 39; return s.tmp_4; case 39: @@ -32950,35 +32950,35 @@ switch (step) { s.tmp_5 = r0; r0 = (s.tmp_2 - s.tmp_5); s.tmp_1 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20003); + r0 = pxsim_ImageMethods.height(globals.screen___127884); s.tmp_6 = r0; r0 = (s.tmp_1 - s.tmp_6); s.tmp_0 = r0; - s.offset___34101 = (r0); + s.offset___141982 = (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__P20377_mk(s); - s.tmp_9 = r0 = s.s___34086; + s.tmp_8 = Sprite_bottom__P128258_mk(s); + s.tmp_9 = r0 = s.s___141967; s.tmp_8.arg0 = r0; - s.tmp_11 = Sprite_bottom__P20376_mk(s); + s.tmp_11 = Sprite_bottom__P128257_mk(s); s.tmp_11.arg0 = s.tmp_9; s.callLocIdx = 643; s.pc = 41; return s.tmp_11; case 41: r0 = s.retval; s.tmp_10 = r0; - r0 = (s.tmp_10 - s.offset___34101); + r0 = (s.tmp_10 - s.offset___141982); s.tmp_8.arg1 = r0; s.callLocIdx = 644; s.pc = 40; return s.tmp_8; case 40: r0 = s.retval; r0 = pxsim_numops_toBoolDecr(s.arg2); if (!r0) { step = 16; continue; } - s.tmp_0 = Sprite_vy__P20332_mk(s); - s.tmp_0.arg0 = s.s___34086; - s.tmp_2 = Sprite_vy__P20331_mk(s); - s.tmp_2.arg0 = s.s___34086; + s.tmp_0 = Sprite_vy__P128213_mk(s); + s.tmp_0.arg0 = s.s___141967; + s.tmp_2 = Sprite_vy__P128212_mk(s); + s.tmp_2.arg0 = s.s___141967; s.callLocIdx = 645; s.pc = 43; return s.tmp_2; case 43: r0 = s.retval; @@ -32997,12 +32997,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_screenEdgeCollisions__P22759.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__P130640.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__P22759_mk(s) { +function ArcadePhysicsEngine_screenEdgeCollisions__P130640_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P22759, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_screenEdgeCollisions__P130640, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33016,8 +33016,8 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P22759_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - s___34086: undefined, - offset___34101: undefined, + s___141967: undefined, + offset___141982: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33028,7 +33028,7 @@ function ArcadePhysicsEngine_screenEdgeCollisions__P22759_mk(s) { -function scene_Camera_isUpdated__P20768(s) { +function scene_Camera_isUpdated__P128649(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33043,7 +33043,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20752_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C128633_VT)) failedCast(r0); r0 = s.arg0.fields["sprite"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33055,7 +33055,7 @@ switch (step) { r0 = s.tmp_0; { step = 4; continue; } case 1: - s.tmp_5 = Sprite_x__P20325_mk(s); + s.tmp_5 = Sprite_x__P128206_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_5.arg0 = r0; s.callLocIdx = 889; s.pc = 5; return s.tmp_5; @@ -33071,7 +33071,7 @@ switch (step) { r0 = s.tmp_3; { step = 3; continue; } case 2: - s.tmp_8 = Sprite_y__P20327_mk(s); + s.tmp_8 = Sprite_y__P128208_mk(s); r0 = s.arg0.fields["sprite"]; s.tmp_8.arg0 = r0; s.callLocIdx = 890; s.pc = 6; return s.tmp_8; @@ -33092,12 +33092,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Camera_isUpdated__P20768.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__P128649.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__P20768_mk(s) { +function scene_Camera_isUpdated__P128649_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_isUpdated__P20768, depth: s.depth + 1, + parent: s, fn: scene_Camera_isUpdated__P128649, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33118,7 +33118,7 @@ function scene_Camera_isUpdated__P20768_mk(s) { -function Sprite_bottom__P20377(s) { +function Sprite_bottom__P128258(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33134,11 +33134,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); - s.tmp_0 = Sprite_top__P20375_mk(s); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); + s.tmp_0 = Sprite_top__P128256_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Sprite_height__P20369_mk(s); + s.tmp_3 = Sprite_height__P128250_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 364; s.pc = 2; return s.tmp_3; case 2: @@ -33153,12 +33153,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_bottom__P20377.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__P128258.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__P20377_mk(s) { +function Sprite_bottom__P128258_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P20377, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P128258, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33172,7 +33172,7 @@ function Sprite_bottom__P20377_mk(s) { -function Sprite_bottom__P20376(s) { +function Sprite_bottom__P128257(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33187,14 +33187,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); - s.tmp_1 = Sprite_top__P20374_mk(s); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); + s.tmp_1 = Sprite_top__P128255_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 362; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_height__P20369_mk(s); + s.tmp_3 = Sprite_height__P128250_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 363; s.pc = 2; return s.tmp_3; case 2: @@ -33204,13 +33204,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_bottom__P20376.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__P20376.isGetter = true; +Sprite_bottom__P128257.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__P128257.isGetter = true; -function Sprite_bottom__P20376_mk(s) { +function Sprite_bottom__P128257_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_bottom__P20376, depth: s.depth + 1, + parent: s, fn: Sprite_bottom__P128257, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33223,7 +33223,7 @@ function Sprite_bottom__P20376_mk(s) { -function Sprite_right__P20373(s) { +function Sprite_right__P128254(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33239,11 +33239,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P20371_mk(s); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P128252_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_1 = r0 = s.arg1; - s.tmp_3 = Sprite_width__P20368_mk(s); + s.tmp_3 = Sprite_width__P128249_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 356; s.pc = 2; return s.tmp_3; case 2: @@ -33258,12 +33258,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_right__P20373.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__P128254.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__P20373_mk(s) { +function Sprite_right__P128254_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P20373, depth: s.depth + 1, + parent: s, fn: Sprite_right__P128254, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33277,7 +33277,7 @@ function Sprite_right__P20373_mk(s) { -function Sprite_right__P20372(s) { +function Sprite_right__P128253(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33292,14 +33292,14 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); - s.tmp_1 = Sprite_left__P20370_mk(s); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); + s.tmp_1 = Sprite_left__P128251_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 354; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; - s.tmp_3 = Sprite_width__P20368_mk(s); + s.tmp_3 = Sprite_width__P128249_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 355; s.pc = 2; return s.tmp_3; case 2: @@ -33309,13 +33309,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_right__P20372.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__P20372.isGetter = true; +Sprite_right__P128253.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__P128253.isGetter = true; -function Sprite_right__P20372_mk(s) { +function Sprite_right__P128253_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_right__P20372, depth: s.depth + 1, + parent: s, fn: Sprite_right__P128253, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33328,7 +33328,7 @@ function Sprite_right__P20372_mk(s) { -function ArcadePhysicsEngine_spriteCollisions__P22758(s) { +function ArcadePhysicsEngine_spriteCollisions__P130639(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33338,18 +33338,18 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ms___33560 = undefined; - s.unnamed168___U1 = undefined; - s.unnamed169___U2 = undefined; - s.sprite___33562 = undefined; - s.overSprites___33569 = undefined; - s.overlapper___33577 = undefined; - s.unnamed170___U6 = undefined; - s.unnamed171___U7 = undefined; - s.thisKind___33583 = undefined; - s.otherKind___33587 = undefined; - s.higher___33600 = undefined; - s.lower___33609 = undefined; + s.ms___141441 = undefined; + s.unnamed720___U1 = undefined; + s.unnamed721___U2 = undefined; + s.sprite___141443 = undefined; + s.overSprites___141450 = undefined; + s.overlapper___141458 = undefined; + s.unnamed722___U6 = undefined; + s.unnamed723___U7 = undefined; + s.thisKind___141464 = undefined; + s.otherKind___141468 = undefined; + s.higher___141481 = undefined; + s.lower___141490 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -33357,7 +33357,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); r0 = pxsim_Array__length(s.arg2); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -33369,20 +33369,20 @@ switch (step) { { step = 21; continue; } case 1: case 2: - s.ms___33560 = (undefined); - s.unnamed168___U1 = (s.arg1); - s.unnamed169___U2 = (0); + s.ms___141441 = (undefined); + s.unnamed720___U1 = (s.arg1); + s.unnamed721___U2 = (0); case 3: - s.tmp_0 = r0 = s.unnamed169___U2; - r0 = pxsim_Array__length(s.unnamed168___U1); + s.tmp_0 = r0 = s.unnamed721___U2; + r0 = pxsim_Array__length(s.unnamed720___U1); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 20; continue; } - r0 = pxsim_Array__getAt(s.unnamed168___U1, s.unnamed169___U2); - s.ms___33560 = (r0); - r0 = s.ms___33560.fields["sprite"]; - s.sprite___33562 = (r0); - r0 = s.sprite___33562.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed720___U1, s.unnamed721___U2); + s.ms___141441 = (r0); + r0 = s.ms___141441.fields["sprite"]; + s.sprite___141443 = (r0); + r0 = s.sprite___141443.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 4610); s.tmp_0 = r0; @@ -33391,27 +33391,27 @@ switch (step) { { step = 19; continue; } case 4: case 5: - s.tmp_2 = sprites_SpriteMap_overlaps__P20420_mk(s); + s.tmp_2 = sprites_SpriteMap_overlaps__P128301_mk(s); r0 = s.arg0.fields["map"]; s.tmp_2.arg0 = r0; - r0 = s.ms___33560.fields["sprite"]; + r0 = s.ms___141441.fields["sprite"]; s.tmp_2.arg1 = r0; s.callLocIdx = 610; s.pc = 22; return s.tmp_2; case 22: r0 = s.retval; - s.overSprites___33569 = (r0); - s.overlapper___33577 = (undefined); - s.unnamed170___U6 = (s.overSprites___33569); - s.unnamed171___U7 = (0); + s.overSprites___141450 = (r0); + s.overlapper___141458 = (undefined); + s.unnamed722___U6 = (s.overSprites___141450); + s.unnamed723___U7 = (0); case 6: - s.tmp_0 = r0 = s.unnamed171___U7; - r0 = pxsim_Array__length(s.unnamed170___U6); + s.tmp_0 = r0 = s.unnamed723___U7; + r0 = pxsim_Array__length(s.unnamed722___U6); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 18; continue; } - r0 = pxsim_Array__getAt(s.unnamed170___U6, s.unnamed171___U7); - s.overlapper___33577 = (r0); - r0 = s.overlapper___33577.fields["flags"]; + r0 = pxsim_Array__getAt(s.unnamed722___U6, s.unnamed723___U7); + s.overlapper___141458 = (r0); + r0 = s.overlapper___141458.fields["flags"]; s.tmp_3 = r0; r0 = (s.tmp_3 & 4610); s.tmp_2 = r0; @@ -33420,13 +33420,13 @@ switch (step) { { step = 17; continue; } case 7: case 8: - r0 = s.sprite___33562.fields["_kind"]; - s.thisKind___33583 = (r0); - r0 = s.overlapper___33577.fields["_kind"]; - s.otherKind___33587 = (r0); - r0 = s.sprite___33562.fields["_kindsOverlappedWith"]; + r0 = s.sprite___141443.fields["_kind"]; + s.thisKind___141464 = (r0); + r0 = s.overlapper___141458.fields["_kind"]; + s.otherKind___141468 = (r0); + r0 = s.sprite___141443.fields["_kindsOverlappedWith"]; s.tmp_2 = r0; - r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___33587, undefined); + r0 = pxsim_Array_.indexOf(s.tmp_2, s.otherKind___141468, undefined); s.tmp_1 = r0; r0 = (s.tmp_1 === -1); s.tmp_0 = r0; @@ -33435,37 +33435,37 @@ switch (step) { { step = 17; continue; } case 9: case 10: - r0 = s.sprite___33562.fields["id"]; + r0 = s.sprite___141443.fields["id"]; s.tmp_4 = r0; - r0 = s.overlapper___33577.fields["id"]; + r0 = s.overlapper___141458.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___33562; + r0 = s.sprite___141443; { step = 12; continue; } case 11: - r0 = s.overlapper___33577; + r0 = s.overlapper___141458; case 12: // jmp value (already in r0) s.tmp_6 = r0; - s.higher___33600 = (s.tmp_6); - r0 = (s.higher___33600 === s.sprite___33562); + s.higher___141481 = (s.tmp_6); + r0 = (s.higher___141481 === s.sprite___141443); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 13; continue; } - r0 = s.overlapper___33577; + r0 = s.overlapper___141458; { step = 14; continue; } case 13: - r0 = s.sprite___33562; + r0 = s.sprite___141443; case 14: // jmp value (already in r0) s.tmp_1 = r0; - s.lower___33609 = (s.tmp_1); - r0 = s.higher___33600.fields["_overlappers"]; + s.lower___141490 = (s.tmp_1); + r0 = s.higher___141481.fields["_overlappers"]; s.tmp_2 = r0; - r0 = s.lower___33609.fields["id"]; + r0 = s.lower___141490.fields["id"]; s.tmp_3 = r0; r0 = pxsim_Array_.indexOf(s.tmp_2, s.tmp_3, undefined); s.tmp_1 = r0; @@ -33473,19 +33473,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__P33629); + r0 = pxsim_pxtcore_mkAction(2, forEach_inline__P141510); s.tmp_4 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___33583); - r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___33587); - r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P33653); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 0, s.thisKind___141464); + r0 = pxsim_pxtrt_stclo(s.tmp_4, 1, s.otherKind___141468); + r0 = pxsim_pxtcore_mkAction(5, ArcadePhysicsEngine_spriteCollisions_inline__P141534); s.tmp_5 = r0; - r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___33600); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___33609); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___33562); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___33577); - r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___33583); - s.tmp_6 = helpers_arrayForEach__P18080_mk(s); - s.tmp_7 = helpers_arrayFilter__P18081_mk(s); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 0, s.higher___141481); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 1, s.lower___141490); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 2, s.sprite___141443); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 3, s.overlapper___141458); + r0 = pxsim_pxtrt_stclo(s.tmp_5, 4, s.thisKind___141464); + s.tmp_6 = helpers_arrayForEach__P125961_mk(s); + s.tmp_7 = helpers_arrayFilter__P125962_mk(s); s.tmp_7.arg0 = s.arg2; s.tmp_7.arg1 = s.tmp_4; s.callLocIdx = 613; s.pc = 24; return s.tmp_7; @@ -33499,28 +33499,28 @@ switch (step) { case 15: case 16: case 17: - r0 = (s.unnamed171___U7 + 1); - s.unnamed171___U7 = (r0); + r0 = (s.unnamed723___U7 + 1); + s.unnamed723___U7 = (r0); { step = 6; continue; } case 18: - s.unnamed170___U6 = (undefined); + s.unnamed722___U6 = (undefined); case 19: - r0 = (s.unnamed169___U2 + 1); - s.unnamed169___U2 = (r0); + r0 = (s.unnamed721___U2 + 1); + s.unnamed721___U2 = (r0); { step = 3; continue; } case 20: - s.unnamed168___U1 = (undefined); + s.unnamed720___U1 = (undefined); case 21: r0 = undefined; return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions__P22758.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__P130639.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__P22758_mk(s) { +function ArcadePhysicsEngine_spriteCollisions__P130639_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P22758, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions__P130639, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33530,18 +33530,18 @@ function ArcadePhysicsEngine_spriteCollisions__P22758_mk(s) { tmp_5: undefined, tmp_6: undefined, tmp_7: undefined, - ms___33560: undefined, - unnamed168___U1: undefined, - unnamed169___U2: undefined, - sprite___33562: undefined, - overSprites___33569: undefined, - overlapper___33577: undefined, - unnamed170___U6: undefined, - unnamed171___U7: undefined, - thisKind___33583: undefined, - otherKind___33587: undefined, - higher___33600: undefined, - lower___33609: undefined, + ms___141441: undefined, + unnamed720___U1: undefined, + unnamed721___U2: undefined, + sprite___141443: undefined, + overSprites___141450: undefined, + overlapper___141458: undefined, + unnamed722___U6: undefined, + unnamed723___U7: undefined, + thisKind___141464: undefined, + otherKind___141468: undefined, + higher___141481: undefined, + lower___141490: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -33551,7 +33551,7 @@ function ArcadePhysicsEngine_spriteCollisions__P22758_mk(s) { -function forEach_inline__P33629(s) { +function forEach_inline__P141510(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33608,12 +33608,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -forEach_inline__P33629.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__P141510.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__P33629_mk(s) { +function forEach_inline__P141510_mk(s) { checkStack(s.depth); return { - parent: s, fn: forEach_inline__P33629, depth: s.depth + 1, + parent: s, fn: forEach_inline__P141510, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33631,7 +33631,7 @@ function forEach_inline__P33629_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P33653(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P141534(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33650,7 +33650,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__P33663); + r0 = pxsim_pxtcore_mkAction(6, ArcadePhysicsEngine_spriteCollisions_inline__P141544); 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]); @@ -33663,12 +33663,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P33653.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__P141534.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__P33653_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P141534_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P33653, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P141534, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33679,7 +33679,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P33653_mk(s) { -function ArcadePhysicsEngine_spriteCollisions_inline__P33663(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P141544(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33755,12 +33755,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_spriteCollisions_inline__P33663.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__P141544.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__P33663_mk(s) { +function ArcadePhysicsEngine_spriteCollisions_inline__P141544_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P33663, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_spriteCollisions_inline__P141544, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -33781,7 +33781,7 @@ function ArcadePhysicsEngine_spriteCollisions_inline__P33663_mk(s) { -function sprites_SpriteMap_overlaps__P20420(s) { +function sprites_SpriteMap_overlaps__P128301(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33791,47 +33791,47 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___33697 = undefined; - s.o___33701 = undefined; + s.n___141578 = undefined; + s.o___141582 = 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__C20417_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_neighbors__P20419_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C128298_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_neighbors__P128300_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 487; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.n___33697 = (r0); - r0 = pxsim_pxtcore_mkAction(1, o_inline__P33703); + s.n___141578 = (r0); + r0 = pxsim_pxtcore_mkAction(1, o_inline__P141584); s.tmp_0 = r0; r0 = pxsim_pxtrt_stclo(s.tmp_0, 0, s.arg1); - s.tmp_1 = helpers_arrayFilter__P18081_mk(s); - s.tmp_1.arg0 = s.n___33697; + s.tmp_1 = helpers_arrayFilter__P125962_mk(s); + s.tmp_1.arg0 = s.n___141578; s.tmp_1.arg1 = s.tmp_0; s.callLocIdx = 489; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; - s.o___33701 = (r0); - r0 = s.o___33701; + s.o___141582 = (r0); + r0 = s.o___141582; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_overlaps__P20420.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__P128301.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__P20420_mk(s) { +function sprites_SpriteMap_overlaps__P128301_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_overlaps__P20420, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_overlaps__P128301, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, - n___33697: undefined, - o___33701: undefined, + n___141578: undefined, + o___141582: undefined, arg0: undefined, arg1: undefined, } } @@ -33840,7 +33840,7 @@ function sprites_SpriteMap_overlaps__P20420_mk(s) { -function o_inline__P33703(s) { +function o_inline__P141584(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33854,7 +33854,7 @@ switch (step) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } - s.tmp_0 = Sprite_overlapsWith__P20391_mk(s); + s.tmp_0 = Sprite_overlapsWith__P128272_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.callLocIdx = 488; s.pc = 1; return s.tmp_0; @@ -33863,12 +33863,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -o_inline__P33703.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__P141584.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__P33703_mk(s) { +function o_inline__P141584_mk(s) { checkStack(s.depth); return { - parent: s, fn: o_inline__P33703, depth: s.depth + 1, + parent: s, fn: o_inline__P141584, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -33878,7 +33878,7 @@ function o_inline__P33703_mk(s) { -function sprites_SpriteMap_neighbors__P20419(s) { +function sprites_SpriteMap_neighbors__P128300(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -33888,112 +33888,112 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.n___33968 = undefined; - s.layer___33970 = undefined; + s.n___141849 = undefined; + s.layer___141851 = 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__C20417_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C128298_VT)) failedCast(r0); r0 = pxsim_Array__mk(); - s.n___33968 = (r0); + s.n___141849 = (r0); r0 = s.arg1.fields["layer"]; - s.layer___33970 = (r0); - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22722_mk(s); + s.layer___141851 = (r0); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P130603_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P20370_mk(s); + s.tmp_1 = Sprite_left__P128251_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 475; s.pc = 2; return s.tmp_1; case 2: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P20374_mk(s); + s.tmp_2 = Sprite_top__P128255_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 476; s.pc = 3; return s.tmp_2; case 3: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___33970; - s.tmp_0.arg4 = s.n___33968; + s.tmp_0.arg3 = s.layer___141851; + s.tmp_0.arg4 = s.n___141849; s.callLocIdx = 477; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22722_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P130603_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_left__P20370_mk(s); + s.tmp_1 = Sprite_left__P128251_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 478; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P20376_mk(s); + s.tmp_2 = Sprite_bottom__P128257_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 479; s.pc = 6; return s.tmp_2; case 6: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___33970; - s.tmp_0.arg4 = s.n___33968; + s.tmp_0.arg3 = s.layer___141851; + s.tmp_0.arg4 = s.n___141849; s.callLocIdx = 480; s.pc = 4; return s.tmp_0; case 4: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22722_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P130603_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P20372_mk(s); + s.tmp_1 = Sprite_right__P128253_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 481; s.pc = 8; return s.tmp_1; case 8: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_top__P20374_mk(s); + s.tmp_2 = Sprite_top__P128255_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 482; s.pc = 9; return s.tmp_2; case 9: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___33970; - s.tmp_0.arg4 = s.n___33968; + s.tmp_0.arg3 = s.layer___141851; + s.tmp_0.arg4 = s.n___141849; s.callLocIdx = 483; s.pc = 7; return s.tmp_0; case 7: r0 = s.retval; - s.tmp_0 = sprites_SpriteMap_mergeAtKey__P22722_mk(s); + s.tmp_0 = sprites_SpriteMap_mergeAtKey__P130603_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_1 = Sprite_right__P20372_mk(s); + s.tmp_1 = Sprite_right__P128253_mk(s); s.tmp_1.arg0 = s.arg1; s.callLocIdx = 484; s.pc = 11; return s.tmp_1; case 11: r0 = s.retval; s.tmp_0.arg1 = r0; - s.tmp_2 = Sprite_bottom__P20376_mk(s); + s.tmp_2 = Sprite_bottom__P128257_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 485; s.pc = 12; return s.tmp_2; case 12: r0 = s.retval; s.tmp_0.arg2 = r0; - s.tmp_0.arg3 = s.layer___33970; - s.tmp_0.arg4 = s.n___33968; + s.tmp_0.arg3 = s.layer___141851; + s.tmp_0.arg4 = s.n___141849; s.callLocIdx = 486; s.pc = 10; return s.tmp_0; case 10: r0 = s.retval; - r0 = pxsim_Array_.removeElement(s.n___33968, s.arg1); - r0 = s.n___33968; + r0 = pxsim_Array_.removeElement(s.n___141849, s.arg1); + r0 = s.n___141849; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_neighbors__P20419.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__P128300.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__P20419_mk(s) { +function sprites_SpriteMap_neighbors__P128300_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_neighbors__P20419, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_neighbors__P128300, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - n___33968: undefined, - layer___33970: undefined, + n___141849: undefined, + layer___141851: undefined, arg0: undefined, arg1: undefined, } } @@ -34002,7 +34002,7 @@ function sprites_SpriteMap_neighbors__P20419_mk(s) { -function sprites_SpriteMap_mergeAtKey__P22722(s) { +function sprites_SpriteMap_mergeAtKey__P130603(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34012,11 +34012,11 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___34019 = undefined; - s.bucket___34024 = undefined; - s.sprite___34031 = undefined; - s.unnamed164___U3 = undefined; - s.unnamed165___U4 = undefined; + s.k___141900 = undefined; + s.bucket___141905 = undefined; + s.sprite___141912 = undefined; + s.unnamed716___U3 = undefined; + s.unnamed717___U4 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34026,33 +34026,33 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20417_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P22720_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C128298_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P130601_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 513; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___34019 = (r0); + s.k___141900 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___34019); - s.bucket___34024 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___34024); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___141900); + s.bucket___141905 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___141905); if (!r0) { step = 7; continue; } - s.sprite___34031 = (undefined); - s.unnamed164___U3 = (s.bucket___34024); - s.unnamed165___U4 = (0); + s.sprite___141912 = (undefined); + s.unnamed716___U3 = (s.bucket___141905); + s.unnamed717___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed165___U4; - r0 = pxsim_Array__length(s.unnamed164___U3); + s.tmp_0 = r0 = s.unnamed717___U4; + r0 = pxsim_Array__length(s.unnamed716___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed164___U3, s.unnamed165___U4); - s.sprite___34031 = (r0); - r0 = s.sprite___34031.fields["layer"]; + r0 = pxsim_Array__getAt(s.unnamed716___U3, s.unnamed717___U4); + s.sprite___141912 = (r0); + r0 = s.sprite___141912.fields["layer"]; s.tmp_3 = r0; r0 = (s.tmp_3 & s.arg3); s.tmp_2 = r0; @@ -34061,7 +34061,7 @@ switch (step) { r0 = s.tmp_2; { step = 3; continue; } case 2: - r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___34031, undefined); + r0 = pxsim_Array_.indexOf(s.arg4, s.sprite___141912, undefined); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 3: @@ -34069,26 +34069,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___34031); + r0 = pxsim_Array__push(s.arg4, s.sprite___141912); case 4: case 5: - r0 = (s.unnamed165___U4 + 1); - s.unnamed165___U4 = (r0); + r0 = (s.unnamed717___U4 + 1); + s.unnamed717___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed164___U3 = (undefined); + s.unnamed716___U3 = (undefined); case 7: case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_mergeAtKey__P22722.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__P130603.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__P22722_mk(s) { +function sprites_SpriteMap_mergeAtKey__P130603_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_mergeAtKey__P22722, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_mergeAtKey__P130603, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34096,11 +34096,11 @@ function sprites_SpriteMap_mergeAtKey__P22722_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - k___34019: undefined, - bucket___34024: undefined, - sprite___34031: undefined, - unnamed164___U3: undefined, - unnamed165___U4: undefined, + k___141900: undefined, + bucket___141905: undefined, + sprite___141912: undefined, + unnamed716___U3: undefined, + unnamed717___U4: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34112,7 +34112,7 @@ function sprites_SpriteMap_mergeAtKey__P22722_mk(s) { -function sprites_SpriteMap_key__P22720(s) { +function sprites_SpriteMap_key__P130601(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34122,8 +34122,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.xi___34052 = undefined; - s.yi___34064 = undefined; + s.xi___141933 = undefined; + s.yi___141945 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -34131,8 +34131,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20417_VT)) failedCast(r0); - s.tmp_0 = Math_clamp__P18098_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C128298_VT)) failedCast(r0); + s.tmp_0 = Math_clamp__P125979_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["columnCount"]; s.tmp_0.arg1 = r0; @@ -34143,8 +34143,8 @@ switch (step) { s.callLocIdx = 501; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - s.xi___34052 = (r0); - s.tmp_0 = Math_clamp__P18098_mk(s); + s.xi___141933 = (r0); + s.tmp_0 = Math_clamp__P125979_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg0.fields["rowCount"]; s.tmp_0.arg1 = r0; @@ -34155,28 +34155,28 @@ switch (step) { s.callLocIdx = 502; s.pc = 2; return s.tmp_0; case 2: r0 = s.retval; - s.yi___34064 = (r0); - s.tmp_0 = r0 = s.xi___34052; + s.yi___141945 = (r0); + s.tmp_0 = r0 = s.xi___141933; r0 = s.arg0.fields["columnCount"]; s.tmp_2 = r0; - r0 = (s.yi___34064 * s.tmp_2); + r0 = (s.yi___141945 * s.tmp_2); s.tmp_1 = r0; r0 = (s.tmp_0 + s.tmp_1); return leave(s, r0) default: oops() } } } -sprites_SpriteMap_key__P22720.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__P130601.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__P22720_mk(s) { +function sprites_SpriteMap_key__P130601_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_key__P22720, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_key__P130601, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - xi___34052: undefined, - yi___34064: undefined, + xi___141933: undefined, + yi___141945: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -34186,7 +34186,7 @@ function sprites_SpriteMap_key__P22720_mk(s) { -function Sprite_overlapsWith__P20391(s) { +function Sprite_overlapsWith__P128272(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34196,15 +34196,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.A___33781 = undefined; - s.B___33782 = undefined; + s.A___141662 = undefined; + s.B___141663 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = (s.arg1 == s.arg0); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -34250,7 +34250,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_8); if (!r0) { step = 9; continue; } - s.tmp_9 = game_Hitbox_overlapsWith__P20194_mk(s); + s.tmp_9 = game_Hitbox_overlapsWith__P128075_mk(s); r0 = s.arg1.fields["_hitbox"]; s.tmp_9.arg0 = r0; r0 = s.arg0.fields["_hitbox"]; @@ -34261,7 +34261,7 @@ switch (step) { { step = 27; continue; } case 9: case 10: - s.tmp_13 = game_Hitbox_overlapsWith__P20194_mk(s); + s.tmp_13 = game_Hitbox_overlapsWith__P128075_mk(s); r0 = s.arg1.fields["_hitbox"]; s.tmp_13.arg0 = r0; r0 = s.arg0.fields["_hitbox"]; @@ -34280,7 +34280,7 @@ switch (step) { { step = 27; continue; } case 11: case 12: - s.tmp_17 = Sprite_isScaled__P22713_mk(s); + s.tmp_17 = Sprite_isScaled__P130594_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 385; s.pc = 30; return s.tmp_17; case 30: @@ -34295,7 +34295,7 @@ switch (step) { r0 = s.tmp_14; { step = 14; continue; } case 13: - s.tmp_20 = Sprite_isScaled__P22713_mk(s); + s.tmp_20 = Sprite_isScaled__P130594_mk(s); s.tmp_20.arg0 = s.arg1; s.callLocIdx = 386; s.pc = 31; return s.tmp_20; case 31: @@ -34313,13 +34313,13 @@ switch (step) { s.tmp_22 = r0; r0 = s.arg0.fields["_image"]; s.tmp_23 = r0; - s.tmp_26 = Sprite_left__P20370_mk(s); + s.tmp_26 = Sprite_left__P128251_mk(s); s.tmp_26.arg0 = s.arg0; s.callLocIdx = 387; s.pc = 32; return s.tmp_26; case 32: r0 = s.retval; s.tmp_25 = r0; - s.tmp_28 = Sprite_left__P20370_mk(s); + s.tmp_28 = Sprite_left__P128251_mk(s); s.tmp_28.arg0 = s.arg1; s.callLocIdx = 388; s.pc = 33; return s.tmp_28; case 33: @@ -34327,13 +34327,13 @@ switch (step) { s.tmp_27 = r0; r0 = (s.tmp_25 - s.tmp_27); s.tmp_24 = r0; - s.tmp_31 = Sprite_top__P20374_mk(s); + s.tmp_31 = Sprite_top__P128255_mk(s); s.tmp_31.arg0 = s.arg0; s.callLocIdx = 389; s.pc = 34; return s.tmp_31; case 34: r0 = s.retval; s.tmp_30 = r0; - s.tmp_33 = Sprite_top__P20374_mk(s); + s.tmp_33 = Sprite_top__P128255_mk(s); s.tmp_33.arg0 = s.arg1; s.callLocIdx = 390; s.pc = 35; return s.tmp_33; case 35: @@ -34345,7 +34345,7 @@ switch (step) { { step = 27; continue; } { step = 26; continue; } case 15: - s.tmp_36 = Sprite_sx__P20341_mk(s); + s.tmp_36 = Sprite_sx__P128222_mk(s); s.tmp_36.arg0 = s.arg0; s.callLocIdx = 391; s.pc = 36; return s.tmp_36; case 36: @@ -34358,7 +34358,7 @@ switch (step) { r0 = s.tmp_34; { step = 17; continue; } case 16: - s.tmp_38 = Sprite_sy__P20343_mk(s); + s.tmp_38 = Sprite_sy__P128224_mk(s); s.tmp_38.arg0 = s.arg0; s.callLocIdx = 392; s.pc = 37; return s.tmp_38; case 37: @@ -34373,7 +34373,7 @@ switch (step) { r0 = s.tmp_39; { step = 19; continue; } case 18: - s.tmp_41 = Sprite_sx__P20341_mk(s); + s.tmp_41 = Sprite_sx__P128222_mk(s); s.tmp_41.arg0 = s.arg1; s.callLocIdx = 393; s.pc = 38; return s.tmp_41; case 38: @@ -34388,7 +34388,7 @@ switch (step) { r0 = s.tmp_42; { step = 21; continue; } case 20: - s.tmp_44 = Sprite_sy__P20343_mk(s); + s.tmp_44 = Sprite_sy__P128224_mk(s); s.tmp_44.arg0 = s.arg1; s.callLocIdx = 394; s.pc = 39; return s.tmp_44; case 39: @@ -34404,13 +34404,13 @@ switch (step) { { step = 27; continue; } case 22: case 23: - s.tmp_49 = Sprite_sx__P20341_mk(s); + s.tmp_49 = Sprite_sx__P128222_mk(s); s.tmp_49.arg0 = s.arg0; s.callLocIdx = 395; s.pc = 40; return s.tmp_49; case 40: r0 = s.retval; s.tmp_48 = r0; - s.tmp_51 = Sprite_sy__P20343_mk(s); + s.tmp_51 = Sprite_sy__P128224_mk(s); s.tmp_51.arg0 = s.arg0; s.callLocIdx = 396; s.pc = 41; return s.tmp_51; case 41: @@ -34418,13 +34418,13 @@ switch (step) { s.tmp_50 = r0; r0 = (s.tmp_48 * s.tmp_50); s.tmp_47 = r0; - s.tmp_54 = Sprite_sx__P20341_mk(s); + s.tmp_54 = Sprite_sx__P128222_mk(s); s.tmp_54.arg0 = s.arg1; s.callLocIdx = 397; s.pc = 42; return s.tmp_54; case 42: r0 = s.retval; s.tmp_53 = r0; - s.tmp_56 = Sprite_sy__P20343_mk(s); + s.tmp_56 = Sprite_sy__P128224_mk(s); s.tmp_56.arg0 = s.arg1; s.callLocIdx = 398; s.pc = 43; return s.tmp_56; case 43: @@ -34436,97 +34436,97 @@ switch (step) { s.tmp_46 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_46); if (!r0) { step = 24; continue; } - s.A___33781 = (s.arg0); - s.B___33782 = (s.arg1); + s.A___141662 = (s.arg0); + s.B___141663 = (s.arg1); { step = 25; continue; } case 24: - s.A___33781 = (s.arg1); - s.B___33782 = (s.arg0); + s.A___141662 = (s.arg1); + s.B___141663 = (s.arg0); case 25: - s.tmp_0 = helpers_imageBlit__P19924_mk(s); - r0 = s.A___33781.fields["_image"]; + s.tmp_0 = helpers_imageBlit__P127805_mk(s); + r0 = s.A___141662.fields["_image"]; s.tmp_0.arg0 = r0; - s.tmp_3 = Sprite_left__P20370_mk(s); - s.tmp_3.arg0 = s.B___33782; + s.tmp_3 = Sprite_left__P128251_mk(s); + s.tmp_3.arg0 = s.B___141663; s.callLocIdx = 400; s.pc = 45; return s.tmp_3; case 45: r0 = s.retval; s.tmp_2 = r0; - s.tmp_5 = Sprite_left__P20370_mk(s); - s.tmp_5.arg0 = s.A___33781; + s.tmp_5 = Sprite_left__P128251_mk(s); + s.tmp_5.arg0 = s.A___141662; s.callLocIdx = 401; s.pc = 46; return s.tmp_5; case 46: r0 = s.retval; s.tmp_4 = r0; r0 = (s.tmp_2 - s.tmp_4); s.tmp_1 = r0; - s.tmp_7 = Sprite_sx__P20341_mk(s); - s.tmp_7.arg0 = s.A___33781; + s.tmp_7 = Sprite_sx__P128222_mk(s); + s.tmp_7.arg0 = s.A___141662; s.callLocIdx = 402; s.pc = 47; return s.tmp_7; case 47: r0 = s.retval; s.tmp_6 = r0; r0 = (s.tmp_1 / s.tmp_6); s.tmp_0.arg1 = r0; - s.tmp_10 = Sprite_top__P20374_mk(s); - s.tmp_10.arg0 = s.B___33782; + s.tmp_10 = Sprite_top__P128255_mk(s); + s.tmp_10.arg0 = s.B___141663; s.callLocIdx = 403; s.pc = 48; return s.tmp_10; case 48: r0 = s.retval; s.tmp_9 = r0; - s.tmp_12 = Sprite_top__P20374_mk(s); - s.tmp_12.arg0 = s.A___33781; + s.tmp_12 = Sprite_top__P128255_mk(s); + s.tmp_12.arg0 = s.A___141662; s.callLocIdx = 404; s.pc = 49; return s.tmp_12; case 49: r0 = s.retval; s.tmp_11 = r0; r0 = (s.tmp_9 - s.tmp_11); s.tmp_8 = r0; - s.tmp_14 = Sprite_sy__P20343_mk(s); - s.tmp_14.arg0 = s.A___33781; + s.tmp_14 = Sprite_sy__P128224_mk(s); + s.tmp_14.arg0 = s.A___141662; s.callLocIdx = 405; s.pc = 50; return s.tmp_14; case 50: r0 = s.retval; s.tmp_13 = r0; r0 = (s.tmp_8 / s.tmp_13); s.tmp_0.arg2 = r0; - s.tmp_16 = Sprite_width__P20368_mk(s); - s.tmp_16.arg0 = s.B___33782; + s.tmp_16 = Sprite_width__P128249_mk(s); + s.tmp_16.arg0 = s.B___141663; s.callLocIdx = 406; s.pc = 51; return s.tmp_16; case 51: r0 = s.retval; s.tmp_15 = r0; - s.tmp_18 = Sprite_sx__P20341_mk(s); - s.tmp_18.arg0 = s.A___33781; + s.tmp_18 = Sprite_sx__P128222_mk(s); + s.tmp_18.arg0 = s.A___141662; s.callLocIdx = 407; s.pc = 52; return s.tmp_18; case 52: r0 = s.retval; s.tmp_17 = r0; r0 = (s.tmp_15 / s.tmp_17); s.tmp_0.arg3 = r0; - s.tmp_20 = Sprite_height__P20369_mk(s); - s.tmp_20.arg0 = s.B___33782; + s.tmp_20 = Sprite_height__P128250_mk(s); + s.tmp_20.arg0 = s.B___141663; s.callLocIdx = 408; s.pc = 53; return s.tmp_20; case 53: r0 = s.retval; s.tmp_19 = r0; - s.tmp_22 = Sprite_sy__P20343_mk(s); - s.tmp_22.arg0 = s.A___33781; + s.tmp_22 = Sprite_sy__P128224_mk(s); + s.tmp_22.arg0 = s.A___141662; s.callLocIdx = 409; s.pc = 54; return s.tmp_22; case 54: r0 = s.retval; s.tmp_21 = r0; r0 = (s.tmp_19 / s.tmp_21); s.tmp_0.arg4 = r0; - r0 = s.B___33782.fields["_image"]; + r0 = s.B___141663.fields["_image"]; s.tmp_0.arg5 = r0; s.tmp_0.arg6 = 0; s.tmp_0.arg7 = 0; - r0 = s.B___33782.fields["_image"]; + r0 = s.B___141663.fields["_image"]; s.tmp_23 = r0; r0 = pxsim_ImageMethods.width(s.tmp_23); s.tmp_0.arg8 = r0; - r0 = s.B___33782.fields["_image"]; + r0 = s.B___141663.fields["_image"]; s.tmp_24 = r0; r0 = pxsim_ImageMethods.height(s.tmp_24); s.tmp_0.arg9 = r0; @@ -34542,12 +34542,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_overlapsWith__P20391.info = {"start":20623,"length":1735,"line":689,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} +Sprite_overlapsWith__P128272.info = {"start":20623,"length":1735,"line":689,"column":4,"endLine":738,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"overlapsWith","argumentNames":["this","other"]} -function Sprite_overlapsWith__P20391_mk(s) { +function Sprite_overlapsWith__P128272_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_overlapsWith__P20391, depth: s.depth + 1, + parent: s, fn: Sprite_overlapsWith__P128272, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34606,8 +34606,8 @@ function Sprite_overlapsWith__P20391_mk(s) { tmp_54: undefined, tmp_55: undefined, tmp_56: undefined, - A___33781: undefined, - B___33782: undefined, + A___141662: undefined, + B___141663: undefined, arg0: undefined, arg1: undefined, } } @@ -34616,7 +34616,7 @@ function Sprite_overlapsWith__P20391_mk(s) { -function Sprite_isScaled__P22713(s) { +function Sprite_isScaled__P130594(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34631,7 +34631,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = s.arg0.fields["_sx"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== 256); @@ -34651,12 +34651,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isScaled__P22713.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__P130594.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__P22713_mk(s) { +function Sprite_isScaled__P130594_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isScaled__P22713, depth: s.depth + 1, + parent: s, fn: Sprite_isScaled__P130594, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34669,7 +34669,7 @@ function Sprite_isScaled__P22713_mk(s) { -function game_Hitbox_overlapsWith__P20194(s) { +function game_Hitbox_overlapsWith__P128075(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34685,26 +34685,26 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20179_VT)) failedCast(r0); - s.tmp_0 = game_Hitbox_updateIfInvalid__P20193_mk(s); + if (!checkSubtype(r0, game_Hitbox__C128060_VT)) failedCast(r0); + s.tmp_0 = game_Hitbox_updateIfInvalid__P128074_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 249; s.pc = 18; return s.tmp_0; case 18: r0 = s.retval; - s.tmp_0 = game_Hitbox_updateIfInvalid__P20193_mk(s); + s.tmp_0 = game_Hitbox_updateIfInvalid__P128074_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 250; s.pc = 19; return s.tmp_0; case 19: r0 = s.retval; - s.tmp_1 = game_Hitbox_contains__P20192_mk(s); + s.tmp_1 = game_Hitbox_contains__P128073_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = game_Hitbox_left__P20187_mk(s); + s.tmp_2 = game_Hitbox_left__P128068_mk(s); s.tmp_2.arg0 = s.arg1; s.callLocIdx = 251; s.pc = 21; return s.tmp_2; case 21: r0 = s.retval; s.tmp_1.arg1 = r0; - s.tmp_3 = game_Hitbox_top__P20188_mk(s); + s.tmp_3 = game_Hitbox_top__P128069_mk(s); s.tmp_3.arg0 = s.arg1; s.callLocIdx = 252; s.pc = 22; return s.tmp_3; case 22: @@ -34720,15 +34720,15 @@ switch (step) { { step = 17; continue; } case 1: case 2: - s.tmp_5 = game_Hitbox_contains__P20192_mk(s); + s.tmp_5 = game_Hitbox_contains__P128073_mk(s); s.tmp_5.arg0 = s.arg0; - s.tmp_6 = game_Hitbox_left__P20187_mk(s); + s.tmp_6 = game_Hitbox_left__P128068_mk(s); s.tmp_6.arg0 = s.arg1; s.callLocIdx = 254; s.pc = 24; return s.tmp_6; case 24: r0 = s.retval; s.tmp_5.arg1 = r0; - s.tmp_7 = game_Hitbox_bottom__P20190_mk(s); + s.tmp_7 = game_Hitbox_bottom__P128071_mk(s); s.tmp_7.arg0 = s.arg1; s.callLocIdx = 255; s.pc = 25; return s.tmp_7; case 25: @@ -34744,15 +34744,15 @@ switch (step) { { step = 17; continue; } case 3: case 4: - s.tmp_9 = game_Hitbox_contains__P20192_mk(s); + s.tmp_9 = game_Hitbox_contains__P128073_mk(s); s.tmp_9.arg0 = s.arg0; - s.tmp_10 = game_Hitbox_right__P20189_mk(s); + s.tmp_10 = game_Hitbox_right__P128070_mk(s); s.tmp_10.arg0 = s.arg1; s.callLocIdx = 257; s.pc = 27; return s.tmp_10; case 27: r0 = s.retval; s.tmp_9.arg1 = r0; - s.tmp_11 = game_Hitbox_top__P20188_mk(s); + s.tmp_11 = game_Hitbox_top__P128069_mk(s); s.tmp_11.arg0 = s.arg1; s.callLocIdx = 258; s.pc = 28; return s.tmp_11; case 28: @@ -34768,15 +34768,15 @@ switch (step) { { step = 17; continue; } case 5: case 6: - s.tmp_13 = game_Hitbox_contains__P20192_mk(s); + s.tmp_13 = game_Hitbox_contains__P128073_mk(s); s.tmp_13.arg0 = s.arg0; - s.tmp_14 = game_Hitbox_right__P20189_mk(s); + s.tmp_14 = game_Hitbox_right__P128070_mk(s); s.tmp_14.arg0 = s.arg1; s.callLocIdx = 260; s.pc = 30; return s.tmp_14; case 30: r0 = s.retval; s.tmp_13.arg1 = r0; - s.tmp_15 = game_Hitbox_bottom__P20190_mk(s); + s.tmp_15 = game_Hitbox_bottom__P128071_mk(s); s.tmp_15.arg0 = s.arg1; s.callLocIdx = 261; s.pc = 31; return s.tmp_15; case 31: @@ -34792,15 +34792,15 @@ switch (step) { { step = 17; continue; } case 7: case 8: - s.tmp_17 = game_Hitbox_contains__P20192_mk(s); + s.tmp_17 = game_Hitbox_contains__P128073_mk(s); s.tmp_17.arg0 = s.arg1; - s.tmp_18 = game_Hitbox_left__P20187_mk(s); + s.tmp_18 = game_Hitbox_left__P128068_mk(s); s.tmp_18.arg0 = s.arg0; s.callLocIdx = 263; s.pc = 33; return s.tmp_18; case 33: r0 = s.retval; s.tmp_17.arg1 = r0; - s.tmp_19 = game_Hitbox_top__P20188_mk(s); + s.tmp_19 = game_Hitbox_top__P128069_mk(s); s.tmp_19.arg0 = s.arg0; s.callLocIdx = 264; s.pc = 34; return s.tmp_19; case 34: @@ -34816,15 +34816,15 @@ switch (step) { { step = 17; continue; } case 9: case 10: - s.tmp_21 = game_Hitbox_contains__P20192_mk(s); + s.tmp_21 = game_Hitbox_contains__P128073_mk(s); s.tmp_21.arg0 = s.arg1; - s.tmp_22 = game_Hitbox_left__P20187_mk(s); + s.tmp_22 = game_Hitbox_left__P128068_mk(s); s.tmp_22.arg0 = s.arg0; s.callLocIdx = 266; s.pc = 36; return s.tmp_22; case 36: r0 = s.retval; s.tmp_21.arg1 = r0; - s.tmp_23 = game_Hitbox_bottom__P20190_mk(s); + s.tmp_23 = game_Hitbox_bottom__P128071_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 267; s.pc = 37; return s.tmp_23; case 37: @@ -34840,15 +34840,15 @@ switch (step) { { step = 17; continue; } case 11: case 12: - s.tmp_25 = game_Hitbox_contains__P20192_mk(s); + s.tmp_25 = game_Hitbox_contains__P128073_mk(s); s.tmp_25.arg0 = s.arg1; - s.tmp_26 = game_Hitbox_right__P20189_mk(s); + s.tmp_26 = game_Hitbox_right__P128070_mk(s); s.tmp_26.arg0 = s.arg0; s.callLocIdx = 269; s.pc = 39; return s.tmp_26; case 39: r0 = s.retval; s.tmp_25.arg1 = r0; - s.tmp_27 = game_Hitbox_top__P20188_mk(s); + s.tmp_27 = game_Hitbox_top__P128069_mk(s); s.tmp_27.arg0 = s.arg0; s.callLocIdx = 270; s.pc = 40; return s.tmp_27; case 40: @@ -34864,15 +34864,15 @@ switch (step) { { step = 17; continue; } case 13: case 14: - s.tmp_29 = game_Hitbox_contains__P20192_mk(s); + s.tmp_29 = game_Hitbox_contains__P128073_mk(s); s.tmp_29.arg0 = s.arg1; - s.tmp_30 = game_Hitbox_right__P20189_mk(s); + s.tmp_30 = game_Hitbox_right__P128070_mk(s); s.tmp_30.arg0 = s.arg0; s.callLocIdx = 272; s.pc = 42; return s.tmp_30; case 42: r0 = s.retval; s.tmp_29.arg1 = r0; - s.tmp_31 = game_Hitbox_bottom__P20190_mk(s); + s.tmp_31 = game_Hitbox_bottom__P128071_mk(s); s.tmp_31.arg0 = s.arg0; s.callLocIdx = 273; s.pc = 43; return s.tmp_31; case 43: @@ -34893,12 +34893,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_overlapsWith__P20194.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__P128075.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__P20194_mk(s) { +function game_Hitbox_overlapsWith__P128075_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_overlapsWith__P20194, depth: s.depth + 1, + parent: s, fn: game_Hitbox_overlapsWith__P128075, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -34940,7 +34940,7 @@ function game_Hitbox_overlapsWith__P20194_mk(s) { -function game_Hitbox_contains__P20192(s) { +function game_Hitbox_contains__P128073(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -34957,9 +34957,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, game_Hitbox__C20179_VT)) failedCast(r0); + if (!checkSubtype(r0, game_Hitbox__C128060_VT)) failedCast(r0); s.tmp_1 = r0 = s.arg1; - s.tmp_3 = game_Hitbox_left__P20187_mk(s); + s.tmp_3 = game_Hitbox_left__P128068_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 229; s.pc = 7; return s.tmp_3; case 7: @@ -34973,7 +34973,7 @@ switch (step) { { step = 2; continue; } case 1: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = game_Hitbox_right__P20189_mk(s); + s.tmp_6 = game_Hitbox_right__P128070_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 230; s.pc = 8; return s.tmp_6; case 8: @@ -34989,7 +34989,7 @@ switch (step) { { step = 4; continue; } case 3: s.tmp_8 = r0 = s.arg2; - s.tmp_10 = game_Hitbox_top__P20188_mk(s); + s.tmp_10 = game_Hitbox_top__P128069_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 231; s.pc = 9; return s.tmp_10; case 9: @@ -35005,7 +35005,7 @@ switch (step) { { step = 6; continue; } case 5: s.tmp_12 = r0 = s.arg2; - s.tmp_14 = game_Hitbox_bottom__P20190_mk(s); + s.tmp_14 = game_Hitbox_bottom__P128071_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 232; s.pc = 10; return s.tmp_14; case 10: @@ -35019,12 +35019,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -game_Hitbox_contains__P20192.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__P128073.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__P20192_mk(s) { +function game_Hitbox_contains__P128073_mk(s) { checkStack(s.depth); return { - parent: s, fn: game_Hitbox_contains__P20192, depth: s.depth + 1, + parent: s, fn: game_Hitbox_contains__P128073, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35051,7 +35051,7 @@ function game_Hitbox_contains__P20192_mk(s) { -function helpers_imageBlit__P19924(s) { +function helpers_imageBlit__P127805(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35076,7 +35076,7 @@ switch (step) { s.arg11 = (s.lambdaArgs[11]); s.lambdaArgs = null; } - s.tmp_0 = r0 = globals._blitArgs___22542; + s.tmp_0 = r0 = globals._blitArgs___130423; r0 = pxsim_numops_toBool(s.tmp_0); if (!r0) { step = 1; continue; } r0 = s.tmp_0; @@ -35086,36 +35086,36 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_1 = r0; - globals._blitArgs___22542 = (s.tmp_1); - s.tmp_0 = r0 = globals._blitArgs___22542; + globals._blitArgs___130423 = (s.tmp_1); + s.tmp_0 = r0 = globals._blitArgs___130423; 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___22542; + s.tmp_0 = r0 = globals._blitArgs___130423; 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___22542; + s.tmp_0 = r0 = globals._blitArgs___130423; 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___22542; + s.tmp_0 = r0 = globals._blitArgs___130423; 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___22542; + s.tmp_0 = r0 = globals._blitArgs___130423; 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___22542; + s.tmp_0 = r0 = globals._blitArgs___130423; 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___22542; + s.tmp_0 = r0 = globals._blitArgs___130423; 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___22542; + s.tmp_0 = r0 = globals._blitArgs___130423; r0 = (s.arg9 | 0); s.tmp_1 = r0; r0 = pxsim_Array_.setAt(s.tmp_0, 7, s.tmp_1); @@ -35128,7 +35128,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___22542, 8, s.tmp_0); + r0 = pxsim_Array_.setAt(globals._blitArgs___130423, 8, s.tmp_0); r0 = pxsim_numops_toBoolDecr(s.arg11); if (!r0) { step = 5; continue; } r0 = 1; @@ -35138,17 +35138,17 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_0 = r0; - r0 = pxsim_Array_.setAt(globals._blitArgs___22542, 9, s.tmp_0); - r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___22542); + r0 = pxsim_Array_.setAt(globals._blitArgs___130423, 9, s.tmp_0); + r0 = pxsim_ImageMethods._blit(s.arg0, s.arg5, globals._blitArgs___130423); return leave(s, r0) default: oops() } } } -helpers_imageBlit__P19924.info = {"start":4459,"length":642,"line":154,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageBlit","argumentNames":["img","xDst","yDst","wDst","hDst","src","xSrc","ySrc","wSrc","hSrc","transparent","check"]} +helpers_imageBlit__P127805.info = {"start":4459,"length":642,"line":154,"column":4,"endLine":167,"endColumn":5,"fileName":"pxt_modules/screen/image.ts","functionName":"imageBlit","argumentNames":["img","xDst","yDst","wDst","hDst","src","xSrc","ySrc","wSrc","hSrc","transparent","check"]} -function helpers_imageBlit__P19924_mk(s) { +function helpers_imageBlit__P127805_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_imageBlit__P19924, depth: s.depth + 1, + parent: s, fn: helpers_imageBlit__P127805, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35170,7 +35170,7 @@ function helpers_imageBlit__P19924_mk(s) { -function ArcadePhysicsEngine_createMovingSprite__P22757(s) { +function ArcadePhysicsEngine_createMovingSprite__P130638(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35180,16 +35180,16 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ovx___34407 = undefined; - s.ovy___34412 = undefined; - s.fx___34439 = undefined; - s.c___34446 = undefined; - s.fy___34489 = undefined; - s.c___34496 = undefined; - s.dx___34535 = undefined; - s.dy___34548 = undefined; - s.xStep___34561 = undefined; - s.yStep___34563 = undefined; + s.ovx___142288 = undefined; + s.ovy___142293 = undefined; + s.fx___142320 = undefined; + s.c___142327 = undefined; + s.fy___142370 = undefined; + s.c___142377 = undefined; + s.dx___142416 = undefined; + s.dy___142429 = undefined; + s.xStep___142442 = undefined; + s.yStep___142444 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35198,23 +35198,23 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P22763_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P130644_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_0.arg1 = r0; s.callLocIdx = 573; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.ovx___34407 = (r0); - s.tmp_0 = ArcadePhysicsEngine_constrain__P22763_mk(s); + s.ovx___142288 = (r0); + s.tmp_0 = ArcadePhysicsEngine_constrain__P130644_mk(s); s.tmp_0.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_0.arg1 = r0; s.callLocIdx = 574; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.ovy___34412 = (r0); + s.ovy___142293 = (r0); r0 = s.arg1.fields["_x"]; s.tmp_0 = r0; r0 = (s.arg1).fields["_lastX"] = (s.tmp_0); @@ -35248,21 +35248,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___34439 = (r0); + s.fx___142320 = (r0); r0 = s.arg1.fields["_vx"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fx___34439); - s.c___34446 = (r0); - r0 = (s.c___34446 < 0); + r0 = (s.tmp_0 - s.fx___142320); + s.c___142327 = (r0); + r0 = (s.c___142327 < 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__P18137_mk(s); + s.tmp_3 = Fx_min__P126018_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fx___34439); + r0 = (s.tmp_4 + s.fx___142320); s.tmp_3.arg1 = r0; s.callLocIdx = 582; s.pc = 27; return s.tmp_3; case 27: @@ -35271,16 +35271,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vx"] = (s.tmp_2); { step = 5; continue; } case 2: - r0 = (s.c___34446 > 0); + r0 = (s.c___142327 > 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__P18138_mk(s); + s.tmp_3 = Fx_max__P126019_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vx"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fx___34439); + r0 = (s.tmp_4 - s.fx___142320); s.tmp_3.arg1 = r0; s.callLocIdx = 584; s.pc = 28; return s.tmp_3; case 28: @@ -35322,21 +35322,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___34489 = (r0); + s.fy___142370 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_0 = r0; - r0 = (s.tmp_0 - s.fy___34489); - s.c___34496 = (r0); - r0 = (s.c___34496 < 0); + r0 = (s.tmp_0 - s.fy___142370); + s.c___142377 = (r0); + r0 = (s.c___142377 < 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__P18137_mk(s); + s.tmp_3 = Fx_min__P126018_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.fy___34489); + r0 = (s.tmp_4 + s.fy___142370); s.tmp_3.arg1 = r0; s.callLocIdx = 592; s.pc = 29; return s.tmp_3; case 29: @@ -35345,16 +35345,16 @@ switch (step) { r0 = (s.tmp_1).fields["_vy"] = (s.tmp_2); { step = 13; continue; } case 10: - r0 = (s.c___34496 > 0); + r0 = (s.c___142377 > 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__P18138_mk(s); + s.tmp_3 = Fx_max__P126019_mk(s); s.tmp_3.arg0 = 0; r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 - s.fy___34489); + r0 = (s.tmp_4 - s.fy___142370); s.tmp_3.arg1 = r0; s.callLocIdx = 594; s.pc = 30; return s.tmp_3; case 30: @@ -35370,7 +35370,7 @@ switch (step) { case 15: case 16: s.tmp_0 = r0 = s.arg1; - s.tmp_2 = ArcadePhysicsEngine_constrain__P22763_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P130644_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vx"]; s.tmp_2.arg1 = r0; @@ -35380,7 +35380,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__P22763_mk(s); + s.tmp_2 = ArcadePhysicsEngine_constrain__P130644_mk(s); s.tmp_2.arg0 = s.arg0; r0 = s.arg1.fields["_vy"]; s.tmp_2.arg1 = r0; @@ -35391,7 +35391,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___34407); + r0 = (s.tmp_4 + s.ovx___142288); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -35402,10 +35402,10 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dx___34535 = (r0); + s.dx___142416 = (r0); r0 = s.arg1.fields["_vy"]; s.tmp_4 = r0; - r0 = (s.tmp_4 + s.ovy___34412); + r0 = (s.tmp_4 + s.ovy___142293); s.tmp_3 = r0; r0 = (s.tmp_3 / 256); s.tmp_2 = r0; @@ -35416,12 +35416,12 @@ switch (step) { r0 = (s.tmp_0 * 256); s.tmp_5 = r0; r0 = (s.tmp_5 | 0); - s.dy___34548 = (r0); - s.xStep___34561 = (s.dx___34535); - s.yStep___34563 = (s.dy___34548); + s.dy___142429 = (r0); + s.xStep___142442 = (s.dx___142416); + s.yStep___142444 = (s.dy___142429); case 17: - s.tmp_2 = Fx_abs__P18136_mk(s); - s.tmp_2.arg0 = s.xStep___34561; + s.tmp_2 = Fx_abs__P126017_mk(s); + s.tmp_2.arg0 = s.xStep___142442; s.callLocIdx = 603; s.pc = 33; return s.tmp_2; case 33: r0 = s.retval; @@ -35435,8 +35435,8 @@ switch (step) { r0 = s.tmp_0; { step = 19; continue; } case 18: - s.tmp_5 = Fx_abs__P18136_mk(s); - s.tmp_5.arg0 = s.yStep___34563; + s.tmp_5 = Fx_abs__P126017_mk(s); + s.tmp_5.arg0 = s.yStep___142444; s.callLocIdx = 604; s.pc = 34; return s.tmp_5; case 34: r0 = s.retval; @@ -35449,8 +35449,8 @@ switch (step) { s.tmp_7 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_7); if (!r0) { step = 24; continue; } - s.tmp_10 = Fx_abs__P18136_mk(s); - s.tmp_10.arg0 = s.xStep___34561; + s.tmp_10 = Fx_abs__P126017_mk(s); + s.tmp_10.arg0 = s.xStep___142442; s.callLocIdx = 605; s.pc = 35; return s.tmp_10; case 35: r0 = s.retval; @@ -35461,12 +35461,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___34561, 2); - s.xStep___34561 = (r0); + r0 = pxsim.Math_.idiv(s.xStep___142442, 2); + s.xStep___142442 = (r0); case 20: case 21: - s.tmp_2 = Fx_abs__P18136_mk(s); - s.tmp_2.arg0 = s.yStep___34563; + s.tmp_2 = Fx_abs__P126017_mk(s); + s.tmp_2.arg0 = s.yStep___142444; s.callLocIdx = 607; s.pc = 36; return s.tmp_2; case 36: r0 = s.retval; @@ -35477,25 +35477,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___34563, 2); - s.yStep___34563 = (r0); + r0 = pxsim.Math_.idiv(s.yStep___142444, 2); + s.yStep___142444 = (r0); case 22: case 23: { step = 17; continue; } case 24: - r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C20496_VT); + r0 = pxsim_pxtcore_mkClassInstance(MovingSprite__C128377_VT); s.tmp_0 = r0; - s.tmp_1 = MovingSprite_constructor__P20497_mk(s); + s.tmp_1 = MovingSprite_constructor__P128378_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___34535; - s.tmp_1.arg5 = s.dy___34548; - s.tmp_1.arg6 = s.xStep___34561; - s.tmp_1.arg7 = s.yStep___34563; + s.tmp_1.arg4 = s.dx___142416; + s.tmp_1.arg5 = s.dy___142429; + s.tmp_1.arg6 = s.xStep___142442; + s.tmp_1.arg7 = s.yStep___142444; s.callLocIdx = 609; s.pc = 37; return s.tmp_1; case 37: r0 = s.retval; @@ -35503,12 +35503,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_createMovingSprite__P22757.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__P130638.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__P22757_mk(s) { +function ArcadePhysicsEngine_createMovingSprite__P130638_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P22757, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_createMovingSprite__P130638, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35522,16 +35522,16 @@ function ArcadePhysicsEngine_createMovingSprite__P22757_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - ovx___34407: undefined, - ovy___34412: undefined, - fx___34439: undefined, - c___34446: undefined, - fy___34489: undefined, - c___34496: undefined, - dx___34535: undefined, - dy___34548: undefined, - xStep___34561: undefined, - yStep___34563: undefined, + ovx___142288: undefined, + ovy___142293: undefined, + fx___142320: undefined, + c___142327: undefined, + fy___142370: undefined, + c___142377: undefined, + dx___142416: undefined, + dy___142429: undefined, + xStep___142442: undefined, + yStep___142444: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35542,7 +35542,7 @@ function ArcadePhysicsEngine_createMovingSprite__P22757_mk(s) { -function ArcadePhysicsEngine_constrain__P22763(s) { +function ArcadePhysicsEngine_constrain__P130644(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35558,9 +35558,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); - s.tmp_0 = Fx_max__P18138_mk(s); - s.tmp_1 = Fx_min__P18137_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); + s.tmp_0 = Fx_max__P126019_mk(s); + s.tmp_1 = Fx_min__P126018_mk(s); r0 = s.arg0.fields["maxVelocity"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -35576,12 +35576,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_constrain__P22763.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__P130644.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__P22763_mk(s) { +function ArcadePhysicsEngine_constrain__P130644_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_constrain__P22763, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_constrain__P130644, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35593,7 +35593,7 @@ function ArcadePhysicsEngine_constrain__P22763_mk(s) { -function Fx_compare__P18135(s) { +function Fx_compare__P126016(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35612,12 +35612,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_compare__P18135.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__P126016.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__P18135_mk(s) { +function Fx_compare__P126016_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_compare__P18135, depth: s.depth + 1, + parent: s, fn: Fx_compare__P126016, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -35627,7 +35627,7 @@ function Fx_compare__P18135_mk(s) { -function sprites_SpriteMap_insertAABB__P20424(s) { +function sprites_SpriteMap_insertAABB__P128305(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35637,32 +35637,32 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.left___34227 = undefined; - s.top___34230 = undefined; - s.xn___34233 = undefined; - s.yn___34244 = undefined; - s.x___34255 = undefined; - s.y___34260 = undefined; + s.left___142108 = undefined; + s.top___142111 = undefined; + s.xn___142114 = undefined; + s.yn___142125 = undefined; + s.x___142136 = undefined; + s.y___142141 = 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__C20417_VT)) failedCast(r0); - s.tmp_0 = Sprite_left__P20370_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C128298_VT)) failedCast(r0); + s.tmp_0 = Sprite_left__P128251_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 504; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.left___34227 = (r0); - s.tmp_0 = Sprite_top__P20374_mk(s); + s.left___142108 = (r0); + s.tmp_0 = Sprite_top__P128255_mk(s); s.tmp_0.arg0 = s.arg1; s.callLocIdx = 505; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.top___34230 = (r0); - s.tmp_3 = Sprite_width__P20368_mk(s); + s.top___142111 = (r0); + s.tmp_3 = Sprite_width__P128249_mk(s); s.tmp_3.arg0 = s.arg1; s.callLocIdx = 506; s.pc = 7; return s.tmp_3; case 7: @@ -35677,8 +35677,8 @@ switch (step) { r0 = s.arg0.fields["cellWidth"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.xn___34233 = (r0); - s.tmp_3 = Sprite_height__P20369_mk(s); + s.xn___142114 = (r0); + s.tmp_3 = Sprite_height__P128250_mk(s); s.tmp_3.arg0 = s.arg1; s.callLocIdx = 507; s.pc = 8; return s.tmp_3; case 8: @@ -35693,24 +35693,24 @@ switch (step) { r0 = s.arg0.fields["cellHeight"]; s.tmp_5 = r0; r0 = pxsim.Math_.idiv(s.tmp_0, s.tmp_5); - s.yn___34244 = (r0); - s.x___34255 = (0); + s.yn___142125 = (r0); + s.x___142136 = (0); case 1: - r0 = (s.x___34255 <= s.xn___34233); + r0 = (s.x___142136 <= s.xn___142114); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.y___34260 = (0); + s.y___142141 = (0); case 2: - r0 = (s.y___34260 <= s.yn___34244); + r0 = (s.y___142141 <= s.yn___142125); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 3; continue; } - s.tmp_1 = sprites_SpriteMap_insertAtKey__P22721_mk(s); + s.tmp_1 = sprites_SpriteMap_insertAtKey__P130602_mk(s); s.tmp_1.arg0 = s.arg0; - s.tmp_2 = r0 = s.left___34227; - s.tmp_4 = Math_min__P18102_mk(s); - s.tmp_5 = Sprite_width__P20368_mk(s); + s.tmp_2 = r0 = s.left___142108; + s.tmp_4 = Math_min__P125983_mk(s); + s.tmp_5 = Sprite_width__P128249_mk(s); s.tmp_5.arg0 = s.arg1; s.callLocIdx = 508; s.pc = 11; return s.tmp_5; case 11: @@ -35718,7 +35718,7 @@ switch (step) { s.tmp_4.arg0 = r0; r0 = s.arg0.fields["cellWidth"]; s.tmp_6 = r0; - r0 = (s.x___34255 * s.tmp_6); + r0 = (s.x___142136 * s.tmp_6); s.tmp_4.arg1 = r0; s.callLocIdx = 509; s.pc = 10; return s.tmp_4; case 10: @@ -35726,9 +35726,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___34230; - s.tmp_9 = Math_min__P18102_mk(s); - s.tmp_10 = Sprite_height__P20369_mk(s); + s.tmp_7 = r0 = s.top___142111; + s.tmp_9 = Math_min__P125983_mk(s); + s.tmp_10 = Sprite_height__P128250_mk(s); s.tmp_10.arg0 = s.arg1; s.callLocIdx = 510; s.pc = 13; return s.tmp_10; case 13: @@ -35736,7 +35736,7 @@ switch (step) { s.tmp_9.arg0 = r0; r0 = s.arg0.fields["cellHeight"]; s.tmp_11 = r0; - r0 = (s.y___34260 * s.tmp_11); + r0 = (s.y___142141 * s.tmp_11); s.tmp_9.arg1 = r0; s.callLocIdx = 511; s.pc = 12; return s.tmp_9; case 12: @@ -35748,24 +35748,24 @@ switch (step) { s.callLocIdx = 512; s.pc = 9; return s.tmp_1; case 9: r0 = s.retval; - r0 = (s.y___34260 + 1); - s.y___34260 = (r0); + r0 = (s.y___142141 + 1); + s.y___142141 = (r0); { step = 2; continue; } case 3: - r0 = (s.x___34255 + 1); - s.x___34255 = (r0); + r0 = (s.x___142136 + 1); + s.x___142136 = (r0); { step = 1; continue; } case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAABB__P20424.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__P128305.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__P20424_mk(s) { +function sprites_SpriteMap_insertAABB__P128305_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAABB__P20424, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAABB__P128305, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35779,12 +35779,12 @@ function sprites_SpriteMap_insertAABB__P20424_mk(s) { tmp_9: undefined, tmp_10: undefined, tmp_11: undefined, - left___34227: undefined, - top___34230: undefined, - xn___34233: undefined, - yn___34244: undefined, - x___34255: undefined, - y___34260: undefined, + left___142108: undefined, + top___142111: undefined, + xn___142114: undefined, + yn___142125: undefined, + x___142136: undefined, + y___142141: undefined, arg0: undefined, arg1: undefined, } } @@ -35793,7 +35793,7 @@ function sprites_SpriteMap_insertAABB__P20424_mk(s) { -function sprites_SpriteMap_insertAtKey__P22721(s) { +function sprites_SpriteMap_insertAtKey__P130602(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35803,8 +35803,8 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.k___34295 = undefined; - s.bucket___34300 = undefined; + s.k___142176 = undefined; + s.bucket___142181 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -35813,20 +35813,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20417_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_key__P22720_mk(s); + if (!checkSubtype(r0, sprites_SpriteMap__C128298_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_key__P130601_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; s.callLocIdx = 503; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; - s.k___34295 = (r0); + s.k___142176 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___34295); - s.bucket___34300 = (r0); - r0 = pxsim_numops_toBoolDecr(s.bucket___34300); + r0 = pxsim_Array__getAt(s.tmp_0, s.k___142176); + s.bucket___142181 = (r0); + r0 = pxsim_numops_toBoolDecr(s.bucket___142181); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); s.tmp_0 = r0; @@ -35834,40 +35834,40 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["buckets"]; s.tmp_2 = r0; - s.tmp_3 = r0 = s.k___34295; + s.tmp_3 = r0 = s.k___142176; r0 = pxsim_Array__mk(); s.tmp_4 = r0; r0 = pxsim_Array_.setAt(s.tmp_2, s.tmp_3, s.tmp_4); - s.bucket___34300 = (s.tmp_4); + s.bucket___142181 = (s.tmp_4); case 1: case 2: - r0 = pxsim_Array_.indexOf(s.bucket___34300, s.arg3, undefined); + r0 = pxsim_Array_.indexOf(s.bucket___142181, 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___34300, s.arg3); + r0 = pxsim_Array__push(s.bucket___142181, s.arg3); case 3: case 4: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_insertAtKey__P22721.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__P130602.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__P22721_mk(s) { +function sprites_SpriteMap_insertAtKey__P130602_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_insertAtKey__P22721, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_insertAtKey__P130602, 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___34295: undefined, - bucket___34300: undefined, + k___142176: undefined, + bucket___142181: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -35878,7 +35878,7 @@ function sprites_SpriteMap_insertAtKey__P22721_mk(s) { -function sprites_SpriteMap_clear__P20423(s) { +function sprites_SpriteMap_clear__P128304(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35893,7 +35893,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20417_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_SpriteMap__C128298_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -35902,12 +35902,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_SpriteMap_clear__P20423.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__P128304.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__P20423_mk(s) { +function sprites_SpriteMap_clear__P128304_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_clear__P20423, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_clear__P128304, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -35918,7 +35918,7 @@ function sprites_SpriteMap_clear__P20423_mk(s) { -function sprites_SpriteMap_resizeBuckets__P20422(s) { +function sprites_SpriteMap_resizeBuckets__P128303(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -35928,115 +35928,115 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.maxWidth___34330 = undefined; - s.maxHeight___34331 = undefined; - s.sprite___34333 = undefined; - s.unnamed162___U3 = undefined; - s.unnamed163___U4 = undefined; - s.tMap___34349 = undefined; - s.areaWidth___34353 = undefined; - s.areaHeight___34360 = undefined; + s.maxWidth___142211 = undefined; + s.maxHeight___142212 = undefined; + s.sprite___142214 = undefined; + s.unnamed714___U3 = undefined; + s.unnamed715___U4 = undefined; + s.tMap___142230 = undefined; + s.areaWidth___142234 = undefined; + s.areaHeight___142241 = 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__C20417_VT)) failedCast(r0); - s.maxWidth___34330 = (0); - s.maxHeight___34331 = (0); - s.sprite___34333 = (undefined); - s.unnamed162___U3 = (s.arg1); - s.unnamed163___U4 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C128298_VT)) failedCast(r0); + s.maxWidth___142211 = (0); + s.maxHeight___142212 = (0); + s.sprite___142214 = (undefined); + s.unnamed714___U3 = (s.arg1); + s.unnamed715___U4 = (0); case 1: - s.tmp_0 = r0 = s.unnamed163___U4; - r0 = pxsim_Array__length(s.unnamed162___U3); + s.tmp_0 = r0 = s.unnamed715___U4; + r0 = pxsim_Array__length(s.unnamed714___U3); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 6; continue; } - r0 = pxsim_Array__getAt(s.unnamed162___U3, s.unnamed163___U4); - s.sprite___34333 = (r0); - s.tmp_4 = Sprite_width__P20368_mk(s); - s.tmp_4.arg0 = s.sprite___34333; + r0 = pxsim_Array__getAt(s.unnamed714___U3, s.unnamed715___U4); + s.sprite___142214 = (r0); + s.tmp_4 = Sprite_width__P128249_mk(s); + s.tmp_4.arg0 = s.sprite___142214; s.callLocIdx = 492; s.pc = 11; return s.tmp_4; case 11: r0 = s.retval; s.tmp_3 = r0; - r0 = (s.tmp_3 > s.maxWidth___34330); + r0 = (s.tmp_3 > s.maxWidth___142211); s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); if (!r0) { step = 2; continue; } - s.tmp_5 = Sprite_width__P20368_mk(s); - s.tmp_5.arg0 = s.sprite___34333; + s.tmp_5 = Sprite_width__P128249_mk(s); + s.tmp_5.arg0 = s.sprite___142214; s.callLocIdx = 493; s.pc = 12; return s.tmp_5; case 12: r0 = s.retval; - s.maxWidth___34330 = (r0); + s.maxWidth___142211 = (r0); case 2: case 3: - s.tmp_2 = Sprite_height__P20369_mk(s); - s.tmp_2.arg0 = s.sprite___34333; + s.tmp_2 = Sprite_height__P128250_mk(s); + s.tmp_2.arg0 = s.sprite___142214; s.callLocIdx = 494; s.pc = 13; return s.tmp_2; case 13: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 > s.maxHeight___34331); + r0 = (s.tmp_1 > s.maxHeight___142212); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 4; continue; } - s.tmp_3 = Sprite_height__P20369_mk(s); - s.tmp_3.arg0 = s.sprite___34333; + s.tmp_3 = Sprite_height__P128250_mk(s); + s.tmp_3.arg0 = s.sprite___142214; s.callLocIdx = 495; s.pc = 14; return s.tmp_3; case 14: r0 = s.retval; - s.maxHeight___34331 = (r0); + s.maxHeight___142212 = (r0); case 4: case 5: - r0 = (s.unnamed163___U4 + 1); - s.unnamed163___U4 = (r0); + r0 = (s.unnamed715___U4 + 1); + s.unnamed715___U4 = (r0); { step = 1; continue; } case 6: - s.unnamed162___U3 = (undefined); - s.tmp_0 = game_currentScene__P20970_mk(s); + s.unnamed714___U3 = (undefined); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 496; s.pc = 15; return s.tmp_0; case 15: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tMap___34349 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tMap___34349); + s.tMap___142230 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tMap___142230); if (!r0) { step = 7; continue; } - s.tmp_0 = tiles_TileMap_areaWidth__P20714_mk(s); - s.tmp_0.arg0 = s.tMap___34349; + s.tmp_0 = tiles_TileMap_areaWidth__P128595_mk(s); + s.tmp_0.arg0 = s.tMap___142230; s.callLocIdx = 497; s.pc = 16; return s.tmp_0; case 16: r0 = s.retval; { step = 8; continue; } case 7: - r0 = pxsim_ImageMethods.width(globals.screen___20003); + r0 = pxsim_ImageMethods.width(globals.screen___127884); case 8: // jmp value (already in r0) s.tmp_1 = r0; - s.areaWidth___34353 = (s.tmp_1); - r0 = pxsim_numops_toBoolDecr(s.tMap___34349); + s.areaWidth___142234 = (s.tmp_1); + r0 = pxsim_numops_toBoolDecr(s.tMap___142230); if (!r0) { step = 9; continue; } - s.tmp_0 = tiles_TileMap_areaHeight__P20715_mk(s); - s.tmp_0.arg0 = s.tMap___34349; + s.tmp_0 = tiles_TileMap_areaHeight__P128596_mk(s); + s.tmp_0.arg0 = s.tMap___142230; s.callLocIdx = 498; s.pc = 17; return s.tmp_0; case 17: r0 = s.retval; { step = 10; continue; } case 9: - r0 = pxsim_ImageMethods.height(globals.screen___20003); + r0 = pxsim_ImageMethods.height(globals.screen___127884); case 10: // jmp value (already in r0) s.tmp_1 = r0; - s.areaHeight___34360 = (s.tmp_1); + s.areaHeight___142241 = (s.tmp_1); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_clamp__P18098_mk(s); + s.tmp_2 = Math_clamp__P125979_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaWidth___34353 >> 2); + r0 = (s.areaWidth___142234 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxWidth___34330 * 2); + r0 = (s.maxWidth___142211 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 499; s.pc = 18; return s.tmp_2; case 18: @@ -36044,11 +36044,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__P18098_mk(s); + s.tmp_2 = Math_clamp__P125979_mk(s); s.tmp_2.arg0 = 8; - r0 = (s.areaHeight___34360 >> 2); + r0 = (s.areaHeight___142241 >> 2); s.tmp_2.arg1 = r0; - r0 = (s.maxHeight___34331 * 2); + r0 = (s.maxHeight___142212 * 2); s.tmp_2.arg2 = r0; s.callLocIdx = 500; s.pc = 19; return s.tmp_2; case 19: @@ -36058,25 +36058,25 @@ switch (step) { s.tmp_0 = r0 = s.arg0; r0 = s.arg0.fields["cellHeight"]; s.tmp_2 = r0; - r0 = pxsim.Math_.idiv(s.areaHeight___34360, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaHeight___142241, 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___34353, s.tmp_2); + r0 = pxsim.Math_.idiv(s.areaWidth___142234, 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__P20422.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__P128303.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__P20422_mk(s) { +function sprites_SpriteMap_resizeBuckets__P128303_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_resizeBuckets__P20422, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_resizeBuckets__P128303, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36084,14 +36084,14 @@ function sprites_SpriteMap_resizeBuckets__P20422_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - maxWidth___34330: undefined, - maxHeight___34331: undefined, - sprite___34333: undefined, - unnamed162___U3: undefined, - unnamed163___U4: undefined, - tMap___34349: undefined, - areaWidth___34353: undefined, - areaHeight___34360: undefined, + maxWidth___142211: undefined, + maxHeight___142212: undefined, + sprite___142214: undefined, + unnamed714___U3: undefined, + unnamed715___U4: undefined, + tMap___142230: undefined, + areaWidth___142234: undefined, + areaHeight___142241: undefined, arg0: undefined, arg1: undefined, } } @@ -36100,7 +36100,7 @@ function sprites_SpriteMap_resizeBuckets__P20422_mk(s) { -function Sprite_clearObstacles__P20396(s) { +function Sprite_clearObstacles__P128277(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36115,7 +36115,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); s.tmp_1 = r0; @@ -36124,12 +36124,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_clearObstacles__P20396.info = {"start":24932,"length":54,"line":813,"column":4,"endLine":815,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} +Sprite_clearObstacles__P128277.info = {"start":24932,"length":54,"line":813,"column":4,"endLine":815,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"clearObstacles","argumentNames":["this"]} -function Sprite_clearObstacles__P20396_mk(s) { +function Sprite_clearObstacles__P128277_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_clearObstacles__P20396, depth: s.depth + 1, + parent: s, fn: Sprite_clearObstacles__P128277, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36140,7 +36140,7 @@ function Sprite_clearObstacles__P20396_mk(s) { -function Fx_idiv__P18134(s) { +function Fx_idiv__P126015(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36159,12 +36159,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Fx_idiv__P18134.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__P126015.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__P18134_mk(s) { +function Fx_idiv__P126015_mk(s) { checkStack(s.depth); return { - parent: s, fn: Fx_idiv__P18134, depth: s.depth + 1, + parent: s, fn: Fx_idiv__P126015, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -36174,7 +36174,7 @@ function Fx_idiv__P18134_mk(s) { -function helpers_arrayMap__P18077(s) { +function helpers_arrayMap__P125958(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36184,58 +36184,58 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.res___34625 = undefined; - s.len___34627 = undefined; - s.i___34630 = undefined; + s.res___142506 = undefined; + s.len___142508 = undefined; + s.i___142511 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = pxsim_Array__mk(); - s.res___34625 = (r0); + s.res___142506 = (r0); r0 = pxsim_Array__length(s.arg0); - s.len___34627 = (r0); - s.i___34630 = (0); + s.len___142508 = (r0); + s.i___142511 = (0); case 1: - r0 = (s.i___34630 < s.len___34627); + r0 = (s.i___142511 < s.len___142508); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 2; continue; } - s.tmp_1 = r0 = s.res___34625; + s.tmp_1 = r0 = s.res___142506; s.tmp_3 = lambda_3_mk(s); s.tmp_3.argL = s.arg1; - r0 = pxsim_Array__getAt(s.arg0, s.i___34630); + r0 = pxsim_Array__getAt(s.arg0, s.i___142511); s.tmp_3.arg0 = r0; - s.tmp_3.arg1 = s.i___34630; + s.tmp_3.arg1 = s.i___142511; setupLambda(s.tmp_3, s.tmp_3.argL); s.callLocIdx = 3; s.pc = 3; return s.tmp_3; case 3: r0 = s.retval; s.tmp_2 = r0; r0 = pxsim_Array__push(s.tmp_1, s.tmp_2); - r0 = (s.i___34630 + 1); - s.i___34630 = (r0); + r0 = (s.i___142511 + 1); + s.i___142511 = (r0); { step = 1; continue; } case 2: - r0 = s.res___34625; + r0 = s.res___142506; return leave(s, r0) default: oops() } } } -helpers_arrayMap__P18077.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__P125958.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__P18077_mk(s) { +function helpers_arrayMap__P125958_mk(s) { checkStack(s.depth); return { - parent: s, fn: helpers_arrayMap__P18077, depth: s.depth + 1, + parent: s, fn: helpers_arrayMap__P125958, 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___34625: undefined, - len___34627: undefined, - i___34630: undefined, + res___142506: undefined, + len___142508: undefined, + i___142511: undefined, arg0: undefined, arg1: undefined, } } @@ -36244,7 +36244,7 @@ function helpers_arrayMap__P18077_mk(s) { -function ArcadePhysicsEngine_draw__P20509(s) { +function ArcadePhysicsEngine_draw__P128390(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36259,8 +36259,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); - s.tmp_0 = sprites_SpriteMap_draw__P20421_mk(s); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); + s.tmp_0 = sprites_SpriteMap_draw__P128302_mk(s); r0 = s.arg0.fields["map"]; s.tmp_0.arg0 = r0; s.callLocIdx = 538; s.pc = 1; return s.tmp_0; @@ -36270,12 +36270,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_draw__P20509.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__P128390.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__P20509_mk(s) { +function ArcadePhysicsEngine_draw__P128390_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_draw__P20509, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_draw__P128390, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36285,7 +36285,7 @@ function ArcadePhysicsEngine_draw__P20509_mk(s) { -function sprites_SpriteMap_draw__P20421(s) { +function sprites_SpriteMap_draw__P128302(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36295,70 +36295,70 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.x___34651 = undefined; - s.y___34657 = undefined; - s.left___34663 = undefined; - s.top___34668 = undefined; - s.k___34673 = undefined; - s.b___34678 = undefined; + s.x___142532 = undefined; + s.y___142538 = undefined; + s.left___142544 = undefined; + s.top___142549 = undefined; + s.k___142554 = undefined; + s.b___142559 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_SpriteMap__C20417_VT)) failedCast(r0); - s.x___34651 = (0); + if (!checkSubtype(r0, sprites_SpriteMap__C128298_VT)) failedCast(r0); + s.x___142532 = (0); case 1: r0 = s.arg0.fields["columnCount"]; s.tmp_1 = r0; - r0 = (s.x___34651 < s.tmp_1); + r0 = (s.x___142532 < s.tmp_1); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___34657 = (0); + s.y___142538 = (0); case 2: r0 = s.arg0.fields["rowCount"]; s.tmp_1 = r0; - r0 = (s.y___34657 < s.tmp_1); + r0 = (s.y___142538 < 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___34651 * s.tmp_2); - s.left___34663 = (r0); + r0 = (s.x___142532 * s.tmp_2); + s.left___142544 = (r0); r0 = s.arg0.fields["cellHeight"]; s.tmp_0 = r0; - r0 = (s.y___34657 * s.tmp_0); - s.top___34668 = (r0); - s.tmp_0 = sprites_SpriteMap_key__P22720_mk(s); + r0 = (s.y___142538 * s.tmp_0); + s.top___142549 = (r0); + s.tmp_0 = sprites_SpriteMap_key__P130601_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.left___34663; - s.tmp_0.arg2 = s.top___34668; + s.tmp_0.arg1 = s.left___142544; + s.tmp_0.arg2 = s.top___142549; s.callLocIdx = 490; s.pc = 9; return s.tmp_0; case 9: r0 = s.retval; - s.k___34673 = (r0); + s.k___142554 = (r0); r0 = s.arg0.fields["buckets"]; s.tmp_0 = r0; - r0 = pxsim_Array__getAt(s.tmp_0, s.k___34673); - s.b___34678 = (r0); - s.tmp_0 = r0 = s.b___34678; + r0 = pxsim_Array__getAt(s.tmp_0, s.k___142554); + s.b___142559 = (r0); + s.tmp_0 = r0 = s.b___142559; 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___34678); + r0 = pxsim_Array__length(s.b___142559); 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__P19930_mk(s); - s.tmp_2.arg0 = globals.screen___20003; - s.tmp_2.arg1 = s.left___34663; - s.tmp_2.arg2 = s.top___34668; + s.tmp_2 = helpers_imageDrawRect__P127811_mk(s); + s.tmp_2.arg0 = globals.screen___127884; + s.tmp_2.arg1 = s.left___142544; + s.tmp_2.arg2 = s.top___142549; r0 = s.arg0.fields["cellWidth"]; s.tmp_2.arg3 = r0; r0 = s.arg0.fields["cellHeight"]; @@ -36369,34 +36369,34 @@ switch (step) { r0 = s.retval; case 5: case 6: - r0 = (s.y___34657 + 1); - s.y___34657 = (r0); + r0 = (s.y___142538 + 1); + s.y___142538 = (r0); { step = 2; continue; } case 7: - r0 = (s.x___34651 + 1); - s.x___34651 = (r0); + r0 = (s.x___142532 + 1); + s.x___142532 = (r0); { step = 1; continue; } case 8: r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_SpriteMap_draw__P20421.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__P128302.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__P20421_mk(s) { +function sprites_SpriteMap_draw__P128302_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_SpriteMap_draw__P20421, depth: s.depth + 1, + parent: s, fn: sprites_SpriteMap_draw__P128302, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, tmp_2: undefined, - x___34651: undefined, - y___34657: undefined, - left___34663: undefined, - top___34668: undefined, - k___34673: undefined, - b___34678: undefined, + x___142532: undefined, + y___142538: undefined, + left___142544: undefined, + top___142549: undefined, + k___142554: undefined, + b___142559: undefined, arg0: undefined, } } @@ -36404,7 +36404,7 @@ function sprites_SpriteMap_draw__P20421_mk(s) { -function ArcadePhysicsEngine_removeSprite__P20508(s) { +function ArcadePhysicsEngine_removeSprite__P128389(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36420,7 +36420,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_VT)) failedCast(r0); r0 = s.arg0.fields["sprites"]; s.tmp_0 = r0; r0 = pxsim_Array_.removeElement(s.tmp_0, s.arg1); @@ -36428,12 +36428,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_removeSprite__P20508.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__P128389.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__P20508_mk(s) { +function ArcadePhysicsEngine_removeSprite__P128389_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_removeSprite__P20508, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_removeSprite__P128389, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36444,7 +36444,7 @@ function ArcadePhysicsEngine_removeSprite__P20508_mk(s) { -function ArcadePhysicsEngine_addSprite__P20507(s) { +function ArcadePhysicsEngine_addSprite__P128388(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36454,31 +36454,31 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.tm___34715 = undefined; + s.tm___142596 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, ArcadePhysicsEngine__C20498_VT)) failedCast(r0); + if (!checkSubtype(r0, ArcadePhysicsEngine__C128379_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__P20970_mk(s); + s.tmp_0 = game_currentScene__P128851_mk(s); s.callLocIdx = 536; s.pc = 5; return s.tmp_0; case 5: r0 = s.retval; r0 = r0.fields["tileMap"]; - s.tm___34715 = (r0); - s.tmp_0 = r0 = s.tm___34715; + s.tm___142596 = (r0); + s.tmp_0 = r0 = s.tm___142596; 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__P20729_mk(s); - s.tmp_1.arg0 = s.tm___34715; + s.tmp_1 = tiles_TileMap_isOnWall__P128610_mk(s); + s.tmp_1.arg0 = s.tm___142596; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 537; s.pc = 6; return s.tmp_1; case 6: @@ -36500,12 +36500,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -ArcadePhysicsEngine_addSprite__P20507.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__P128388.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__P20507_mk(s) { +function ArcadePhysicsEngine_addSprite__P128388_mk(s) { checkStack(s.depth); return { - parent: s, fn: ArcadePhysicsEngine_addSprite__P20507, depth: s.depth + 1, + parent: s, fn: ArcadePhysicsEngine_addSprite__P128388, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36513,7 +36513,7 @@ function ArcadePhysicsEngine_addSprite__P20507_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - tm___34715: undefined, + tm___142596: undefined, arg0: undefined, arg1: undefined, } } @@ -36522,7 +36522,7 @@ function ArcadePhysicsEngine_addSprite__P20507_mk(s) { -function tiles_TileMapData_constructor__P20689(s) { +function tiles_TileMapData_constructor__P128570(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36541,11 +36541,11 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20688_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C128569_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__P20693_mk(s); + s.tmp_0 = tiles_TileMapData_scale__P128574_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg4; s.callLocIdx = 808; s.pc = 1; return s.tmp_0; @@ -36563,12 +36563,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_constructor__P20689.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__P128570.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__P20689_mk(s) { +function tiles_TileMapData_constructor__P128570_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_constructor__P20689, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_constructor__P128570, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36583,7 +36583,7 @@ function tiles_TileMapData_constructor__P20689_mk(s) { -function tiles_TileMapData_scale__P20693(s) { +function tiles_TileMapData_scale__P128574(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36599,7 +36599,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMapData__C20688_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMapData__C128569_VT)) failedCast(r0); r0 = (s.arg0).fields["_scale"] = (s.arg1); s.tmp_0 = r0 = s.arg0; r0 = pxsim_Array__mk(); @@ -36609,12 +36609,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMapData_scale__P20693.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__P128574.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__P20693_mk(s) { +function tiles_TileMapData_scale__P128574_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMapData_scale__P20693, depth: s.depth + 1, + parent: s, fn: tiles_TileMapData_scale__P128574, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36626,7 +36626,7 @@ function tiles_TileMapData_scale__P20693_mk(s) { -function tiles_TileMap_constructor__P20708(s) { +function tiles_TileMap_constructor__P128589(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36642,19 +36642,19 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); r0 = (s.arg0).fields["_layer"] = (1); - s.tmp_0 = tiles_TileMap_scale__P20710_mk(s); + s.tmp_0 = tiles_TileMap_scale__P128591_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 814; s.pc = 1; return s.tmp_0; case 1: r0 = s.retval; - r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P34776); + r0 = pxsim_pxtcore_mkAction(1, tiles_TileMap_inline__P142657); 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__P20776_mk(s); + s.tmp_3 = scene_createRenderable__P128657_mk(s); s.tmp_3.arg0 = -1; s.tmp_3.arg1 = s.tmp_0; s.tmp_3.arg2 = undefined; @@ -36667,12 +36667,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_constructor__P20708.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__P128589.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__P20708_mk(s) { +function tiles_TileMap_constructor__P128589_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_constructor__P20708, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_constructor__P128589, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -36686,7 +36686,7 @@ function tiles_TileMap_constructor__P20708_mk(s) { -function tiles_TileMap_inline__P34776(s) { +function tiles_TileMap_inline__P142657(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36701,7 +36701,7 @@ switch (step) { s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } - s.tmp_0 = tiles_TileMap_draw__P22833_mk(s); + s.tmp_0 = tiles_TileMap_draw__P130714_mk(s); s.tmp_0.arg0 = s.caps[0]; s.tmp_0.arg1 = s.arg0; s.tmp_0.arg2 = s.arg1; @@ -36712,12 +36712,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_inline__P34776.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__P142657.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__P34776_mk(s) { +function tiles_TileMap_inline__P142657_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_inline__P34776, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_inline__P142657, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -36728,7 +36728,7 @@ function tiles_TileMap_inline__P34776_mk(s) { -function tiles_TileMap_draw__P22833(s) { +function tiles_TileMap_draw__P130714(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -36738,21 +36738,21 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.bitmask___34787 = undefined; - s.offsetX___34793 = undefined; - s.offsetY___34798 = undefined; - s.x0___34803 = undefined; - s.xn___34810 = undefined; - s.y0___34827 = undefined; - s.yn___34834 = undefined; - s.x___34851 = undefined; - s.y___34857 = undefined; - s.index___34863 = undefined; - s.tile___34870 = undefined; - s.x___34906 = undefined; - s.xLine___34912 = undefined; - s.y___34938 = undefined; - s.yLine___34944 = undefined; + s.bitmask___142668 = undefined; + s.offsetX___142674 = undefined; + s.offsetY___142679 = undefined; + s.x0___142684 = undefined; + s.xn___142691 = undefined; + s.y0___142708 = undefined; + s.yn___142715 = undefined; + s.x___142732 = undefined; + s.y___142738 = undefined; + s.index___142744 = undefined; + s.tile___142751 = undefined; + s.x___142787 = undefined; + s.xLine___142793 = undefined; + s.y___142819 = undefined; + s.yLine___142825 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -36760,7 +36760,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; s.tmp_6 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_6); @@ -36785,16 +36785,16 @@ switch (step) { r0 = (1 << s.tmp_8); s.tmp_7 = r0; r0 = (s.tmp_7 - 1); - s.bitmask___34787 = (r0); + s.bitmask___142668 = (r0); r0 = s.arg2.fields["drawOffsetX"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___34787); - s.offsetX___34793 = (r0); + r0 = (s.tmp_0 & s.bitmask___142668); + s.offsetX___142674 = (r0); r0 = s.arg2.fields["drawOffsetY"]; s.tmp_0 = r0; - r0 = (s.tmp_0 & s.bitmask___34787); - s.offsetY___34798 = (r0); - s.tmp_0 = Math_max__P18101_mk(s); + r0 = (s.tmp_0 & s.bitmask___142668); + s.offsetY___142679 = (r0); + s.tmp_0 = Math_max__P125982_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetX"]; s.tmp_1 = r0; @@ -36805,8 +36805,8 @@ switch (step) { s.callLocIdx = 834; s.pc = 24; return s.tmp_0; case 24: r0 = s.retval; - s.x0___34803 = (r0); - s.tmp_0 = Math_min__P18102_mk(s); + s.x0___142684 = (r0); + s.tmp_0 = Math_min__P125983_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_width"]; @@ -36826,8 +36826,8 @@ switch (step) { s.callLocIdx = 837; s.pc = 25; return s.tmp_0; case 25: r0 = s.retval; - s.xn___34810 = (r0); - s.tmp_0 = Math_max__P18101_mk(s); + s.xn___142691 = (r0); + s.tmp_0 = Math_max__P125982_mk(s); s.tmp_0.arg0 = 0; r0 = s.arg2.fields["drawOffsetY"]; s.tmp_1 = r0; @@ -36838,8 +36838,8 @@ switch (step) { s.callLocIdx = 839; s.pc = 26; return s.tmp_0; case 26: r0 = s.retval; - s.y0___34827 = (r0); - s.tmp_0 = Math_min__P18102_mk(s); + s.y0___142708 = (r0); + s.tmp_0 = Math_min__P125983_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1 = r0; r0 = s.tmp_1.fields["_height"]; @@ -36859,92 +36859,92 @@ switch (step) { s.callLocIdx = 842; s.pc = 27; return s.tmp_0; case 27: r0 = s.retval; - s.yn___34834 = (r0); - s.x___34851 = (s.x0___34803); + s.yn___142715 = (r0); + s.x___142732 = (s.x0___142684); case 3: - r0 = (s.x___34851 <= s.xn___34810); + r0 = (s.x___142732 <= s.xn___142691); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 8; continue; } - s.y___34857 = (s.y0___34827); + s.y___142738 = (s.y0___142708); case 4: - r0 = (s.y___34857 <= s.yn___34834); + r0 = (s.y___142738 <= s.yn___142715); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 7; continue; } - s.tmp_1 = tiles_TileMapData_getTile__P20694_mk(s); + s.tmp_1 = tiles_TileMapData_getTile__P128575_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; - s.tmp_1.arg1 = s.x___34851; - s.tmp_1.arg2 = s.y___34857; + s.tmp_1.arg1 = s.x___142732; + s.tmp_1.arg2 = s.y___142738; s.callLocIdx = 843; s.pc = 28; return s.tmp_1; case 28: r0 = s.retval; - s.index___34863 = (r0); - s.tmp_0 = tiles_TileMapData_getTileImage__P20697_mk(s); + s.index___142744 = (r0); + s.tmp_0 = tiles_TileMapData_getTileImage__P128578_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = s.index___34863; + s.tmp_0.arg1 = s.index___142744; s.callLocIdx = 844; s.pc = 29; return s.tmp_0; case 29: r0 = s.retval; - s.tile___34870 = (r0); - r0 = pxsim_numops_toBoolDecr(s.tile___34870); + s.tile___142751 = (r0); + r0 = pxsim_numops_toBoolDecr(s.tile___142751); if (!r0) { step = 5; continue; } s.tmp_0 = r0 = s.arg1; - s.tmp_1 = r0 = s.tile___34870; - r0 = (s.x___34851 - s.x0___34803); + s.tmp_1 = r0 = s.tile___142751; + r0 = (s.x___142732 - s.x0___142684); 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___34793); + r0 = (s.tmp_3 - s.offsetX___142674); s.tmp_2 = r0; - r0 = (s.y___34857 - s.y0___34827); + r0 = (s.y___142738 - s.y0___142708); 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___34798); + r0 = (s.tmp_7 - s.offsetY___142679); 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___34857 + 1); - s.y___34857 = (r0); + r0 = (s.y___142738 + 1); + s.y___142738 = (r0); { step = 4; continue; } case 7: - r0 = (s.x___34851 + 1); - s.x___34851 = (r0); + r0 = (s.x___142732 + 1); + s.x___142732 = (r0); { step = 3; continue; } case 8: - r0 = pxsim_numops_toBoolDecr(globals.debug___20938); + r0 = pxsim_numops_toBoolDecr(globals.debug___128819); if (!r0) { step = 21; continue; } - s.x___34906 = (s.x0___34803); + s.x___142787 = (s.x0___142684); case 9: - r0 = (s.x___34906 <= s.xn___34810); + r0 = (s.x___142787 <= s.xn___142691); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 14; continue; } - r0 = (s.x___34906 - s.x0___34803); + r0 = (s.x___142787 - s.x0___142684); 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___34793); - s.xLine___34912 = (r0); - r0 = (s.xLine___34912 >= 0); + r0 = (s.tmp_1 - s.offsetX___142674); + s.xLine___142793 = (r0); + r0 = (s.xLine___142793 >= 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___34912; - r0 = pxsim_ImageMethods.width(globals.screen___20003); + s.tmp_1 = r0 = s.xLine___142793; + r0 = pxsim_ImageMethods.width(globals.screen___127884); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 11: @@ -36952,11 +36952,11 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 12; continue; } - s.tmp_4 = helpers_imageDrawLine__P19929_mk(s); + s.tmp_4 = helpers_imageDrawLine__P127810_mk(s); s.tmp_4.arg0 = s.arg1; - s.tmp_4.arg1 = s.xLine___34912; + s.tmp_4.arg1 = s.xLine___142793; s.tmp_4.arg2 = 0; - s.tmp_4.arg3 = s.xLine___34912; + s.tmp_4.arg3 = s.xLine___142793; r0 = pxsim_ImageMethods.height(s.arg1); s.tmp_4.arg4 = r0; s.tmp_4.arg5 = 1; @@ -36965,33 +36965,33 @@ switch (step) { r0 = s.retval; case 12: case 13: - r0 = (s.x___34906 + 1); - s.x___34906 = (r0); + r0 = (s.x___142787 + 1); + s.x___142787 = (r0); { step = 9; continue; } case 14: - s.y___34938 = (s.y0___34827); + s.y___142819 = (s.y0___142708); case 15: - r0 = (s.y___34938 <= s.yn___34834); + r0 = (s.y___142819 <= s.yn___142715); s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 20; continue; } - r0 = (s.y___34938 - s.y0___34827); + r0 = (s.y___142819 - s.y0___142708); 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___34798); - s.yLine___34944 = (r0); - r0 = (s.yLine___34944 >= 0); + r0 = (s.tmp_1 - s.offsetY___142679); + s.yLine___142825 = (r0); + r0 = (s.yLine___142825 >= 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___34944; - r0 = pxsim_ImageMethods.height(globals.screen___20003); + s.tmp_1 = r0 = s.yLine___142825; + r0 = pxsim_ImageMethods.height(globals.screen___127884); s.tmp_2 = r0; r0 = (s.tmp_1 <= s.tmp_2); case 17: @@ -36999,21 +36999,21 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 18; continue; } - s.tmp_4 = helpers_imageDrawLine__P19929_mk(s); + s.tmp_4 = helpers_imageDrawLine__P127810_mk(s); s.tmp_4.arg0 = s.arg1; s.tmp_4.arg1 = 0; - s.tmp_4.arg2 = s.yLine___34944; + s.tmp_4.arg2 = s.yLine___142825; r0 = pxsim_ImageMethods.width(s.arg1); s.tmp_4.arg3 = r0; - s.tmp_4.arg4 = s.yLine___34944; + s.tmp_4.arg4 = s.yLine___142825; s.tmp_4.arg5 = 1; s.callLocIdx = 850; s.pc = 31; return s.tmp_4; case 31: r0 = s.retval; case 18: case 19: - r0 = (s.y___34938 + 1); - s.y___34938 = (r0); + r0 = (s.y___142819 + 1); + s.y___142819 = (r0); { step = 15; continue; } case 20: case 21: @@ -37023,12 +37023,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_draw__P22833.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__P130714.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__P22833_mk(s) { +function tiles_TileMap_draw__P130714_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_draw__P22833, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_draw__P130714, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37040,21 +37040,21 @@ function tiles_TileMap_draw__P22833_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - bitmask___34787: undefined, - offsetX___34793: undefined, - offsetY___34798: undefined, - x0___34803: undefined, - xn___34810: undefined, - y0___34827: undefined, - yn___34834: undefined, - x___34851: undefined, - y___34857: undefined, - index___34863: undefined, - tile___34870: undefined, - x___34906: undefined, - xLine___34912: undefined, - y___34938: undefined, - yLine___34944: undefined, + bitmask___142668: undefined, + offsetX___142674: undefined, + offsetY___142679: undefined, + x0___142684: undefined, + xn___142691: undefined, + y0___142708: undefined, + yn___142715: undefined, + x___142732: undefined, + y___142738: undefined, + index___142744: undefined, + tile___142751: undefined, + x___142787: undefined, + xLine___142793: undefined, + y___142819: undefined, + yLine___142825: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -37064,7 +37064,7 @@ function tiles_TileMap_draw__P22833_mk(s) { -function tiles_TileMap_scale__P20710(s) { +function tiles_TileMap_scale__P128591(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37080,13 +37080,13 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C128587_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__P20693_mk(s); + s.tmp_1 = tiles_TileMapData_scale__P128574_mk(s); r0 = s.arg0.fields["_map"]; s.tmp_1.arg0 = r0; s.tmp_1.arg1 = s.arg1; @@ -37099,12 +37099,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -tiles_TileMap_scale__P20710.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__P128591.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__P20710_mk(s) { +function tiles_TileMap_scale__P128591_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_scale__P20710, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_scale__P128591, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37116,7 +37116,7 @@ function tiles_TileMap_scale__P20710_mk(s) { -function tiles_TileMap_data__P20711(s) { +function tiles_TileMap_data__P128592(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37131,18 +37131,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_TileMap__C20706_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_TileMap__C128587_VT)) failedCast(r0); r0 = s.arg0.fields["_map"]; return leaveAccessor(s, r0) default: oops() } } } -tiles_TileMap_data__P20711.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__P20711.isGetter = true; +tiles_TileMap_data__P128592.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__P128592.isGetter = true; -function tiles_TileMap_data__P20711_mk(s) { +function tiles_TileMap_data__P128592_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_TileMap_data__P20711, depth: s.depth + 1, + parent: s, fn: tiles_TileMap_data__P128592, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -37151,7 +37151,7 @@ function tiles_TileMap_data__P20711_mk(s) { -function Sprite_toString__P20405(s) { +function Sprite_toString__P128286(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37166,7 +37166,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = pxsim_String_.mkEmpty(); s.tmp_9 = r0; r0 = s.arg0.fields["id"]; @@ -37184,7 +37184,7 @@ switch (step) { s.tmp_8 = r0; r0 = pxsim_String__concat(s.tmp_8, "("); s.tmp_7 = r0; - s.tmp_14 = Sprite_x__P20325_mk(s); + s.tmp_14 = Sprite_x__P128206_mk(s); s.tmp_14.arg0 = s.arg0; s.callLocIdx = 443; s.pc = 2; return s.tmp_14; case 2: @@ -37203,7 +37203,7 @@ switch (step) { s.tmp_6 = r0; r0 = pxsim_String__concat(s.tmp_6, ","); s.tmp_5 = r0; - s.tmp_17 = Sprite_y__P20327_mk(s); + s.tmp_17 = Sprite_y__P128208_mk(s); s.tmp_17.arg0 = s.arg0; s.callLocIdx = 444; s.pc = 4; return s.tmp_17; case 4: @@ -37222,7 +37222,7 @@ switch (step) { s.tmp_4 = r0; r0 = pxsim_String__concat(s.tmp_4, ")->("); s.tmp_3 = r0; - s.tmp_20 = Sprite_vx__P20329_mk(s); + s.tmp_20 = Sprite_vx__P128210_mk(s); s.tmp_20.arg0 = s.arg0; s.callLocIdx = 445; s.pc = 6; return s.tmp_20; case 6: @@ -37241,7 +37241,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_23 = Sprite_vy__P20331_mk(s); + s.tmp_23 = Sprite_vy__P128212_mk(s); s.tmp_23.arg0 = s.arg0; s.callLocIdx = 446; s.pc = 8; return s.tmp_23; case 8: @@ -37262,12 +37262,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_toString__P20405.info = {"start":34111,"length":93,"line":1066,"column":4,"endLine":1068,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} +Sprite_toString__P128286.info = {"start":34111,"length":93,"line":1066,"column":4,"endLine":1068,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"toString","argumentNames":["this"]} -function Sprite_toString__P20405_mk(s) { +function Sprite_toString__P128286_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_toString__P20405, depth: s.depth + 1, + parent: s, fn: Sprite_toString__P128286, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37300,7 +37300,7 @@ function Sprite_toString__P20405_mk(s) { -function Sprite___update__P20387(s) { +function Sprite___update__P128268(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37317,7 +37317,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = s.arg0.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 !== undefined); @@ -37339,7 +37339,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__P20400_mk(s); + s.tmp_0 = Sprite__destroyCore__P128281_mk(s); s.tmp_0.arg0 = s.arg0; s.callLocIdx = 380; s.pc = 11; return s.tmp_0; case 11: @@ -37357,7 +37357,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_isOutOfScreen__P20385_mk(s); + s.tmp_2 = Sprite_isOutOfScreen__P128266_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 381; s.pc = 12; return s.tmp_2; @@ -37368,7 +37368,7 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 7; continue; } - s.tmp_4 = Sprite_destroy__P20399_mk(s); + s.tmp_4 = Sprite_destroy__P128280_mk(s); s.tmp_4.arg0 = s.arg0; s.tmp_4.arg1 = undefined; s.tmp_4.arg2 = undefined; @@ -37381,13 +37381,13 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 9; continue; } - s.tmp_1 = sprites_BaseSpriteSayRenderer__C20230_v1_4_mk(s); + s.tmp_1 = sprites_BaseSpriteSayRenderer__C128111_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__C20230_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSpriteSayRenderer__C128111_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: @@ -37398,12 +37398,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___update__P20387.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__P128268.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__P20387_mk(s) { +function Sprite___update__P128268_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___update__P20387, depth: s.depth + 1, + parent: s, fn: Sprite___update__P128268, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37420,7 +37420,7 @@ function Sprite___update__P20387_mk(s) { -function Sprite_isOutOfScreen__P20385(s) { +function Sprite_isOutOfScreen__P128266(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37430,15 +37430,15 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___35057 = undefined; - s.oy___35065 = undefined; + s.ox___142938 = undefined; + s.oy___142946 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -37452,7 +37452,7 @@ switch (step) { case 2: // jmp value (already in r0) s.tmp_2 = r0; - s.ox___35057 = (s.tmp_2); + s.ox___142938 = (s.tmp_2); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -37466,14 +37466,14 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___35065 = (s.tmp_2); - s.tmp_3 = Sprite_right__P20372_mk(s); + s.oy___142946 = (s.tmp_2); + s.tmp_3 = Sprite_right__P128253_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 371; s.pc = 11; return s.tmp_3; case 11: r0 = s.retval; s.tmp_2 = r0; - r0 = (s.tmp_2 - s.ox___35057); + r0 = (s.tmp_2 - s.ox___142938); s.tmp_1 = r0; r0 = (s.tmp_1 < 0); s.tmp_0 = r0; @@ -37482,13 +37482,13 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_6 = Sprite_bottom__P20376_mk(s); + s.tmp_6 = Sprite_bottom__P128257_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 372; s.pc = 12; return s.tmp_6; case 12: r0 = s.retval; s.tmp_5 = r0; - r0 = (s.tmp_5 - s.oy___35065); + r0 = (s.tmp_5 - s.oy___142946); s.tmp_4 = r0; r0 = (s.tmp_4 < 0); case 6: @@ -37499,15 +37499,15 @@ switch (step) { r0 = s.tmp_7; { step = 8; continue; } case 7: - s.tmp_10 = Sprite_left__P20370_mk(s); + s.tmp_10 = Sprite_left__P128251_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 373; s.pc = 13; return s.tmp_10; case 13: r0 = s.retval; s.tmp_9 = r0; - r0 = (s.tmp_9 - s.ox___35057); + r0 = (s.tmp_9 - s.ox___142938); s.tmp_8 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20003); + r0 = pxsim_ImageMethods.width(globals.screen___127884); s.tmp_11 = r0; r0 = (s.tmp_8 > s.tmp_11); case 8: @@ -37518,15 +37518,15 @@ switch (step) { r0 = s.tmp_12; { step = 10; continue; } case 9: - s.tmp_15 = Sprite_top__P20374_mk(s); + s.tmp_15 = Sprite_top__P128255_mk(s); s.tmp_15.arg0 = s.arg0; s.callLocIdx = 374; s.pc = 14; return s.tmp_15; case 14: r0 = s.retval; s.tmp_14 = r0; - r0 = (s.tmp_14 - s.oy___35065); + r0 = (s.tmp_14 - s.oy___142946); s.tmp_13 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20003); + r0 = pxsim_ImageMethods.height(globals.screen___127884); s.tmp_16 = r0; r0 = (s.tmp_13 > s.tmp_16); case 10: @@ -37536,12 +37536,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_isOutOfScreen__P20385.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__P128266.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__P20385_mk(s) { +function Sprite_isOutOfScreen__P128266_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_isOutOfScreen__P20385, depth: s.depth + 1, + parent: s, fn: Sprite_isOutOfScreen__P128266, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37561,8 +37561,8 @@ function Sprite_isOutOfScreen__P20385_mk(s) { tmp_15: undefined, tmp_16: undefined, tmp_17: undefined, - ox___35057: undefined, - oy___35065: undefined, + ox___142938: undefined, + oy___142946: undefined, arg0: undefined, arg1: undefined, } } @@ -37571,7 +37571,7 @@ function Sprite_isOutOfScreen__P20385_mk(s) { -function sprites_BaseSpriteSayRenderer_update__P20233(s) { +function sprites_BaseSpriteSayRenderer_update__P128114(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37589,17 +37589,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C20230_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C128111_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_update__P20233.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__P128114.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__P20233_mk(s) { +function sprites_BaseSpriteSayRenderer_update__P128114_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_update__P20233, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_update__P128114, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37611,7 +37611,7 @@ function sprites_BaseSpriteSayRenderer_update__P20233_mk(s) { -function Sprite_data__P20348(s) { +function Sprite_data__P128229(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37627,18 +37627,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = (s.arg0).fields["_data"] = (s.arg1); r0 = undefined; return leave(s, r0) default: oops() } } } -Sprite_data__P20348.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__P128229.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__P20348_mk(s) { +function Sprite_data__P128229_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P20348, depth: s.depth + 1, + parent: s, fn: Sprite_data__P128229, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37648,7 +37648,7 @@ function Sprite_data__P20348_mk(s) { -function Sprite_data__P20347(s) { +function Sprite_data__P128228(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37663,7 +37663,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; s.tmp_2 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_2); @@ -37682,13 +37682,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -Sprite_data__P20347.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__P20347.isGetter = true; +Sprite_data__P128228.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__P128228.isGetter = true; -function Sprite_data__P20347_mk(s) { +function Sprite_data__P128228_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_data__P20347, depth: s.depth + 1, + parent: s, fn: Sprite_data__P128228, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37702,7 +37702,7 @@ function Sprite_data__P20347_mk(s) { -function sprites_BaseSprite___update__P20073(s) { +function sprites_BaseSprite___update__P127954(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37719,17 +37719,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20065_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C127946_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___update__P20073.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__P127954.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__P20073_mk(s) { +function sprites_BaseSprite___update__P127954_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___update__P20073, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___update__P127954, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37740,7 +37740,7 @@ function sprites_BaseSprite___update__P20073_mk(s) { -function sprites_BaseSprite___draw__P20071(s) { +function sprites_BaseSprite___draw__P127952(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37756,10 +37756,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20065_VT)) failedCast(r0); - s.tmp_1 = sprites_BaseSprite__C20065_v0_1_mk(s); + if (!checkSubtype(r0, sprites_BaseSprite__C127946_VT)) failedCast(r0); + s.tmp_1 = sprites_BaseSprite__C127946_v0_1_mk(s); s.tmp_1.arg0 = s.arg0; - if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C20065_VT)) failedCast(s.tmp_1.arg0); + if (!checkSubtype(s.tmp_1.arg0, sprites_BaseSprite__C127946_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: @@ -37767,10 +37767,10 @@ switch (step) { s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); if (!r0) { step = 1; continue; } - s.tmp_2 = sprites_BaseSprite__C20065_v2_2_mk(s); + s.tmp_2 = sprites_BaseSprite__C127946_v2_2_mk(s); s.tmp_2.arg0 = s.arg0; s.tmp_2.arg1 = s.arg1; - if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C20065_VT)) failedCast(s.tmp_2.arg0); + if (!checkSubtype(s.tmp_2.arg0, sprites_BaseSprite__C127946_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: @@ -37781,12 +37781,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSprite___draw__P20071.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__P127952.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__P20071_mk(s) { +function sprites_BaseSprite___draw__P127952_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___draw__P20071, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___draw__P127952, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37799,7 +37799,7 @@ function sprites_BaseSprite___draw__P20071_mk(s) { -function sprites_BaseSprite___drawCore__P20072(s) { +function sprites_BaseSprite___drawCore__P127953(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37815,17 +37815,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20065_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C127946_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___drawCore__P20072.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__P127953.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__P20072_mk(s) { +function sprites_BaseSprite___drawCore__P127953_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___drawCore__P20072, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___drawCore__P127953, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -37835,7 +37835,7 @@ function sprites_BaseSprite___drawCore__P20072_mk(s) { -function sprites_BaseSprite___visible__P20068(s) { +function sprites_BaseSprite___visible__P127949(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37850,17 +37850,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSprite__C20065_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSprite__C127946_VT)) failedCast(r0); r0 = true; return leave(s, r0) default: oops() } } } -sprites_BaseSprite___visible__P20068.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__P127949.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__P20068_mk(s) { +function sprites_BaseSprite___visible__P127949_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSprite___visible__P20068, depth: s.depth + 1, + parent: s, fn: sprites_BaseSprite___visible__P127949, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -37869,7 +37869,7 @@ function sprites_BaseSprite___visible__P20068_mk(s) { -function scene_BackgroundLayer_constructor__P20657(s) { +function scene_BackgroundLayer_constructor__P128538(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37887,9 +37887,9 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_BackgroundLayer__C20650_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_BackgroundLayer__C128531_VT)) failedCast(r0); s.tmp_0 = r0 = s.arg0; - s.tmp_2 = Math_max__P18101_mk(s); + s.tmp_2 = Math_max__P125982_mk(s); s.tmp_2.arg0 = 1; s.tmp_2.arg1 = s.arg1; s.callLocIdx = 794; s.pc = 7; return s.tmp_2; @@ -37935,12 +37935,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_BackgroundLayer_constructor__P20657.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__P128538.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__P20657_mk(s) { +function scene_BackgroundLayer_constructor__P128538_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_BackgroundLayer_constructor__P20657, depth: s.depth + 1, + parent: s, fn: scene_BackgroundLayer_constructor__P128538, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37955,7 +37955,7 @@ function scene_BackgroundLayer_constructor__P20657_mk(s) { -function scene_Camera_y__P20762(s) { +function scene_Camera_y__P128643(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -37970,10 +37970,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20752_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C128633_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.height(globals.screen___20003); + r0 = pxsim_ImageMethods.height(globals.screen___127884); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -37981,13 +37981,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_y__P20762.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__P20762.isGetter = true; +scene_Camera_y__P128643.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__P128643.isGetter = true; -function scene_Camera_y__P20762_mk(s) { +function scene_Camera_y__P128643_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_y__P20762, depth: s.depth + 1, + parent: s, fn: scene_Camera_y__P128643, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -37999,7 +37999,7 @@ function scene_Camera_y__P20762_mk(s) { -function scene_Camera_x__P20761(s) { +function scene_Camera_x__P128642(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38014,10 +38014,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20752_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C128633_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.width(globals.screen___20003); + r0 = pxsim_ImageMethods.width(globals.screen___127884); s.tmp_2 = r0; r0 = (s.tmp_2 >> 1); s.tmp_1 = r0; @@ -38025,13 +38025,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_x__P20761.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__P20761.isGetter = true; +scene_Camera_x__P128642.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__P128642.isGetter = true; -function scene_Camera_x__P20761_mk(s) { +function scene_Camera_x__P128642_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_x__P20761, depth: s.depth + 1, + parent: s, fn: scene_Camera_x__P128642, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38043,7 +38043,7 @@ function scene_Camera_x__P20761_mk(s) { -function scene_Scene_data__P20839(s) { +function scene_Scene_data__P128720(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38058,18 +38058,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Scene__C20814_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Scene__C128695_VT)) failedCast(r0); r0 = s.arg0.fields["_data"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Scene_data__P20839.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__P20839.isGetter = true; +scene_Scene_data__P128720.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__P128720.isGetter = true; -function scene_Scene_data__P20839_mk(s) { +function scene_Scene_data__P128720_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Scene_data__P20839, depth: s.depth + 1, + parent: s, fn: scene_Scene_data__P128720, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -38078,7 +38078,7 @@ function scene_Scene_data__P20839_mk(s) { -function controller_AnyButton_isPressed__P22694(s) { +function controller_AnyButton_isPressed__P130575(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38088,36 +38088,36 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ctrl___35187 = undefined; - s.b___35191 = undefined; - s.unnamed154___U2 = undefined; - s.unnamed155___U3 = undefined; + s.ctrl___143068 = undefined; + s.b___143072 = undefined; + s.unnamed706___U2 = undefined; + s.unnamed707___U3 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_AnyButton__C22686_VT)) failedCast(r0); - s.tmp_0 = controller__player1__P20099_mk(s); + if (!checkSubtype(r0, controller_AnyButton__C130567_VT)) failedCast(r0); + s.tmp_0 = controller__player1__P127980_mk(s); s.callLocIdx = 196; s.pc = 6; return s.tmp_0; case 6: r0 = s.retval; - s.ctrl___35187 = (r0); - s.b___35191 = (undefined); - r0 = s.ctrl___35187.fields["buttons"]; - s.unnamed154___U2 = (r0); - s.unnamed155___U3 = (0); + s.ctrl___143068 = (r0); + s.b___143072 = (undefined); + r0 = s.ctrl___143068.fields["buttons"]; + s.unnamed706___U2 = (r0); + s.unnamed707___U3 = (0); case 1: - s.tmp_0 = r0 = s.unnamed155___U3; - r0 = pxsim_Array__length(s.unnamed154___U2); + s.tmp_0 = r0 = s.unnamed707___U3; + r0 = pxsim_Array__length(s.unnamed706___U2); s.tmp_1 = r0; r0 = (s.tmp_0 < s.tmp_1); if (!r0) { step = 4; continue; } - r0 = pxsim_Array__getAt(s.unnamed154___U2, s.unnamed155___U3); - s.b___35191 = (r0); - s.tmp_3 = controller_Button__C20160_v0_1_mk(s); - s.tmp_3.arg0 = s.b___35191; - if (!checkSubtype(s.tmp_3.arg0, controller_Button__C20160_VT)) failedCast(s.tmp_3.arg0); + r0 = pxsim_Array__getAt(s.unnamed706___U2, s.unnamed707___U3); + s.b___143072 = (r0); + s.tmp_3 = controller_Button__C128041_v0_1_mk(s); + s.tmp_3.arg0 = s.b___143072; + if (!checkSubtype(s.tmp_3.arg0, controller_Button__C128041_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: @@ -38129,31 +38129,31 @@ switch (step) { { step = 5; continue; } case 2: case 3: - r0 = (s.unnamed155___U3 + 1); - s.unnamed155___U3 = (r0); + r0 = (s.unnamed707___U3 + 1); + s.unnamed707___U3 = (r0); { step = 1; continue; } case 4: - s.unnamed154___U2 = (undefined); + s.unnamed706___U2 = (undefined); r0 = false; case 5: return leave(s, r0) default: oops() } } } -controller_AnyButton_isPressed__P22694.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__P130575.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__P22694_mk(s) { +function controller_AnyButton_isPressed__P130575_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_AnyButton_isPressed__P22694, depth: s.depth + 1, + parent: s, fn: controller_AnyButton_isPressed__P130575, 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___35187: undefined, - b___35191: undefined, - unnamed154___U2: undefined, - unnamed155___U3: undefined, + ctrl___143068: undefined, + b___143072: undefined, + unnamed706___U2: undefined, + unnamed707___U3: undefined, arg0: undefined, } } @@ -38161,7 +38161,7 @@ function controller_AnyButton_isPressed__P22694_mk(s) { -function controller_Button_toString__P20165(s) { +function controller_Button_toString__P128046(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38176,7 +38176,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, controller_Button__C20160_VT)) failedCast(r0); + if (!checkSubtype(r0, controller_Button__C128041_VT)) failedCast(r0); r0 = s.arg0.fields["_pressed"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -38216,12 +38216,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -controller_Button_toString__P20165.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__P128046.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__P20165_mk(s) { +function controller_Button_toString__P128046_mk(s) { checkStack(s.depth); return { - parent: s, fn: controller_Button_toString__P20165, depth: s.depth + 1, + parent: s, fn: controller_Button_toString__P128046, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38237,7 +38237,7 @@ function controller_Button_toString__P20165_mk(s) { -function sprites_BaseSpriteSayRenderer_constructor__P20231(s) { +function sprites_BaseSpriteSayRenderer_constructor__P128112(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38255,7 +38255,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C20230_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C128111_VT)) failedCast(r0); r0 = (s.arg0).fields["text"] = (s.arg1); r0 = (s.arg0).fields["fgColor"] = (s.arg2); r0 = (s.arg0).fields["bgColor"] = (s.arg3); @@ -38263,12 +38263,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_constructor__P20231.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__P128112.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__P20231_mk(s) { +function sprites_BaseSpriteSayRenderer_constructor__P128112_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P20231, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_constructor__P128112, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -38280,7 +38280,7 @@ function sprites_BaseSpriteSayRenderer_constructor__P20231_mk(s) { -function sprites_StaticObstacle_width__P20479(s) { +function sprites_StaticObstacle_width__P128360(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38295,20 +38295,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C20469_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C128350_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__P20479.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__P20479.isGetter = true; +sprites_StaticObstacle_width__P128360.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__P128360.isGetter = true; -function sprites_StaticObstacle_width__P20479_mk(s) { +function sprites_StaticObstacle_width__P128360_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_width__P20479, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_width__P128360, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38318,7 +38318,7 @@ function sprites_StaticObstacle_width__P20479_mk(s) { -function sprites_StaticObstacle_height__P20478(s) { +function sprites_StaticObstacle_height__P128359(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38333,20 +38333,20 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C20469_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C128350_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__P20478.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__P20478.isGetter = true; +sprites_StaticObstacle_height__P128359.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__P128359.isGetter = true; -function sprites_StaticObstacle_height__P20478_mk(s) { +function sprites_StaticObstacle_height__P128359_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_height__P20478, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_height__P128359, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -38356,7 +38356,7 @@ function sprites_StaticObstacle_height__P20478_mk(s) { -function sprites_StaticObstacle_y__P20477(s) { +function sprites_StaticObstacle_y__P128358(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38371,7 +38371,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C20469_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C128350_VT)) failedCast(r0); r0 = s.arg0.fields["top"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -38384,13 +38384,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_y__P20477.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__P20477.isGetter = true; +sprites_StaticObstacle_y__P128358.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__P128358.isGetter = true; -function sprites_StaticObstacle_y__P20477_mk(s) { +function sprites_StaticObstacle_y__P128358_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_y__P20477, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_y__P128358, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38403,7 +38403,7 @@ function sprites_StaticObstacle_y__P20477_mk(s) { -function sprites_StaticObstacle_x__P20476(s) { +function sprites_StaticObstacle_x__P128357(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38418,7 +38418,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_StaticObstacle__C20469_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_StaticObstacle__C128350_VT)) failedCast(r0); r0 = s.arg0.fields["left"]; s.tmp_0 = r0; r0 = s.arg0.fields["image"]; @@ -38431,13 +38431,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -sprites_StaticObstacle_x__P20476.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__P20476.isGetter = true; +sprites_StaticObstacle_x__P128357.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__P128357.isGetter = true; -function sprites_StaticObstacle_x__P20476_mk(s) { +function sprites_StaticObstacle_x__P128357_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_StaticObstacle_x__P20476, depth: s.depth + 1, + parent: s, fn: sprites_StaticObstacle_x__P128357, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38450,7 +38450,7 @@ function sprites_StaticObstacle_x__P20476_mk(s) { -function tiles_Location_top__P20672(s) { +function tiles_Location_top__P128553(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38465,10 +38465,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20664_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C128545_VT)) failedCast(r0); r0 = s.arg0.fields["_row"]; s.tmp_0 = r0; - s.tmp_3 = tiles_Location_tileMap__P20666_mk(s); + s.tmp_3 = tiles_Location_tileMap__P128547_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 804; s.pc = 1; return s.tmp_3; case 1: @@ -38480,13 +38480,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_top__P20672.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__P20672.isGetter = true; +tiles_Location_top__P128553.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__P128553.isGetter = true; -function tiles_Location_top__P20672_mk(s) { +function tiles_Location_top__P128553_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_top__P20672, depth: s.depth + 1, + parent: s, fn: tiles_Location_top__P128553, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38499,7 +38499,7 @@ function tiles_Location_top__P20672_mk(s) { -function tiles_Location_left__P20671(s) { +function tiles_Location_left__P128552(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38514,10 +38514,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20664_VT)) failedCast(r0); + if (!checkSubtype(r0, tiles_Location__C128545_VT)) failedCast(r0); r0 = s.arg0.fields["_col"]; s.tmp_0 = r0; - s.tmp_3 = tiles_Location_tileMap__P20666_mk(s); + s.tmp_3 = tiles_Location_tileMap__P128547_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 802; s.pc = 1; return s.tmp_3; case 1: @@ -38529,13 +38529,13 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_left__P20671.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__P20671.isGetter = true; +tiles_Location_left__P128552.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__P128552.isGetter = true; -function tiles_Location_left__P20671_mk(s) { +function tiles_Location_left__P128552_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_left__P20671, depth: s.depth + 1, + parent: s, fn: tiles_Location_left__P128552, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38548,7 +38548,7 @@ function tiles_Location_left__P20671_mk(s) { -function tiles_Location_y__P20670(s) { +function tiles_Location_y__P128551(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38558,26 +38558,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___35247 = undefined; + s.scale___143128 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20664_VT)) failedCast(r0); - s.tmp_1 = tiles_Location_tileMap__P20666_mk(s); + if (!checkSubtype(r0, tiles_Location__C128545_VT)) failedCast(r0); + s.tmp_1 = tiles_Location_tileMap__P128547_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 800; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___35247 = (r0); + s.scale___143128 = (r0); r0 = s.arg0.fields["_row"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___35247); + r0 = (s.tmp_1 << s.scale___143128); s.tmp_0 = r0; - r0 = (s.scale___35247 - 1); + r0 = (s.scale___143128 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -38585,19 +38585,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_y__P20670.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__P20670.isGetter = true; +tiles_Location_y__P128551.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__P128551.isGetter = true; -function tiles_Location_y__P20670_mk(s) { +function tiles_Location_y__P128551_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_y__P20670, depth: s.depth + 1, + parent: s, fn: tiles_Location_y__P128551, 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___35247: undefined, + scale___143128: undefined, arg0: undefined, } } @@ -38605,7 +38605,7 @@ function tiles_Location_y__P20670_mk(s) { -function tiles_Location_x__P20669(s) { +function tiles_Location_x__P128550(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38615,26 +38615,26 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.scale___35263 = undefined; + s.scale___143144 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, tiles_Location__C20664_VT)) failedCast(r0); - s.tmp_1 = tiles_Location_tileMap__P20666_mk(s); + if (!checkSubtype(r0, tiles_Location__C128545_VT)) failedCast(r0); + s.tmp_1 = tiles_Location_tileMap__P128547_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 798; s.pc = 1; return s.tmp_1; case 1: r0 = s.retval; s.tmp_0 = r0; r0 = s.tmp_0.fields["_scale"]; - s.scale___35263 = (r0); + s.scale___143144 = (r0); r0 = s.arg0.fields["_col"]; s.tmp_1 = r0; - r0 = (s.tmp_1 << s.scale___35263); + r0 = (s.tmp_1 << s.scale___143144); s.tmp_0 = r0; - r0 = (s.scale___35263 - 1); + r0 = (s.scale___143144 - 1); s.tmp_3 = r0; r0 = (1 << s.tmp_3); s.tmp_2 = r0; @@ -38642,19 +38642,19 @@ switch (step) { return leaveAccessor(s, r0) default: oops() } } } -tiles_Location_x__P20669.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__P20669.isGetter = true; +tiles_Location_x__P128550.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__P128550.isGetter = true; -function tiles_Location_x__P20669_mk(s) { +function tiles_Location_x__P128550_mk(s) { checkStack(s.depth); return { - parent: s, fn: tiles_Location_x__P20669, depth: s.depth + 1, + parent: s, fn: tiles_Location_x__P128550, 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___35263: undefined, + scale___143144: undefined, arg0: undefined, } } @@ -38662,7 +38662,7 @@ function tiles_Location_x__P20669_mk(s) { -function particles_ShapeFactory_drawParticle__P21187(s) { +function particles_ShapeFactory_drawParticle__P129068(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38672,7 +38672,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.pImage___35282 = undefined; + s.pImage___143163 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38681,8 +38681,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_ShapeFactory__C21184_VT)) failedCast(r0); - s.tmp_1 = Math_FastRandom_pickRandom__P21035_mk(s); + if (!checkSubtype(r0, particles_ShapeFactory__C129065_VT)) failedCast(r0); + s.tmp_1 = Math_FastRandom_pickRandom__P128916_mk(s); r0 = s.arg0.fields["galois"]; s.tmp_1.arg0 = r0; r0 = s.arg0.fields["sources"]; @@ -38692,12 +38692,12 @@ switch (step) { r0 = s.retval; s.tmp_0 = r0; r0 = pxsim_ImageMethods.clone(s.tmp_0); - s.pImage___35282 = (r0); + s.pImage___143163 = (r0); r0 = s.arg1.fields["color"]; s.tmp_0 = r0; - r0 = pxsim_ImageMethods.replace(s.pImage___35282, 15, s.tmp_0); - s.tmp_0 = r0 = globals.screen___20003; - s.tmp_1 = r0 = s.pImage___35282; + r0 = pxsim_ImageMethods.replace(s.pImage___143163, 15, s.tmp_0); + s.tmp_0 = r0 = globals.screen___127884; + s.tmp_1 = r0 = s.pImage___143163; r0 = s.arg0.fields["ox"]; s.tmp_4 = r0; r0 = (s.arg2 - s.tmp_4); @@ -38719,12 +38719,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_ShapeFactory_drawParticle__P21187.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__P129068.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__P21187_mk(s) { +function particles_ShapeFactory_drawParticle__P129068_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_ShapeFactory_drawParticle__P21187, depth: s.depth + 1, + parent: s, fn: particles_ShapeFactory_drawParticle__P129068, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38736,7 +38736,7 @@ function particles_ShapeFactory_drawParticle__P21187_mk(s) { tmp_7: undefined, tmp_8: undefined, tmp_9: undefined, - pImage___35282: undefined, + pImage___143163: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38747,7 +38747,7 @@ function particles_ShapeFactory_drawParticle__P21187_mk(s) { -function Math_FastRandom_pickRandom__P21035(s) { +function Math_FastRandom_pickRandom__P128916(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38763,7 +38763,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Math_FastRandom__C21030_VT)) failedCast(r0); + if (!checkSubtype(r0, Math_FastRandom__C128911_VT)) failedCast(r0); r0 = pxsim_numops_toBoolDecr(s.arg1); s.tmp_1 = r0; r0 = pxsim_Boolean__bang(s.tmp_1); @@ -38786,7 +38786,7 @@ switch (step) { case 3: case 4: s.tmp_4 = r0 = s.arg1; - s.tmp_6 = Math_FastRandom_randomRange__P21034_mk(s); + s.tmp_6 = Math_FastRandom_randomRange__P128915_mk(s); s.tmp_6.arg0 = s.arg0; s.tmp_6.arg1 = 0; r0 = pxsim_Array__length(s.arg1); @@ -38802,12 +38802,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Math_FastRandom_pickRandom__P21035.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__P128916.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__P21035_mk(s) { +function Math_FastRandom_pickRandom__P128916_mk(s) { checkStack(s.depth); return { - parent: s, fn: Math_FastRandom_pickRandom__P21035, depth: s.depth + 1, + parent: s, fn: Math_FastRandom_pickRandom__P128916, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38825,7 +38825,7 @@ function Math_FastRandom_pickRandom__P21035_mk(s) { -function particles_AreaFactory_drawParticle__P21175(s) { +function particles_AreaFactory_drawParticle__P129056(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38835,7 +38835,7 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.col___35328 = undefined; + s.col___143209 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -38844,7 +38844,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_AreaFactory__C21168_VT)) failedCast(r0); + if (!checkSubtype(r0, particles_AreaFactory__C129049_VT)) failedCast(r0); r0 = s.arg1.fields["lifespan"]; s.tmp_1 = r0; r0 = (s.tmp_1 > 500); @@ -38871,8 +38871,8 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_5 = r0; - s.col___35328 = (s.tmp_5); - s.tmp_0 = r0 = globals.screen___20003; + s.col___143209 = (s.tmp_5); + s.tmp_0 = r0 = globals.screen___127884; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -38881,17 +38881,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___35328); + r0 = pxsim_ImageMethods.setPixel(s.tmp_0, s.tmp_1, s.tmp_3, s.col___143209); r0 = undefined; return leave(s, r0) default: oops() } } } -particles_AreaFactory_drawParticle__P21175.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__P129056.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__P21175_mk(s) { +function particles_AreaFactory_drawParticle__P129056_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_AreaFactory_drawParticle__P21175, depth: s.depth + 1, + parent: s, fn: particles_AreaFactory_drawParticle__P129056, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38899,7 +38899,7 @@ function particles_AreaFactory_drawParticle__P21175_mk(s) { tmp_3: undefined, tmp_4: undefined, tmp_5: undefined, - col___35328: undefined, + col___143209: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -38910,7 +38910,7 @@ function particles_AreaFactory_drawParticle__P21175_mk(s) { -function particles_SprayFactory_drawParticle__P21165(s) { +function particles_SprayFactory_drawParticle__P129046(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38928,8 +38928,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, particles_SprayFactory__C21162_VT)) failedCast(r0); - s.tmp_0 = r0 = globals.screen___20003; + if (!checkSubtype(r0, particles_SprayFactory__C129043_VT)) failedCast(r0); + s.tmp_0 = r0 = globals.screen___127884; r0 = (s.arg2 + 128); s.tmp_2 = r0; r0 = (s.tmp_2 >> 8); @@ -38943,12 +38943,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -particles_SprayFactory_drawParticle__P21165.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__P129046.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__P21165_mk(s) { +function particles_SprayFactory_drawParticle__P129046_mk(s) { checkStack(s.depth); return { - parent: s, fn: particles_SprayFactory_drawParticle__P21165, depth: s.depth + 1, + parent: s, fn: particles_SprayFactory_drawParticle__P129046, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -38965,7 +38965,7 @@ function particles_SprayFactory_drawParticle__P21165_mk(s) { -function scene_Renderable___drawCore__P20774(s) { +function scene_Renderable___drawCore__P128655(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -38981,10 +38981,10 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C20771_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C128652_VT)) failedCast(r0); s.tmp_0 = if_handler_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = globals.screen___20003; + s.tmp_0.arg1 = globals.screen___127884; 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); @@ -39001,12 +39001,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___drawCore__P20774.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__P128655.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__P20774_mk(s) { +function scene_Renderable___drawCore__P128655_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___drawCore__P20774, depth: s.depth + 1, + parent: s, fn: scene_Renderable___drawCore__P128655, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39017,7 +39017,7 @@ function scene_Renderable___drawCore__P20774_mk(s) { -function scene_Renderable___visible__P20773(s) { +function scene_Renderable___visible__P128654(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39032,7 +39032,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Renderable__C20771_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Renderable__C128652_VT)) failedCast(r0); s.tmp_0 = if_shouldBeVisible_1_mk(s); s.tmp_0.arg0 = s.arg0; if (!s.tmp_0.arg0.vtable.iface) { @@ -39049,12 +39049,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -scene_Renderable___visible__P20773.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__P128654.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__P20773_mk(s) { +function scene_Renderable___visible__P128654_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Renderable___visible__P20773, depth: s.depth + 1, + parent: s, fn: scene_Renderable___visible__P128654, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, arg0: undefined, @@ -39064,7 +39064,7 @@ function scene_Renderable___visible__P20773_mk(s) { -function Sprite___drawCore__P20386(s) { +function Sprite___drawCore__P128267(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39074,24 +39074,24 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.ox___35368 = undefined; - s.oy___35376 = undefined; - s.l___35384 = undefined; - s.t___35390 = undefined; + s.ox___143249 = undefined; + s.oy___143257 = undefined; + s.l___143265 = undefined; + s.t___143271 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); - s.tmp_0 = Sprite_drawSay__P22714_mk(s); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); + s.tmp_0 = Sprite_drawSay__P130595_mk(s); s.tmp_0.arg0 = s.arg0; s.tmp_0.arg1 = s.arg1; s.callLocIdx = 375; s.pc = 8; return s.tmp_0; case 8: r0 = s.retval; - s.tmp_1 = Sprite_isOutOfScreen__P20385_mk(s); + s.tmp_1 = Sprite_isOutOfScreen__P128266_mk(s); s.tmp_1.arg0 = s.arg0; s.tmp_1.arg1 = s.arg1; s.callLocIdx = 376; s.pc = 9; return s.tmp_1; @@ -39116,7 +39116,7 @@ switch (step) { case 4: // jmp value (already in r0) s.tmp_4 = r0; - s.ox___35368 = (s.tmp_4); + s.ox___143249 = (s.tmp_4); r0 = s.arg0.fields["flags"]; s.tmp_1 = r0; r0 = (s.tmp_1 & 512); @@ -39130,42 +39130,42 @@ switch (step) { case 6: // jmp value (already in r0) s.tmp_2 = r0; - s.oy___35376 = (s.tmp_2); - s.tmp_2 = Sprite_left__P20370_mk(s); + s.oy___143257 = (s.tmp_2); + s.tmp_2 = Sprite_left__P128251_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 377; s.pc = 10; return s.tmp_2; case 10: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.ox___35368); + r0 = (s.tmp_1 - s.ox___143249); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.l___35384 = (r0); - s.tmp_2 = Sprite_top__P20374_mk(s); + s.l___143265 = (r0); + s.tmp_2 = Sprite_top__P128255_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 378; s.pc = 11; return s.tmp_2; case 11: r0 = s.retval; s.tmp_1 = r0; - r0 = (s.tmp_1 - s.oy___35376); + r0 = (s.tmp_1 - s.oy___143257); s.tmp_0 = r0; r0 = pxsim.Math_.floor(s.tmp_0); - s.t___35390 = (r0); - s.tmp_0 = Sprite__C20312_v6_3_mk(s); + s.t___143271 = (r0); + s.tmp_0 = Sprite__C128193_v6_3_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___35384; - s.tmp_0.arg2 = s.t___35390; - if (!checkSubtype(s.tmp_0.arg0, Sprite__C20312_VT)) failedCast(s.tmp_0.arg0); + s.tmp_0.arg1 = s.l___143265; + s.tmp_0.arg2 = s.t___143271; + if (!checkSubtype(s.tmp_0.arg0, Sprite__C128193_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__P22715_mk(s); + s.tmp_0 = Sprite_drawDebug__P130596_mk(s); s.tmp_0.arg0 = s.arg0; - s.tmp_0.arg1 = s.l___35384; - s.tmp_0.arg2 = s.t___35390; - s.tmp_0.arg3 = s.ox___35368; - s.tmp_0.arg4 = s.oy___35376; + s.tmp_0.arg1 = s.l___143265; + s.tmp_0.arg2 = s.t___143271; + s.tmp_0.arg3 = s.ox___143249; + s.tmp_0.arg4 = s.oy___143257; s.callLocIdx = 379; s.pc = 13; return s.tmp_0; case 13: r0 = s.retval; @@ -39174,22 +39174,22 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___drawCore__P20386.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__P128267.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__P20386_mk(s) { +function Sprite___drawCore__P128267_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___drawCore__P20386, depth: s.depth + 1, + parent: s, fn: Sprite___drawCore__P128267, 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___35368: undefined, - oy___35376: undefined, - l___35384: undefined, - t___35390: undefined, + ox___143249: undefined, + oy___143257: undefined, + l___143265: undefined, + t___143271: undefined, arg0: undefined, arg1: undefined, } } @@ -39198,7 +39198,7 @@ function Sprite___drawCore__P20386_mk(s) { -function Sprite_drawSprite__P22716(s) { +function Sprite_drawSprite__P130597(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39215,8 +39215,8 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); - s.tmp_3 = Sprite_isScaled__P22713_mk(s); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); + s.tmp_3 = Sprite_isScaled__P130594_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 471; s.pc = 3; return s.tmp_3; case 3: @@ -39230,20 +39230,20 @@ switch (step) { if (!r0) { step = 1; continue; } r0 = s.arg0.fields["_image"]; s.tmp_4 = r0; - r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___20003, s.tmp_4, s.arg1, s.arg2); + r0 = pxsim_ImageMethods.drawTransparentImage(globals.screen___127884, s.tmp_4, s.arg1, s.arg2); { step = 2; continue; } case 1: - s.tmp_0 = helpers_imageBlit__P19924_mk(s); - s.tmp_0.arg0 = globals.screen___20003; + s.tmp_0 = helpers_imageBlit__P127805_mk(s); + s.tmp_0.arg0 = globals.screen___127884; s.tmp_0.arg1 = s.arg1; s.tmp_0.arg2 = s.arg2; - s.tmp_1 = Sprite_width__P20368_mk(s); + s.tmp_1 = Sprite_width__P128249_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 472; s.pc = 5; return s.tmp_1; case 5: r0 = s.retval; s.tmp_0.arg3 = r0; - s.tmp_2 = Sprite_height__P20369_mk(s); + s.tmp_2 = Sprite_height__P128250_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 473; s.pc = 6; return s.tmp_2; case 6: @@ -39271,12 +39271,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSprite__P22716.info = {"start":35888,"length":514,"line":1118,"column":4,"endLine":1132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]} +Sprite_drawSprite__P130597.info = {"start":35888,"length":514,"line":1118,"column":4,"endLine":1132,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSprite","argumentNames":["this","drawLeft","drawTop"]} -function Sprite_drawSprite__P22716_mk(s) { +function Sprite_drawSprite__P130597_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSprite__P22716, depth: s.depth + 1, + parent: s, fn: Sprite_drawSprite__P130597, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39292,7 +39292,7 @@ function Sprite_drawSprite__P22716_mk(s) { -function Sprite_drawDebug__P22715(s) { +function Sprite_drawDebug__P130596(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39302,9 +39302,9 @@ if (yieldSteps-- < 0 && maybeYield(s, step, r0) || runtime !== pxsim.runtime) re switch (step) { case 0: - s.font___35414 = undefined; - s.tx___35418 = undefined; - s.ty___35420 = undefined; + s.font___143295 = undefined; + s.tx___143299 = undefined; + s.ty___143301 = undefined; if (s.lambdaArgs) { s.arg0 = (s.lambdaArgs[0]); s.arg1 = (s.lambdaArgs[1]); @@ -39314,17 +39314,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_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___35414 = (globals.font5___19951); - s.tx___35418 = (s.arg1); + s.font___143295 = (globals.font5___127832); + s.tx___143299 = (s.arg1); s.tmp_1 = r0 = s.arg2; - s.tmp_3 = Sprite_height__P20369_mk(s); + s.tmp_3 = Sprite_height__P128250_mk(s); s.tmp_3.arg0 = s.arg0; s.callLocIdx = 447; s.pc = 13; return s.tmp_3; case 13: @@ -39333,12 +39333,12 @@ switch (step) { r0 = (s.tmp_1 + s.tmp_2); s.tmp_0 = r0; r0 = (s.tmp_0 + 2); - s.ty___35420 = (r0); - s.tmp_0 = helpers_imagePrint__P19961_mk(s); - s.tmp_0.arg0 = globals.screen___20003; + s.ty___143301 = (r0); + s.tmp_0 = helpers_imagePrint__P127842_mk(s); + s.tmp_0.arg0 = globals.screen___127884; r0 = pxsim_String_.mkEmpty(); s.tmp_3 = r0; - s.tmp_7 = Sprite_x__P20325_mk(s); + s.tmp_7 = Sprite_x__P128206_mk(s); s.tmp_7.arg0 = s.arg0; s.callLocIdx = 448; s.pc = 15; return s.tmp_7; case 15: @@ -39359,7 +39359,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_11 = Sprite_y__P20327_mk(s); + s.tmp_11 = Sprite_y__P128208_mk(s); s.tmp_11.arg0 = s.arg0; s.callLocIdx = 449; s.pc = 17; return s.tmp_11; case 17: @@ -39378,17 +39378,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___35418; - s.tmp_0.arg3 = s.ty___35420; + s.tmp_0.arg2 = s.tx___143299; + s.tmp_0.arg3 = s.ty___143301; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___35414; + s.tmp_0.arg5 = s.font___143295; s.tmp_0.arg6 = undefined; s.callLocIdx = 450; s.pc = 14; return s.tmp_0; case 14: r0 = s.retval; - s.tmp_0 = r0 = s.tx___35418; + s.tmp_0 = r0 = s.tx___143299; s.tmp_2 = if_charWidth_1_mk(s); - s.tmp_2.arg0 = s.font___35414; + s.tmp_2.arg0 = s.font___143295; if (!s.tmp_2.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_2.arg0, "charWidth"); } else { @@ -39401,8 +39401,8 @@ switch (step) { r0 = s.retval; s.tmp_1 = r0; r0 = (s.tmp_0 - s.tmp_1); - s.tx___35418 = (r0); - s.tmp_1 = Sprite_vx__P20329_mk(s); + s.tx___143299 = (r0); + s.tmp_1 = Sprite_vx__P128210_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 452; s.pc = 20; return s.tmp_1; case 20: @@ -39413,7 +39413,7 @@ switch (step) { r0 = s.tmp_0; { step = 2; continue; } case 1: - s.tmp_2 = Sprite_vy__P20331_mk(s); + s.tmp_2 = Sprite_vy__P128212_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 453; s.pc = 21; return s.tmp_2; case 21: @@ -39423,9 +39423,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___35420; + s.tmp_4 = r0 = s.ty___143301; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___35414; + s.tmp_7.arg0 = s.font___143295; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -39440,10 +39440,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___35420 = (r0); - s.tmp_0 = helpers_imagePrint__P19961_mk(s); - s.tmp_0.arg0 = globals.screen___20003; - s.tmp_6 = Sprite_vx__P20329_mk(s); + s.ty___143301 = (r0); + s.tmp_0 = helpers_imagePrint__P127842_mk(s); + s.tmp_0.arg0 = globals.screen___127884; + s.tmp_6 = Sprite_vx__P128210_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 455; s.pc = 24; return s.tmp_6; case 24: @@ -39464,7 +39464,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_vy__P20331_mk(s); + s.tmp_10 = Sprite_vy__P128212_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 456; s.pc = 26; return s.tmp_10; case 26: @@ -39483,17 +39483,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___35418; - s.tmp_0.arg3 = s.ty___35420; + s.tmp_0.arg2 = s.tx___143299; + s.tmp_0.arg3 = s.ty___143301; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___35414; + s.tmp_0.arg5 = s.font___143295; s.tmp_0.arg6 = undefined; s.callLocIdx = 457; s.pc = 23; return s.tmp_0; case 23: r0 = s.retval; case 3: case 4: - s.tmp_1 = Sprite_ax__P20333_mk(s); + s.tmp_1 = Sprite_ax__P128214_mk(s); s.tmp_1.arg0 = s.arg0; s.callLocIdx = 458; s.pc = 28; return s.tmp_1; case 28: @@ -39504,7 +39504,7 @@ switch (step) { r0 = s.tmp_0; { step = 6; continue; } case 5: - s.tmp_2 = Sprite_ay__P20335_mk(s); + s.tmp_2 = Sprite_ay__P128216_mk(s); s.tmp_2.arg0 = s.arg0; s.callLocIdx = 459; s.pc = 29; return s.tmp_2; case 29: @@ -39514,9 +39514,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___35420; + s.tmp_4 = r0 = s.ty___143301; s.tmp_7 = if_charHeight_1_mk(s); - s.tmp_7.arg0 = s.font___35414; + s.tmp_7.arg0 = s.font___143295; if (!s.tmp_7.arg0.vtable.iface) { s.retval = pxsim_pxtrt.mapGetByString(s.tmp_7.arg0, "charHeight"); } else { @@ -39531,10 +39531,10 @@ switch (step) { r0 = (s.tmp_6 + 2); s.tmp_5 = r0; r0 = (s.tmp_4 + s.tmp_5); - s.ty___35420 = (r0); - s.tmp_0 = helpers_imagePrint__P19961_mk(s); - s.tmp_0.arg0 = globals.screen___20003; - s.tmp_6 = Sprite_ax__P20333_mk(s); + s.ty___143301 = (r0); + s.tmp_0 = helpers_imagePrint__P127842_mk(s); + s.tmp_0.arg0 = globals.screen___127884; + s.tmp_6 = Sprite_ax__P128214_mk(s); s.tmp_6.arg0 = s.arg0; s.callLocIdx = 461; s.pc = 32; return s.tmp_6; case 32: @@ -39555,7 +39555,7 @@ switch (step) { s.tmp_2 = r0; r0 = pxsim_String__concat(s.tmp_2, ","); s.tmp_1 = r0; - s.tmp_10 = Sprite_ay__P20335_mk(s); + s.tmp_10 = Sprite_ay__P128216_mk(s); s.tmp_10.arg0 = s.arg0; s.callLocIdx = 462; s.pc = 34; return s.tmp_10; case 34: @@ -39574,10 +39574,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___35418; - s.tmp_0.arg3 = s.ty___35420; + s.tmp_0.arg2 = s.tx___143299; + s.tmp_0.arg3 = s.ty___143301; s.tmp_0.arg4 = 1; - s.tmp_0.arg5 = s.font___35414; + s.tmp_0.arg5 = s.font___143295; s.tmp_0.arg6 = undefined; s.callLocIdx = 463; s.pc = 31; return s.tmp_0; case 31: @@ -39586,11 +39586,11 @@ switch (step) { case 8: case 9: case 10: - r0 = pxsim_numops_toBoolDecr(globals.debug___20938); + r0 = pxsim_numops_toBoolDecr(globals.debug___128819); if (!r0) { step = 11; continue; } - s.tmp_0 = helpers_imageDrawRect__P19930_mk(s); - s.tmp_0.arg0 = globals.screen___20003; - s.tmp_3 = game_Hitbox_left__P20187_mk(s); + s.tmp_0 = helpers_imageDrawRect__P127811_mk(s); + s.tmp_0.arg0 = globals.screen___127884; + s.tmp_3 = game_Hitbox_left__P128068_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_3.arg0 = r0; s.callLocIdx = 464; s.pc = 37; return s.tmp_3; @@ -39603,7 +39603,7 @@ switch (step) { s.tmp_1 = r0; r0 = (s.tmp_1 - s.arg3); s.tmp_0.arg1 = r0; - s.tmp_7 = game_Hitbox_top__P20188_mk(s); + s.tmp_7 = game_Hitbox_top__P128069_mk(s); r0 = s.arg0.fields["_hitbox"]; s.tmp_7.arg0 = r0; s.callLocIdx = 466; s.pc = 38; return s.tmp_7; @@ -39640,12 +39640,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawDebug__P22715.info = {"start":34790,"length":1092,"line":1088,"column":4,"endLine":1116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]} +Sprite_drawDebug__P130596.info = {"start":34790,"length":1092,"line":1088,"column":4,"endLine":1116,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawDebug","argumentNames":["this","left","top","offsetX","offsetY"]} -function Sprite_drawDebug__P22715_mk(s) { +function Sprite_drawDebug__P130596_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawDebug__P22715, depth: s.depth + 1, + parent: s, fn: Sprite_drawDebug__P130596, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39660,9 +39660,9 @@ function Sprite_drawDebug__P22715_mk(s) { tmp_10: undefined, tmp_11: undefined, tmp_12: undefined, - font___35414: undefined, - tx___35418: undefined, - ty___35420: undefined, + font___143295: undefined, + tx___143299: undefined, + ty___143301: undefined, arg0: undefined, arg1: undefined, arg2: undefined, @@ -39674,7 +39674,7 @@ function Sprite_drawDebug__P22715_mk(s) { -function Sprite_drawSay__P22714(s) { +function Sprite_drawSay__P130595(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39690,7 +39690,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_0); @@ -39709,23 +39709,23 @@ switch (step) { s.tmp_3 = r0; r0 = pxsim_numops_toBoolDecr(s.tmp_3); if (!r0) { step = 1; continue; } - s.tmp_6 = sprites_BaseSpriteSayRenderer__C20230_v0_4_mk(s); + s.tmp_6 = sprites_BaseSpriteSayRenderer__C128111_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_6.arg0 = r0; - s.tmp_6.arg1 = globals.screen___20003; + s.tmp_6.arg1 = globals.screen___127884; s.tmp_6.arg2 = s.arg1; s.tmp_6.arg3 = s.arg0; - if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C20230_VT)) failedCast(s.tmp_6.arg0); + if (!checkSubtype(s.tmp_6.arg0, sprites_BaseSpriteSayRenderer__C128111_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__C20230_v2_1_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C128111_v2_1_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C20230_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C128111_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: @@ -39735,13 +39735,13 @@ switch (step) { case 2: { step = 4; continue; } case 3: - s.tmp_0 = sprites_BaseSpriteSayRenderer__C20230_v0_4_mk(s); + s.tmp_0 = sprites_BaseSpriteSayRenderer__C128111_v0_4_mk(s); r0 = s.arg0.fields["sayRenderer"]; s.tmp_0.arg0 = r0; - s.tmp_0.arg1 = globals.screen___20003; + s.tmp_0.arg1 = globals.screen___127884; s.tmp_0.arg2 = s.arg1; s.tmp_0.arg3 = s.arg0; - if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C20230_VT)) failedCast(s.tmp_0.arg0); + if (!checkSubtype(s.tmp_0.arg0, sprites_BaseSpriteSayRenderer__C128111_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: @@ -39753,12 +39753,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite_drawSay__P22714.info = {"start":34210,"length":574,"line":1070,"column":4,"endLine":1086,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]} +Sprite_drawSay__P130595.info = {"start":34210,"length":574,"line":1070,"column":4,"endLine":1086,"endColumn":5,"fileName":"pxt_modules/game/sprite.ts","functionName":"drawSay","argumentNames":["this","camera"]} -function Sprite_drawSay__P22714_mk(s) { +function Sprite_drawSay__P130595_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite_drawSay__P22714, depth: s.depth + 1, + parent: s, fn: Sprite_drawSay__P130595, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39775,7 +39775,7 @@ function Sprite_drawSay__P22714_mk(s) { -function sprites_BaseSpriteSayRenderer_destroy__P20234(s) { +function sprites_BaseSpriteSayRenderer_destroy__P128115(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39790,17 +39790,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C20230_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C128111_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_destroy__P20234.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__P128115.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__P20234_mk(s) { +function sprites_BaseSpriteSayRenderer_destroy__P128115_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P20234, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_destroy__P128115, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -39809,7 +39809,7 @@ function sprites_BaseSpriteSayRenderer_destroy__P20234_mk(s) { -function sprites_BaseSpriteSayRenderer_draw__P20232(s) { +function sprites_BaseSpriteSayRenderer_draw__P128113(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39827,17 +39827,17 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C20230_VT)) failedCast(r0); + if (!checkSubtype(r0, sprites_BaseSpriteSayRenderer__C128111_VT)) failedCast(r0); r0 = undefined; return leave(s, r0) default: oops() } } } -sprites_BaseSpriteSayRenderer_draw__P20232.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__P128113.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__P20232_mk(s) { +function sprites_BaseSpriteSayRenderer_draw__P128113_mk(s) { checkStack(s.depth); return { - parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P20232, depth: s.depth + 1, + parent: s, fn: sprites_BaseSpriteSayRenderer_draw__P128113, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, arg1: undefined, @@ -39849,7 +39849,7 @@ function sprites_BaseSpriteSayRenderer_draw__P20232_mk(s) { -function Sprite___visible__P20367(s) { +function Sprite___visible__P128248(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39864,7 +39864,7 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, Sprite__C20312_VT)) failedCast(r0); + if (!checkSubtype(r0, Sprite__C128193_VT)) failedCast(r0); r0 = s.arg0.fields["flags"]; s.tmp_2 = r0; r0 = (s.tmp_2 & 128); @@ -39875,12 +39875,12 @@ switch (step) { return leave(s, r0) default: oops() } } } -Sprite___visible__P20367.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__P128248.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__P20367_mk(s) { +function Sprite___visible__P128248_mk(s) { checkStack(s.depth); return { - parent: s, fn: Sprite___visible__P20367, depth: s.depth + 1, + parent: s, fn: Sprite___visible__P128248, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, tmp_0: undefined, tmp_1: undefined, @@ -39892,7 +39892,7 @@ function Sprite___visible__P20367_mk(s) { -function scene_Camera_top__P20765(s) { +function scene_Camera_top__P128646(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39907,18 +39907,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20752_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C128633_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetY"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_top__P20765.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__P20765.isGetter = true; +scene_Camera_top__P128646.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__P128646.isGetter = true; -function scene_Camera_top__P20765_mk(s) { +function scene_Camera_top__P128646_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_top__P20765, depth: s.depth + 1, + parent: s, fn: scene_Camera_top__P128646, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -39927,7 +39927,7 @@ function scene_Camera_top__P20765_mk(s) { -function scene_Camera_left__P20763(s) { +function scene_Camera_left__P128644(s) { let r0 = s.r0, step = s.pc; s.pc = -1; @@ -39942,18 +39942,18 @@ switch (step) { s.lambdaArgs = null; } r0 = s.arg0; - if (!checkSubtype(r0, scene_Camera__C20752_VT)) failedCast(r0); + if (!checkSubtype(r0, scene_Camera__C128633_VT)) failedCast(r0); r0 = s.arg0.fields["_offsetX"]; return leaveAccessor(s, r0) default: oops() } } } -scene_Camera_left__P20763.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__P20763.isGetter = true; +scene_Camera_left__P128644.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__P128644.isGetter = true; -function scene_Camera_left__P20763_mk(s) { +function scene_Camera_left__P128644_mk(s) { checkStack(s.depth); return { - parent: s, fn: scene_Camera_left__P20763, depth: s.depth + 1, + parent: s, fn: scene_Camera_left__P128644, depth: s.depth + 1, pc: 0, retval: undefined, r0: undefined, overwrittenPC: false, lambdaArgs: null, arg0: undefined, } } @@ -39961,7 +39961,7 @@ function scene_Camera_left__P20763_mk(s) { -function PhysicsEngine__C20482_v4_2_mk(s) { +function PhysicsEngine__C128363_v4_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40007,7 +40007,7 @@ function lambda_2_mk(s) { } } -function PhysicsEngine__C20482_v3_1_mk(s) { +function PhysicsEngine__C128363_v3_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40178,7 +40178,7 @@ function lambda_3_mk(s) { } } -function controller_Button__C20160_v0_1_mk(s) { +function controller_Button__C128041_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40295,7 +40295,7 @@ function if_effect_3_mk(s) { } } -function Sprite__C20312_v5_1_mk(s) { +function Sprite__C128193_v5_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40309,7 +40309,7 @@ function Sprite__C20312_v5_1_mk(s) { } } -function Sprite__C20312_v4_1_mk(s) { +function Sprite__C128193_v4_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40339,7 +40339,7 @@ function if_sourceFactory_3_mk(s) { } } -function PhysicsEngine__C20482_v1_2_mk(s) { +function PhysicsEngine__C128363_v1_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40537,7 +40537,7 @@ function if_getText_1_mk(s) { } } -function PhysicsEngine__C20482_v2_4_mk(s) { +function PhysicsEngine__C128363_v2_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40611,7 +40611,7 @@ function if_z_2_mk(s) { } } -function PhysicsEngine__C20482_v0_2_mk(s) { +function PhysicsEngine__C128363_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40669,7 +40669,7 @@ function if_flags_1_mk(s) { } } -function particles_ParticleFactory__C21158_v0_2_mk(s) { +function particles_ParticleFactory__C129039_v0_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40684,7 +40684,7 @@ function particles_ParticleFactory__C21158_v0_2_mk(s) { } } -function particles_ParticleSource__C21122_v4_3_mk(s) { +function particles_ParticleSource__C129003_v4_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40742,7 +40742,7 @@ function if_height_1_mk(s) { } } -function particles_ParticleFactory__C21158_v1_4_mk(s) { +function particles_ParticleFactory__C129039_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40817,7 +40817,7 @@ function if_top_1_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C20230_v1_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C128111_v1_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40834,7 +40834,7 @@ function sprites_BaseSpriteSayRenderer__C20230_v1_4_mk(s) { } } -function sprites_BaseSprite__C20065_v0_1_mk(s) { +function sprites_BaseSprite__C127946_v0_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40848,7 +40848,7 @@ function sprites_BaseSprite__C20065_v0_1_mk(s) { } } -function sprites_BaseSprite__C20065_v2_2_mk(s) { +function sprites_BaseSprite__C127946_v2_2_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40877,7 +40877,7 @@ function if_shouldBeVisible_1_mk(s) { } } -function Sprite__C20312_v6_3_mk(s) { +function Sprite__C128193_v6_3_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40893,7 +40893,7 @@ function Sprite__C20312_v6_3_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C20230_v0_4_mk(s) { +function sprites_BaseSpriteSayRenderer__C128111_v0_4_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40910,7 +40910,7 @@ function sprites_BaseSpriteSayRenderer__C20230_v0_4_mk(s) { } } -function sprites_BaseSpriteSayRenderer__C20230_v2_1_mk(s) { +function sprites_BaseSpriteSayRenderer__C128111_v2_1_mk(s) { checkStack(s.depth); return { parent: s, fn: null, depth: s.depth + 1, @@ -40965,7 +40965,7 @@ function if_width_1_mk(s) { arg0: undefined, } } -const controller_Controller__C20105_VT = mkVTable({ +const controller_Controller__C127986_VT = mkVTable({ name: "Controller", numFields: 5, classNo: 16, @@ -40984,28 +40984,28 @@ const controller_Controller__C20105_VT = mkVTable({ "set/_id": null, "_connected": null, "set/_connected": null, - "_controlledSprites": controller_Controller__controlledSprites__P20110, - "set/_controlledSprites": controller_Controller__controlledSprites__P20111, - "id": controller_Controller_id__P20112, - "left": controller_Controller_left__P20114, - "right": controller_Controller_right__P20115, - "up": controller_Controller_up__P20116, - "down": controller_Controller_down__P20117, - "button": controller_Controller_button__P22685, - "connected": controller_Controller_connected__P20126, - "set/connected": controller_Controller_connected__P20127, - "__preUpdate": controller_Controller___preUpdate__P20133, - "__update": controller_Controller___update__P20134, + "_controlledSprites": controller_Controller__controlledSprites__P127991, + "set/_controlledSprites": controller_Controller__controlledSprites__P127992, + "id": controller_Controller_id__P127993, + "left": controller_Controller_left__P127995, + "right": controller_Controller_right__P127996, + "up": controller_Controller_up__P127997, + "down": controller_Controller_down__P127998, + "button": controller_Controller_button__P130566, + "connected": controller_Controller_connected__P128007, + "set/connected": controller_Controller_connected__P128008, + "__preUpdate": controller_Controller___preUpdate__P128014, + "__update": controller_Controller___update__P128015, }, }); -const controller_Button__C20160_VT = mkVTable({ +const controller_Button__C128041_VT = mkVTable({ name: "Button", numFields: 7, classNo: 17, lastSubtypeNo: 18, maxBgInstances: null, methods: { - "isPressed": controller_Button_isPressed__P20171, + "isPressed": controller_Button_isPressed__P128052, }, iface: { "_owner": null, @@ -41022,29 +41022,29 @@ const controller_Button__C20160_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "handlerState": controller_Button_handlerState__P22688, - "toString": controller_Button_toString__P20165, - "raiseButtonUp": controller_Button_raiseButtonUp__P22689, - "raiseButtonDown": controller_Button_raiseButtonDown__P22690, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P22691, - "onEvent": controller_Button_onEvent__P20167, - "isPressed": controller_Button_isPressed__P20171, - "pressureLevel": controller_Button_pressureLevel__P20172, - "setPressed": controller_Button_setPressed__P20173, - "__update": controller_Button___update__P20174, - "runButtonEvents": controller_Button_runButtonEvents__P22692, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P22693, + "handlerState": controller_Button_handlerState__P130569, + "toString": controller_Button_toString__P128046, + "raiseButtonUp": controller_Button_raiseButtonUp__P130570, + "raiseButtonDown": controller_Button_raiseButtonDown__P130571, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P130572, + "onEvent": controller_Button_onEvent__P128048, + "isPressed": controller_Button_isPressed__P128052, + "pressureLevel": controller_Button_pressureLevel__P128053, + "setPressed": controller_Button_setPressed__P128054, + "__update": controller_Button___update__P128055, + "runButtonEvents": controller_Button_runButtonEvents__P130573, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P130574, }, - toStringMethod: controller_Button_toString__P20165, + toStringMethod: controller_Button_toString__P128046, }); -const controller_AnyButton__C22686_VT = mkVTable({ +const controller_AnyButton__C130567_VT = mkVTable({ name: "AnyButton", numFields: 7, classNo: 18, lastSubtypeNo: 18, maxBgInstances: null, methods: { - "isPressed": controller_AnyButton_isPressed__P22694, + "isPressed": controller_AnyButton_isPressed__P130575, }, iface: { "_owner": null, @@ -41061,21 +41061,21 @@ const controller_AnyButton__C22686_VT = mkVTable({ "set/_pressedElasped": null, "_repeatCount": null, "set/_repeatCount": null, - "isPressed": controller_AnyButton_isPressed__P22694, - "handlerState": controller_Button_handlerState__P22688, - "toString": controller_Button_toString__P20165, - "raiseButtonUp": controller_Button_raiseButtonUp__P22689, - "raiseButtonDown": controller_Button_raiseButtonDown__P22690, - "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P22691, - "onEvent": controller_Button_onEvent__P20167, - "pressureLevel": controller_Button_pressureLevel__P20172, - "setPressed": controller_Button_setPressed__P20173, - "__update": controller_Button___update__P20174, - "runButtonEvents": controller_Button_runButtonEvents__P22692, - "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P22693, + "isPressed": controller_AnyButton_isPressed__P130575, + "handlerState": controller_Button_handlerState__P130569, + "toString": controller_Button_toString__P128046, + "raiseButtonUp": controller_Button_raiseButtonUp__P130570, + "raiseButtonDown": controller_Button_raiseButtonDown__P130571, + "raiseButtonRepeat": controller_Button_raiseButtonRepeat__P130572, + "onEvent": controller_Button_onEvent__P128048, + "pressureLevel": controller_Button_pressureLevel__P128053, + "setPressed": controller_Button_setPressed__P128054, + "__update": controller_Button___update__P128055, + "runButtonEvents": controller_Button_runButtonEvents__P130573, + "getOrCreateHandlerForEvent": controller_Button_getOrCreateHandlerForEvent__P130574, }, }); -const game_GameOverConfig__C20944_VT = mkVTable({ +const game_GameOverConfig__C128825_VT = mkVTable({ name: "GameOverConfig", numFields: 14, classNo: 19, @@ -41112,10 +41112,10 @@ const game_GameOverConfig__C20944_VT = mkVTable({ "set/messageSetByUser": null, "scoringTypeSetByUser": null, "set/scoringTypeSetByUser": null, - "init": game_GameOverConfig_init__P20960, + "init": game_GameOverConfig_init__P128841, }, }); -const Math_FastRandom__C21030_VT = mkVTable({ +const Math_FastRandom__C128911_VT = mkVTable({ name: "FastRandom", numFields: 2, classNo: 20, @@ -41128,12 +41128,12 @@ const Math_FastRandom__C21030_VT = mkVTable({ "set/lfsr": null, "seed": null, "set/seed": null, - "next": Math_FastRandom_next__P21033, - "randomRange": Math_FastRandom_randomRange__P21034, - "pickRandom": Math_FastRandom_pickRandom__P21035, + "next": Math_FastRandom_next__P128914, + "randomRange": Math_FastRandom_randomRange__P128915, + "pickRandom": Math_FastRandom_pickRandom__P128916, }, }); -const scene_Scene__C20814_VT = mkVTable({ +const scene_Scene__C128695_VT = mkVTable({ name: "Scene", numFields: 25, classNo: 21, @@ -41192,14 +41192,14 @@ const scene_Scene__C20814_VT = mkVTable({ "set/_data": null, "previousScene": null, "set/previousScene": null, - "init": scene_Scene_init__P20838, - "data": scene_Scene_data__P20839, - "millis": scene_Scene_millis__P20840, - "addSprite": scene_Scene_addSprite__P20841, - "render": scene_Scene_render__P20843, + "init": scene_Scene_init__P128719, + "data": scene_Scene_data__P128720, + "millis": scene_Scene_millis__P128721, + "addSprite": scene_Scene_addSprite__P128722, + "render": scene_Scene_render__P128724, }, }); -const control_EventContext__C18366_VT = mkVTable({ +const control_EventContext__C126247_VT = mkVTable({ name: "EventContext", numFields: 10, classNo: 22, @@ -41228,37 +41228,37 @@ const control_EventContext__C18366_VT = mkVTable({ "set/idleCallbacks": null, "runningCallbacks": null, "set/runningCallbacks": null, - "deltaTime": control_EventContext_deltaTime__P18371, - "runCallbacks": control_EventContext_runCallbacks__P22401, - "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P22402, - "register": control_EventContext_register__P18372, - "unregister": control_EventContext_unregister__P18373, - "registerFrameHandler": control_EventContext_registerFrameHandler__P18374, - "registerHandler": control_EventContext_registerHandler__P18376, + "deltaTime": control_EventContext_deltaTime__P126252, + "runCallbacks": control_EventContext_runCallbacks__P130282, + "registerFrameCallbacks": control_EventContext_registerFrameCallbacks__P130283, + "register": control_EventContext_register__P126253, + "unregister": control_EventContext_unregister__P126254, + "registerFrameHandler": control_EventContext_registerFrameHandler__P126255, + "registerHandler": control_EventContext_registerHandler__P126257, }, }); -const PhysicsEngine__C20482_VT = mkVTable({ +const PhysicsEngine__C128363_VT = mkVTable({ name: "PhysicsEngine", numFields: 0, classNo: 23, lastSubtypeNo: 24, maxBgInstances: null, methods: { - "addSprite": PhysicsEngine_addSprite__P20484, - "removeSprite": PhysicsEngine_removeSprite__P20485, - "moveSprite": PhysicsEngine_moveSprite__P20486, - "draw": PhysicsEngine_draw__P20487, - "move": PhysicsEngine_move__P20488, + "addSprite": PhysicsEngine_addSprite__P128365, + "removeSprite": PhysicsEngine_removeSprite__P128366, + "moveSprite": PhysicsEngine_moveSprite__P128367, + "draw": PhysicsEngine_draw__P128368, + "move": PhysicsEngine_move__P128369, }, iface: { - "addSprite": PhysicsEngine_addSprite__P20484, - "removeSprite": PhysicsEngine_removeSprite__P20485, - "moveSprite": PhysicsEngine_moveSprite__P20486, - "draw": PhysicsEngine_draw__P20487, - "move": PhysicsEngine_move__P20488, + "addSprite": PhysicsEngine_addSprite__P128365, + "removeSprite": PhysicsEngine_removeSprite__P128366, + "moveSprite": PhysicsEngine_moveSprite__P128367, + "draw": PhysicsEngine_draw__P128368, + "move": PhysicsEngine_move__P128369, }, }); -const scene_Camera__C20752_VT = mkVTable({ +const scene_Camera__C128633_VT = mkVTable({ name: "Camera", numFields: 10, classNo: 25, @@ -41287,19 +41287,19 @@ const scene_Camera__C20752_VT = mkVTable({ "set/shakeDuration": null, "shakeAmplitude": null, "set/shakeAmplitude": null, - "offsetX": scene_Camera_offsetX__P20757, - "set/offsetX": scene_Camera_offsetX__P20758, - "offsetY": scene_Camera_offsetY__P20759, - "set/offsetY": scene_Camera_offsetY__P20760, - "x": scene_Camera_x__P20761, - "y": scene_Camera_y__P20762, - "left": scene_Camera_left__P20763, - "top": scene_Camera_top__P20765, - "isUpdated": scene_Camera_isUpdated__P20768, - "update": scene_Camera_update__P20769, + "offsetX": scene_Camera_offsetX__P128638, + "set/offsetX": scene_Camera_offsetX__P128639, + "offsetY": scene_Camera_offsetY__P128640, + "set/offsetY": scene_Camera_offsetY__P128641, + "x": scene_Camera_x__P128642, + "y": scene_Camera_y__P128643, + "left": scene_Camera_left__P128644, + "top": scene_Camera_top__P128646, + "isUpdated": scene_Camera_isUpdated__P128649, + "update": scene_Camera_update__P128650, }, }); -const control_EventHandler__C22396_VT = mkVTable({ +const control_EventHandler__C130277_VT = mkVTable({ name: "EventHandler", numFields: 4, classNo: 26, @@ -41316,11 +41316,11 @@ const control_EventHandler__C22396_VT = mkVTable({ "set/handler": null, "flags": null, "set/flags": null, - "register": control_EventHandler_register__P22397, - "unregister": control_EventHandler_unregister__P22398, + "register": control_EventHandler_register__P130278, + "unregister": control_EventHandler_unregister__P130279, }, }); -const scene_Background__C20640_VT = mkVTable({ +const scene_Background__C128521_VT = mkVTable({ name: "Background", numFields: 4, classNo: 27, @@ -41337,10 +41337,10 @@ const scene_Background__C20640_VT = mkVTable({ "set/camera": null, "_layers": null, "set/_layers": null, - "draw": scene_Background_draw__P20649, + "draw": scene_Background_draw__P128530, }, }); -const scene_BackgroundLayer__C20650_VT = mkVTable({ +const scene_BackgroundLayer__C128531_VT = mkVTable({ name: "BackgroundLayer", numFields: 6, classNo: 28, @@ -41361,48 +41361,48 @@ const scene_BackgroundLayer__C20650_VT = mkVTable({ "set/alignX": null, "alignY": null, "set/alignY": null, - "draw": scene_BackgroundLayer_draw__P20658, + "draw": scene_BackgroundLayer_draw__P128539, }, }); -const sprites_BaseSprite__C20065_VT = mkVTable({ +const sprites_BaseSprite__C127946_VT = mkVTable({ name: "BaseSprite", numFields: 2, classNo: 29, lastSubtypeNo: 32, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P20068, - "__draw": sprites_BaseSprite___draw__P20071, - "__drawCore": sprites_BaseSprite___drawCore__P20072, - "__update": sprites_BaseSprite___update__P20073, + "__visible": sprites_BaseSprite___visible__P127949, + "__draw": sprites_BaseSprite___draw__P127952, + "__drawCore": sprites_BaseSprite___drawCore__P127953, + "__update": sprites_BaseSprite___update__P127954, }, iface: { "_z": null, "set/_z": null, "id": null, "set/id": null, - "__visible": sprites_BaseSprite___visible__P20068, - "z": sprites_BaseSprite_z__P20069, - "set/z": sprites_BaseSprite_z__P20070, - "__draw": sprites_BaseSprite___draw__P20071, - "__drawCore": sprites_BaseSprite___drawCore__P20072, - "__update": sprites_BaseSprite___update__P20073, + "__visible": sprites_BaseSprite___visible__P127949, + "z": sprites_BaseSprite_z__P127950, + "set/z": sprites_BaseSprite_z__P127951, + "__draw": sprites_BaseSprite___draw__P127952, + "__drawCore": sprites_BaseSprite___drawCore__P127953, + "__update": sprites_BaseSprite___update__P127954, }, }); -const Sprite__C20312_VT = mkVTable({ +const Sprite__C128193_VT = mkVTable({ name: "Sprite", numFields: 30, classNo: 30, lastSubtypeNo: 30, maxBgInstances: null, methods: { - "__visible": Sprite___visible__P20367, - "__draw": sprites_BaseSprite___draw__P20071, - "__drawCore": Sprite___drawCore__P20386, - "__update": Sprite___update__P20387, - "setHitbox": Sprite_setHitbox__P20365, - "recalcSize": Sprite_recalcSize__P22712, - "drawSprite": Sprite_drawSprite__P22716, + "__visible": Sprite___visible__P128248, + "__draw": sprites_BaseSprite___draw__P127952, + "__drawCore": Sprite___drawCore__P128267, + "__update": Sprite___update__P128268, + "setHitbox": Sprite_setHitbox__P128246, + "recalcSize": Sprite_recalcSize__P130593, + "drawSprite": Sprite_drawSprite__P130597, }, iface: { "_z": null, @@ -41465,67 +41465,67 @@ const Sprite__C20312_VT = mkVTable({ "set/flags": null, "destroyHandler": null, "set/destroyHandler": null, - "x": Sprite_x__P20325, - "set/x": Sprite_x__P20326, - "y": Sprite_y__P20327, - "set/y": Sprite_y__P20328, - "vx": Sprite_vx__P20329, - "set/vx": Sprite_vx__P20330, - "vy": Sprite_vy__P20331, - "set/vy": Sprite_vy__P20332, - "ax": Sprite_ax__P20333, - "set/ax": Sprite_ax__P20334, - "ay": Sprite_ay__P20335, - "set/ay": Sprite_ay__P20336, - "fx": Sprite_fx__P20337, - "set/fx": Sprite_fx__P20338, - "fy": Sprite_fy__P20339, - "set/fy": Sprite_fy__P20340, - "sx": Sprite_sx__P20341, - "sy": Sprite_sy__P20343, - "data": Sprite_data__P20347, - "set/data": Sprite_data__P20348, - "image": Sprite_image__P20361, - "setImage": Sprite_setImage__P20362, - "calcDimensionalHash": Sprite_calcDimensionalHash__P20363, - "resetHitbox": Sprite_resetHitbox__P20364, - "setHitbox": Sprite_setHitbox__P20365, - "isStatic": Sprite_isStatic__P20366, - "__visible": Sprite___visible__P20367, - "recalcSize": Sprite_recalcSize__P22712, - "isScaled": Sprite_isScaled__P22713, - "width": Sprite_width__P20368, - "height": Sprite_height__P20369, - "left": Sprite_left__P20370, - "set/left": Sprite_left__P20371, - "right": Sprite_right__P20372, - "set/right": Sprite_right__P20373, - "top": Sprite_top__P20374, - "set/top": Sprite_top__P20375, - "bottom": Sprite_bottom__P20376, - "set/bottom": Sprite_bottom__P20377, - "kind": Sprite_kind__P20378, - "setKind": Sprite_setKind__P20379, - "isOutOfScreen": Sprite_isOutOfScreen__P20385, - "__drawCore": Sprite___drawCore__P20386, - "__update": Sprite___update__P20387, - "setFlag": Sprite_setFlag__P20390, - "overlapsWith": Sprite_overlapsWith__P20391, - "clearObstacles": Sprite_clearObstacles__P20396, - "registerObstacle": Sprite_registerObstacle__P20397, - "destroy": Sprite_destroy__P20399, - "_destroyCore": Sprite__destroyCore__P20400, - "toString": Sprite_toString__P20405, - "drawSay": Sprite_drawSay__P22714, - "drawDebug": Sprite_drawDebug__P22715, - "drawSprite": Sprite_drawSprite__P22716, - "z": sprites_BaseSprite_z__P20069, - "set/z": sprites_BaseSprite_z__P20070, - "__draw": sprites_BaseSprite___draw__P20071, + "x": Sprite_x__P128206, + "set/x": Sprite_x__P128207, + "y": Sprite_y__P128208, + "set/y": Sprite_y__P128209, + "vx": Sprite_vx__P128210, + "set/vx": Sprite_vx__P128211, + "vy": Sprite_vy__P128212, + "set/vy": Sprite_vy__P128213, + "ax": Sprite_ax__P128214, + "set/ax": Sprite_ax__P128215, + "ay": Sprite_ay__P128216, + "set/ay": Sprite_ay__P128217, + "fx": Sprite_fx__P128218, + "set/fx": Sprite_fx__P128219, + "fy": Sprite_fy__P128220, + "set/fy": Sprite_fy__P128221, + "sx": Sprite_sx__P128222, + "sy": Sprite_sy__P128224, + "data": Sprite_data__P128228, + "set/data": Sprite_data__P128229, + "image": Sprite_image__P128242, + "setImage": Sprite_setImage__P128243, + "calcDimensionalHash": Sprite_calcDimensionalHash__P128244, + "resetHitbox": Sprite_resetHitbox__P128245, + "setHitbox": Sprite_setHitbox__P128246, + "isStatic": Sprite_isStatic__P128247, + "__visible": Sprite___visible__P128248, + "recalcSize": Sprite_recalcSize__P130593, + "isScaled": Sprite_isScaled__P130594, + "width": Sprite_width__P128249, + "height": Sprite_height__P128250, + "left": Sprite_left__P128251, + "set/left": Sprite_left__P128252, + "right": Sprite_right__P128253, + "set/right": Sprite_right__P128254, + "top": Sprite_top__P128255, + "set/top": Sprite_top__P128256, + "bottom": Sprite_bottom__P128257, + "set/bottom": Sprite_bottom__P128258, + "kind": Sprite_kind__P128259, + "setKind": Sprite_setKind__P128260, + "isOutOfScreen": Sprite_isOutOfScreen__P128266, + "__drawCore": Sprite___drawCore__P128267, + "__update": Sprite___update__P128268, + "setFlag": Sprite_setFlag__P128271, + "overlapsWith": Sprite_overlapsWith__P128272, + "clearObstacles": Sprite_clearObstacles__P128277, + "registerObstacle": Sprite_registerObstacle__P128278, + "destroy": Sprite_destroy__P128280, + "_destroyCore": Sprite__destroyCore__P128281, + "toString": Sprite_toString__P128286, + "drawSay": Sprite_drawSay__P130595, + "drawDebug": Sprite_drawDebug__P130596, + "drawSprite": Sprite_drawSprite__P130597, + "z": sprites_BaseSprite_z__P127950, + "set/z": sprites_BaseSprite_z__P127951, + "__draw": sprites_BaseSprite___draw__P127952, }, - toStringMethod: Sprite_toString__P20405, + toStringMethod: Sprite_toString__P128286, }); -const tiles_TileMap__C20706_VT = mkVTable({ +const tiles_TileMap__C128587_VT = mkVTable({ name: "TileMap", numFields: 5, classNo: 33, @@ -41544,25 +41544,25 @@ const tiles_TileMap__C20706_VT = mkVTable({ "set/renderable": null, "handlerState": null, "set/handlerState": null, - "scale": tiles_TileMap_scale__P20709, - "set/scale": tiles_TileMap_scale__P20710, - "data": tiles_TileMap_data__P20711, - "offsetX": tiles_TileMap_offsetX__P20712, - "offsetY": tiles_TileMap_offsetY__P20713, - "areaWidth": tiles_TileMap_areaWidth__P20714, - "areaHeight": tiles_TileMap_areaHeight__P20715, - "layer": tiles_TileMap_layer__P20716, - "enabled": tiles_TileMap_enabled__P20718, - "getTile": tiles_TileMap_getTile__P20720, - "getTileIndex": tiles_TileMap_getTileIndex__P20721, - "draw": tiles_TileMap_draw__P22833, - "isObstacle": tiles_TileMap_isObstacle__P20727, - "getObstacle": tiles_TileMap_getObstacle__P20728, - "isOnWall": tiles_TileMap_isOnWall__P20729, - "getTileImage": tiles_TileMap_getTileImage__P20730, + "scale": tiles_TileMap_scale__P128590, + "set/scale": tiles_TileMap_scale__P128591, + "data": tiles_TileMap_data__P128592, + "offsetX": tiles_TileMap_offsetX__P128593, + "offsetY": tiles_TileMap_offsetY__P128594, + "areaWidth": tiles_TileMap_areaWidth__P128595, + "areaHeight": tiles_TileMap_areaHeight__P128596, + "layer": tiles_TileMap_layer__P128597, + "enabled": tiles_TileMap_enabled__P128599, + "getTile": tiles_TileMap_getTile__P128601, + "getTileIndex": tiles_TileMap_getTileIndex__P128602, + "draw": tiles_TileMap_draw__P130714, + "isObstacle": tiles_TileMap_isObstacle__P128608, + "getObstacle": tiles_TileMap_getObstacle__P128609, + "isOnWall": tiles_TileMap_isOnWall__P128610, + "getTileImage": tiles_TileMap_getTileImage__P128611, }, }); -const tiles_TileMapData__C20688_VT = mkVTable({ +const tiles_TileMapData__C128569_VT = mkVTable({ name: "TileMapData", numFields: 7, classNo: 34, @@ -41585,17 +41585,17 @@ const tiles_TileMapData__C20688_VT = mkVTable({ "set/_width": null, "_height": null, "set/_height": null, - "width": tiles_TileMapData_width__P20690, - "height": tiles_TileMapData_height__P20691, - "scale": tiles_TileMapData_scale__P20692, - "set/scale": tiles_TileMapData_scale__P20693, - "getTile": tiles_TileMapData_getTile__P20694, - "getTileImage": tiles_TileMapData_getTileImage__P20697, - "isWall": tiles_TileMapData_isWall__P20699, - "isOutsideMap": tiles_TileMapData_isOutsideMap__P20700, + "width": tiles_TileMapData_width__P128571, + "height": tiles_TileMapData_height__P128572, + "scale": tiles_TileMapData_scale__P128573, + "set/scale": tiles_TileMapData_scale__P128574, + "getTile": tiles_TileMapData_getTile__P128575, + "getTileImage": tiles_TileMapData_getTileImage__P128578, + "isWall": tiles_TileMapData_isWall__P128580, + "isOutsideMap": tiles_TileMapData_isOutsideMap__P128581, }, }); -const control_FrameCallback__C18363_VT = mkVTable({ +const control_FrameCallback__C126244_VT = mkVTable({ name: "FrameCallback", numFields: 2, classNo: 35, @@ -41610,7 +41610,7 @@ const control_FrameCallback__C18363_VT = mkVTable({ "set/handler": null, }, }); -const control_PollEvent__C22375_VT = mkVTable({ +const control_PollEvent__C130256_VT = mkVTable({ name: "PollEvent", numFields: 6, classNo: 36, @@ -41633,18 +41633,18 @@ const control_PollEvent__C22375_VT = mkVTable({ "set/once": null, }, }); -const ArcadePhysicsEngine__C20498_VT = mkVTable({ +const ArcadePhysicsEngine__C128379_VT = mkVTable({ name: "ArcadePhysicsEngine", numFields: 6, classNo: 24, lastSubtypeNo: 24, maxBgInstances: null, methods: { - "addSprite": ArcadePhysicsEngine_addSprite__P20507, - "removeSprite": ArcadePhysicsEngine_removeSprite__P20508, - "moveSprite": ArcadePhysicsEngine_moveSprite__P20512, - "draw": ArcadePhysicsEngine_draw__P20509, - "move": ArcadePhysicsEngine_move__P20510, + "addSprite": ArcadePhysicsEngine_addSprite__P128388, + "removeSprite": ArcadePhysicsEngine_removeSprite__P128389, + "moveSprite": ArcadePhysicsEngine_moveSprite__P128393, + "draw": ArcadePhysicsEngine_draw__P128390, + "move": ArcadePhysicsEngine_move__P128391, }, iface: { "sprites": null, @@ -41659,27 +41659,27 @@ const ArcadePhysicsEngine__C20498_VT = mkVTable({ "set/minSingleStep": null, "maxSingleStep": null, "set/maxSingleStep": null, - "maxSpeed": ArcadePhysicsEngine_maxSpeed__P20500, - "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P20501, - "minStep": ArcadePhysicsEngine_minStep__P20502, - "set/minStep": ArcadePhysicsEngine_minStep__P20503, - "maxStep": ArcadePhysicsEngine_maxStep__P20504, - "set/maxStep": ArcadePhysicsEngine_maxStep__P20505, - "addSprite": ArcadePhysicsEngine_addSprite__P20507, - "removeSprite": ArcadePhysicsEngine_removeSprite__P20508, - "draw": ArcadePhysicsEngine_draw__P20509, - "move": ArcadePhysicsEngine_move__P20510, - "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P22757, - "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P22758, - "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P22759, - "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P22760, - "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P22761, - "moveSprite": ArcadePhysicsEngine_moveSprite__P20512, - "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P22762, - "constrain": ArcadePhysicsEngine_constrain__P22763, + "maxSpeed": ArcadePhysicsEngine_maxSpeed__P128381, + "set/maxSpeed": ArcadePhysicsEngine_maxSpeed__P128382, + "minStep": ArcadePhysicsEngine_minStep__P128383, + "set/minStep": ArcadePhysicsEngine_minStep__P128384, + "maxStep": ArcadePhysicsEngine_maxStep__P128385, + "set/maxStep": ArcadePhysicsEngine_maxStep__P128386, + "addSprite": ArcadePhysicsEngine_addSprite__P128388, + "removeSprite": ArcadePhysicsEngine_removeSprite__P128389, + "draw": ArcadePhysicsEngine_draw__P128390, + "move": ArcadePhysicsEngine_move__P128391, + "createMovingSprite": ArcadePhysicsEngine_createMovingSprite__P130638, + "spriteCollisions": ArcadePhysicsEngine_spriteCollisions__P130639, + "screenEdgeCollisions": ArcadePhysicsEngine_screenEdgeCollisions__P130640, + "tilemapCollisions": ArcadePhysicsEngine_tilemapCollisions__P130641, + "tilemapOverlaps": ArcadePhysicsEngine_tilemapOverlaps__P130642, + "moveSprite": ArcadePhysicsEngine_moveSprite__P128393, + "canResolveClipping": ArcadePhysicsEngine_canResolveClipping__P130643, + "constrain": ArcadePhysicsEngine_constrain__P130644, }, }); -const sprites_SpriteMap__C20417_VT = mkVTable({ +const sprites_SpriteMap__C128298_VT = mkVTable({ name: "SpriteMap", numFields: 5, classNo: 37, @@ -41698,20 +41698,20 @@ const sprites_SpriteMap__C20417_VT = mkVTable({ "set/columnCount": null, "buckets": null, "set/buckets": null, - "neighbors": sprites_SpriteMap_neighbors__P20419, - "overlaps": sprites_SpriteMap_overlaps__P20420, - "draw": sprites_SpriteMap_draw__P20421, - "resizeBuckets": sprites_SpriteMap_resizeBuckets__P20422, - "clear": sprites_SpriteMap_clear__P20423, - "key": sprites_SpriteMap_key__P22720, - "insertAtKey": sprites_SpriteMap_insertAtKey__P22721, - "insertAABB": sprites_SpriteMap_insertAABB__P20424, - "mergeAtKey": sprites_SpriteMap_mergeAtKey__P22722, - "toString": sprites_SpriteMap_toString__P20425, + "neighbors": sprites_SpriteMap_neighbors__P128300, + "overlaps": sprites_SpriteMap_overlaps__P128301, + "draw": sprites_SpriteMap_draw__P128302, + "resizeBuckets": sprites_SpriteMap_resizeBuckets__P128303, + "clear": sprites_SpriteMap_clear__P128304, + "key": sprites_SpriteMap_key__P130601, + "insertAtKey": sprites_SpriteMap_insertAtKey__P130602, + "insertAABB": sprites_SpriteMap_insertAABB__P128305, + "mergeAtKey": sprites_SpriteMap_mergeAtKey__P130603, + "toString": sprites_SpriteMap_toString__P128306, }, - toStringMethod: sprites_SpriteMap_toString__P20425, + toStringMethod: sprites_SpriteMap_toString__P128306, }); -const scene_systemMenu_PauseMenu__C21066_VT = mkVTable({ +const scene_systemMenu_PauseMenu__C128947_VT = mkVTable({ name: "PauseMenu", numFields: 7, classNo: 38, @@ -41734,15 +41734,15 @@ const scene_systemMenu_PauseMenu__C21066_VT = mkVTable({ "set/scrollOffset": null, "generator": null, "set/generator": null, - "show": scene_systemMenu_PauseMenu_show__P21068, - "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P21069, - "setSelection": scene_systemMenu_PauseMenu_setSelection__P21070, - "drawText": scene_systemMenu_PauseMenu_drawText__P21071, - "dispose": scene_systemMenu_PauseMenu_dispose__P21072, - "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P23160, + "show": scene_systemMenu_PauseMenu_show__P128949, + "onUpdate": scene_systemMenu_PauseMenu_onUpdate__P128950, + "setSelection": scene_systemMenu_PauseMenu_setSelection__P128951, + "drawText": scene_systemMenu_PauseMenu_drawText__P128952, + "dispose": scene_systemMenu_PauseMenu_dispose__P128953, + "updateScrollTarget": scene_systemMenu_PauseMenu_updateScrollTarget__P131041, }, }); -const scene_systemMenu_MenuOption__C21058_VT = mkVTable({ +const scene_systemMenu_MenuOption__C128939_VT = mkVTable({ name: "MenuOption", numFields: 8, classNo: 39, @@ -41767,16 +41767,16 @@ const scene_systemMenu_MenuOption__C21058_VT = mkVTable({ "set/getText": null, "action": null, "set/action": null, - "show": scene_systemMenu_MenuOption_show__P21060, - "position": scene_systemMenu_MenuOption_position__P21061, - "setOffset": scene_systemMenu_MenuOption_setOffset__P21062, - "setTheme": scene_systemMenu_MenuOption_setTheme__P21063, - "setState": scene_systemMenu_MenuOption_setState__P21064, - "dispose": scene_systemMenu_MenuOption_dispose__P21065, - "updateCard": scene_systemMenu_MenuOption_updateCard__P23159, + "show": scene_systemMenu_MenuOption_show__P128941, + "position": scene_systemMenu_MenuOption_position__P128942, + "setOffset": scene_systemMenu_MenuOption_setOffset__P128943, + "setTheme": scene_systemMenu_MenuOption_setTheme__P128944, + "setState": scene_systemMenu_MenuOption_setState__P128945, + "dispose": scene_systemMenu_MenuOption_dispose__P128946, + "updateCard": scene_systemMenu_MenuOption_updateCard__P131040, }, }); -const effects_ParticleEffect__C21233_VT = mkVTable({ +const effects_ParticleEffect__C129114_VT = mkVTable({ name: "ParticleEffect", numFields: 3, classNo: 40, @@ -41791,11 +41791,11 @@ const effects_ParticleEffect__C21233_VT = mkVTable({ "set/defaultRate": null, "defaultLifespan": null, "set/defaultLifespan": null, - "start": effects_ParticleEffect_start__P21235, - "destroy": effects_ParticleEffect_destroy__P21236, + "start": effects_ParticleEffect_start__P129116, + "destroy": effects_ParticleEffect_destroy__P129117, }, }); -const effects_ImageEffect__C21261_VT = mkVTable({ +const effects_ImageEffect__C129142_VT = mkVTable({ name: "ImageEffect", numFields: 4, classNo: 42, @@ -41812,11 +41812,11 @@ const effects_ImageEffect__C21261_VT = mkVTable({ "set/fastRandom": null, "times": null, "set/times": null, - "applyTo": effects_ImageEffect_applyTo__P21263, - "change": effects_ImageEffect_change__P21264, + "applyTo": effects_ImageEffect_applyTo__P129144, + "change": effects_ImageEffect_change__P129145, }, }); -const game_Hitbox__C20179_VT = mkVTable({ +const game_Hitbox__C128060_VT = mkVTable({ name: "Hitbox", numFields: 6, classNo: 43, @@ -41837,28 +41837,28 @@ const game_Hitbox__C20179_VT = mkVTable({ "set/width": null, "height": null, "set/height": null, - "left": game_Hitbox_left__P20187, - "top": game_Hitbox_top__P20188, - "right": game_Hitbox_right__P20189, - "bottom": game_Hitbox_bottom__P20190, - "isValid": game_Hitbox_isValid__P20191, - "contains": game_Hitbox_contains__P20192, - "updateIfInvalid": game_Hitbox_updateIfInvalid__P20193, - "overlapsWith": game_Hitbox_overlapsWith__P20194, + "left": game_Hitbox_left__P128068, + "top": game_Hitbox_top__P128069, + "right": game_Hitbox_right__P128070, + "bottom": game_Hitbox_bottom__P128071, + "isValid": game_Hitbox_isValid__P128072, + "contains": game_Hitbox_contains__P128073, + "updateIfInvalid": game_Hitbox_updateIfInvalid__P128074, + "overlapsWith": game_Hitbox_overlapsWith__P128075, }, }); -const particles_ParticleSource__C21122_VT = mkVTable({ +const particles_ParticleSource__C129003_VT = mkVTable({ name: "ParticleSource", numFields: 13, classNo: 31, lastSubtypeNo: 31, maxBgInstances: null, methods: { - "__visible": sprites_BaseSprite___visible__P20068, - "__draw": particles_ParticleSource___draw__P21128, - "__drawCore": sprites_BaseSprite___drawCore__P20072, - "__update": sprites_BaseSprite___update__P20073, - "updateParticle": particles_ParticleSource_updateParticle__P23245, + "__visible": sprites_BaseSprite___visible__P127949, + "__draw": particles_ParticleSource___draw__P129009, + "__drawCore": sprites_BaseSprite___drawCore__P127953, + "__update": sprites_BaseSprite___update__P127954, + "updateParticle": particles_ParticleSource_updateParticle__P131126, }, iface: { "_z": null, @@ -41887,28 +41887,28 @@ const particles_ParticleSource__C21122_VT = mkVTable({ "set/ax": null, "ay": null, "set/ay": null, - "__draw": particles_ParticleSource___draw__P21128, - "_update": particles_ParticleSource__update__P21129, - "_prune": particles_ParticleSource__prune__P21130, - "setAcceleration": particles_ParticleSource_setAcceleration__P21131, - "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P21133, - "enabled": particles_ParticleSource_enabled__P21134, - "set/enabled": particles_ParticleSource_enabled__P21135, - "destroy": particles_ParticleSource_destroy__P21136, - "clear": particles_ParticleSource_clear__P21137, - "setAnchor": particles_ParticleSource_setAnchor__P21138, - "setRate": particles_ParticleSource_setRate__P21139, - "setFactory": particles_ParticleSource_setFactory__P21141, - "updateParticle": particles_ParticleSource_updateParticle__P23245, - "drawParticle": particles_ParticleSource_drawParticle__P23246, - "__visible": sprites_BaseSprite___visible__P20068, - "z": sprites_BaseSprite_z__P20069, - "set/z": sprites_BaseSprite_z__P20070, - "__drawCore": sprites_BaseSprite___drawCore__P20072, - "__update": sprites_BaseSprite___update__P20073, + "__draw": particles_ParticleSource___draw__P129009, + "_update": particles_ParticleSource__update__P129010, + "_prune": particles_ParticleSource__prune__P129011, + "setAcceleration": particles_ParticleSource_setAcceleration__P129012, + "setRelativeToCamera": particles_ParticleSource_setRelativeToCamera__P129014, + "enabled": particles_ParticleSource_enabled__P129015, + "set/enabled": particles_ParticleSource_enabled__P129016, + "destroy": particles_ParticleSource_destroy__P129017, + "clear": particles_ParticleSource_clear__P129018, + "setAnchor": particles_ParticleSource_setAnchor__P129019, + "setRate": particles_ParticleSource_setRate__P129020, + "setFactory": particles_ParticleSource_setFactory__P129022, + "updateParticle": particles_ParticleSource_updateParticle__P131126, + "drawParticle": particles_ParticleSource_drawParticle__P131127, + "__visible": sprites_BaseSprite___visible__P127949, + "z": sprites_BaseSprite_z__P127950, + "set/z": sprites_BaseSprite_z__P127951, + "__drawCore": sprites_BaseSprite___drawCore__P127953, + "__update": sprites_BaseSprite___update__P127954, }, }); -const sprites_SpriteSet__C20434_VT = mkVTable({ +const sprites_SpriteSet__C128315_VT = mkVTable({ name: "SpriteSet", numFields: 1, classNo: 44, @@ -41919,25 +41919,25 @@ const sprites_SpriteSet__C20434_VT = mkVTable({ iface: { "_sprites": null, "set/_sprites": null, - "length": sprites_SpriteSet_length__P20437, - "add": sprites_SpriteSet_add__P20439, - "remove": sprites_SpriteSet_remove__P20441, - "contains": sprites_SpriteSet_contains__P20442, - "toString": sprites_SpriteSet_toString__P20445, + "length": sprites_SpriteSet_length__P128318, + "add": sprites_SpriteSet_add__P128320, + "remove": sprites_SpriteSet_remove__P128322, + "contains": sprites_SpriteSet_contains__P128323, + "toString": sprites_SpriteSet_toString__P128326, }, - toStringMethod: sprites_SpriteSet_toString__P20445, + toStringMethod: sprites_SpriteSet_toString__P128326, }); -const scene_Renderable__C20771_VT = mkVTable({ +const scene_Renderable__C128652_VT = mkVTable({ name: "Renderable", numFields: 4, classNo: 32, lastSubtypeNo: 32, maxBgInstances: null, methods: { - "__visible": scene_Renderable___visible__P20773, - "__draw": sprites_BaseSprite___draw__P20071, - "__drawCore": scene_Renderable___drawCore__P20774, - "__update": sprites_BaseSprite___update__P20073, + "__visible": scene_Renderable___visible__P128654, + "__draw": sprites_BaseSprite___draw__P127952, + "__drawCore": scene_Renderable___drawCore__P128655, + "__update": sprites_BaseSprite___update__P127954, }, iface: { "_z": null, @@ -41948,15 +41948,15 @@ const scene_Renderable__C20771_VT = mkVTable({ "set/handler": null, "shouldBeVisible": null, "set/shouldBeVisible": null, - "__visible": scene_Renderable___visible__P20773, - "__drawCore": scene_Renderable___drawCore__P20774, - "z": sprites_BaseSprite_z__P20069, - "set/z": sprites_BaseSprite_z__P20070, - "__draw": sprites_BaseSprite___draw__P20071, - "__update": sprites_BaseSprite___update__P20073, + "__visible": scene_Renderable___visible__P128654, + "__drawCore": scene_Renderable___drawCore__P128655, + "z": sprites_BaseSprite_z__P127950, + "set/z": sprites_BaseSprite_z__P127951, + "__draw": sprites_BaseSprite___draw__P127952, + "__update": sprites_BaseSprite___update__P127954, }, }); -const controller_ButtonHandler__C20154_VT = mkVTable({ +const controller_ButtonHandler__C128035_VT = mkVTable({ name: "ButtonHandler", numFields: 2, classNo: 45, @@ -41971,7 +41971,7 @@ const controller_ButtonHandler__C20154_VT = mkVTable({ "set/callback": null, }, }); -const controller_ButtonEventHandlerState__C20156_VT = mkVTable({ +const controller_ButtonEventHandlerState__C128037_VT = mkVTable({ name: "ButtonEventHandlerState", numFields: 3, classNo: 46, @@ -41988,7 +41988,7 @@ const controller_ButtonEventHandlerState__C20156_VT = mkVTable({ "set/system": null, }, }); -const effects_ScreenEffect__C21237_VT = mkVTable({ +const effects_ScreenEffect__C129118_VT = mkVTable({ name: "ScreenEffect", numFields: 5, classNo: 41, @@ -42007,34 +42007,34 @@ const effects_ScreenEffect__C21237_VT = mkVTable({ "set/source": null, "sceneDefaultRate": null, "set/sceneDefaultRate": null, - "start": effects_ParticleEffect_start__P21235, - "destroy": effects_ParticleEffect_destroy__P21236, + "start": effects_ParticleEffect_start__P129116, + "destroy": effects_ParticleEffect_destroy__P129117, }, }); -const particles_ParticleFactory__C21158_VT = mkVTable({ +const particles_ParticleFactory__C129039_VT = mkVTable({ name: "ParticleFactory", numFields: 0, classNo: 47, lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_ParticleFactory_createParticle__P21160, - "drawParticle": particles_ParticleFactory_drawParticle__P21161, + "createParticle": particles_ParticleFactory_createParticle__P129041, + "drawParticle": particles_ParticleFactory_drawParticle__P129042, }, iface: { - "createParticle": particles_ParticleFactory_createParticle__P21160, - "drawParticle": particles_ParticleFactory_drawParticle__P21161, + "createParticle": particles_ParticleFactory_createParticle__P129041, + "drawParticle": particles_ParticleFactory_drawParticle__P129042, }, }); -const particles_SprayFactory__C21162_VT = mkVTable({ +const particles_SprayFactory__C129043_VT = mkVTable({ name: "SprayFactory", numFields: 3, classNo: 48, lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_SprayFactory_createParticle__P21164, - "drawParticle": particles_SprayFactory_drawParticle__P21165, + "createParticle": particles_SprayFactory_createParticle__P129045, + "drawParticle": particles_SprayFactory_drawParticle__P129046, }, iface: { "speed": null, @@ -42043,21 +42043,21 @@ const particles_SprayFactory__C21162_VT = mkVTable({ "set/minAngle": null, "spread": null, "set/spread": null, - "createParticle": particles_SprayFactory_createParticle__P21164, - "drawParticle": particles_SprayFactory_drawParticle__P21165, - "setSpeed": particles_SprayFactory_setSpeed__P21166, - "setDirection": particles_SprayFactory_setDirection__P21167, + "createParticle": particles_SprayFactory_createParticle__P129045, + "drawParticle": particles_SprayFactory_drawParticle__P129046, + "setSpeed": particles_SprayFactory_setSpeed__P129047, + "setDirection": particles_SprayFactory_setDirection__P129048, }, }); -const particles_AreaFactory__C21168_VT = mkVTable({ +const particles_AreaFactory__C129049_VT = mkVTable({ name: "AreaFactory", numFields: 8, classNo: 49, lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_AreaFactory_createParticle__P21174, - "drawParticle": particles_AreaFactory_drawParticle__P21175, + "createParticle": particles_AreaFactory_createParticle__P129055, + "drawParticle": particles_AreaFactory_drawParticle__P129056, }, iface: { "speed": null, @@ -42076,21 +42076,21 @@ const particles_AreaFactory__C21168_VT = mkVTable({ "set/maxLifespan": null, "galois": null, "set/galois": null, - "createParticle": particles_AreaFactory_createParticle__P21174, - "drawParticle": particles_AreaFactory_drawParticle__P21175, - "setSpeed": particles_SprayFactory_setSpeed__P21166, - "setDirection": particles_SprayFactory_setDirection__P21167, + "createParticle": particles_AreaFactory_createParticle__P129055, + "drawParticle": particles_AreaFactory_drawParticle__P129056, + "setSpeed": particles_SprayFactory_setSpeed__P129047, + "setDirection": particles_SprayFactory_setDirection__P129048, }, }); -const particles_ShapeFactory__C21184_VT = mkVTable({ +const particles_ShapeFactory__C129065_VT = mkVTable({ name: "ShapeFactory", numFields: 11, classNo: 50, lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P21188, - "drawParticle": particles_ShapeFactory_drawParticle__P21187, + "createParticle": particles_ShapeFactory_createParticle__P129069, + "drawParticle": particles_ShapeFactory_drawParticle__P129068, }, iface: { "speed": null, @@ -42115,22 +42115,22 @@ const particles_ShapeFactory__C21184_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P21186, - "drawParticle": particles_ShapeFactory_drawParticle__P21187, - "createParticle": particles_ShapeFactory_createParticle__P21188, - "setSpeed": particles_SprayFactory_setSpeed__P21166, - "setDirection": particles_SprayFactory_setDirection__P21167, + "addShape": particles_ShapeFactory_addShape__P129067, + "drawParticle": particles_ShapeFactory_drawParticle__P129068, + "createParticle": particles_ShapeFactory_createParticle__P129069, + "setSpeed": particles_SprayFactory_setSpeed__P129047, + "setDirection": particles_SprayFactory_setDirection__P129048, }, }); -const particles_ConfettiFactory__C21189_VT = mkVTable({ +const particles_ConfettiFactory__C129070_VT = mkVTable({ name: "ConfettiFactory", numFields: 11, classNo: 51, lastSubtypeNo: 51, maxBgInstances: null, methods: { - "createParticle": particles_ShapeFactory_createParticle__P21188, - "drawParticle": particles_ShapeFactory_drawParticle__P21187, + "createParticle": particles_ShapeFactory_createParticle__P129069, + "drawParticle": particles_ShapeFactory_drawParticle__P129068, }, iface: { "speed": null, @@ -42155,14 +42155,14 @@ const particles_ConfettiFactory__C21189_VT = mkVTable({ "set/ox": null, "oy": null, "set/oy": null, - "addShape": particles_ShapeFactory_addShape__P21186, - "drawParticle": particles_ShapeFactory_drawParticle__P21187, - "createParticle": particles_ShapeFactory_createParticle__P21188, - "setSpeed": particles_SprayFactory_setSpeed__P21166, - "setDirection": particles_SprayFactory_setDirection__P21167, + "addShape": particles_ShapeFactory_addShape__P129067, + "drawParticle": particles_ShapeFactory_drawParticle__P129068, + "createParticle": particles_ShapeFactory_createParticle__P129069, + "setSpeed": particles_SprayFactory_setSpeed__P129047, + "setDirection": particles_SprayFactory_setDirection__P129048, }, }); -const particles_Particle__C21103_VT = mkVTable({ +const particles_Particle__C128984_VT = mkVTable({ name: "Particle", numFields: 8, classNo: 52, @@ -42189,7 +42189,7 @@ const particles_Particle__C21103_VT = mkVTable({ "set/color": null, }, }); -const music_Playable__C19882_VT = mkVTable({ +const music_Playable__C127763_VT = mkVTable({ name: "Playable", numFields: 1, classNo: 53, @@ -42202,7 +42202,7 @@ const music_Playable__C19882_VT = mkVTable({ "set/stopped": null, }, }); -const music_MelodyPlayable__C19887_VT = mkVTable({ +const music_MelodyPlayable__C127768_VT = mkVTable({ name: "MelodyPlayable", numFields: 2, classNo: 54, @@ -42217,7 +42217,7 @@ const music_MelodyPlayable__C19887_VT = mkVTable({ "set/melody": null, }, }); -const music_Melody__C19597_VT = mkVTable({ +const music_Melody__C127478_VT = mkVTable({ name: "Melody", numFields: 2, classNo: 55, @@ -42230,11 +42230,11 @@ const music_Melody__C19597_VT = mkVTable({ "set/_text": null, "_player": null, "set/_player": null, - "toString": music_Melody_toString__P19606, + "toString": music_Melody_toString__P127487, }, - toStringMethod: music_Melody_toString__P19606, + toStringMethod: music_Melody_toString__P127487, }); -const MovingSprite__C20496_VT = mkVTable({ +const MovingSprite__C128377_VT = mkVTable({ name: "MovingSprite", numFields: 7, classNo: 56, @@ -42259,7 +42259,7 @@ const MovingSprite__C20496_VT = mkVTable({ "set/yStep": null, }, }); -const tiles_Location__C20664_VT = mkVTable({ +const tiles_Location__C128545_VT = mkVTable({ name: "Location", numFields: 2, classNo: 57, @@ -42272,17 +42272,17 @@ const tiles_Location__C20664_VT = mkVTable({ "set/_row": null, "_col": null, "set/_col": null, - "tileMap": tiles_Location_tileMap__P20666, - "column": tiles_Location_column__P20667, - "row": tiles_Location_row__P20668, - "x": tiles_Location_x__P20669, - "y": tiles_Location_y__P20670, - "left": tiles_Location_left__P20671, - "top": tiles_Location_top__P20672, - "tileSet": tiles_Location_tileSet__P20675, + "tileMap": tiles_Location_tileMap__P128547, + "column": tiles_Location_column__P128548, + "row": tiles_Location_row__P128549, + "x": tiles_Location_x__P128550, + "y": tiles_Location_y__P128551, + "left": tiles_Location_left__P128552, + "top": tiles_Location_top__P128553, + "tileSet": tiles_Location_tileSet__P128556, }, }); -const sprites_StaticObstacle__C20469_VT = mkVTable({ +const sprites_StaticObstacle__C128350_VT = mkVTable({ name: "StaticObstacle", numFields: 5, classNo: 58, @@ -42301,22 +42301,22 @@ const sprites_StaticObstacle__C20469_VT = mkVTable({ "set/top": null, "left": null, "set/left": null, - "x": sprites_StaticObstacle_x__P20476, - "y": sprites_StaticObstacle_y__P20477, - "height": sprites_StaticObstacle_height__P20478, - "width": sprites_StaticObstacle_width__P20479, + "x": sprites_StaticObstacle_x__P128357, + "y": sprites_StaticObstacle_y__P128358, + "height": sprites_StaticObstacle_height__P128359, + "width": sprites_StaticObstacle_width__P128360, }, }); -const sprites_BaseSpriteSayRenderer__C20230_VT = mkVTable({ +const sprites_BaseSpriteSayRenderer__C128111_VT = mkVTable({ name: "BaseSpriteSayRenderer", numFields: 3, classNo: 59, lastSubtypeNo: 59, maxBgInstances: null, methods: { - "draw": sprites_BaseSpriteSayRenderer_draw__P20232, - "update": sprites_BaseSpriteSayRenderer_update__P20233, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P20234, + "draw": sprites_BaseSpriteSayRenderer_draw__P128113, + "update": sprites_BaseSpriteSayRenderer_update__P128114, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P128115, }, iface: { "text": null, @@ -42325,13 +42325,13 @@ const sprites_BaseSpriteSayRenderer__C20230_VT = mkVTable({ "set/fgColor": null, "bgColor": null, "set/bgColor": null, - "draw": sprites_BaseSpriteSayRenderer_draw__P20232, - "update": sprites_BaseSpriteSayRenderer_update__P20233, - "destroy": sprites_BaseSpriteSayRenderer_destroy__P20234, + "draw": sprites_BaseSpriteSayRenderer_draw__P128113, + "update": sprites_BaseSpriteSayRenderer_update__P128114, + "destroy": sprites_BaseSpriteSayRenderer_destroy__P128115, }, }); const breakpoints = setupDebugger(1, []) -return _main___P35932 +return _main___P144088 }) diff --git a/assets/version.txt b/assets/version.txt index fa3de58..afaf360 100644 --- a/assets/version.txt +++ b/assets/version.txt @@ -1 +1 @@ -0.0.5 \ No newline at end of file +1.0.0 \ No newline at end of file diff --git a/pxt.json b/pxt.json index 70013e3..9899003 100644 --- a/pxt.json +++ b/pxt.json @@ -1,6 +1,6 @@ { "name": "Unit 1 Skillmap", - "version": "0.0.5", + "version": "1.0.0", "description": "", "dependencies": { "device": "*",